debian/0000755000000000000000000000000012213553353007170 5ustar debian/debugedit.manpages0000644000000000000000000000002312213553131012626 0ustar debian/debugedit.8 debian/librpmbuild3.symbols0000644000000000000000000000140012213553131013157 0ustar librpmbuild.so.3 librpmbuild3 #MINVER# rpmSpecBuild@Base 4.10.0 rpmSpecCheckDeps@Base 4.10.0 rpmSpecDS@Base 4.10.0 rpmSpecFree@Base 4.10.0 rpmSpecGetSection@Base 4.10.0 rpmSpecParse@Base 4.10.0 rpmSpecPkgHeader@Base 4.10.0 rpmSpecPkgIterFree@Base 4.10.0 rpmSpecPkgIterInit@Base 4.10.0 rpmSpecPkgIterNext@Base 4.10.0 rpmSpecSourceHeader@Base 4.10.0 rpmSpecSrcFilename@Base 4.10.0 rpmSpecSrcFlags@Base 4.10.0 rpmSpecSrcIterFree@Base 4.10.0 rpmSpecSrcIterInit@Base 4.10.0 rpmSpecSrcIterNext@Base 4.10.0 rpmSpecSrcNum@Base 4.10.0 rpmfcApply@Base 4.10.0 rpmfcClassify@Base 4.10.0 rpmfcCreate@Base 4.10.0 rpmfcFree@Base 4.10.0 rpmfcNew@Base 4.10.0 rpmfcPrint@Base 4.10.0 rpmfcProvides@Base 4.10.0 rpmfcRequires@Base 4.10.0 rpmspecQuery@Base 4.10.0 debian/rpm.docs0000644000000000000000000000005012213553131010625 0ustar CREDITS README GROUPS doc/manual/[a-z]* debian/rpm.install0000644000000000000000000000135712213553131011356 0ustar usr/bin/rpm usr/bin/gendiff usr/bin/rpm[a-z]* # Everything in usr/lib/rpm except platform, macros* and rpmrc # which are in rpm-common. usr/lib/rpm/brp* usr/lib/rpm/check* usr/lib/rpm/find* usr/lib/rpm/libtool* usr/lib/rpm/mkinstalldirs usr/lib/rpm/mono* usr/lib/rpm/osgideps.pl usr/lib/rpm/perl* usr/lib/rpm/pkgconfig* usr/lib/rpm/python* usr/lib/rpm/rpm.daily usr/lib/rpm/rpm2cpio.sh usr/lib/rpm/rpmd* usr/lib/rpm/rpmpopt-* usr/lib/rpm/tcl* usr/lib/rpm/tgpg usr/lib/rpm/script.req usr/lib/rpm/fontconfig.prov usr/lib/rpm/ocaml-find-requires.sh usr/lib/rpm/elfdeps usr/lib/rpm/desktop-file.prov usr/lib/rpm/ocaml-find-provides.sh usr/lib/rpm/fileattrs usr/lib/rpm/rpm.supp usr/share/man/man1/* usr/share/man/man8/rpm.* usr/share/man/man8/rpm[a-z]*.* debian/rpm-common.install0000644000000000000000000000012112213553131012630 0ustar usr/lib/rpm/platform usr/lib/rpm/macros* usr/lib/rpm/rpmrc usr/lib/*/rpm-plugins debian/librpmsign1.symbols0000644000000000000000000000013012213553131013015 0ustar librpmsign.so.1 librpmsign1 #MINVER# rpmPkgDelSign@Base 4.10.0 rpmPkgSign@Base 4.10.0 debian/rpm.postrm0000755000000000000000000000031112213553131011224 0ustar #!/bin/sh set -e if [ "$1" = "purge" ]; then rm -rf /var/lib/rpm /usr/src/rpm rm -f /etc/rpm/macros rmdir /etc/rpm 2>/dev/null || true rm -rf /usr/lib/rpm/*-rpm-linux fi #DEBHELPER# debian/librpmbuild3.install0000644000000000000000000000003312213553131013136 0ustar usr/lib/*/librpmbuild.so.* debian/changelog0000644000000000000000000020414512213553131011042 0ustar rpm (4.11.1-3) unstable; urgency=low * Fixed implicit declarations warnings while compiling. * Install debugedit to /usr/bin and provide manpage for it (Closes: #719180). -- Michal Čihař Tue, 10 Sep 2013 10:20:34 +0200 rpm (4.11.1-2) unstable; urgency=low [ Shawn Landden ] * Split debugedit into its own package (Closes: #717020). [ Michal Čihař ] * Use debhelper 9. -- Michal Čihař Tue, 16 Jul 2013 09:15:31 +0200 rpm (4.11.1-1) unstable; urgency=low * New upstream release. * Do not try to convert ancient rpmrc config file (Closes: #712448). * Make rpm2cpio Multi-Arch: foreign (Closes: #713970). * Use canonical VCS urls. -- Michal Čihař Mon, 08 Jul 2013 10:33:12 +0200 rpm (4.11.0.1-1) unstable; urgency=low * New upstream release. * Bump standards to 3.9.4. * Refresh patches, update patch from Fedora. * Build with Lua 5.2. -- Michal Čihař Thu, 06 Jun 2013 11:39:34 +0200 rpm (4.10.3.1-1) unstable; urgency=low [ Daniel Schepler ] * Update librpmio3.symbols, librpmbuild3.symbols for x32 (Closes: #699272). [ Chris J Arges ] * Fix multi-arch python include issues for RPM (Closes: #697634). [ Michal Čihař ] * New upstream release. - Refreshed patches. - Fixes __isa_name macro (Closes: #702958). -- Michal Čihař Tue, 07 May 2013 10:51:51 +0200 rpm (4.10.1-2.1) unstable; urgency=low * Non-maintainer upload. * Add 0001-Ensure-correct-return-code-on-malformed-signature-in.patch [SECURITY] CVE-2012-6088: Ensure correct return code on malformed signature in packages. Patch cherry-picked from upstream git repository. (Closes: #697375) -- Salvatore Bonaccorso Sat, 05 Jan 2013 13:06:25 +0100 rpm (4.10.1-2) unstable; urgency=low * Do not overwrite installed manpages by (wrong) symlinks (Closes: #691342, LP: #1018372). * Correctly pass dpkg-buildflags LDFLAGS. -- Michal Čihař Thu, 25 Oct 2012 12:40:59 +0200 rpm (4.10.1-1) unstable; urgency=low * New upstream release. -- Michal Čihař Fri, 19 Oct 2012 10:02:50 +0200 rpm (4.10.0-5) unstable; urgency=low * Added patch from Fedora to support X-CheckUnifiedSystemdir (Closes: #683759). -- Michal Čihař Wed, 15 Aug 2012 09:05:26 +0200 rpm (4.10.0-4) unstable; urgency=low * Lower librpm -> rpm-common dependency to recommends as there actually might be users of librpm which don't need all files in rpm-common. On the other side rpm2cpio needs them, so add dependency there. This also fixes circular dependency (Closes: #676186). -- Michal Čihař Mon, 25 Jun 2012 14:29:12 +0200 rpm (4.10.0-3) unstable; urgency=low * Configure alternate python versions before default (Closes: #678887). -- Michal Čihař Mon, 25 Jun 2012 14:07:02 +0200 rpm (4.10.0-2) unstable; urgency=low * Move plugins to rpm-common package (Closes: #675517). -- Michal Čihař Mon, 04 Jun 2012 09:10:28 +0200 rpm (4.10.0-1) unstable; urgency=low * New upstream release. * Bump soname in package versions. -- Michal Čihař Tue, 29 May 2012 13:26:18 +0200 rpm (4.9.1.3-2) unstable; urgency=high * Simplify debian/rules and make it work with curent debhelper. -- Michal Čihař Thu, 05 Apr 2012 13:32:46 +0200 rpm (4.9.1.3-1) unstable; urgency=high * New upstream release. - Fixes CVE-2012-0815, CVE-2012-0060, CVE-2012-0061 (Closes: #667031). * Update debian/copyright to match current format. * Bump standards to 3.9.3. -- Michal Čihař Thu, 05 Apr 2012 09:34:05 +0200 rpm (4.9.1.2-1) unstable; urgency=high * New upstream release. - Fixes CVE-2011-3378 (Closes: #645325). -- Michal Čihař Fri, 14 Oct 2011 17:53:46 +0200 rpm (4.9.1.1-1) unstable; urgency=low * New upstream release. * Rediff patches to match current code. * Update symbols file. * Do not list non linux archs in depends, use linux-any instead (Closes: #634373). * Add s390x to symbols definition (Closes: #636519). * Use dh-autoreconf instead of manually doing the same. * Use autotools_dev dh sequence to update config.*. -- Michal Čihař Fri, 05 Aug 2011 11:54:06 +0200 rpm (4.9.0-7) unstable; urgency=low * Remove useless .la files from python-rpm (Closes: #633267). * Avoid linking python module with libpython (LP: #789656). * Remove empty lines from debian/*.symbols, they cause warnings during build. -- Michal Čihař Tue, 12 Jul 2011 20:55:42 +0200 rpm (4.9.0-6) unstable; urgency=low * Add --fail-missing to debian/rules to catch non installed files. * Include attributes definition files in rpm package (Closes: #630163). * Include pkgconfig script in librpm-dev package. * Include forgotten dependency generators in rpm package. * Include rpm plugins in librpm2 package. -- Michal Čihař Mon, 13 Jun 2011 11:01:44 +0200 rpm (4.9.0-5) unstable; urgency=low * Disable cap on non Linux arches in configure. -- Michal Čihař Sat, 21 May 2011 10:28:27 +0200 rpm (4.9.0-4) unstable; urgency=low * Depend on libcap onl on linux-any. * Change linux only build deps to linux-any instead of listing others. -- Michal Čihař Sat, 21 May 2011 07:28:32 +0200 rpm (4.9.0-3) unstable; urgency=low * Build with file capability support (Closes: #625766). * Bump standards to 3.9.2. * Upload to unstable to bring libdb5.1 support there. -- Michal Čihař Fri, 20 May 2011 09:28:23 +0200 rpm (4.9.0-2) experimental; urgency=low * Fix symbols for 32-bit arches, fixes FTBFS. * Build with --as-needed to minimize libraries deps. -- Michal Čihař Wed, 16 Mar 2011 15:07:46 +0100 rpm (4.9.0-1) experimental; urgency=low * New upstream version. - Update, drop and cleanup applied patches. - Works fine with db5.x (Closes: #618084). * Target to experimental as we need libtool (>= 2.2.10). * Drop lsb-rpm package. It seems that was broken for quite a long time without anybody noticing. * Use dh_auto_{configure,build,install} instead of own magic. * Adjust package names to current libraries. - Soname bump for all (librpmio, librpmbuild, librpm). - Add librpmsign0 package. * Drop not needed build dep on dpkg-dev. -- Michal Čihař Mon, 14 Mar 2011 11:24:07 +0100 rpm (4.8.1-7) unstable; urgency=low * Bump standards to 3.9.1. * Use Breaks instead of Conflicts when appropriate. * Remove not needed conflicts/replace on rpm-common. * Properly builds on ppc64 (Closes: #614226). * Migrate to dh_python2. -- Michal Čihař Mon, 21 Feb 2011 11:27:09 +0100 rpm (4.8.1-6) unstable; urgency=low * Make librpm-dev conflict/replace librpm4.4 (Closes: #601993). -- Michal Čihař Mon, 01 Nov 2010 15:30:00 +0100 rpm (4.8.1-5) unstable; urgency=low * Fix compilation on hurd and kfreebsd (Closes: #587366). -- Michal Čihař Mon, 28 Jun 2010 11:12:30 +0200 rpm (4.8.1-4) unstable; urgency=low * Package rpm-common needs to be arch:any because it's content is different for each platform (LP: #574647). * Tighten dependency on rpm-common. * Fix build failure on arm (Closes: #587173). -- Michal Čihař Sun, 27 Jun 2010 11:40:28 +0200 rpm (4.8.1-3) unstable; urgency=low * Upload to unstable as python 2.6 is there. * Remove build dependency on beecrypt, it is not used at all (was replaced by NSS some time ago). * Also libneon does not seem to be used anymore. * Add missing build dependency on pkg-config. -- Michal Čihař Fri, 25 Jun 2010 18:19:00 +0200 rpm (4.8.1-2) experimental; urgency=low * Build depend on autopoint. -- Michal Čihař Mon, 14 Jun 2010 13:50:27 +0000 rpm (4.8.1-1) experimental; urgency=low * New upstream release. - Fix vulnerability in removing setuid on moved files (Closes: #584257, CVE-2010-2059). - Safer parsing of spec file (CVE-2010-2197). * Build depend on python-all-dev (>= 2.6) and cleanup debian/rules to again use all supported versions (which will anyway mean just 2.6). -- Michal Čihař Mon, 14 Jun 2010 09:48:08 +0200 rpm (4.8.0-4) experimental; urgency=low * Use new conditionals in symbol files and define symbols for sparc64 (Closes: #572766). * Move default RPM database path to ~/.rpm. - Fixes problem with no accessible Names database (Closes: #551669, LP: #530023). * No longer handle database in postinst. - Removes debconf from postinst. - Avoids problems on installation with db version (LP: #542115). * Document above changes in NEWS and README.Debian. -- Michal Čihař Thu, 22 Apr 2010 09:52:43 +0200 rpm (4.8.0-3) experimental; urgency=low * Do not require --force-debian for installing packages, just complain that user should use alien. This allows easily people to shoot in the foot, however --force-debian switch seems to be too unpopular (Closes: #565421). * Bump standards to 3.8.4. -- Michal Čihař Thu, 18 Feb 2010 16:27:11 +0100 rpm (4.8.0-2) experimental; urgency=low * Add missing build dependency on cvs (for autoreconf) (Closes: #565795). -- Michal Čihař Tue, 19 Jan 2010 09:31:26 +0100 rpm (4.8.0-1) experimental; urgency=low * Fix filename of database backup - month and minute were switched (Closes: #561546). * Move watch file to 4.8 branch. * New upstream release. * Patch fixbashism.patch fixed better upstream. * Unfuzzy other patches. * Build depend on python 2.6, adjust Python-Version according to that. * Build agains python 2.6 for experimental. * Rename library packages after soname bump. -- Michal Čihař Fri, 15 Jan 2010 16:33:42 +0100 rpm (4.7.2-1) unstable; urgency=low * New upstream version. - No need to convert man page from DOS end of lines. - Dropped patches: 510c6763.patch - taken from upstream fix-linkage.patch - applied upstream fix-luaext.patch - applied upstream include-pthread.patch - applied upstream - Updated patches: manpage-dash.patch - rediffed, no changes * Upgrade recommends to depeds from rpm to rpm2cpio (Closes: #559203). * Drop run-autogen.patch and run autogen during build. * Use << instead of < in debian/control. -- Michal Čihař Wed, 09 Dec 2009 17:09:58 +0100 rpm (4.7.1-14) unstable; urgency=low * Change dependency of -dev package to libdb-dev (Closes: #556608). -- Michal Čihař Sat, 21 Nov 2009 02:46:08 +0100 rpm (4.7.1-13) unstable; urgency=low * Fix various typos in rpm/NEWS.Debian. * Improve database upgrade instructions in README.Debian. -- Michal Čihař Fri, 20 Nov 2009 14:53:37 +0100 rpm (4.7.1-12) unstable; urgency=low * Fix build with libdb 4.8 by applying upstream patch 510c6763. * Change build depends to libdb-dev to pull libdb 4.8 (Closes: #556608). * Built with new liblzma. -- Michal Čihař Fri, 20 Nov 2009 14:13:09 +0100 rpm (4.7.1-11) unstable; urgency=low * Do not build depend on libsepol1-dev on hurd and bsd. * Fix FTBFS with binutils-gold (Closes: #556329). * Convert to 3.0 (quilt) source format. -- Michal Čihař Mon, 16 Nov 2009 14:15:54 +0100 rpm (4.7.1-10) unstable; urgency=low * Convert French man page from DOS end of lines (LP:#428310). -- Michal Čihař Fri, 23 Oct 2009 14:35:24 +0200 rpm (4.7.1-9) unstable; urgency=low * Bump liblua5.1-0-dev build dependency to 5.1.4-4 to avoid conflicting libreadline-dev packages (Closes: #551114). * Upload to unstable as it now has xz-utils. -- Michal Čihař Mon, 19 Oct 2009 09:00:39 +0200 rpm (4.7.1-8) experimental; urgency=low * Reupload to experimental with lzma support. -- Michal Čihař Tue, 13 Oct 2009 13:07:59 +0200 rpm (4.7.1-7) unstable; urgency=low * Upload to unstable. * Disabled lzma support as xz-utils are not yet in unstable. -- Michal Čihař Tue, 13 Oct 2009 12:56:59 +0200 rpm (4.7.1-6) experimental; urgency=low * Add Vietnamese debconf translation (Closes: #547915). * Explicitly require libdb4.7, 4.8 is not supported (Closes: #549803). * Strict dependency on same version of libraries from devel package. -- Michal Čihař Tue, 06 Oct 2009 11:58:21 +0200 rpm (4.7.1-5) experimental; urgency=low * Add Brazilian Portuguese debconf translation (Closes: #544811). * Add Japanese debconf translation (Closes: #545315). * Add preinst script to remove cruft left after pycentral (Closes: #545720). * Build depend on libreadline-dev instead of libreadline5-dev. -- Michal Čihař Mon, 14 Sep 2009 10:47:54 +0200 rpm (4.7.1-4) experimental; urgency=low * Add dependency from rpm to rpm-common, because the files were moved from rpm to rpm-common and user still might have older librpm, which does not pull in rpm-common (Closes: #544753). * Make rpm-common conflict/replace older versions of rpm and librpm where the files were moved from. -- Michal Čihař Thu, 03 Sep 2009 11:40:55 +0200 rpm (4.7.1-3) experimental; urgency=low * Add Finnish debconf translation (Closes: #543121). * Add Spanish debconf translation (Closes: #543311). * Enable Lua support (Closes: #538207). * Add fix-luaext.patch patch to fix linking with Lua. * Update symbols file for Lua. -- Michal Čihař Tue, 01 Sep 2009 11:27:18 +0200 rpm (4.7.1-2) experimental; urgency=low * Make rpm2cpio conflict with older rpm to avoid overwriting files (Closes: #542549). * Add debian/README.source documenting quilt usage. -- Michal Čihař Thu, 20 Aug 2009 11:15:23 +0200 rpm (4.7.1-1) experimental; urgency=low * New Upstream Version - Adjusted manpage-dash.patch. - Dropped 09-prereq.diff. - Dropped 13-rpm2cpio-help.diff. - Dropped 60_fix-out-build.patch. - Regenerated 70_autogen.patch. * Debconf templates and debian/control reviewed by the debian-l10n- english team as part of the Smith review project (Closes: #539606). * Add Japanese debconf translation (Closes: #539598). * Add Russian debconf translation (Closes: #539461, #541753). * Add Slovak debconf translation (Closes: #537248, #540167). * Add Potrugese debconf translation (Closes: #537448, #541110). * Add Galician debconf translation (Closes: #537429). * Add French debconf translation (Closes: #540195). * Add Italian debconf translation (Closes: #540198). * Add German debconf translation (Closes: #540717). * Add Swedish debconf translation (Closes: #541398). * Prepare for lua support (see: #538207), not ready because lposix and lrexlib are not available in Debian. * Add lintian overrides for debconf usage in postinst. * Split out rpm2cpio to separate package (Closes: #540106). * Move rpm README.Debian and NEWS just to rpm binary package. * Separate part of /usr/lib/rpm to rpm-common as some parts of it are always required by librpm. * Change directories by configure parameters instead of patching. * Build with lzma support (Closes: #509444). * Upload to experimental due to liblzma. * Cleanup in debian/patches. - Consistent naming scheme. - Add DEP-3 compliant patch descriptions. * Bump policy to 3.8.3. -- Michal Čihař Sun, 16 Aug 2009 10:38:10 +0200 rpm (4.7.0-9) unstable; urgency=low * Provide fallback when dabatase initialisation fails - we now move old database away and create empty one as using rpm as package management is not supported anyway (Closes: #536519). * Use debconf to show message about the cleanup. -- Michal Čihař Wed, 15 Jul 2009 23:09:10 +0200 rpm (4.7.0-8) unstable; urgency=low [ Loïc Minier ] * Readd myself as uploader; doh. * debian/*: whitespaces and small syntax tweaks * Build-dep on libdw-dev instead of libdwarf-dev [ Michal Čihař ] * Build depend on libbeecrypt-dev instead of libbeecrypt6-dev (Closes: #536451). * Add special option --force-debian when user wants to install rpm package on Debian system and tell user to use alien instead. * Initialize package database in postinst, due to above change we have better way to tell user that he should not use rpm than crying when rpmdb is not initialized (Closes: #451441). * Drop now deprecated patch 16-debian-warn.diff. * Update README.Debian to match new state of things. * Drop rpm-i18n and elfutils down to Suggests: as neither of these are relevant to the common use case for rpm in Debian (i.e., alien) (merge from Ubuntu). -- Michal Čihař Fri, 10 Jul 2009 12:06:50 +0200 rpm (4.7.0-7) unstable; urgency=low * Do not touch build system internals, rather create separate build for each python (fixes occasional FTBFS). -- Michal Čihař Tue, 23 Jun 2009 13:55:48 +0200 rpm (4.7.0-6) unstable; urgency=low * Drop 22_spelling-fixes.diff, it is not a typo but real description of state. * Update to policy 3.8.2 (no changes needed). * Add symbols file for kfreebsd-i386 (should fix FTBFS). -- Michal Čihař Mon, 22 Jun 2009 15:10:59 +0200 rpm (4.7.0-5) unstable; urgency=low * Remake symbol files, default is for 32-bit systems and add exceptions for 64-bit ones, there are fewer of them (fixes FTBFS on armel). * Add missing include pthread.h (should fix FTBFS on hurd-i386). * Fix more errors in man page. -- Michal Čihař Wed, 17 Jun 2009 13:50:10 +0200 rpm (4.7.0-4) unstable; urgency=low * Fix typo in rpm-i18n description. * More complete debian/copyright. * Adjust symbol files of librpmio for diffrenent architectures (fixes FTBFS). -- Michal Čihař Mon, 15 Jun 2009 13:02:13 +0200 rpm (4.7.0-3) unstable; urgency=low * Okay, I'll stop uploading new version every hour. * Build depend on libelf-dev, and libdwarf-dev to get debugedit binary (LP: #341891). * Include lsb-rpmbuild in lsb-rpm package. * Update lsb-rpm man page and add lsb-rpmbuild one (Closes: #419870). * rpmTagTable is no longer part of API, so it can not be referenced (Closes: #476972). * Document in lsb-rpmbuild(1) what is needed to build LSB package (Closes: #459603). -- Michal Čihař Wed, 10 Jun 2009 10:56:55 +0200 rpm (4.7.0-2) unstable; urgency=low * Fix watch file. * Add librpm-dbg package with debug symbols. * Split of locales and localized man pages to rpm-i18n. * Fix - escaping in man pages. * Actually include module for python 2.4. -- Michal Čihař Wed, 10 Jun 2009 09:36:57 +0200 rpm (4.7.0-1) unstable; urgency=low * New maintainer (Closes: #529558). * New Upstream Version (Closes: #519861). - Add new libraries to build depends (lzma, nspr, nss, magic). - Works correctly with new tar (Closes: #400889). * Adjust patches: - Dropped 02-hkp-disable.diff - Refreshed 09-prereq.diff - Refreshed 13-rpm2cpio-help.diff - Dropped 14-work-on-debian64.diff - Refreshed 16-debian-warn.diff - Dropped 19-misc.diff - Refreshed 22_spelling-fixes.diff - Dropped 40_fix-zlib-include-in-file.patch - Refreshed 68_autogen-fixes.patch - Refreshed 70_autogen.patch * Bump policy to 3.8.1. * Switch to debhleper 7. - Use debian/clean instead of list in debian/rules. - Use debian/links instead of list in debian/rules. - Use dh_quilt*. - Use dh helper to simplify debian/rules. * Man pages can be in utf-8, mandb supports this since 2.5.0-1. * Switch to libneon27-gnutls-dev (Closes: #532257). * Fix build out out sources. * Fix upstream installation of rpm. * Do not create lsb-rpm man page by patch, include it directly. * Drop not needed source lintian override. * Switch to python-support. * Rename and split library packages to librpm0, librpmio0 and librpmbuild0. * Add symbol files to lib* packages. * Add debian/copyright. * Improve package descriptions. * Fix %{_sysconfdir} macro (Closes: #465871). * Fix bashisms (by using bash) (Closes: #530180). * Debsums are correct on this package (Closes: #421262). * Delete stray directories on purge (Closes: #366186). -- Michal Čihař Tue, 09 Jun 2009 19:12:51 +0200 rpm (4.4.2.3-3) unstable; urgency=low * QA upload. * Set maintainer to Debian QA Group. * Upload to unstable; closes: #524842 -- Anibal Monsalve Salazar Sun, 07 Jun 2009 16:25:45 +1000 rpm (4.4.2.3-2) experimental; urgency=low * Remove Anand Kumria from Uploader; thanks for your work! * Add Vcs-Git and Vcs-Browser fields. * Wrap build-deps and deps. * Bump Standards-Version to 3.8.0. * Drop obsolete debian/pycompat. * Add debian/gbp.conf for git-buildpackage. * New patch, 22_spelling-fixes, fixes typo in doc/rpm.8 man page; from Ubuntu; LP: #73355. * Refresh patches 02-hkp-disable, 09-prereq, 14-work-on-debian64, 17-dont-be-redhat, 21-kfreebsd to apply cleanly. * Drop source-contains-CVS-dir lintian overrides as we use tarballs and we should make dist a tarball or at least a CVS export if we pull a snapshot. * Build-dep on autotools-dev and drop outdated-autotools-helper-file lintian overrides. * New patch, 40_fix-zlib-include-in-file, fixes zlib -I flag breaking the build of the internal "file" copy when relibtoolized. * New patch, 50_internal-popt-config-flag, adds a --with-internal-popt configure flag to allow forcing the use of an external popt. * New patch, 68_autogen-fixes, calls "autoreconf -fi" instead of ./autogen.sh in file/ and cleans up some junk files after the autogens (autom4te.cache and ~ backups). * New patch, 70_autogen, run ./autogen --noconfigure. * Pass --with-internal-popt=no to configure. * Kill plenty of manual autotools cleanup from rules as well as popt removal. * Drop autoconf/automake/libtoolize invocation from rules. * Use "touch $@" instead of repeating target name. * Don't duplicate the way to call quilt and pass it --quiltrc /dev/null. * Pass -s to dh_* in binary-indep. * Update download URL in copyright. * Drop DH_VERBOSE=1. * Set configure flags via a new var, configure_flags, and only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE differ. * Drop obsolete README.Debian note related to rpm 4.1 behavior change. -- Loic Minier Sun, 21 Dec 2008 17:49:23 +0100 rpm (4.4.2.3-1) unstable; urgency=low * New upstream * Fix "rpm --root uses wrong db-dir". Closes: #359161 * Create /var/lib/rpm, Closes: #398046, #451441, #471473 -- Anibal Monsalve Salazar Sun, 11 May 2008 11:45:40 +1000 rpm (4.4.2.1-2) unstable; urgency=low * Merge with Ubuntu * Bumped up Standards-Version to 3.7.3 * debian/control: moved Homepage from description to header line -- Anibal Monsalve Salazar Sun, 06 Jan 2008 13:36:43 +1100 rpm (4.4.2.1-1ubuntu4) hardy; urgency=low * debian/control: Fix librpm-dev dependency: libdb4.5-dev -> libdb-dev. -- Martin Pitt Thu, 03 Jan 2008 09:15:37 +0100 rpm (4.4.2.1-1ubuntu3) hardy; urgency=low * Whoops, change binary dependencies to libneon27, too. -- Martin Pitt Wed, 02 Jan 2008 17:34:13 +0100 rpm (4.4.2.1-1ubuntu2) hardy; urgency=low * debian/control: libneon 25 -> 27. -- Martin Pitt Wed, 02 Jan 2008 17:15:22 +0100 rpm (4.4.2.1-1ubuntu1) hardy; urgency=low * Merge with Debian; remaining changes: - Added creation of empty file config.rpath due to an issue in automake 1.10. - Changed libdb4.5 dependency to libdb4.6 - libneon25 not updated to libneon26 due to evolving API, that makes RPM break. * Set Ubuntu maintainer address. -- Matthias Klose Thu, 06 Dec 2007 10:41:25 +0000 rpm (4.4.2.1-1) unstable; urgency=low * Renamed binary package librpm4 to librpm4.4 and changed the shlibs dpendencies to "librpm4.4 (>= 4.4), librpm4.4 (<< 4.5)". -- Anibal Monsalve Salazar Fri, 07 Sep 2007 20:45:29 +1000 rpm (4.4.2.1-0) unstable; urgency=low * New upstream release. Closes: #397330. * ACK NMU. Closes: #420406, #421963, #422211, #399750. * debian/control: added Loic Minier to uploaders. * debian/control: Build-Depends: replaced automake1.9 with automake. * debian/rules: upstream didn't ship: RPM-PGP-KEY RPM-GPG-KEY. * debian/watch: updated. * debian/patches/01-gcc4-fixups.diff: merged upstream. * debian/patches/03-check-symlinks.diff: merged upstream. * debian/patches/04-fileconflicts.diff: merged upstream. * debian/patches/05-nonmerged.diff: merged upstream. * debian/patches/06-ordererase.diff: merged upstream. * debian/patches/07-posttrans.diff: merged upstream. * debian/patches/08-prepostrun.diff: merged upstream. * debian/patches/11-matchpathcon.noselinux.diff: didn't apply cleanly. * debian/patches/12-de.po.diff: didn't apply cleanly. * debian/patches/99_query_heap_protection.diff: merged upstream. -- Anibal Monsalve Salazar Thu, 23 Aug 2007 22:05:15 +1000 rpm (4.4.1-14.1ubuntu2) gutsy; urgency=low * Revert back to libdb4.5, one less db4.x version in main. * Set Ubuntu maintainer address. -- Matthias Klose Wed, 12 Sep 2007 17:31:10 +0200 rpm (4.4.1-14.1ubuntu1) gutsy; urgency=low * Added creation of empty file config.rpath due to an issue in automake 1.10 * Changed libdb4.5 dependency to libdb4.6 * libneon25 not updated to libneon26 due to evolving API, that makes RPM break. -- Stefan Skotte Sat, 18 Aug 2007 17:46:55 +0000 rpm (4.4.1-14.1) unstable; urgency=low * NMU * Change build dependency on libdb3-dev to libdb4.5-dev. closes: #420406, #421963. * Add build dependency on bzip2 so configure can find the proper path to the bzip2 binary. closes: #422211. * Add build-dependency on quilt, and apply Petr Salinger's patch to use quilt in debian/rules. * Drop debian/changelog hunk from 20-no-linux-gate.so-dependancy.diff . * Clean up source package so that quilt patches will apply. closes: #399750. -- Clint Adams Thu, 05 Jul 2007 14:35:41 -0400 rpm (4.4.1-14) unstable; urgency=medium * Fixed FTBFS on non-linux archs: build-depends on libselinux1-dev. Closes: #399208. Patch by Konstantinos Koukopoulos . * Fixed FTBFS on GNU/kFreeBSD. Closes: #399750. Patches by Petr Salinger . Removed: 11-matchpathcon.diff Added: 11-matchpathcon.noselinux.diff and 21-kfreebsd.diff -- Anibal Monsalve Salazar Sun, 10 Dec 2006 09:32:59 +1100 rpm (4.4.1-13) unstable; urgency=medium * Removed patch for #399208. * Fixed FTBFS on GNU/kFreeBSD. Closes: #399750. Patches by Petr Salinger . -- Anibal Monsalve Salazar Sat, 25 Nov 2006 21:42:02 +1100 rpm (4.4.1-12) unstable; urgency=medium * Fixed FTBFS on non-linux archs: build-depends on libselinux1-dev. Closes: #399208. Patch by Konstantinos Koukopoulos . -- Anibal Monsalve Salazar Sun, 19 Nov 2006 12:57:46 +1100 rpm (4.4.1-11) unstable; urgency=high * Synchronized to Ubuntu - SECURITY UPDATE: heap overflow in query report could lead to arbitrary code execution. - Add 'debian/patches/99_query_heap_protection.diff': validate message length. Patch from upstream CVS, applied inline. - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212833 - CVE-2006-5466 - Closes: #397076. * Updated debian/watch. * Added debian/pycompat. -- Anibal Monsalve Salazar Sun, 05 Nov 2006 13:27:39 +1100 rpm (4.4.1-10) unstable; urgency=medium * ACK NMU. Closes: #377657. * Fixed FTBFS on m68k. * Added variables DEB_{HOST,BUILD}_GNU_TYPE as parameters for configure. -- Anibal Monsalve Salazar Wed, 09 Aug 2006 19:51:07 +1000 rpm (4.4.1-9.1ubuntu0.1) edgy-security; urgency=low * SECURITY UPDATE: heap overflow in query report could lead to arbitrary code execution. * Add 'debian/patches/99_query_heap_protection.diff': validate message length. Patch from upstream CVS, applied inline. * References https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212833 CVE-2006-5466 -- Kees Cook Fri, 3 Nov 2006 12:53:27 -0800 rpm (4.4.1-9.1build1) edgy; urgency=low * Rebuild to add support for python2.5. -- Matthias Klose Fri, 8 Sep 2006 18:27:58 +0000 rpm (4.4.1-9.1) unstable; urgency=low * NMU. * Convert to updated Python policy. -- Matthias Klose Mon, 10 Jul 2006 14:24:07 +0200 rpm (4.4.1-9) unstable; urgency=low * Synchronized to Ubuntu - debian/control, debian/rules, debian/python2.[34]-rpm.install: Drop Python 2.3 package, build Python 2.4 package. * Set Standards-Version to 3.7.2. * Set debian/compat to 5. -- Anibal Monsalve Salazar Sun, 09 Jul 2006 15:05:58 +1000 rpm (4.4.1-8ubuntu1) edgy; urgency=low * Synchronize to Debian; remaining Ubuntu changes: - debian/control, debian/rules, debian/python2.[34]-rpm.install: Drop Python 2.3 package, build Python 2.4 package. -- Martin Pitt Fri, 30 Jun 2006 15:51:12 +0200 rpm (4.4.1-8) unstable; urgency=low * Changed build-dependency on libneon24-dev to libneon25-dev. * Recoded Korean pages, closes: #349938. Patch thanks to Nicolas Francois . -- Anibal Monsalve Salazar Sun, 05 Mar 2006 19:46:22 +1100 rpm (4.4.1-7) unstable; urgency=low * Deactivated iconv processing for the Korean pages. Please refer to #349938. -- Anibal Monsalve Salazar Fri, 27 Jan 2006 10:25:59 +1100 rpm (4.4.1-6) unstable; urgency=low * Fixed "FTBFS: undefined references in libselinux", closes: #349935. Patch thanks to Nicolas Francois . * Fixed "The Japanese, Korean and Russian man pages should not be encoded in UTF-8", closes: #349938. Patch thanks to Nicolas Francois . * Merged the two uploaders lines in debian/control. * Added homepage to package description. * Updated watch file. -- Anibal Monsalve Salazar Thu, 26 Jan 2006 12:44:55 +1100 rpm (4.4.1-5ubuntu2) dapper; urgency=low * debian/control: - Build against libneon25, 24 does not exist any more. - Add build dependency libsepol1-dev. * debian/rules: Link lsb-rpm against -lsepol to fix unresolved references and FTBFS. -- Martin Pitt Tue, 17 Jan 2006 12:20:31 +0100 rpm (4.4.1-5ubuntu1) dapper; urgency=low * Build using python2.4. -- Matthias Klose Mon, 16 Jan 2006 20:55:25 +0000 rpm (4.4.1-5) unstable; urgency=low * Don't generate dependancies on linux-gate.so, it is a virtual library and only exists on linux 2.6 anyway. Thanks for the patch Ken Schalk. (Closes: #338515) -- Anand Kumria Tue, 27 Dec 2005 03:27:41 +1100 rpm (4.4.1-4) unstable; urgency=low * Remove postinst which deals with ancient (prior to woody) rpm upgrades * Reset the RPMCANONVENDOR to always be 'rpm' when compiling on a Debian System (make /usr/src/rpm/BUILD reappear) -- Anand Kumria Tue, 18 Oct 2005 19:35:09 +1000 rpm (4.4.1-3) unstable; urgency=low * Fixed for amd64 and other multi-arch platforms (sprc, powerpc) from Artur Czechowski. (Closes: #334150, #333760, #333999) * Conflict with manpages-pl (and shortly others) (Closes: #334146) -- Anand Kumria Tue, 18 Oct 2005 13:38:56 +1000 rpm (4.4.1-2) unstable; urgency=low * Build-Depend on python-dev as dh_python requires this, even if a specific version if specified to it. -- Anand Kumria Wed, 12 Oct 2005 15:51:03 +1000 rpm (4.4.1-1) unstable; urgency=low * New upstream releases (Closes: #214406, #193930) * Add myself to uploaders * Create python bindings (Closes: #218348, #326142) * Correct the German translation (Closes: #313916) * Acknowledge OMU (Closes: #326665) * Make _sysconfdir point to /etc (Closes: #318626) * Standards-Version: 3.6.2.1 * Other random funkiness -- Anand Kumria Wed, 5 Oct 2005 09:56:32 +1000 rpm (4.0.4-32) unstable; urgency=low * Enabled python bindings * Never uploaded -- David Pashley Fri, 2 Sep 2005 10:03:19 +0100 rpm (4.0.4-31.1) unstable; urgency=medium * OMU * Rebuilt to replace static copy of zlib with one that is not vulnerable to CAN-2005-2096. Closes: #318099 * python/rpmmodule.c: remove funky LHS casts to allow building with gcc 4.0.2. -- Joey Hess Sun, 4 Sep 2005 16:38:14 -0400 rpm (4.0.4-31) unstable; urgency=low * Scott James Remnant - Changed libtool1.4 dependency to libtool. Closes: #279393. - Call libtoolize when refreshing the beecrypt directory. - Use right versions of aclocal and automake when refreshing beecrypt. - Tell libtoolize and automake to copy files instead of symlinking them. - Tell automake to add missing files and force update of standard files. - Remove bogus code to link the rpmio code to libbeecrypt statically to the PIC code and just use a convenience library instead. Patch available at http://people.ubuntu.com/~scott/patches/rpm/rpm_4.0.4-29ubuntu1_misc.patch -- Anibal Monsalve Salazar Mon, 21 Mar 2005 21:10:49 +1100 rpm (4.0.4-30) unstable; urgency=low * New maintainer's email address. -- Anibal Monsalve Salazar Thu, 10 Feb 2005 22:21:43 +1100 rpm (4.0.4-29) unstable; urgency=low * Provide shared development libraries. Closes: #246682 Changed debian/librpm4.install * Include search path for hdrinline.h wrong in rpm/header.h. Closes: #261128 Changed lib/header.h * Minor typographical errors in packaging. Closes: #236538 Changed debian/{,lsb-rpm.}README.Debian Patch by Bob Proulx * /usr/src/redhat upgrade-merge to /usr/src/rpm improvement. Closes: #236540 Changed debian/postinst -- Anibal Monsalve Salazar Wed, 11 Aug 2004 23:16:26 +1000 rpm (4.0.4-28) unstable; urgency=low * Changed maintainer in debian/control. -- Anibal Monsalve Salazar Thu, 22 Apr 2004 14:30:34 +1000 rpm (4.0.4-27) unstable; urgency=low * New maintainer (Closes: #239518) -- Anibal Monsalve Salazar Thu, 22 Apr 2004 12:16:06 +1000 rpm (4.0.4-26) unstable; urgency=low * Orphaned the package. -- Joey Hess Tue, 23 Mar 2004 00:36:49 -0500 rpm (4.0.4-25) unstable; urgency=low * Turn off libtool's suppress_output feature, which is intended to hide duplicate compiler errors during the second compilation of files, but turns out to hide the only error dueing link. * Rebuild on alpha, let's see if it still FTBFS. -- Joey Hess Sun, 19 Oct 2003 20:05:35 -0400 rpm (4.0.4-24) unstable; urgency=low * Build-dep on libtool1.4 for now. libtool 1.5 does not like the way rpmio tries to link in a .lo files from ../beecrypt. A better fix will have to wait on the new upstream version of rpm. Closes: #208390 -- Joey Hess Tue, 2 Sep 2003 14:45:29 -0400 rpm (4.0.4-23) unstable; urgency=low * Added libbz2-dev and libz-dev to librpm-dev depends, since you probably need them to link stuff with librpm (or librpmio anyway). Closes: #198509 * Tar file was screwed up in -22; attempt to fix that. -- Joey Hess Mon, 23 Jun 2003 11:52:32 -0400 rpm (4.0.4-22) unstable; urgency=low * Delete beecrypt/autom4te.cache in clean only after running distclean. Closes: #190983 -- Joey Hess Sun, 4 May 2003 18:10:09 -0400 rpm (4.0.4-21) unstable; urgency=low * Unversioned autoconf call, Closes: #189109 -- Joey Hess Tue, 15 Apr 2003 10:19:20 -0400 rpm (4.0.4-20) unstable; urgency=low * Remove call to AM_FUNC_ERROR_AT_LINE, which is only in automake 1.5, not 1.7. Closes: #184590 -- Joey Hess Mon, 14 Apr 2003 12:39:32 -0400 rpm (4.0.4-19) unstable; urgency=low * Force use of aclocla-1.7. Closes: #184590 -- Joey Hess Mon, 17 Mar 2003 12:51:40 -0800 rpm (4.0.4-18) unstable; urgency=low * Gave up and added a explicit message about using alien right before the db open error. -- Joey Hess Sun, 9 Mar 2003 10:47:02 -0500 rpm (4.0.4-17) unstable; urgency=low * Use automake-1.7 Closes: #183788 -- Joey Hess Fri, 7 Mar 2003 12:52:05 -0500 rpm (4.0.4-16) unstable; urgency=low * Fix LIBOBJS mess. Closes: #182204 -- Joey Hess Sun, 23 Feb 2003 18:48:50 -0500 rpm (4.0.4-15) unstable; urgency=low * Conflict against packages in woody linked with librpm-4.0.3.so, which is not provided, although librpm4's soname did not change, to prevent upgrade problems. Closes: #178371 This is certianly not ideal, see #177298 * Pirenially broken automake/autoconf jiggery of the hour. This now includes running autoconf twice, because it is not even *idempotent*. Gah. * Link librpmdb with db3. Closes: #150315 -- Joey Hess Sat, 22 Feb 2003 15:04:15 -0500 rpm (4.0.4-14) unstable; urgency=MEDIUM * Minor security fixes spotted by Paul Szabo. - cpanflute: check mkdir call and abort on failure - cross-build: drop the files into ~/srpms/done, not /tmp/srpms/done; but of course this is just an example script like it says - rpmdiff.cgi: like so many CGI scripts, this is utter insecure crap (use viewcvs); removed from binary package. Added note that it is completly insecure to source and make it die on startup. (Maximum impact: executation of arbitrary code as user cgi script runs as.) - vpkg-provides.sh, vpkg-provides2.sh: Use tempfile(1) for safe creation of all temporary files. Many changes and untested. These scripts do not work on linux anyway. None of the above programs were ever run by rpm when building packages. Therefore these security holes are unlikely to have impacted casual RPM users. Closes: #173242 (also sent upstream) * rpmio.h ifdef fix for glibc 2.3. Closes: #173502 -- Joey Hess Thu, 19 Dec 2002 00:31:10 -0500 rpm (4.0.4-13) unstable; urgency=low * Built with fixed debhelper that will install /usr/src/rpm properly although the subdirectories are empty. Closes: #172717 -- Joey Hess Thu, 12 Dec 2002 14:41:37 -0500 rpm (4.0.4-12) unstable; urgency=low * check-prereqs won't work on debian, as we don't have a bash hacked for rpm --rpm-requires (gag). Make the script shut up, and make it pass sh -n to shut up lintian. * Install Specfile.pm mode 644. -- Joey Hess Fri, 15 Nov 2002 14:58:19 -0500 rpm (4.0.4-11) unstable; urgency=low * Don't fail removing empty directories in rules file if there are none to remove. Closes: #159049 -- Joey Hess Sun, 20 Oct 2002 17:55:22 -0400 rpm (4.0.4-10) unstable; urgency=low * Seems I must force use of autoconf2.13 all of a sudden though I changed nothing. Shite. Closes: #157200 -- Joey Hess Thu, 22 Aug 2002 12:40:21 -0400 rpm (4.0.4-9) unstable; urgency=low * In beecrypt, don't try to use asm versons of ASM_MP32{SET,ADD}MUL on arm. Closes: #157059 -- Joey Hess Sat, 17 Aug 2002 23:28:24 -0400 rpm (4.0.4-8) unstable; urgency=low * rpmbuild went missing on i386 somehow (debhelper bug specific to my environment); rebuild to fix that. Closes: #152017 -- Joey Hess Fri, 5 Jul 2002 23:02:35 -0400 rpm (4.0.4-7) unstable; urgency=low * Link with proper debian popt package, which is sufficiently up-to-date now. -- Joey Hess Sat, 29 Jun 2002 13:48:25 -0400 rpm (4.0.4-6) unstable; urgency=low * Fixed typo in perl.req, Closes: #148906 -- Joey Hess Mon, 3 Jun 2002 11:28:42 -0400 rpm (4.0.4-5) unstable; urgency=low * Argh, librpm4, not rpm. Closes: #148571 -- Joey Hess Thu, 30 May 2002 13:36:56 -0400 rpm (4.0.4-4) unstable; urgency=low * Tighten up the shlibs deps to only the current version of rpm, since packages linked with it will include the minor version in the file they link to, because of the way its soname is messed up. Gag. See #148376 -- Joey Hess Tue, 28 May 2002 22:33:43 -0400 rpm (4.0.4-3) unstable; urgency=low * Build -sa, I suppose I didn't upload -1 to the debian archive. -- Joey Hess Fri, 3 May 2002 18:35:17 -0400 rpm (4.0.4-2) unstable; urgency=low * Removed file conflict between -dev and lib package. -- Joey Hess Thu, 2 May 2002 20:48:40 -0400 rpm (4.0.4-1) unstable; urgency=low * New upstream release. * Includes crypto. I had to link beecrypt statically from the sources in rpm, rather than using the debian one, since rpm uses beecrypt internal functions. Sigh. * Still using internal popt, as it has functions not in the debian one. * Updated copyright file. * Hacked around more automake crap, this time involving use of += vs = * Get rid of dh_movefiles and use dh_install instead; much better. -- Joey Hess Mon, 11 Feb 2002 00:00:59 -0500 rpm (4.0.3-8) unstable; urgency=low * Fixed powerpc building. Closes: #143398 -- Joey Hess Fri, 19 Apr 2002 00:58:25 -0400 rpm (4.0.3-7) unstable; urgency=low * Backported fix for powerpc subarch detection problem (mfspr SIGILL trap). Completly and utterly untested, but it's all ifdef'ed for powerpc. Closes: #143091 -- Joey Hess Tue, 16 Apr 2002 12:50:21 -0400 rpm (4.0.3-6) unstable; urgency=low * Fix lsb-rpm deps (so a old dpkg-dev can build this) -- Joey Hess Sat, 6 Apr 2002 12:55:27 -0500 rpm (4.0.3-5) unstable; urgency=low * Added a rpm-lsb package. Closes: #108059 This is for building lsb packages, it will always generate v3 packages and it is statically linked for the lsbdev chroot. It will be used by the soon forthcoming lsbdev package. * Removed unnecessary old dependency on bzip2. -- Joey Hess Tue, 26 Mar 2002 19:59:35 -0500 rpm (4.0.3-4) unstable; urgency=low * Fixed a build failure on m68k (I hope) Closes: #130471 -- Joey Hess Tue, 22 Jan 2002 20:56:57 -0500 rpm (4.0.3-3) unstable; urgency=low * Patched header.h and rpmdb.h to #include , so they can be #included from the installed librpm-dev package. * Make librpm-dev provide librpm0-dev, for back-compatability. * Use debhelper v4 (for dh_makeshlibs -V saneness). * Make librpm-dev depend on libdm3-dev; you need to link with db3 to link in librpmdb. Closes: #128299 -- Joey Hess Sat, 5 Jan 2002 23:41:36 -0500 rpm (4.0.3-2) unstable; urgency=low * It does not make sense for rpm to check BuildPrereq's on debian systems, which lack a rpm db. So, hacked the rpmpopt file to add --nodeps to all invocations of rpmb. Closes: #119591 -- Joey Hess Sat, 5 Jan 2002 15:27:55 -0500 rpm (4.0.3-1) unstable; urgency=low * The "where did that soname come from?" release. * So there's a soname now, but it's ugly as sin. Renamed the lib package to librpm4, but the soname is really "librpm-4.0.3". * I also took this opportunity to remove a version from the librpm-dev package. There can only be one, I hope. * This includes Perl-RPM, and if someone needs a librpm-perl package to be built, just ask. * Building with the popt in rpm again instead of debian's, which is too old. This bloats rpm a lot, and I hope for a better resolution soon. -- Joey Hess Sat, 29 Dec 2001 16:26:15 -0500 rpm (4.0.2-18) unstable; urgency=HIGH * Applied a patch dug out of a connectiva .src.rpm, that appears to fix a bug that could allow arbitrary code to execute when rpm was used to query a malicious package. Hard to check since there is no known exploit and since no real technical information about the hole has been publically posted. -- Joey Hess Wed, 28 Nov 2001 12:06:46 -0500 rpm (4.0.2-17) unstable; urgency=low * Moved build-dep to automake1.5. Closes: #117299 -- Joey Hess Sat, 27 Oct 2001 13:38:26 -0400 rpm (4.0.2-16) unstable; urgency=low * The "automake considered harmful" release. * Modified various random things in Makefile.am's and the automake invocation, that somehow make it build with autoconf 1.5. -- Joey Hess Wed, 10 Oct 2001 20:05:53 -0400 rpm (4.0.2-15) unstable; urgency=low * Fixed line in macros file that still pointed at /usr/src/rpm. Closes: #104063 -- Joey Hess Mon, 9 Jul 2001 11:25:00 -0400 rpm (4.0.2-14) unstable; urgency=low * Make librpm0 conflict with over versions of rpm, which it breaks. Closes: #103688 -- Joey Hess Fri, 6 Jul 2001 12:26:22 -0400 rpm (4.0.2-13) unstable; urgency=low * Deal with /usr/src/redhat having arbitratry contents, including whole build trees, when doing the move. Closes: #103236 -- Joey Hess Mon, 2 Jul 2001 19:20:38 -0400 rpm (4.0.2-12) unstable; urgency=low * Fixed /usr/src/redhat directory, which recent versions of autoconf had begin changing to /usr/src/pc. This seems to be coming from '-pc-linux-gnu' (just guessing, it is all too horrific to track down). Anyway, it seems in the configure.in that they actually are making some effort to make it be /usr/src/, for rpm-derived distributions. Since using /usr/src/debian for rpm on debian is too evil to be believed, I have made it use /usr/src/rpm for debian. * Of course, a lot of docs refer to /usr/src/redhat/. Added something to README.Debian about it. * Contents of existing /usr/src/redhat directories will be moved into /usr/src/rpm on upgrade. -- Joey Hess Thu, 14 Jun 2001 14:40:06 -0400 rpm (4.0.2-11) unstable; urgency=low * Fixed rpm2cpio, Closes: #100532, #100558 -- Joey Hess Tue, 12 Jun 2001 11:27:08 -0400 rpm (4.0.2-10) unstable; urgency=low * Added -h switch to rpm2cpio, Closes: #100017 -- Joey Hess Thu, 7 Jun 2001 20:20:25 -0400 rpm (4.0.2-9) unstable; urgency=low * Fixed for the new autoconf. -- Joey Hess Thu, 24 May 2001 19:02:40 -0400 rpm (4.0.2-8) unstable; urgency=low * Don't remove ltconfig, Closes: #97501 -- Joey Hess Mon, 14 May 2001 20:02:33 -0400 rpm (4.0.2-7) unstable; urgency=low * Build with new libpopt-dev to fix versoned libpopt0 dependancy problem. Closes: #95789 -- Joey Hess Fri, 4 May 2001 22:34:03 -0400 rpm (4.0.2-6) unstable; urgency=low * Fixed python/Makefile.am to link in the shared popt lib, not the static one I don't build. Closes: #95709 -- Joey Hess Mon, 30 Apr 2001 00:00:28 -0400 rpm (4.0.2-5) unstable; urgency=low * Use [:lower:] in rules fule because fucking LC_COLLATE blows me. -- Joey Hess Thu, 26 Apr 2001 22:59:58 -0400 rpm (4.0.2-4) unstable; urgency=low * ACKing Paul's NMU, Closes: #95082, #95082 * Removed other popt cruft. * Added versioned build-dep on current libpopt. * Reversed the dh_installdocs change as I cannot reproduce any problem. -- Joey Hess Wed, 25 Apr 2001 14:12:11 -0400 rpm (4.0.2-3.1) unstable; urgency=low * NMU * As libpopt0 is now maintained, stop linking it in statically, or compiling it. (Fixes: #95082) * Something odd happens with dh_installdocs if you specify globs on command line. Put them in rpm.docs instead. -- Paul Martin Wed, 25 Apr 2001 03:20:37 +0100 rpm (4.0.2-3) unstable; urgency=low * Retry with -sa. -- Joey Hess Thu, 5 Apr 2001 23:58:49 -0700 rpm (4.0.2-2) unstable; urgency=low * Moved the package from extra to optional. Alien is in optional, and that is the right place for it too by my reading of policy. The only reason rpm was in extra was because it only seemed useful to those with specialized requirements (debian users don't need to fiddle with rpms, right?) Well, running alien is not a particularly specialized requirement. (I've kept the -dev package in extra though.) -- Joey Hess Tue, 3 Apr 2001 15:23:58 -0700 rpm (4.0.2-1) unstable; urgency=low * New upstream. -- Joey Hess Fri, 23 Mar 2001 21:08:37 -0800 rpm (4.0-3) unstable; urgency=low * Have to include ugid.h in the -dev package since misc.h includes it. Closes: #90838 -- Joey Hess Fri, 23 Mar 2001 20:38:48 -0800 rpm (4.0-2) unstable; urgency=low * Fixed undeclared recusrive self-build dep. -- Joey Hess Sun, 18 Mar 2001 20:29:20 -0800 rpm (4.0-1) unstable; urgency=low * New upstream version. Closes: #75189 * Build-depends on db3. * The lib and dev packages have changed to librpm0 from librpm1. Yes, this is counterintuitive, but librpm1 was a mistake from the beginning; the lib is still 0.0.0, and I'm sure the interface has changed. -- Joey Hess Wed, 14 Mar 2001 19:01:21 -0800 rpm (3.0.5-5) unstable; urgency=low * librpm1-dev depends on libpopt-dev, Closes: #83558 -- Joey Hess Thu, 25 Jan 2001 11:21:52 -0800 rpm (3.0.5-4) unstable; urgency=low * Rebuild, Closes: #77474 -- Joey Hess Sun, 19 Nov 2000 19:15:54 -0800 rpm (3.0.5-3) unstable; urgency=low * Rebuilt with new glibc. * Corrected build process so it links with the libs it just built, not those installed on the system. -- Joey Hess Wed, 27 Sep 2000 21:18:26 -0700 rpm (3.0.5-2) unstable; urgency=low * Blast, I got the symlink order wrong. Closes: 72539 (inexplicably grave) -- Joey Hess Tue, 26 Sep 2000 21:22:24 -0700 rpm (3.0.5-1) unstable; urgency=low * This version of rpm supports rpmv4, without needing db3, which is not yet in Debian. Closes: #70713 * Use debhelper v2. -- Joey Hess Mon, 25 Sep 2000 19:10:15 -0700 rpm (3.0.4-3) unstable; urgency=low * This one fell through the cracks. Fixed rpmlib.h to properly reference location of header files, which are in /usr/include/rpm, not /usr/include. Closes: #58839 -- Joey Hess Mon, 21 Aug 2000 16:01:10 -0700 rpm (3.0.4-2) unstable; urgency=low * If /etc/rpmrc is still around, kill it. I think it's lingering on in some systems, because it used to not be a conffile, then became a conffile, and then was removed entirely. Probably upgrades from the not-a-conffile state direct to the current state fail to delete it. * Make sure /etc/rpm/macros is deleted on purge. (It's generated in some cases by convertrpmrc.sh.) * Closes: #69557 -- Joey Hess Mon, 21 Aug 2000 14:29:39 -0700 rpm (3.0.4-1) unstable; urgency=low * New upstream. * Include rpm GPG key. * Again: They've been changing things in the library w/o bumping the soname, so I added conflicts.. * Depend on perl5 -- Joey Hess Sun, 7 May 2000 15:47:57 -0700 rpm (3.0.3-2) unstable; urgency=low * Don't include a duplicate of the upstream changelog (typo). Closes: #58747 -- Joey Hess Tue, 22 Feb 2000 19:42:23 -0800 rpm (3.0.3-1) unstable; urgency=low * New upstream. * They've been changing things in the library w/o bumping the soname, so I added conflicts.. -- Joey Hess Tue, 11 Jan 2000 16:54:11 -0800 rpm (3.0.2-17) unstable; urgency=low * Hacked find-requires to ignore libfakeroot. Closes: #54495 -- Joey Hess Sat, 8 Jan 2000 15:00:13 -0800 rpm (3.0.2-16) unstable; urgency=low * Build deps. -- Joey Hess Sat, 4 Dec 1999 15:29:40 -0800 rpm (3.0.2-15) unstable; urgency=low * Rebuilt with latest bzip library to fix dependancy. (Closes: #47601) -- Joey Hess Sun, 24 Oct 1999 14:31:52 -0700 rpm (3.0.2-14) unstable; urgency=low * Corrected bzip2 dependancy, Closes: #46869 -- Joey Hess Thu, 7 Oct 1999 14:06:30 -0700 rpm (3.0.2-13) unstable; urgency=low * Reupload with .tar.gz, Closes: #45727, #34032 -- Joey Hess Sun, 3 Oct 1999 12:35:24 -0700 rpm (3.0.2-12) unstable; urgency=low * Um, what happened to my last upload? It has vanished from incoming. Re-upload, Closes: 45727, #34032 -- Joey Hess Fri, 1 Oct 1999 13:16:36 -0700 rpm (3.0.2-11) unstable; urgency=low * Corrected rpmlib dependancy. Closes: #45727, #34032 (indirectly). -- Joey Hess Wed, 22 Sep 1999 12:32:23 -0700 rpm (3.0.2-10) unstable; urgency=low * Removed files that conflict with libpopt0 (Closes: #45623, #45620) * Uploaded full source this time, I goofed the version number and omitted it last time. -- Joey Hess Mon, 20 Sep 1999 15:54:46 -0700 rpm (3.0.2-9) unstable; urgency=low * New upstream release. * Cut the debian diff down to be as small as possible. -- Joey Hess Thu, 16 Sep 1999 23:28:16 -0700 rpm (3.0-8) unstable; urgency=low * FHS (note that is it *not* particularly FHS compliant when building rpm packages). -- Joey Hess Thu, 16 Sep 1999 21:29:45 -0700 rpm (3.0-7) unstable; urgency=low * Rebuilt, depending on libpopt0. (Closes #41566, #41864) -- Joey Hess Mon, 26 Jul 1999 12:38:12 -0700 rpm (3.0-6) unstable; urgency=low * Built w/o bzip2, to fix undefined bzip symbols when linking with rpmlib. -- Joey Hess Fri, 9 Jul 1999 09:34:01 -0700 rpm (3.0-5) unstable; urgency=low * Modified convertrpmrc.sh to make temp files in /tmp. It was putting them in the current directory Closes: #39205 -- Joey Hess Tue, 8 Jun 1999 23:44:01 -0700 rpm (3.0-4) unstable; urgency=low * Stopped using the popt that comes in the rpm source tree. Fixes a file collision saves some disk space. (#37388) -- Joey Hess Sun, 9 May 1999 18:14:30 -0700 rpm (3.0-3) unstable; urgency=low * Modified convertrrpmrc so it will operate on other rpmrc files and generate other macros files, if filenames are passed to it as arguments 1 and 2. * Added note to README.Debian about rc file conversion. -- Joey Hess Sat, 24 Apr 1999 12:31:06 -0700 rpm (3.0-2) unstable; urgency=low * The library package conflicts with old versions of rpm, and fixed the dependancies of rpm on it. * Postinst will now run convertrpmrc.sh if /etc/rpmrc exists and /etc/rpm/macros does not. -- Joey Hess Fri, 23 Apr 1999 13:23:45 -0700 rpm (3.0-1) unstable; urgency=low * Major new upstream release. Probably breaks alien. Assorted painful hacks to make it build shared libs with the new automake based build system. * Fixed shlibs file. -- Joey Hess Thu, 22 Apr 1999 14:18:35 -0700 rpm (2.5.6-1) unstable; urgency=low * New upstream release. -- Joey Hess Wed, 24 Mar 1999 17:12:14 -0800 rpm (2.5.5-3) unstable; urgency=low * Relevatized symlinks to shut up lintian. -- Joey Hess Thu, 4 Feb 1999 14:46:32 -0800 rpm (2.5.5-2) unstable; urgency=low * Minor typo fix (closes: #32762). -- Joey Hess Tue, 2 Feb 1999 14:31:38 -0800 rpm (2.5.5-1) unstable; urgency=low * New upstream release. -- Joey Hess Sat, 7 Nov 1998 18:41:58 -0800 rpm (2.5.1-6) unstable; urgency=low * Added stddef.h include to miscfn.h. * Removed the extra source tree from the diff, this time. (Argh!) -- Joey Hess Wed, 2 Sep 1998 00:28:36 -0700 rpm (2.5.1-5) unstable; urgency=low * Patch from Matt McLean , that fixes compilation on powerpc and makes it create the proper /usr/src/redhat/RPMS/ directories. * Another patch from Matt makes configure test for arpa/inet.h, which doesn't exist in glibc 2.1. * Removed a whole extra unpacked tree from the .orig.tar.gz. Whoops! Let's use pristine source while we're at it. -- Joey Hess Tue, 1 Sep 1998 21:09:30 -0700 rpm (2.5.1-4) unstable; urgency=low * Fixed == bashism. -- Joey Hess Thu, 20 Aug 1998 00:48:25 -0700 rpm (2.5.1-3) unstable; urgency=low * config.{guess|sub} changed to recognize a Arm architecture, patch from Turbo Fredriksson -- Joey Hess Sat, 15 Aug 1998 12:32:07 -0700 rpm (2.5.1-2) unstable; urgency=low * Rebuilt with gettext for inetrnationalization support. - had to hack on rpm's makefiles to make this work, and patch a bug in one of the .po files. * Made libbuild.so be compiled with -fPIC. -- Joey Hess Wed, 17 Jun 1998 11:37:04 -0700 rpm (2.5.1-1) unstable; urgency=low * New upstream release. -- Joey Hess Mon, 8 Jun 1998 23:28:11 -0400 rpm (2.5-1) unstable; urgency=low * New upstream release. * Finally split up properly into library packages and rpm package (#19591). * As a consequence of the above, rpm no longer depends on itself. * I made rpm only suggest alien, reccommends seemed to strong, since you may well be installing rpm to do something other than install packages with it. -- Joey Hess Sat, 23 May 1998 09:39:11 -0400 rpm (2.4.12-7) frozen unstable; urgency=low * Make postinst call ldconfig, to comply with latest packaging manual. -- Joey Hess Thu, 16 Apr 1998 17:32:27 -0700 rpm (2.4.12-6) unstable; urgency=low * Applied quick fix for bug #19591, so rpm2html can build. Later (after the freeze), I will properly split up rpm into librpm and librpm-dev packages. -- Joey Hess Sat, 14 Mar 1998 00:21:15 -0800 rpm (2.4.12-5) unstable; urgency=low * Fixed spelling mistake in copyright file. * Updated copyright file - librpm is under LGPL. -- Joey Hess Sat, 7 Mar 1998 22:15:22 -0800 rpm (2.4.12-4) unstable; urgency=low * Link the libraries with -lc. * Don't install shared libraries using their sonames. -- Joey Hess Sat, 21 Feb 1998 16:28:45 -0800 rpm (2.4.12-3) unstable; urgency=low * Added a shlibs file and fixed all other lintian errors and warnings. -- Joey Hess Fri, 20 Feb 1998 14:54:40 -0800 rpm (2.4.12-2) unstable; urgency=low * Applied parch for sparc/pre 2.1 glibc (#17294). Also sent upstream. -- Joey Hess Sat, 31 Jan 1998 22:07:26 -0800 rpm (2.4.12-1) unstable; urgency=low * New upstream release. -- Joey Hess Sat, 10 Jan 1998 22:12:31 -0500 rpm (2.4.11-1) unstable; urgency=low * New upstream release. * Fixes a security hole in rpm's --setperms switch. This will probably not affect any debian users, however. -- Joey Hess Tue, 30 Dec 1997 20:41:22 -0500 rpm (2.4.10-1) unstable; urgency=low * New upstream release. -- Joey Hess Mon, 24 Nov 1997 15:52:32 -0500 rpm (2.4.9-1) unstable; urgency=low * New upstream release. * Added md5sums back in. * Added du file. -- Joey Hess Tue, 28 Oct 1997 19:41:38 -0500 rpm (2.4.8-1) unstable; urgency=low * New upstream release. * Use debhelper. * Got rid of the libmisc hack since rpm doesn't need libmisc on debian systems anymore. -- Joey Hess Fri, 10 Oct 1997 19:09:09 -0400 rpm (2.4.7-1) unstable; urgency=low * New upstream release with pristine sources. -- Joey Hess Fri, 12 Sep 1997 16:12:16 -0400 rpm (2.4.6-1) unstable; urgency=low * New upstream release. -- Joey Hess Fri, 29 Aug 1997 17:15:27 -0400 rpm (2.4.5-1) unstable; urgency=low * New upstream release. -- Joey Hess Tue, 26 Aug 1997 19:44:15 -0400 rpm (2.4.4-2) unstable; urgency=low * Include /usr/src/redhat/{BUILD/,RPMS/{noarch,}} in package so building rpms works out of the box. (#12220) -- Joey Hess Fri, 22 Aug 1997 12:41:50 -0400 rpm (2.4.4-1) unstable; urgency=low * New upstream release. * No longer uses cpio at all. * Pristine sources used. -- Joey Hess Thu, 21 Aug 1997 10:56:36 -0400 rpm (2.4.2-2) unstable; urgency=low * Removed the RPM-HOWTO from the package, since it's also in the doc-linux package. -- Joey Hess Tue, 29 Jul 1997 19:15:08 -0400 rpm (2.4.2-1) unstable; urgency=low * New upstream release. * libc6. * debian/rules Fixes for fakroot. -- Joey Hess Sun, 13 Jul 1997 22:07:23 -0400 rpm (2.4.1-1) unstable; urgency=low * New upstream release. -- Joey Hess Tue, 27 May 1997 13:23:42 -0400 rpm (2.4-1) unstable; urgency=low * New upstream release. * Now only suggests cpio, becuase cpio is only needed to build rpms now, not to extract them. -- Joey Hess Fri, 16 May 1997 15:32:48 -0400 rpm (2.3.11-1) unstable; urgency=low * New upstream release. * Changed debian doc menu file to menu-1 format, added longtitle and description. -- Joey Hess Sun, 27 Apr 1997 15:33:11 -0400 rpm (2.3.10-1) unstable; urgency=low * New upstream release. -- Joey Hess Thu, 17 Apr 1997 14:47:48 -0400 rpm (2.3.9-2) unstable; urgency=high * Previous version depended on "limbisc.a" library wich was not present. Oops! Fixed to statically link to that. * Updated to rpm howto version 2.0, which is now in html format. * Added debian doc menu file. * Routine update of debian/rules: Run dpkg-gencontrol after debstd, and delete substvars during clean. -- Joey Hess Tue, 15 Apr 1997 16:09:36 -0400 rpm (2.3.9-1) unstable; urgency=low * New upstream release -- Joey Hess Tue, 8 Apr 1997 16:16:52 -0400 rpm (2.3.8-1) unstable; urgency=low * New upstream release. -- Joey Hess Thu, 20 Mar 1997 14:50:57 -0500 rpm (2.3.7-2) unstable; urgency=low * Depends on cpio. * Made man pages for find-provides, find-requires, gendiff, closes #6323. * Routine update of debian/rules: Clean up junk files in subdirs. * Fixed missing \n in de.po. (closed bug #7518) -- Joey Hess Sat, 8 Mar 1997 14:18:18 -0500 rpm (2.3.7-1) unstable; urgency=low * New upstream release -- Joey Hess Tue, 25 Feb 1997 20:56:43 -0500 rpm (2.3.5-1) unstable; urgency=low * New upstream release. -- Joey Hess Fri, 14 Feb 1997 23:37:36 -0500 rpm (2.3.4-2) unstable; urgency=low * Previous version forgot to include rpm binary! * Uncommented some lines in /usr/lib/rpmrc that got commented by mistake because I had an old version of rpm installed in /usr/local/bin. Whoops. -- Joey Hess Sat, 1 Feb 1997 22:39:28 -0500 rpm (2.3.4-1) unstable; urgency=low * New upstream release. * Don't pass packagename to debstd, and call debstd after fixing permissions. -- Joey Hess Fri, 31 Jan 1997 21:00:14 -0500 rpm (2.3.3-1) unstable; urgency=low * New upstream version. * New maintainer. * Removed several references to alien being in the debmake package, replaced with references to the alien package. * Changed Recommends to alien from debmake. * Changed debian/rules to make the current maintainer more comfortable. * Commented out tmppath, cpiobin, fixperms, and defaultdocdir lines in /usr/lib/rpmrc, to close bug #6385 * Added RPM-PGP-KEY and NEWS files to docs. -- Joey Hess Mon, 27 Jan 1997 19:10:59 -0500 rpm (2.3-1) unstable; urgency=low * gettext support enabled (Foreign Language Support) * New upstream release -- Christoph Lameter Wed, 1 Jan 1997 20:15:38 -0800 rpm (2.2.9-2) unstable; urgency=low * Rebuild due to problem with generating the .shlibs file -- Christoph Lameter Mon, 16 Dec 1996 09:42:02 -0800 rpm (2.2.9-1) unstable; urgency=low * Dependency problem with zlib1 fixed. The packages libdb1, zlib1 and libgdbm1 still do not provide their own .shlib file. * /etc/rpmrc made a conffile * Upstream update -- Christoph Lameter Tue, 10 Dec 1996 15:19:21 -0800 rpm (2.2.7-5) unstable; urgency=low * All references to rpminstall changed to alien -- Christoph Lameter Fri, 8 Nov 1996 10:14:50 -0800 rpm (2.2.7-4) unstable; urgency=low * Repackaged with newest debmake * The last changelog entry was not correct. There was no a.out library but Red Hat did something rather strange to construct a .a library composed of a lot of objectfiles. Might have had something to do with the independance of rpm from installed libraries (which is not necessary in the debian situation). -- Christoph Lameter Mon, 4 Nov 1996 06:24:09 -0800 rpm (2.2.7-3) unstable; urgency=low * Converted to use ELF library (Yes, guys Red Hat is still on a.out libraries for their Package Manager!). Thanks for the help from Dirk Eddelbuettel. -- Christoph Lameter Mon, 28 Oct 1996 19:18:41 -0800 rpm (2.2.7-2) unstable; urgency=low * Added warnings and recommendation to use rpminstall / debmake to manpage, control file and README.debian -- Christoph Lameter Mon, 28 Oct 1996 07:17:32 -0800 rpm (2.2.7-1) unstable; urgency=low * Initial Release. -- Christoph Lameter Sat, 26 Oct 1996 21:04:34 -0700 debian/rpm.links0000644000000000000000000000015712213553131011025 0ustar usr/share/man/man8/rpm.8 usr/share/man/man8/rpmquery.8 usr/share/man/man8/rpm.8 usr/share/man/man8/rpmverify.8 debian/patches/0000755000000000000000000000000012213553131010611 5ustar debian/patches/autogen-cleanup.patch0000644000000000000000000000133212213553131014720 0ustar Description: Delete some crap after running autogen. Author: Michal Čihař --- a/autogen.sh +++ b/autogen.sh @@ -6,6 +6,30 @@ autoreconf -i +rm -rf autom4te.cache config.h.in~ po/Makevars.template +rm -f m4/codeset.m4 \ + m4/glibc2.m4 \ + m4/glibc21.m4 \ + m4/intdiv0.m4 \ + m4/intl.m4 \ + m4/intldir.m4 \ + m4/intmax.m4 \ + m4/inttypes-pri.m4 \ + m4/inttypes_h.m4 \ + m4/lcmessage.m4 \ + m4/lock.m4 \ + m4/longdouble.m4 \ + m4/longlong.m4 \ + m4/printf-posix.m4 \ + m4/size_max.m4 \ + m4/stdint_h.m4 \ + m4/uintmax_t.m4 \ + m4/ulonglong.m4 \ + m4/visibility.m4 \ + m4/wchar_t.m4 \ + m4/wint_t.m4 \ + m4/xsize.m4 + case "$1" in "--noconfigure") exit 0; debian/patches/lua-compat.patch0000644000000000000000000000162212213553131013675 0ustar Subject: Avoid undefined functions with Lua 5.2 From: Michal Čihař --- a/lib/rpmliblua.c +++ b/lib/rpmliblua.c @@ -1,6 +1,7 @@ #include "system.h" #ifdef WITH_LUA +#define LUA_COMPAT_MODULE 1 #include #include #include --- a/luaext/lposix.c +++ b/luaext/lposix.c @@ -31,6 +31,7 @@ #define MYNAME "posix" #define MYVERSION MYNAME " library for " LUA_VERSION " / Nov 2003" +#define LUA_COMPAT_MODULE 1 #include "lua.h" #include "lauxlib.h" #include "lposix.h" --- a/luaext/lrexlib.c +++ b/luaext/lrexlib.c @@ -7,6 +7,7 @@ #include #include +#define LUA_COMPAT_MODULE 1 #include "lua.h" #include "lauxlib.h" #include "lrexlib.h" --- a/rpmio/rpmlua.c +++ b/rpmio/rpmlua.c @@ -1,6 +1,7 @@ #include "system.h" #ifdef WITH_LUA +#define LUA_COMPAT_MODULE 1 #include #include #include debian/patches/series0000644000000000000000000000051612213553131012030 0ustar lua-compat.patch do-not-link-libpython.patch kfreebsd.patch hurd.patch installplatform-verbose.patch rpmdb-in-home.patch debian-disable-rpm.patch fix-directories.patch tempfile.patch no-linux-gate.so-dependancy.patch autogen-cleanup.patch lua-libname.patch rpm-4.10.90-rpmlib-filesystem-check.patch fix-python-multiarch-include.patch debian/patches/installplatform-verbose.patch0000644000000000000000000000050112213553131016504 0ustar From: Michal Čihař Subject: Verbose installplatform Just make installplatform to ease debugging problems with creatin platform files. --- a/installplatform +++ b/installplatform @@ -139,6 +139,7 @@ | grep -v '^@' \ | ${FILTER} \ > ${PPD}/macros + echo "Created ${PPD}/macros" done debian/patches/rpm-4.10.90-rpmlib-filesystem-check.patch0000644000000000000000000000577612213553131017776 0ustar Description: Add Fedora compatible rpm builtin provides Origin: vendor, http://pkgs.fedoraproject.org/cgit/rpm.git/plain/rpm-4.10.90-rpmlib-filesystem-check.patch Forwarded: not-needed --- a/lib/depends.c +++ b/lib/depends.c @@ -536,6 +536,109 @@ return rc; } +/* + * Temporary support for live-conversion of the filesystem hierarchy + * mailto: kay@redhat.com, harald@redhat.com + * https://fedoraproject.org/wiki/Features/UsrMove + * + * X-CheckUnifiedSystemdir: + * /bin, /sbin, /lib, /lib64 --> /usr + * + * X-CheckUnifiedBindir: + * /usr/sbin -> /usr/bin + * + * X-CheckMultiArchLibdir: + * /usr/lib64 /usr/lib/ (e.g. x86_64-linux-gnu) + * + * This code is not needed for new installations, it can be removed after + * updates from older systems are no longer supported: Fedora 19 / RHEL 8. + */ + +static int CheckLink(const char *dir, const char *root) +{ + char *d = NULL; + struct stat sbuf; + int rc = 0; + + if (!root) + root = "/"; + + rasprintf(&d, "%s%s", root, dir); + if (!d) { + rc = -1; + goto exit; + } + + /* directory or symlink does not exist, all is fine */ + if (lstat(d, &sbuf) < 0) { + rc = 1; + goto exit; + } + + /* if it is a symlink, all is fine */ + if (S_ISLNK(sbuf.st_mode)) + rc = 1; + +exit: + free(d); + return rc; +} + +static int CheckFilesystemHierarchy(rpmds * dsp, const char *root) +{ + static const char *dirs[] = { "bin", "sbin", "lib", "lib64" }; + int check; + int i; + rpmds ds; + rpmstrPool pool = rpmdsPool(*dsp); + int rc = 0; + + for (i = 0; i < sizeof(dirs) / sizeof(dirs[0]); i++) { + check = CheckLink(dirs[i], root); + if (check < 0) { + rc = -1; + goto exit; + } + + if (check == 0) + goto exit; + } + ds = rpmdsSinglePool(pool, RPMTAG_PROVIDENAME, + "rpmlib(X-CheckUnifiedSystemdir)", "1", + RPMSENSE_EQUAL); + rpmdsMerge(dsp, ds); + rpmdsFree(ds); + + check = CheckLink("usr/lib64", root); + if (check < 0) { + rc = -1; + goto exit; + } + if (check > 0) { + ds = rpmdsSinglePool(pool, RPMTAG_PROVIDENAME, + "rpmlib(X-CheckMultiArchLibdir)", "1", + RPMSENSE_EQUAL); + rpmdsMerge(dsp, ds); + rpmdsFree(ds); + } + + check = CheckLink("usr/sbin", root); + if (check < 0) { + rc = -1; + goto exit; + } + if (check > 0) { + ds = rpmdsSinglePool(pool, RPMTAG_PROVIDENAME, + "rpmlib(X-CheckUnifiedBindir)", "1", + RPMSENSE_EQUAL); + rpmdsMerge(dsp, ds); + rpmdsFree(ds); + } + +exit: + return rc; +} + /** * Check dep for an unsatisfied dependency. * @param ts transaction set @@ -559,8 +662,10 @@ * Check those dependencies now. */ if (dsflags & RPMSENSE_RPMLIB) { - if (tsmem->rpmlib == NULL) + if (tsmem->rpmlib == NULL) { rpmdsRpmlibPool(rpmtsPool(ts), &(tsmem->rpmlib), NULL); + CheckFilesystemHierarchy(&(tsmem->rpmlib), rpmtsRootDir(ts)); + } if (tsmem->rpmlib != NULL && rpmdsSearch(tsmem->rpmlib, dep) >= 0) { rpmdsNotify(dep, "(rpmlib provides)", rc); debian/patches/do-not-link-libpython.patch0000644000000000000000000000222412213553131015773 0ustar From: Michal Čihař Subject: Avoid linking with libpython This only introduces (useless) dependency on all supported python versions, while the linking itself is not needed. --- a/python/Makefile.am +++ b/python/Makefile.am @@ -12,8 +12,8 @@ _rpmmodule_la_LDFLAGS = -module -avoid-version -shared _rpmmodule_la_LIBADD = \ $(top_builddir)/lib/librpm.la \ - $(top_builddir)/rpmio/librpmio.la \ - @WITH_PYTHON_LIB@ + $(top_builddir)/rpmio/librpmio.la + _rpmmodule_la_SOURCES = rpmmodule.c rpmsystem-py.h \ header-py.c header-py.h \ @@ -33,8 +33,8 @@ _rpmbmodule_la_LIBADD = \ $(top_builddir)/build/librpmbuild.la \ $(top_builddir)/lib/librpm.la \ - $(top_builddir)/rpmio/librpmio.la \ - @WITH_PYTHON_LIB@ + $(top_builddir)/rpmio/librpmio.la + _rpmbmodule_la_SOURCES = rpmbmodule.c rpmsystem-py.h \ spec-py.c spec-py.h @@ -43,8 +43,8 @@ _rpmsmodule_la_LIBADD = \ $(top_builddir)/sign/librpmsign.la \ $(top_builddir)/lib/librpm.la \ - $(top_builddir)/rpmio/librpmio.la \ - @WITH_PYTHON_LIB@ + $(top_builddir)/rpmio/librpmio.la + _rpmsmodule_la_SOURCES = rpmsmodule.c rpmsystem-py.h debian/patches/kfreebsd.patch0000644000000000000000000001256012213553131013423 0ustar From: Michal Čihař Subject: Add kfreebsd support Forwarded: http://rpm.org/ticket/170 --- /dev/null +++ b/autodeps/kfreebsd.prov @@ -0,0 +1,61 @@ +#!/bin/bash + +# This script reads filenames from STDIN and outputs any relevant provides +# information that needs to be included in the package. + +filelist=`sed "s/['\"]/\\\&/g"` + +solist=$(echo $filelist | grep "\\.so" | grep -v "^/lib/ld.so" | \ + xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1) +pythonlist= +tcllist= + +# +# --- Alpha does not mark 64bit dependencies +case `uname -m` in + alpha*) mark64="" ;; + *) mark64="()(64bit)" ;; +esac + +# +# --- Library sonames and weak symbol versions (from glibc). +for f in $solist; do + soname=$(objdump -p $f | awk '/SONAME/ {print $2}') + + lib64=`if file -L $f 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` + if [ "$soname" != "" ]; then + if [ ! -L $f ]; then + echo $soname$lib64 + objdump -p $f | awk ' + BEGIN { START=0 ; } + /Version definitions:/ { START=1; } + /^[0-9]/ && (START==1) { print $4; } + /^$/ { START=0; } + ' | \ + grep -v $soname | \ + while read symbol ; do + echo "$soname($symbol)`echo $lib64 | sed 's/()//'`" + done + fi + else + echo ${f##*/}$lib64 + fi +done | sort -u + +# +# --- Perl modules. +[ -x /usr/lib/rpm/perl.prov ] && + echo $filelist | tr '[:blank:]' \\n | grep '\.pm$' | /usr/lib/rpm/perl.prov | sort -u + +# +# --- Python modules. +[ -x /usr/lib/rpm/python.prov -a -n "$pythonlist" ] && + echo $pythonlist | tr '[:blank:]' \\n | /usr/lib/rpm/python.prov | sort -u + +# +# --- Tcl modules. +[ -x /usr/lib/rpm/tcl.prov -a -n "$tcllist" ] && + echo $tcllist | tr '[:blank:]' \\n | /usr/lib/rpm/tcl.prov | sort -u + +exit 0 --- /dev/null +++ b/autodeps/kfreebsd.req @@ -0,0 +1,135 @@ +#!/bin/bash + +# +# Auto-generate requirements for executables (both ELF and a.out) and library +# sonames, script interpreters, and perl modules. +# + +ulimit -c 0 + +# +# --- Set needed to 0 for traditional find-requires behavior. +needed=1 +if [ X"$1" = Xldd ]; then + needed=0 +elif [ X"$1" = Xobjdump ]; then + needed=1 +fi + +# +# --- Grab the file manifest and classify files. +#filelist=`sed "s/['\"]/\\\&/g"` +filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` +exelist=`echo $filelist | xargs -r file | egrep -v ":.* (commands|script) " | \ + grep ":.*executable" | cut -d: -f1` +scriptlist=`echo $filelist | xargs -r file | \ + egrep ":.* (commands|script) " | cut -d: -f1` +liblist=`echo $filelist | xargs -r file | \ + grep ":.*shared object" | cut -d : -f1` + +interplist= +perllist= +pythonlist= +tcllist= + +# +# --- Alpha does not mark 64bit dependencies +case `uname -m` in + alpha*) mark64="" ;; + *) mark64="()(64bit)" ;; +esac + +if [ "$needed" -eq 0 ]; then +# +# --- Executable dependency sonames. + for f in $exelist; do + [ -r $f -a -x $f ] || continue + lib64=`if file -L $f 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` + ldd $f | awk '/=>/ { + if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/) { + gsub(/'\''"/,"\\&",$1); + printf "%s'$lib64'\n", $1 + } + }' + done | xargs -r -n 1 basename | sort -u + +# +# --- Library dependency sonames. + for f in $liblist; do + [ -r $f ] || continue + lib64=`if file -L $f 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` + ldd $f | awk '/=>/ { + if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/) { + gsub(/'\''"/,"\\&",$1); + printf "%s'$lib64'\n", $1 + } + }' + done | xargs -r -n 1 basename | sort -u +fi + +# +# --- Script interpreters. +for f in $scriptlist; do + [ -r $f -a -x $f ] || continue + interp=`head -n 1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` + interplist="$interplist $interp" + case $interp in + */perl) perllist="$perllist $f" ;; + esac +done +[ -n "$interplist" ] && { echo "$interplist" | tr '[:blank:]' \\n | sort -u ; } + +# +# --- Add perl module files to perllist. +for f in $filelist; do + [ -r $f -a "${f%.pm}" != "${f}" ] && perllist="$perllist $f" +done + +# +# --- Weak symbol versions (from glibc). +[ -n "$mark64" ] && mark64="(64bit)" +for f in $liblist $exelist ; do + [ -r $f ] || continue + lib64=`if file -L $f 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` + objdump -p $f | awk 'BEGIN { START=0; LIBNAME=""; needed='$needed'; } + /^$/ { START=0; } + /^Dynamic Section:$/ { START=1; } + (START==1) && /NEEDED/ { + if (needed) { + if ("'$lib64'" != "") { + sub(/$/, "()'$lib64'", $2) ; + } + print $2 ; + } + } + (START==2) && /^[A-Za-z]/ { START=3; } + /^Version References:$/ { START=2; } + (START==2) && /required from/ { + sub(/:/, "", $3); + LIBNAME=$3; + } + (START==2) && (LIBNAME!="") && ($4!="") && (($4~/^GLIBC_*/) || ($4~/^GCC_*/)) { + print LIBNAME "(" $4 ")'$lib64'"; + } + ' +done | sort -u + +# +# --- Perl modules. +[ -x /usr/lib/rpm/perl.req -a -n "$perllist" ] && \ + echo $perllist | tr '[:blank:]' \\n | /usr/lib/rpm/perl.req | sort -u + +# +# --- Python modules. +[ -x /usr/lib/rpm/python.req -a -n "$pythonlist" ] && \ + echo $pythonlist | tr '[:blank:]' \\n | /usr/lib/rpm/python.req | sort -u + +# +# --- Tcl modules. +[ -x /usr/lib/rpm/tcl.req -a -n "$tcllist" ] && \ + echo $tcllist | tr '[:blank:]' \\n | /usr/lib/rpm/tcl.req | sort -u + +exit 0 debian/patches/fix-python-multiarch-include.patch0000644000000000000000000000226412213553131017352 0ustar Description: Fix python include issues due to multiarch. . rpm (4.10.1-2.1ubuntu1) raring; urgency=low . * debian/patches/fix-python-multiarch-include.patch: Fix python multiarch include issue that causes FTBFS. Author: Chris J Arges Last-Update: <2013-01-07> --- --- a/configure.ac +++ b/configure.ac @@ -540,10 +540,10 @@ AS_IF([test "$enable_python" = yes],[ AM_PATH_PYTHON([2.6],[ - WITH_PYTHON_INCLUDE=`${PYTHON} -c 'from distutils.sysconfig import *; import sys; sys.stdout.write(get_python_inc())'` + WITH_PYTHON_INCLUDE=`python-config --includes` WITH_PYTHON_SUBPACKAGE=1 save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS -I$WITH_PYTHON_INCLUDE" + CPPFLAGS="$CPPFLAGS $WITH_PYTHON_INCLUDE" AC_CHECK_HEADER([Python.h],[], [AC_MSG_ERROR([missing Python.h]) ]) --- a/python/Makefile.am +++ b/python/Makefile.am @@ -4,7 +4,7 @@ AM_CPPFLAGS = -I$(top_builddir)/include/ AM_CPPFLAGS += -I$(top_srcdir)/python -AM_CPPFLAGS += -I@WITH_PYTHON_INCLUDE@ +AM_CPPFLAGS += @WITH_PYTHON_INCLUDE@ pkgpyexec_LTLIBRARIES = _rpmmodule.la _rpmbmodule.la _rpmsmodule.la pkgpyexec_DATA = rpm/__init__.py rpm/transaction.py debian/patches/no-linux-gate.so-dependancy.patch0000644000000000000000000000221512213553131017051 0ustar Description: No linux-gate.so dependency If we rebuild an rpm, don't generate a dependancy on linux-gate.so as that is a virtual shared library generated by 2.6 kernels so that can decide upon the best mechanism to transition from user to kernelspace Author: Ken Schalk --- a/autodeps/linux.req +++ b/autodeps/linux.req @@ -48,7 +48,7 @@ lib64=`if file -L $f 2>/dev/null | \ grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` ldd $f | awk '/=>/ { - if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/) { + if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/ && $1 !~ /linux-gate.so/) { gsub(/'\''"/,"\\&",$1); printf "%s'$lib64'\n", $1 } @@ -62,7 +62,7 @@ lib64=`if file -L $f 2>/dev/null | \ grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` ldd $f | awk '/=>/ { - if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/) { + if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/ && $1 !~ /linux-gate.so/) { gsub(/'\''"/,"\\&",$1); printf "%s'$lib64'\n", $1 } debian/patches/lua-libname.patch0000644000000000000000000000067412213553131014027 0ustar Description: In Debian, lua library is called lua5.2. Author: Michal Čihař Forwarded: http://rpm.org/ticket/88 --- a/configure.ac +++ b/configure.ac @@ -732,7 +732,7 @@ AS_IF([test "$with_lua" != no],[ PKG_CHECK_MODULES([LUA], - [lua >= 5.1], + [lua5.2 >= 5.2], [AC_DEFINE(WITH_LUA, 1, [Build with lua support?])], [AC_MSG_ERROR([lua not present (--without-lua to disable)])]) AC_SUBST(LUA_CFLAGS) debian/patches/hurd.patch0000644000000000000000000001254112213553131012577 0ustar From: Michal Čihař Subject: Add hurd support Forwarded: http://rpm.org/ticket/170 --- /dev/null +++ b/autodeps/gnu.prov @@ -0,0 +1,61 @@ +#!/bin/bash + +# This script reads filenames from STDIN and outputs any relevant provides +# information that needs to be included in the package. + +filelist=`sed "s/['\"]/\\\&/g"` + +solist=$(echo $filelist | grep "\\.so" | grep -v "^/lib/ld.so" | \ + xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1) +pythonlist= +tcllist= + +# +# --- Alpha does not mark 64bit dependencies +case `uname -m` in + alpha*) mark64="" ;; + *) mark64="()(64bit)" ;; +esac + +# +# --- Library sonames and weak symbol versions (from glibc). +for f in $solist; do + soname=$(objdump -p $f | awk '/SONAME/ {print $2}') + + lib64=`if file -L $f 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` + if [ "$soname" != "" ]; then + if [ ! -L $f ]; then + echo $soname$lib64 + objdump -p $f | awk ' + BEGIN { START=0 ; } + /Version definitions:/ { START=1; } + /^[0-9]/ && (START==1) { print $4; } + /^$/ { START=0; } + ' | \ + grep -v $soname | \ + while read symbol ; do + echo "$soname($symbol)`echo $lib64 | sed 's/()//'`" + done + fi + else + echo ${f##*/}$lib64 + fi +done | sort -u + +# +# --- Perl modules. +[ -x /usr/lib/rpm/perl.prov ] && + echo $filelist | tr '[:blank:]' \\n | grep '\.pm$' | /usr/lib/rpm/perl.prov | sort -u + +# +# --- Python modules. +[ -x /usr/lib/rpm/python.prov -a -n "$pythonlist" ] && + echo $pythonlist | tr '[:blank:]' \\n | /usr/lib/rpm/python.prov | sort -u + +# +# --- Tcl modules. +[ -x /usr/lib/rpm/tcl.prov -a -n "$tcllist" ] && + echo $tcllist | tr '[:blank:]' \\n | /usr/lib/rpm/tcl.prov | sort -u + +exit 0 --- /dev/null +++ b/autodeps/gnu.req @@ -0,0 +1,135 @@ +#!/bin/bash + +# +# Auto-generate requirements for executables (both ELF and a.out) and library +# sonames, script interpreters, and perl modules. +# + +ulimit -c 0 + +# +# --- Set needed to 0 for traditional find-requires behavior. +needed=1 +if [ X"$1" = Xldd ]; then + needed=0 +elif [ X"$1" = Xobjdump ]; then + needed=1 +fi + +# +# --- Grab the file manifest and classify files. +#filelist=`sed "s/['\"]/\\\&/g"` +filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` +exelist=`echo $filelist | xargs -r file | egrep -v ":.* (commands|script) " | \ + grep ":.*executable" | cut -d: -f1` +scriptlist=`echo $filelist | xargs -r file | \ + egrep ":.* (commands|script) " | cut -d: -f1` +liblist=`echo $filelist | xargs -r file | \ + grep ":.*shared object" | cut -d : -f1` + +interplist= +perllist= +pythonlist= +tcllist= + +# +# --- Alpha does not mark 64bit dependencies +case `uname -m` in + alpha*) mark64="" ;; + *) mark64="()(64bit)" ;; +esac + +if [ "$needed" -eq 0 ]; then +# +# --- Executable dependency sonames. + for f in $exelist; do + [ -r $f -a -x $f ] || continue + lib64=`if file -L $f 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` + ldd $f | awk '/=>/ { + if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/) { + gsub(/'\''"/,"\\&",$1); + printf "%s'$lib64'\n", $1 + } + }' + done | xargs -r -n 1 basename | sort -u + +# +# --- Library dependency sonames. + for f in $liblist; do + [ -r $f ] || continue + lib64=`if file -L $f 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` + ldd $f | awk '/=>/ { + if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/) { + gsub(/'\''"/,"\\&",$1); + printf "%s'$lib64'\n", $1 + } + }' + done | xargs -r -n 1 basename | sort -u +fi + +# +# --- Script interpreters. +for f in $scriptlist; do + [ -r $f -a -x $f ] || continue + interp=`head -n 1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` + interplist="$interplist $interp" + case $interp in + */perl) perllist="$perllist $f" ;; + esac +done +[ -n "$interplist" ] && { echo "$interplist" | tr '[:blank:]' \\n | sort -u ; } + +# +# --- Add perl module files to perllist. +for f in $filelist; do + [ -r $f -a "${f%.pm}" != "${f}" ] && perllist="$perllist $f" +done + +# +# --- Weak symbol versions (from glibc). +[ -n "$mark64" ] && mark64="(64bit)" +for f in $liblist $exelist ; do + [ -r $f ] || continue + lib64=`if file -L $f 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` + objdump -p $f | awk 'BEGIN { START=0; LIBNAME=""; needed='$needed'; } + /^$/ { START=0; } + /^Dynamic Section:$/ { START=1; } + (START==1) && /NEEDED/ { + if (needed) { + if ("'$lib64'" != "") { + sub(/$/, "()'$lib64'", $2) ; + } + print $2 ; + } + } + (START==2) && /^[A-Za-z]/ { START=3; } + /^Version References:$/ { START=2; } + (START==2) && /required from/ { + sub(/:/, "", $3); + LIBNAME=$3; + } + (START==2) && (LIBNAME!="") && ($4!="") && (($4~/^GLIBC_*/) || ($4~/^GCC_*/)) { + print LIBNAME "(" $4 ")'$lib64'"; + } + ' +done | sort -u + +# +# --- Perl modules. +[ -x /usr/lib/rpm/perl.req -a -n "$perllist" ] && \ + echo $perllist | tr '[:blank:]' \\n | /usr/lib/rpm/perl.req | sort -u + +# +# --- Python modules. +[ -x /usr/lib/rpm/python.req -a -n "$pythonlist" ] && \ + echo $pythonlist | tr '[:blank:]' \\n | /usr/lib/rpm/python.req | sort -u + +# +# --- Tcl modules. +[ -x /usr/lib/rpm/tcl.req -a -n "$tcllist" ] && \ + echo $tcllist | tr '[:blank:]' \\n | /usr/lib/rpm/tcl.req | sort -u + +exit 0 debian/patches/fix-directories.patch0000644000000000000000000000361012213553131014732 0ustar Description: Fix installation directories - Do not install rpm to /bin/. - Setup default directories so that source RPMs rebuilt on Debian get the right directories and also that builds occur in /usr/src/rpm - Fix statedir and init.d patch Author: Michal Čihař --- a/Makefile.am +++ b/Makefile.am @@ -90,7 +90,7 @@ pkginclude_HEADERS += build/rpmspec.h -rpmbindir = `echo $(bindir) | $(SED) -e s,usr/bin,bin,` +rpmbindir = $(bindir) rpmbin_PROGRAMS = rpm bin_PROGRAMS = rpm2cpio rpmbuild rpmdb rpmkeys rpmsign rpmspec @@ -225,9 +225,9 @@ install-exec-hook: @rm -f $(DESTDIR)$(bindir)/rpmquery - @LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmquery + @LN_S@ rpm $(DESTDIR)$(bindir)/rpmquery @rm -f $(DESTDIR)$(bindir)/rpmverify - @LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmverify + @LN_S@ rpm $(DESTDIR)$(bindir)/rpmverify install-data-local: DESTDIR="$(DESTDIR)" pkglibdir="$(rpmconfigdir)" \ --- a/doc/manual/builddependencies +++ b/doc/manual/builddependencies @@ -29,7 +29,7 @@ \verbatim rpm -U /mnt/redhat/comps/powertools/6.2/i386/InDependence-1.0-3.i386.rpm rpm -i /mnt/redhat/comps/dist/6.2/SRPMS/gnorpm-0.9-11.src.rpm - cd /usr/src/redhat/SPECS + cd /usr/src/rpm/SPECS dep -detail rpmbuild -ba gnorpm.spec >& xxx ... (the build will take longer since both dep and strace are pigs) --- a/macros.in +++ b/macros.in @@ -799,7 +799,7 @@ %_datadir %{_prefix}/share %_sysconfdir /etc %_sharedstatedir %{_prefix}/com -%_localstatedir %{_prefix}/var +%_localstatedir @localstatedir@ %_lib lib %_libdir %{_exec_prefix}/%{_lib} %_includedir %{_prefix}/include --- a/platform.in +++ b/platform.in @@ -41,7 +41,7 @@ %_oldincludedir @oldincludedir@ %_infodir @infodir@ %_mandir @mandir@ -%_initddir %{_sysconfdir}/rc.d/init.d +%_initddir %{_sysconfdir}/init.d # Deprecated misspelling, present for backwards compatibility. %_initrddir %{_initddir} debian/patches/rpmdb-in-home.patch0000644000000000000000000000072712213553131014276 0ustar Subject: Move default rpmdb path to user home From: Michal Čihař We don't want to use system database, because we don't want users to install rpm packages on Debian. --- a/macros.in +++ b/macros.in @@ -165,7 +165,7 @@ %_bzip2bin %{__bzip2} # The location of the rpm database file(s). -%_dbpath %{_var}/lib/rpm +%_dbpath %(echo $HOME/.rpmdb) # The location of the rpm database file(s) after "rpm --rebuilddb". %_dbpath_rebuild %{_dbpath} debian/patches/tempfile.patch0000644000000000000000000000264212213553131013443 0ustar Description: Use the Debian standard (and safe) mechanism of generating temporary files Author: Unknown --- a/scripts/vpkg-provides.sh +++ b/scripts/vpkg-provides.sh @@ -232,9 +232,9 @@ -provides_tmp=${TMPDIR:-/tmp}/provides.$$ -if test -f $provides_tmp ; then - echo "$provides_tmp already exists. Exiting." +provides_tmp=$(tempfile -p provides) +if test -z "$provides_tmp" ; then + echo "unable to make a temp file"; exit 11 fi @@ -247,9 +247,9 @@ find $d -type f -print 2>/dev/null | grep -E -v \'$ignore_dirs\' | $find_provides >> $provides_tmp done -sum_tmp=${TMPDIR:-/tmp}/sum.$$ -if test -f $sum_tmp ; then - echo "$sum_tmp already exists. Exiting." +sum_tmp=$(tempfile -p sum) +if test -z "$sum_tmp" ; then + echo "unable to make a temp file" exit 11 fi @@ -347,15 +347,15 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bsd export PATH -sum_current_tmp=\${TMPDIR:-/tmp}/rpm.sum.current.\$\$ -if test -f \$sum_current_tmp ; then - echo "\$sum_current_tmp already exists. Exiting." +sum_current_tmp=\$(tempfile -p sum.current) +if test -z "\$sum_current_tmp" ; then + echo "unable to make a temp file" exit 11 fi -sum_package_tmp=\${TMPDIR:-/tmp}/rpm.sum.package.\$\$ -if test -f \$sum_package_tmp ; then - echo "\$sum_package_tmp already exists. Exiting." +sum_package_tmp=\$(tempfile -p rpm.sum.package) +if test -z "\$sum_package_tmp" ; then + echo "unable to make a temp file" exit 11 fi debian/patches/debian-disable-rpm.patch0000644000000000000000000000462512213553131015260 0ustar Description: RPM is not default package manager on Debian In Debian, rpm should be used to install packages, but rather as a tool to work with rpm packages or as a helper in alien. Because of this we protect complain, when user tries to install a package. This warning can be hidden by --force-debian. Author: Michal Čihař Forwarded: http://rpm.org/ticket/79 --- a/configure.ac +++ b/configure.ac @@ -566,6 +566,8 @@ AM_CONDITIONAL(ENABLE_PYTHON,[test "$WITH_PYTHON_SUBPACKAGE" = 1]) +AC_ARG_WITH(debian, [ --with-debian build rpm for usage on Debian],[AC_DEFINE(ON_DEBIAN, 1, [Define as 1 if you do not want to use rpm for installing packages])]) + AC_PATH_PROG(DOXYGEN, doxygen, no) dnl dnl Only build internal API + source hacking docs on request --- a/lib/poptI.c +++ b/lib/poptI.c @@ -141,6 +141,11 @@ { "force", '\0', 0, NULL, RPMCLI_POPT_FORCE, N_("short hand for --replacepkgs --replacefiles"), NULL}, +#if defined(ON_DEBIAN) + { "force-debian", '\0', POPT_BIT_SET, &rpmIArgs.probFilter, + (RPMPROB_FILTER_DEBIAN), + N_("force installation of rpm on Debian system"), NULL}, +#endif { "freshen", 'F', POPT_BIT_SET, &rpmIArgs.installInterfaceFlags, (INSTALL_UPGRADE|INSTALL_FRESHEN|INSTALL_INSTALL), --- a/rpmqv.c +++ b/rpmqv.c @@ -148,6 +148,14 @@ #endif /* IAM_RPMEIU */ #if defined(IAM_RPMEIU) +#if defined(ON_DEBIAN) + if ((bigMode == MODE_INSTALL || bigMode == MODE_ERASE) && + (ia->probFilter & RPMPROB_FILTER_DEBIAN) == 0) { + fprintf(stderr, _("%s: %s\n"), __progname, _("RPM should not be used directly install RPM packages, use Alien instead!")); + fprintf(stderr, _("%s: %s\n"), __progname, _("However assuming you know what you are doing...")); + } +#endif + if (!( bigMode == MODE_INSTALL ) && (ia->probFilter & (RPMPROB_FILTER_REPLACEPKG | RPMPROB_FILTER_OLDPACKAGE))) argerror(_("only installation and upgrading may be forced")); --- a/lib/rpmprob.h +++ b/lib/rpmprob.h @@ -28,7 +28,8 @@ RPMPROB_FILTER_REPLACEOLDFILES= (1 << 5), /*!< from --replacefiles */ RPMPROB_FILTER_OLDPACKAGE = (1 << 6), /*!< from --oldpackage */ RPMPROB_FILTER_DISKSPACE = (1 << 7), /*!< from --ignoresize */ - RPMPROB_FILTER_DISKNODES = (1 << 8) /*!< from --ignoresize */ + RPMPROB_FILTER_DISKNODES = (1 << 8), /*!< from --ignoresize */ + RPMPROB_FILTER_DEBIAN = (1 << 9) /*!< from --force-debian */ }; typedef rpmFlags rpmprobFilterFlags; debian/librpmio3.symbols0000644000000000000000000001274612213553131012506 0ustar librpmio.so.3 librpmio3 #MINVER# Fclose@Base 4.10.0 Fcntl@Base 4.10.0 Fdescr@Base 4.10.0 Fdopen@Base 4.10.0 Ferror@Base 4.10.0 Fflush@Base 4.10.0 Fileno@Base 4.10.0 Fopen@Base 4.10.0 Fread@Base 4.10.0 Fseek@Base 4.10.0 Fstrerror@Base 4.10.0 Ftell@Base 4.10.0 Fwrite@Base 4.10.0 _rpmio_debug@Base 4.10.0 addMacro@Base 4.10.0 argiAdd@Base 4.10.0 argiCount@Base 4.10.0 argiData@Base 4.10.0 argiFree@Base 4.10.0 argvAdd@Base 4.10.0 argvAddNum@Base 4.10.0 argvAppend@Base 4.10.0 argvCmp@Base 4.10.0 argvCount@Base 4.10.0 argvData@Base 4.10.0 argvFree@Base 4.10.0 argvJoin@Base 4.10.0 argvNew@Base 4.10.0 argvPrint@Base 4.10.0 argvSearch@Base 4.10.0 argvSort@Base 4.10.0 argvSplit@Base 4.10.0 argvSplitString@Base 4.10.0 delMacro@Base 4.10.0 expandMacros@Base 4.10.0 fdDup@Base 4.10.0 fdFiniDigest@Base 4.10.0 fdFree@Base 4.10.0 fdGetBundle@Base 4.10.0 fdInitDigest@Base 4.10.0 fdLink@Base 4.10.0 fdOp@Base 4.10.0 fdSetBundle@Base 4.10.0 fdSize@Base 4.10.0 luaopen_posix@Base 4.10.0 luaopen_rex@Base 4.10.0 luaopen_rpm_os@Base 4.10.0 pgpArmorWrap@Base 4.10.0 pgpCleanDig@Base 4.10.0 pgpDigAlgFree@Base 4.10.0 pgpDigGetParams@Base 4.10.0 pgpDigParamsAlgo@Base 4.10.0 pgpDigParamsCmp@Base 4.10.0 pgpDigParamsFree@Base 4.10.0 pgpExtractPubkeyFingerprint@Base 4.10.0 pgpFreeDig@Base 4.10.0 pgpHexStr@Base 4.10.0 pgpIdentItem@Base 4.10.0 pgpNewDig@Base 4.10.0 pgpParsePkts@Base 4.10.0 pgpPrtParams@Base 4.10.0 pgpPrtPkts@Base 4.10.0 pgpPubkeyFingerprint@Base 4.10.0 pgpPubkeyNew@Base 4.10.0 pgpReadPkts@Base 4.10.0 pgpSignatureNew@Base 4.10.0 pgpValString@Base 4.10.0 pgpVerifySig@Base 4.10.0 pgpVerifySignature@Base 4.10.0 rasprintf@Base 4.10.0 rcalloc@Base 4.10.0 rfree@Base 4.10.0 rmalloc@Base 4.10.0 rpmBase64CRC@Base 4.10.0 rpmBase64Decode@Base 4.10.0 rpmBase64Encode@Base 4.10.0 rpmCLIMacroContext@Base 4.10.0 rpmCleanPath@Base 4.10.0 rpmConfigDir@Base 4.10.0 rpmDefineMacro@Base 4.10.0 rpmDigestBundleAdd@Base 4.10.0 rpmDigestBundleDupCtx@Base 4.10.0 rpmDigestBundleFinal@Base 4.10.0 rpmDigestBundleFree@Base 4.10.0 rpmDigestBundleNew@Base 4.10.0 rpmDigestBundleUpdate@Base 4.10.0 rpmDigestDup@Base 4.10.0 rpmDigestFinal@Base 4.10.0 rpmDigestInit@Base 4.10.0 rpmDigestLength@Base 4.10.0 rpmDigestUpdate@Base 4.10.0 rpmDoDigest@Base 4.10.0 rpmDumpMacroTable@Base 4.10.0 rpmEscapeSpaces@Base 4.10.0 rpmExpand@Base 4.10.0 rpmExpandNumeric@Base 4.10.0 rpmFileHasSuffix@Base 4.10.0 rpmFileIsCompressed@Base 4.10.0 rpmFreeCrypto@Base 4.10.0 rpmFreeMacros@Base 4.10.0 rpmGenPath@Base 4.10.0 rpmGetCwd@Base 4.10.0 rpmGetPath@Base 4.10.0 rpmGlob@Base 4.10.0 rpmGlobalMacroContext@Base 4.10.0 rpmInitCrypto@Base 4.10.0 rpmInitMacros@Base 4.10.0 rpmIsGlob@Base 4.11.0.1 rpmKeyringAddKey@Base 4.10.0 rpmKeyringFree@Base 4.10.0 rpmKeyringLink@Base 4.10.0 rpmKeyringLookup@Base 4.10.0 rpmKeyringNew@Base 4.10.0 rpmKeyringVerifySig@Base 4.10.0 rpmLoadMacroFile@Base 4.10.0 rpmLoadMacros@Base 4.10.0 rpmMkTemp@Base 4.10.0 rpmMkTempFile@Base 4.10.0 rpmMkdirs@Base 4.10.0 rpmPubkeyBase64@Base 4.10.0 rpmPubkeyDig@Base 4.10.0 rpmPubkeyFree@Base 4.10.0 rpmPubkeyLink@Base 4.10.0 rpmPubkeyNew@Base 4.10.0 rpmPubkeyRead@Base 4.10.0 rpmSetMemFail@Base 4.10.0 rpmhookArgsFree@Base 4.10.0 rpmhookArgsNew@Base 4.10.0 rpmhookCall@Base 4.10.0 rpmhookCallArgs@Base 4.10.0 rpmhookRegister@Base 4.10.0 rpmhookUnregister@Base 4.10.0 rpmhookUnregisterAll@Base 4.10.0 rpmhookUnregisterAny@Base 4.10.0 rpmioMkpath@Base 4.10.0 rpmioSlurp@Base 4.10.0 rpmlog@Base 4.10.0 rpmlogClose@Base 4.10.0 rpmlogCode@Base 4.10.0 rpmlogGetNrecs@Base 4.10.0 rpmlogLevelPrefix@Base 4.10.0 rpmlogMessage@Base 4.10.0 rpmlogOpen@Base 4.10.0 rpmlogPrint@Base 4.10.0 rpmlogRecMessage@Base 4.10.0 rpmlogRecPriority@Base 4.10.0 rpmlogSetCallback@Base 4.10.0 rpmlogSetFile@Base 4.10.0 rpmlogSetMask@Base 4.10.0 rpmluaCheckScript@Base 4.10.0 rpmluaDelVar@Base 4.10.0 rpmluaFree@Base 4.10.0 rpmluaGetData@Base 4.10.0 rpmluaGetGlobalState@Base 4.10.0 rpmluaGetVar@Base 4.10.0 rpmluaInteractive@Base 4.10.0 rpmluaNew@Base 4.10.0 rpmluaPop@Base 4.10.0 rpmluaPopPrintBuffer@Base 4.9.1.1 rpmluaPushPrintBuffer@Base 4.9.1.1 rpmluaPushTable@Base 4.10.0 rpmluaRunScript@Base 4.10.0 rpmluaRunScriptFile@Base 4.10.0 rpmluaSetData@Base 4.10.0 rpmluaSetVar@Base 4.10.0 rpmluaVarExists@Base 4.10.0 rpmluavFree@Base 4.10.0 rpmluavGetKey@Base 4.10.0 rpmluavGetKeyNum@Base 4.10.0 rpmluavGetValue@Base 4.10.0 rpmluavGetValueNum@Base 4.10.0 rpmluavKeyIsNum@Base 4.10.0 rpmluavNew@Base 4.10.0 rpmluavSetKey@Base 4.10.0 rpmluavSetKeyNum@Base 4.10.0 rpmluavSetListMode@Base 4.10.0 rpmluavSetValue@Base 4.10.0 rpmluavSetValueNum@Base 4.10.0 rpmluavValueIsNum@Base 4.10.0 rpmsqAction@Base 4.10.0 rpmsqEnable@Base 4.10.0 rpmsqIsCaught@Base 4.10.0 rpmstrPoolCreate@Base 4.11.0.1 rpmstrPoolFree@Base 4.11.0.1 rpmstrPoolFreeze@Base 4.11.0.1 rpmstrPoolId@Base 4.11.0.1 rpmstrPoolIdn@Base 4.11.0.1 rpmstrPoolLink@Base 4.11.0.1 rpmstrPoolNumStr@Base 4.11.0.1 rpmstrPoolStr@Base 4.11.0.1 rpmstrPoolStreq@Base 4.11.0.1 rpmstrPoolStrlen@Base 4.11.0.1 rpmstrPoolUnfreeze@Base 4.11.0.1 rpmswAdd@Base 4.10.0 rpmswDiff@Base 4.10.0 rpmswEnter@Base 4.10.0 rpmswExit@Base 4.10.0 rpmswInit@Base 4.10.0 rpmswNow@Base 4.10.0 rpmswSub@Base 4.10.0 rrealloc@Base 4.10.0 rstrcasecmp@Base 4.10.0 rstrcat@Base 4.10.0 rstrdup@Base 4.10.0 rstrhash@Base 4.10.0 rstrlcpy@Base 4.10.0 rstrncasecmp@Base 4.10.0 rstrscat@Base 4.10.0 ufdCopy@Base 4.10.0 urlGetFile@Base 4.10.0 urlIsURL@Base 4.10.0 urlPath@Base 4.10.0 debian/copyright0000644000000000000000000000670312213553131011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: rpm-list@lists.rpm.org Source: http://rpm.org Files: * Copyright: 1995 - 2009, Erik Troan, Marc Ewing License: GPL-2+ On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. Files: lib/* Copyright: 1995 - 2009, Erik Troan, Marc Ewing License: GPL-2+ or LGPL-2+ On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. On Debian systems the full text of the GNU Lesser General Public License can be found in the `/usr/share/common-licenses/LGPL-2' file. Files: lib/merge.c Copyright: 1992, 1993 The Regents of the University of California License: BSD-4-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Files: lib/backend/sqlite.c Copyright: 2004 MontaVista Software, Inc. License: LGPL-2+ On Debian systems the full text of the GNU Lesser General Public License can be found in the `/usr/share/common-licenses/LGPL-2' file. Files: lib/header.c Copyright: 1995-2002 Red Hat Software License: LGPL-2+ On Debian systems the full text of the GNU Lesser General Public License can be found in the `/usr/share/common-licenses/LGPL-2' file. Files: misc/err.* misc/error.* misc/fnmatch.* misc/getcwd.* misc/glob.* misc/mktime.* misc/putenv.* misc/setenv.* misc/st*.* Copyright: 1990 - 2001 Free Software Foundation, Inc. License: LGPL-2+ On Debian systems the full text of the GNU Lesser General Public License can be found in the `/usr/share/common-licenses/LGPL-2' file. Files: misc/fts.* Copyright: 1990, 1993, 1994, The Regents of the University of California License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Files: debian/* Copyright: 2009-2012, Michal Čihař License: GPL-2+ On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. debian/rpm2cpio.install0000644000000000000000000000005712213553131012307 0ustar usr/bin/rpm2cpio usr/share/man/man8/rpm2cpio* debian/gbp.conf0000644000000000000000000000005712213553131010603 0ustar [DEFAULT] sign-tags = True pristine-tar = True debian/control0000644000000000000000000001716412213553131010576 0ustar Source: rpm Section: admin Priority: optional Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), dh-autoreconf, libtool (>= 2.2.10), autoconf, automake, autotools-dev, autopoint, zlib1g-dev, libbz2-dev, libpopt-dev, libxml2-dev, libreadline-dev, libselinux1-dev [linux-any], libsepol1-dev [linux-any], libcap-dev (>= 1:2) [linux-any], libsqlite3-dev, python-all-dev (>= 2.6.6-3), bzip2, pkg-config, libnspr4-dev, libnss3-dev, liblzma-dev, xz-utils, libmagic-dev, libelf-dev, libdw-dev, libdb-dev, liblua5.2-dev Maintainer: Michal Čihař Uploaders: Loic Minier X-Python-Version: >= 2.6 Standards-Version: 3.9.4 Homepage: http://rpm.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/rpm.git Vcs-Git: git://anonscm.debian.org/collab-maint/rpm.git Package: rpm Architecture: any Suggests: alien, elfutils, rpm-i18n Depends: ${shlibs:Depends}, ${misc:Depends}, perl, rpm2cpio, debugedit (= ${binary:Version}), rpm-common (= ${binary:Version}) Replaces: manpages-pl (<< 20051017-1) Breaks: manpages-pl (<< 20051017-1), man-db (<< 2.5.0-1) Description: package manager for RPM The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . On Debian and derived systems it is recommended to use "alien" to convert RPM packages into .deb format instead of bypassing the Debian package management system by installing them directly with rpm. Package: rpm2cpio Architecture: any Suggests: rpm-i18n Replaces: rpm (<<4.7.1-1) Breaks: rpm (<<4.7.1-1) Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, rpm-common (= ${binary:Version}) Description: tool to convert RPM package to CPIO archive The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This package contains tool to convert RPM packages to standard CPIO archive. Package: rpm-common Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: rpm (<< 4.7.1-1), librpm0 (<< 4.7.1-1), librpm2 Replaces: rpm (<< 4.7.1-1), librpm0 (<< 4.7.1-1), librpm2 Description: common files for RPM The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This package contains some scripts and default configuration which is used by RPM libraries. Package: rpm-i18n Architecture: all Section: localization Suggests: rpm Breaks: rpm (<< 4.7.0-2) Replaces: rpm (<< 4.7.0-2) Depends: ${misc:Depends} Description: localization and localized man pages for rpm The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This package contains localization of rpm and localized man pages. Package: librpm-dbg Architecture: any Section: debug Priority: extra Depends: ${shlibs:Depends}, ${misc:Depends}, librpm3 (= ${binary:Version}) Provides: rpm-dbg Description: debugging symbols for RPM The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This package contains debugger symbols for librpm* and rpm. Package: librpm3 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: rpm-common (= ${binary:Version}) Description: RPM shared library The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This library allows programs to make use of an RPM database or RPM packages without going through the program rpm. Package: librpmio3 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: RPM IO shared library The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This library provides basic IO functionality which is used by librpm. Package: librpmbuild3 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: RPM build shared library The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This library provides an interface for building RPM packages. Package: librpmsign1 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: RPM signing shared library The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This library provides an interface for signing RPM packages. Package: librpm-dev Architecture: any Section: libdevel Priority: extra Depends: librpm3 (= ${binary:Version}), librpmio3 (= ${binary:Version}), librpmbuild3 (= ${binary:Version}), librpmsign1 (= ${binary:Version}), libc6-dev, libpopt-dev (>= 1.6.4), libdb-dev, libbz2-dev, libz-dev, libxml2-dev, libreadline-dev, libselinux1-dev [linux-any], libsqlite3-dev, ${misc:Depends} Replaces: rpm (<< 2.5), librpm1-dev (<< 4.0), librpm4.4, librpm0-dev Breaks: librpm1-dev (<< 4.0), Conflicts: librpm4.4, librpm0-dev Provides: librpm0-dev Description: RPM shared library, development kit The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This package provides the development kit, containing static libraries and header files necessary to build programs that use librpm. Package: python-rpm Architecture: any Section: python Priority: extra Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} Replaces: python2.3-rpm, python2.4-rpm Conflicts: python2.3-rpm, python2.4-rpm Provides: ${python:Provides} Breaks: ${python:Breaks} Description: Python bindings for RPM The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. . This package includes the Python bindings for librpm, allowing Python scripts to manipulate RPM packages and the RPM database. Package: debugedit Architecture: any Suggests: rpm-i18n Replaces: rpm (<<4.11.1-2) Breaks: rpm (<<4.11.1-2) Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: tool to mangle source locations in .debug files This tool allows rewriting of source code locations in .debug files to point to /usr/src (or anywhere else). It has been split out of the rpm package to be useful on its own. debian/rpm.dirs0000644000000000000000000000001412213553131010636 0ustar var/lib/rpm debian/rpm-i18n.install0000644000000000000000000000016712213553131012131 0ustar usr/share/man/fr usr/share/man/ja usr/share/man/ko usr/share/man/pl usr/share/man/ru usr/share/man/sk usr/share/locale debian/dirs0000644000000000000000000000001012213553131010035 0ustar usr/bin debian/debugedit.install0000644000000000000000000000002612213553131012504 0ustar usr/lib/rpm/debugedit debian/watch0000644000000000000000000000010312213553131010205 0ustar version=3 http://rpm.org/releases/rpm-4.11.x/rpm-([\d\.]+).tar.bz2 debian/compat0000644000000000000000000000000212213553131010360 0ustar 9 debian/python-rpm.preinst0000755000000000000000000000053512213553131012713 0ustar #!/bin/sh # remove this file after releasing Squeeze set -e if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 4.7.1-5 then pycentral pkgremove python-rpm # if pycentral doesn't remove all files, use below lines rm -rf /usr/lib/python2.4/site-packages/rpm/ rm -rf /usr/lib/python2.5/site-packages/rpm/ fi #DEBHELPER# debian/python-rpm.install0000644000000000000000000000002012213553131012657 0ustar usr/lib/python* debian/librpmio3.install0000644000000000000000000000003012213553131012443 0ustar usr/lib/*/librpmio.so.* debian/rpm.NEWS0000644000000000000000000000114512213553131010457 0ustar rpm (4.8.0-4) experimental; urgency=low The rpm default configuration no longer uses system package database. For each user, own database in ~/.rpmdb will be created. This avoids errors while running rpm as user, what is anyway most common use case on Debian. -- Michal Čihař Thu, 22 Apr 2010 09:48:55 +0200 rpm (4.7.0-9) unstable; urgency=low rpm package now creates database on installation. If you did use rpm for installing any packages, please refer to README.Debian how to recover the database. -- Michal Čihař Wed, 15 Jul 2009 22:33:54 +0200 debian/librpm3.symbols0000644000000000000000000002611512213553131012151 0ustar librpm.so.3 librpm3 #MINVER# RPMVERSION@Base 4.10.0 __assert_program_name@Base 4.10.0 _fsm_debug@Base 4.10.0 _print_pkts@Base 4.10.0 _rpmds_debug@Base 4.10.0 _rpmds_nopromote@Base 4.10.0 _rpmfc_debug@Base 4.10.0 _rpmts_stats@Base 4.10.0 headerAddEntry@Base 4.10.0 headerAddI18NString@Base 4.10.0 headerAddOrAppendEntry@Base 4.10.0 headerAppendEntry@Base 4.10.0 headerCheck@Base 4.10.0 headerConvert@Base 4.10.0 headerCopy@Base 4.10.0 headerCopyLoad@Base 4.10.0 headerCopyTags@Base 4.10.0 headerDel@Base 4.10.0 headerExport@Base 4.10.0 headerFormat@Base 4.10.0 headerFree@Base 4.10.0 headerFreeData@Base 4.10.0 headerFreeIterator@Base 4.10.0 headerFreeTag@Base 4.10.0 headerGet@Base 4.10.0 headerGetAsString@Base 4.10.0 headerGetColor@Base 4.10.0 headerGetEVR@Base 4.10.0 headerGetEntry@Base 4.10.0 headerGetEntryMinMemory@Base 4.10.0 headerGetInstance@Base 4.10.0 headerGetNEVR@Base 4.10.0 headerGetNEVRA@Base 4.10.0 headerGetNumber@Base 4.10.0 headerGetRawEntry@Base 4.10.0 headerGetString@Base 4.10.0 headerImport@Base 4.10.0 headerInitIterator@Base 4.10.0 headerIsEntry@Base 4.10.0 headerIsSource@Base 4.10.0 headerLink@Base 4.10.0 headerLoad@Base 4.10.0 headerMod@Base 4.10.0 headerModifyEntry@Base 4.10.0 headerNEVRA@Base 4.10.0 headerNVR@Base 4.10.0 headerNew@Base 4.10.0 headerNext@Base 4.10.0 headerNextIterator@Base 4.10.0 headerNextTag@Base 4.10.0 headerPut@Base 4.10.0 headerPutBin@Base 4.10.0 headerPutChar@Base 4.10.0 headerPutString@Base 4.10.0 headerPutStringArray@Base 4.10.0 headerPutUint16@Base 4.10.0 headerPutUint32@Base 4.10.0 headerPutUint64@Base 4.10.0 headerPutUint8@Base 4.10.0 headerRead@Base 4.10.0 headerReload@Base 4.10.0 headerRemoveEntry@Base 4.10.0 headerSizeof@Base 4.10.0 headerSort@Base 4.10.0 headerUnload@Base 4.10.0 headerUnsort@Base 4.10.0 headerVerifyInfo@Base 4.10.0 headerWrite@Base 4.10.0 macrofiles@Base 4.10.0 rpmChrootDone@Base 4.10.0 rpmChrootIn@Base 4.10.0 rpmChrootOut@Base 4.10.0 rpmDisplayQueryTags@Base 4.10.0 rpmEVR@Base 4.10.0 rpmErase@Base 4.10.0 rpmFLAGS@Base 4.10.0 rpmFreeRpmrc@Base 4.10.0 rpmFreeSignature@Base 4.10.0 rpmGenDigest@Base 4.10.0 rpmGetArchColor@Base 4.11.0.1 rpmGetArchInfo@Base 4.10.0 rpmGetOsInfo@Base 4.10.0 rpmIArgs@Base 4.10.0 rpmInstall@Base 4.10.0 rpmInstallPoptTable@Base 4.10.0 rpmInstallSource@Base 4.10.0 rpmInstallSourcePackage@Base 4.10.0 rpmLeadFree@Base 4.10.0 rpmLeadFromHeader@Base 4.10.0 rpmLeadRead@Base 4.10.0 rpmLeadWrite@Base 4.10.0 rpmLuaFree@Base 4.10.0 rpmLuaInit@Base 4.10.0 rpmMachineScore@Base 4.10.0 rpmNAME@Base 4.10.0 rpmNewSignature@Base 4.10.0 rpmPackageFilesArchive@Base 4.11.0.1 rpmPackageFilesInstall@Base 4.11.0.1 rpmPackageFilesRemove@Base 4.11.0.1 rpmPermsString@Base 4.10.0 rpmProblemCompare@Base 4.10.0 rpmProblemCreate@Base 4.10.0 rpmProblemFree@Base 4.10.0 rpmProblemGetAltNEVR@Base 4.10.0 rpmProblemGetDiskNeed@Base 4.10.0 rpmProblemGetKey@Base 4.10.0 rpmProblemGetPkgNEVR@Base 4.10.0 rpmProblemGetStr@Base 4.10.0 rpmProblemGetType@Base 4.10.0 rpmProblemLink@Base 4.10.0 rpmProblemString@Base 4.10.0 rpmQVKArgs@Base 4.10.0 rpmQVSourcePoptTable@Base 4.10.0 rpmQueryPoptTable@Base 4.10.0 rpmReadConfigFiles@Base 4.10.0 rpmReadHeader@Base 4.10.0 rpmReadPackageFile@Base 4.10.0 rpmReadPackageManifest@Base 4.10.0 rpmReadSignature@Base 4.10.0 rpmShowProgress@Base 4.10.0 rpmShowRC@Base 4.10.0 rpmTagGetClass@Base 4.10.0 rpmTagGetName@Base 4.10.0 rpmTagGetNames@Base 4.10.0 rpmTagGetReturnType@Base 4.10.0 rpmTagGetTagType@Base 4.10.0 rpmTagGetType@Base 4.10.0 rpmTagGetValue@Base 4.10.0 rpmTagTypeGetClass@Base 4.10.0 rpmVerifyFile@Base 4.10.0 rpmVerifyPoptTable@Base 4.10.0 rpmVerifySignature@Base 4.10.0 rpmVerifySignatures@Base 4.10.0 rpmVersionCompare@Base 4.10.0 rpmWriteSignature@Base 4.10.0 rpm_header_magic@Base 4.10.0 rpmcliAllPoptTable@Base 4.10.0 rpmcliArgIter@Base 4.10.0 rpmcliConfigured@Base 4.10.0 rpmcliFini@Base 4.10.0 rpmcliImportPubkeys@Base 4.10.0 rpmcliInit@Base 4.10.0 rpmcliPipeOutput@Base 4.10.0 rpmcliQuery@Base 4.10.0 rpmcliQueryFlags@Base 4.10.0 rpmcliRcfile@Base 4.10.0 rpmcliRootDir@Base 4.10.0 rpmcliVerify@Base 4.10.0 rpmcliVerifySignatures@Base 4.10.0 rpmcpioClose@Base 4.11.0.1 rpmcpioFree@Base 4.11.0.1 rpmcpioOpen@Base 4.11.0.1 rpmcpioRead@Base 4.11.0.1 rpmcpioStrerror@Base 4.11.0.1 rpmcpioTell@Base 4.11.0.1 rpmcpioWrite@Base 4.11.0.1 rpmdbAppendIterator@Base 4.10.0 rpmdbCheckSignals@Base 4.10.0 rpmdbCheckTerminate@Base 4.10.0 rpmdbCountPackages@Base 4.10.0 rpmdbExtendIterator@Base 4.10.0 rpmdbFreeIterator@Base 4.10.0 rpmdbGetIteratorCount@Base 4.10.0 rpmdbGetIteratorFileNum@Base 4.10.0 rpmdbGetIteratorOffset@Base 4.10.0 rpmdbIndexIteratorFree@Base 4.10.0 rpmdbIndexIteratorInit@Base 4.10.0 rpmdbIndexIteratorNext@Base 4.10.0 rpmdbIndexIteratorNumPkgs@Base 4.10.0 rpmdbIndexIteratorPkgOffset@Base 4.10.0 rpmdbIndexIteratorTagNum@Base 4.10.0 rpmdbInitIterator@Base 4.10.0 rpmdbLink@Base 4.10.0 rpmdsMatchesDep@Base 4.10.0 rpmdbNextIterator@Base 4.10.0 rpmdbOp@Base 4.10.0 rpmdbOpenAll@Base 4.10.0 rpmdbPruneIterator@Base 4.10.0 rpmdbSetHdrChk@Base 4.10.0 rpmdbSetIteratorModified@Base 4.10.0 rpmdbSetIteratorRE@Base 4.10.0 rpmdbSetIteratorRewrite@Base 4.10.0 rpmdbSortIterator@Base 4.10.0 rpmdsAnyMatchesDep@Base 4.10.0 rpmdsColor@Base 4.10.0 rpmdsCompare@Base 4.10.0 rpmdsCount@Base 4.10.0 rpmdsCurrent@Base 4.10.0 rpmdsDNEVR@Base 4.10.0 rpmdsEVR@Base 4.10.0 rpmdsFind@Base 4.10.0 rpmdsFlags@Base 4.10.0 rpmdsFree@Base 4.10.0 rpmdsInit@Base 4.10.0 rpmdsInstance@Base 4.10.0 rpmdsIx@Base 4.10.0 rpmdsLink@Base 4.10.0 rpmdsMerge@Base 4.10.0 rpmdsN@Base 4.10.0 rpmdsNVRMatchesDep@Base 4.10.0 rpmdsNew@Base 4.10.0 rpmdsNewDNEVR@Base 4.10.0 rpmdsNewPool@Base 4.11.1 rpmdsNext@Base 4.10.0 rpmdsNoPromote@Base 4.10.0 rpmdsNotify@Base 4.10.0 rpmdsRpmlib@Base 4.10.0 rpmdsRpmlibPool@Base 4.11.1 rpmdsSearch@Base 4.10.0 rpmdsSetColor@Base 4.10.0 rpmdsSetIx@Base 4.10.0 rpmdsSetNoPromote@Base 4.10.0 rpmdsSingle@Base 4.10.0 rpmdsSinglePool@Base 4.11.1 rpmdsTagN@Base 4.10.0 rpmdsThis@Base 4.10.0 rpmdsThisPool@Base 4.11.1 rpmfiBN@Base 4.10.0 rpmfiColor@Base 4.10.0 rpmfiCompare@Base 4.10.0 rpmfiConfigConflict@Base 4.10.0 rpmfiDC@Base 4.10.0 rpmfiDN@Base 4.10.0 rpmfiDX@Base 4.10.0 rpmfiDecideFate@Base 4.10.0 rpmfiDigestAlgo@Base 4.10.0 rpmfiFC@Base 4.10.0 rpmfiFCaps@Base 4.10.0 rpmfiFClass@Base 4.10.0 rpmfiFColor@Base 4.10.0 rpmfiFDepends@Base 4.10.0 rpmfiFDigest@Base 4.10.0 rpmfiFDigestHex@Base 4.10.0 rpmfiFFlags@Base 4.10.0 rpmfiFGroup@Base 4.10.0 rpmfiFInode@Base 4.10.0 rpmfiFLangs@Base 4.10.0 rpmfiFLink@Base 4.10.0 rpmfiFMode@Base 4.10.0 rpmfiFMtime@Base 4.10.0 rpmfiFN@Base 4.10.0 rpmfiFNlink@Base 4.10.0 rpmfiFRdev@Base 4.10.0 rpmfiFSize@Base 4.10.0 rpmfiFState@Base 4.10.0 rpmfiFUser@Base 4.10.0 rpmfiFX@Base 4.10.0 rpmfiFree@Base 4.10.0 rpmfiInit@Base 4.10.0 rpmfiInitD@Base 4.10.0 rpmfiLink@Base 4.10.0 rpmfiMD5@Base 4.10.0 rpmfiNew@Base 4.10.0 rpmfiNewPool@Base 4.11.1 rpmfiNext@Base 4.10.0 rpmfiNextD@Base 4.10.0 rpmfiSetDX@Base 4.10.0 rpmfiSetFX@Base 4.10.0 rpmfiVFlags@Base 4.10.0 rpmfiWhatis@Base 4.10.0 rpmpluginsAdd@Base 4.10.0 rpmpluginsAddCollectionPlugin@Base 4.10.0 rpmpluginsCallCleanup@Base 4.10.0 rpmpluginsCallCollectionPostAdd@Base 4.10.0 rpmpluginsCallCollectionPostAny@Base 4.10.0 rpmpluginsCallCollectionPreRemove@Base 4.10.0 rpmpluginsCallInit@Base 4.10.0 rpmpluginsCallOpenTE@Base 4.10.0 rpmpluginsFree@Base 4.10.0 rpmpluginsNew@Base 4.10.0 rpmpluginsPluginAdded@Base 4.10.0 rpmpsAppendProblem@Base 4.10.0 rpmpsCreate@Base 4.10.0 rpmpsFree@Base 4.10.0 rpmpsFreeIterator@Base 4.10.0 rpmpsGetProblem@Base 4.10.0 rpmpsInitIterator@Base 4.10.0 rpmpsLink@Base 4.10.0 rpmpsMerge@Base 4.10.0 rpmpsNextIterator@Base 4.10.0 rpmpsNumProblems@Base 4.10.0 rpmpsPrint@Base 4.10.0 rpmpsiNext@Base 4.10.0 rpmtdClass@Base 4.10.0 rpmtdCount@Base 4.10.0 rpmtdDup@Base 4.10.0 rpmtdFormat@Base 4.10.0 rpmtdFree@Base 4.10.0 rpmtdFreeData@Base 4.10.0 rpmtdFromArgi@Base 4.10.0 rpmtdFromArgv@Base 4.10.0 rpmtdFromString@Base 4.10.0 rpmtdFromStringArray@Base 4.10.0 rpmtdFromUint16@Base 4.10.0 rpmtdFromUint32@Base 4.10.0 rpmtdFromUint64@Base 4.10.0 rpmtdFromUint8@Base 4.10.0 rpmtdGetChar@Base 4.10.0 rpmtdGetFlags@Base 4.10.0 rpmtdGetIndex@Base 4.10.0 rpmtdGetNumber@Base 4.10.0 rpmtdGetString@Base 4.10.0 rpmtdGetUint16@Base 4.10.0 rpmtdGetUint32@Base 4.10.0 rpmtdGetUint64@Base 4.10.0 rpmtdInit@Base 4.10.0 rpmtdNew@Base 4.10.0 rpmtdNext@Base 4.10.0 rpmtdNextString@Base 4.10.0 rpmtdNextUint32@Base 4.10.0 rpmtdNextUint64@Base 4.10.0 rpmtdReset@Base 4.10.0 rpmtdSetIndex@Base 4.10.0 rpmtdSetTag@Base 4.10.0 rpmtdTag@Base 4.10.0 rpmtdToPool@Base 4.11.0.1 rpmtdType@Base 4.10.0 rpmteA@Base 4.10.0 rpmteCleanDS@Base 4.10.0 rpmteCleanProblems@Base 4.10.0 rpmteCollections@Base 4.10.0 rpmteColor@Base 4.10.0 rpmteDBInstance@Base 4.10.0 rpmteDBOffset@Base 4.10.0 rpmteDS@Base 4.10.0 rpmteDependsOn@Base 4.10.0 rpmteE@Base 4.10.0 rpmteEVR@Base 4.10.0 rpmteFI@Base 4.10.0 rpmteFailed@Base 4.10.0 rpmteGetFileStates@Base 4.10.0 rpmteHasCollection@Base 4.10.0 rpmteHeader@Base 4.10.0 rpmteIsSource@Base 4.10.0 rpmteKey@Base 4.10.0 rpmteN@Base 4.10.0 rpmteNEVR@Base 4.10.0 rpmteNEVRA@Base 4.10.0 rpmteO@Base 4.10.0 rpmteParent@Base 4.10.0 rpmtePkgFileSize@Base 4.10.0 rpmteProblems@Base 4.10.0 rpmteR@Base 4.10.0 rpmteSetColor@Base 4.10.0 rpmteSetDBInstance@Base 4.10.0 rpmteSetDependsOn@Base 4.10.0 rpmteSetHeader@Base 4.10.0 rpmteSetParent@Base 4.10.0 rpmteType@Base 4.10.0 rpmteV@Base 4.10.0 rpmtsAddEraseElement@Base 4.10.0 rpmtsAddInstallElement@Base 4.10.0 rpmtsCheck@Base 4.10.0 rpmtsClean@Base 4.10.0 rpmtsCleanProblems@Base 4.10.0 rpmtsCloseDB@Base 4.10.0 rpmtsColor@Base 4.10.0 rpmtsCreate@Base 4.10.0 rpmtsElement@Base 4.10.0 rpmtsEmpty@Base 4.10.0 rpmtsFilterFlags@Base 4.10.0 rpmtsFlags@Base 4.10.0 rpmtsFree@Base 4.10.0 rpmtsGetDBMode@Base 4.10.0 rpmtsGetKeyring@Base 4.10.0 rpmtsGetRdb@Base 4.10.0 rpmtsGetTid@Base 4.10.0 rpmtsImportPubkey@Base 4.10.0 rpmtsInitDB@Base 4.10.0 rpmtsInitIterator@Base 4.10.0 rpmtsLink@Base 4.10.0 rpmtsNElements@Base 4.10.0 rpmtsNotify@Base 4.10.0 rpmtsOp@Base 4.10.0 rpmtsOpenDB@Base 4.10.0 rpmtsOrder@Base 4.10.0 rpmtsPlugins@Base 4.10.0 rpmtsPrefColor@Base 4.10.0 rpmtsProblems@Base 4.10.0 rpmtsRebuildDB@Base 4.10.0 rpmtsRootDir@Base 4.10.0 rpmtsRun@Base 4.10.0 rpmtsSELabelFini@Base 4.10.0 rpmtsSELabelHandle@Base 4.10.0 rpmtsSELabelInit@Base 4.10.0 rpmtsScriptFd@Base 4.10.0 rpmtsSetColor@Base 4.10.0 rpmtsSetDBMode@Base 4.10.0 rpmtsSetFlags@Base 4.10.0 rpmtsSetKeyring@Base 4.10.0 rpmtsSetNotifyCallback@Base 4.10.0 rpmtsSetPrefColor@Base 4.10.0 rpmtsSetRootDir@Base 4.10.0 rpmtsSetScriptFd@Base 4.10.0 rpmtsSetSolveCallback@Base 4.10.0 rpmtsSetTid@Base 4.10.0 rpmtsSetVSFlags@Base 4.10.0 rpmtsVSFlags@Base 4.10.0 rpmtsVerifyDB@Base 4.10.0 rpmtsiFree@Base 4.10.0 rpmtsiInit@Base 4.10.0 rpmtsiNext@Base 4.10.0 rpmugFree@Base 4.10.0 rpmugGid@Base 4.10.0 rpmugGname@Base 4.10.0 rpmugStashStr@Base 4.10.0 rpmugUid@Base 4.10.0 rpmugUname@Base 4.10.0 rpmvercmp@Base 4.10.0 showQueryPackage@Base 4.10.0 showVerifyPackage@Base 4.10.0 debian/debugedit.links0000644000000000000000000000005012213553131012153 0ustar usr/lib/rpm/debugedit usr/bin/debugedit debian/rpm.README.Debian0000644000000000000000000000230712213553131012022 0ustar Installing packages =================== Please do not use rpm directly to install packages. Install the alien package and use the alien command to convert/install a rpm package using dpkg. Use of rpm to install packages is verbosely complaining on Debian systems (you can disable these warnings by --force-debian). Fixing database after upgrade ============================= If you rpm database is non empty, you might face problems after upgrading because different libdb version is being used. To recover content of old database use following steps: 1. Install corresponding db*-util package. At time writing it is db4.8-util (the version should match libdb version which rpm uses). sudo apt-get install db4.8-util 2. Go to the directory with your rpm database: cd ~/.rpmdb 3. Recover the database using db*_recover. db4.8_recover ./ 4. Rebuild rpm database. rpm --dbpath `pwd` --rebuilddb 5. Verify that the database is correct. rpm --dbpath `pwd` -qa Source packages location ======================== If you are using rpm to build rpm packages, or unpack source rpms, note that on Debian systems, rpm uses /usr/src/rpm/, instead of /usr/src/redhat/ or /usr/src/packages/. debian/librpm3.install0000644000000000000000000000002612213553131012120 0ustar usr/lib/*/librpm.so.* debian/debugedit.80000644000000000000000000000221612213553131011210 0ustar .TH "DEBUGEDIT" "8" "10 September 2013" "Michal Cihar" .SH NAME debugedit \- Debuginfo editing helper .SH SYNOPSIS .B debugedit .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B debugedit command, which can be used to edit debuginfo section of object files (either binaries or separate debug info files). It is useful for producing consistent information in binaries for debugging regardless build location. .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-?, \-\-help Show summary of options. .TP .B \-b, \-\-base-dir=STRING base build directory of objects .TP .B \-d, \-\-dest-dir=STRING directory to rewrite base-dir into .TP .B \-l, \-\-list-file=STRING file where to put list of source and header file names .TP .B \-i, \-\-build-id recompute build ID note and print ID on stdout .SH EXAMPLES .PP debugedit \-b `pwd` \-d /usr/lib/debug .RS 4 Rewrites path compliled into binary from current directory to /usr/lib/debug. .RE .SH SEE ALSO .BR rpm (8) debian/librpm-dev.install0000644000000000000000000000010112213553131012603 0ustar usr/lib/*/librpm*.so usr/include/rpm* usr/lib/*/pkgconfig/rpm.pc debian/rules0000755000000000000000000000366612213553131010255 0ustar #!/usr/bin/make -f DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) PYDEF := $(shell pyversions -vd) PYVERS := $(shell pyversions -vr debian/control) PYEXTRA := $(filter-out $(PYDEF), $(PYVERS)) DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk CPPFLAGS+=$(shell pkg-config --cflags nss) ifeq (linux,$(DEB_HOST_ARCH_OS)) configure_flags +=--with-cap endif configure_flags += \ --datadir=/usr/share \ --with-external-db \ --with-lua \ --with-debian \ --with-vendor=debian \ --enable-shared \ --enable-python \ LDFLAGS="$(LDFLAGS) -Wl,--as-needed" \ CPPFLAGS="$(CPPFLAGS)" override_dh_auto_configure: set -e -x; for p in $(PYEXTRA) ; do \ dh_auto_configure --builddirectory=b-python-$$p -- $(configure_flags) \ PYTHON=/usr/bin/python$$p \ __PYTHON=/usr/bin/python$$p ;\ done dh_auto_configure --builddirectory=b-default -- $(configure_flags) override_dh_auto_build: set -e -x; for p in $(PYEXTRA) ; do dh_auto_build --builddirectory=b-python-$$p ; done dh_auto_build --builddirectory=b-default override_dh_auto_install: set -e -x; for p in $(PYEXTRA) ; do dh_auto_install --builddirectory=b-python-$$p ; done dh_auto_install --builddirectory=b-default # Kill all the junk this installs. rm -f debian/tmp/usr/lib/rpm/config.guess \ debian/tmp/usr/lib/rpm/config.sub \ debian/tmp/usr/lib/rpm/config.site \ debian/tmp/usr/lib/rpm/rpmdiff.cgi \ debian/tmp/usr/lib/*/*.la \ debian/tmp/usr/lib/*/rpm-plugins/*.la \ debian/tmp/usr/lib/python*/dist-packages/rpm/*.la \ debian/tmp/usr/lib/rpm/rpm.xinetd \ debian/tmp/usr/lib/rpm/rpm.log # Fix permissions chmod -x \ debian/tmp/usr/lib/rpm/macros.php \ debian/tmp/usr/lib/rpm/macros.perl \ debian/tmp/usr/lib/rpm/macros.python \ debian/tmp/usr/lib/python*/*/rpm/*.py chmod +x debian/tmp/usr/lib/rpm/rpm.daily override_dh_strip: dh_strip --dbg-package=librpm-dbg %: dh $@ --fail-missing --with python2,autoreconf,autotools_dev debian/source/0000755000000000000000000000000012213553131010462 5ustar debian/source/format0000644000000000000000000000001412213553131011670 0ustar 3.0 (quilt) debian/librpmsign1.install0000644000000000000000000000003212213553131012774 0ustar usr/lib/*/librpmsign.so.*