Re: Re: New experimental, unofficial apt-rpm release
Panu Matilainen <[email protected]> Wed, 5 Apr 2006 02:29:59 -0700 (PDT)
| Newsgroups | gmane.linux.conectiva.apt-rpm |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 4 Apr 2006, Dmitry V. Levin wrote: > Hi, > > On Mon, Feb 06, 2006 at 09:44:57PM +0200, Panu Matilainen wrote: > [...] >> Shasums of the new version: >> 60e2d5b9b85cb48b2fe68e4646a6f8c303a8bc7f apt-0.5.15lorg2-1.src.rpm >> d4693d50c84bf1ac6ca41d645b9b2e43c778e44b apt-0.5.15lorg2.tar.bz2 >> >> Nothing too dramatic here but the multilib stuff is cleaned up a bit and >> generalized, you wont see the difference in practise. The more visible >> change is that apt now supports yum-style distro-version-package >> setting, you can set APT::DistroVerPkg="fedora-release" and any >> $(VERSION) references in sources.lists can are replaced with the >> packages version. So you can now use sources.list entries like this: >> "rpm http://ayo.freshrpms.net/ fedora/linux/$(VERSION)/$(ARCH) core" > > This code does not compile on rpm-4.0.x, leaks memory and does not work > for user who cannot open rpm database in O_RDWR mode. > Attached patch fixes all these issues. Thanks, applied. Just FYI, support for old rpm versions (minimum required version is going to be at least 4.1 which is the first rpm with the "new api") is going to be removed at some point in not-so-distant future, the distroverpkg-stuff was actually supposed to be only available for new rpm's anyway but seems I forgot to add the relevant #ifdef's around it :) - Panu -