--- rpm-4.4.2.1.orig/popt/stamp-h.in +++ rpm-4.4.2.1/popt/stamp-h.in @@ -0,0 +1 @@ +timestamp --- rpm-4.4.2.1.orig/debian/patches/21-kfreebsd.diff +++ rpm-4.4.2.1/debian/patches/21-kfreebsd.diff @@ -0,0 +1,20 @@ +--- rpm-4.4.1/rpmio/rpmdav.c~ 2006-11-20 12:16:47.000000000 +0100 ++++ rpm-4.4.1/rpmio/rpmdav.c 2006-11-20 12:16:47.000000000 +0100 +@@ -1406,7 +1406,7 @@ + dp->d_reclen = 0; /* W2DO? */ + + #if !defined(hpux) && !defined(sun) +-#if !defined(__APPLE__) ++#if !defined(__APPLE__) && !defined(__FreeBSD_kernel__) + dp->d_off = 0; /* W2DO? */ + #endif + /*@-boundsread@*/ +@@ -1530,7 +1530,7 @@ + dp->d_reclen = 0; /* W2DO? */ + + #if !defined(hpux) && !defined(sun) +-#if !defined(__APPLE__) ++#if !defined(__APPLE__) && !defined(__FreeBSD_kernel__) + dp->d_off = 0; /* W2DO? */ + #endif + /*@-boundsread@*/ --- rpm-4.4.2.1.orig/debian/patches/17-dont-be-redhat.diff +++ rpm-4.4.2.1/debian/patches/17-dont-be-redhat.diff @@ -0,0 +1,84 @@ +Setup default directories so that source RPMs rebuilt on Debian get + +From: <> + +the right directories and also that builds occur in /usr/src/rpm +--- + + configure.ac | 1 + + doc/manual/builddependencies | 2 +- + macros.in | 10 +++++----- + platform.in | 2 +- + 4 files changed, 8 insertions(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8deb2bd..d52b5e0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1225,6 +1225,7 @@ unknown|pc|ibm|redhat|pld|mandrake|conec + test -f /etc/lvr-release && RPMCANONVENDOR=lvr + test -f /etc/yellowdog-release && RPMCANONVENDOR=yellowdog + test -f /etc/caos-release && RPMCANONVENDOR=caos ++ test -f /etc/debian_version && RPMCANONVENDOR=rpm + ;; + esac + RPMCANONOS="$build_os_noversion" +diff --git a/doc/manual/builddependencies b/doc/manual/builddependencies +index 74f690d..659f708 100644 +--- a/doc/manual/builddependencies ++++ b/doc/manual/builddependencies +@@ -29,7 +29,7 @@ while building gnorpm using InDependence + \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) +diff --git a/macros.in b/macros.in +index c5eefc6..fef6dd9 100644 +--- a/macros.in ++++ b/macros.in +@@ -218,7 +218,7 @@ package or when debugging this package.\ + %_tmppath %{_var}/tmp + + # Path to top of build area. +-%_topdir %{_usrsrc}/redhat ++%_topdir %{_usrsrc}/rpm + + # The path to the unzip executable (legacy, use %{__unzip} instead). + %_unzipbin %{__unzip} +@@ -1058,15 +1058,15 @@ print (t)\ + %_sbindir %{_exec_prefix}/sbin + %_libexecdir %{_exec_prefix}/libexec + %_datadir %{_prefix}/share +-%_sysconfdir %{_prefix}/etc ++%_sysconfdir /etc + %_sharedstatedir %{_prefix}/com +-%_localstatedir %{_prefix}/var ++%_localstatedir /var + %_lib lib + %_libdir %{_exec_prefix}/%{_lib} + %_includedir %{_prefix}/include + %_oldincludedir /usr/include +-%_infodir %{_prefix}/info +-%_mandir %{_prefix}/man ++%_infodir /usr/share/info ++%_mandir /usr/share/man + + #============================================================================== + # ---- config.guess platform macros. +diff --git a/platform.in b/platform.in +index f14ce37..5a2b5ef 100644 +--- a/platform.in ++++ b/platform.in +@@ -28,7 +28,7 @@ + %_oldincludedir @oldincludedir@ + %_infodir @infodir@ + %_mandir @mandir@ +-%_initrddir %{_sysconfdir}/rc.d/init.d ++%_initrddir %{_sysconfdir}/init.d + + %_defaultdocdir @DEFAULTDOCDIR@ + --- rpm-4.4.2.1.orig/debian/patches/series +++ rpm-4.4.2.1/debian/patches/series @@ -0,0 +1,11 @@ +02-hkp-disable.diff +09-prereq.diff +13-rpm2cpio-help.diff +14-work-on-debian64.diff +15-disable-rpmdiff.cgi.diff +16-debian-warn.diff +17-dont-be-redhat.diff +18-tempfile.diff +19-misc.diff +20-no-linux-gate.so-dependancy.diff +21-kfreebsd.diff --- rpm-4.4.2.1.orig/debian/patches/19-misc.diff +++ rpm-4.4.2.1/debian/patches/19-misc.diff @@ -0,0 +1,54 @@ +Various miscellaneous Debian patches, from past packagers + +From: <> + + +--- + + scripts/check-prereqs | 4 ++-- + scripts/cpanflute | 2 +- + scripts/cross-build | 2 +- + 3 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/scripts/check-prereqs b/scripts/check-prereqs +index a7dc4a6..c3efc53 100755 +--- a/scripts/check-prereqs ++++ b/scripts/check-prereqs +@@ -3,9 +3,9 @@ + bashit="/bin/bash --rpm-requires" + + # Make sure that this bash has the rpm-requires hack +-$bashit < /dev/null 2>&1 > /dev/null || exit $? ++$bashit < /dev/null > /dev/null 2>&1 || exit $? + +-prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//' -e 's/^executable(//' -e 's/)$//'`" ++prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//'" -e 's/^executable(//' -e 's/)$//'`" + [ -z "$prereqs" ] && exit 0 + + for prereq in $prereqs +diff --git a/scripts/cpanflute b/scripts/cpanflute +index a95f597..6aef2f5 100755 +--- a/scripts/cpanflute ++++ b/scripts/cpanflute +@@ -43,7 +43,7 @@ my $clm_changelog = get_changelog(); + ($clm_version eq "") && die "Module version not specified\n"; + + # Create and Open file to create SPEC files. +-mkdir($MainDir, 0755); ++mkdir($MainDir, 0755) || die "unable to mkdir $MainDir: $!"; + system("cp $InputFile $MainDir"); + my $filename = $clm_name . '.spec'; + open (FILE, "> $MainDir/$filename"); +diff --git a/scripts/cross-build b/scripts/cross-build +index 0a6a2b4..5d0c3ed 100644 +--- a/scripts/cross-build ++++ b/scripts/cross-build +@@ -11,7 +11,7 @@ for pkg in $@ ; do + if [ ! -r $pkg.log ]; then + $SHMAKE RPMFILE=$pkg 2>&1 | tee $pkg.log + if [ -r /usr/src/redhat/RPMS/sh/`echo $pkg | sed -e "s:/tmp/srpms/::" -e "s/.src.rpm/.sh.rpm/"` ]; then +- mv $pkg $pkg.log /tmp/srpms/done ++ mv $pkg $pkg.log ~/srpms/done + fi + fi + done --- rpm-4.4.2.1.orig/debian/patches/18-tempfile.diff +++ rpm-4.4.2.1/debian/patches/18-tempfile.diff @@ -0,0 +1,87 @@ +Use the Debian standard (and safe) mechanism of generating temporary files + +From: <> + + +--- + + scripts/vpkg-provides.sh | 24 ++++++++++++------------ + scripts/vpkg-provides2.sh | 6 +++--- + 2 files changed, 15 insertions(+), 15 deletions(-) + +diff --git a/scripts/vpkg-provides.sh b/scripts/vpkg-provides.sh +index b0fbf18..d183bfb 100755 +--- a/scripts/vpkg-provides.sh ++++ b/scripts/vpkg-provides.sh +@@ -232,9 +232,9 @@ fi + + + +-provides_tmp=/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 @@ do + find $d -type f -print 2>/dev/null | egrep -v \'$ignore_dirs\' | $find_provides >> $provides_tmp + done + +-sum_tmp=/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 @@ cat <<_EIEIO_ + PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bsd + export PATH + +-sum_current_tmp=/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=/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 + +diff --git a/scripts/vpkg-provides2.sh b/scripts/vpkg-provides2.sh +index dcbfcc5..5e3412c 100755 +--- a/scripts/vpkg-provides2.sh ++++ b/scripts/vpkg-provides2.sh +@@ -25,8 +25,8 @@ u_pkg=/devel/kestes/vendorc/rpm/scripts/ + + # where we write output + spec_filedir=/tmp +-provides_tmp=/tmp/provides.$$ +-requires_tmp=/tmp/requires.$$ ++provides_tmp=$(tempfile provides) ++requires_tmp=$(tempfile requires) + + + for pkg in `$u_pkg list_all_packages` +@@ -34,7 +34,7 @@ do + + # find OS pkg information + +-spec_filename=$spec_filedir/$pkg ++spec_filename=$(tempfile -d $spec_filedir -n $pkg) + + veryify_cmd=`$u_pkg print_cmd package_version $pkg | sed -e "s/\\$1/$pkg/" ` + --- rpm-4.4.2.1.orig/debian/patches/20-no-linux-gate.so-dependancy.diff +++ rpm-4.4.2.1/debian/patches/20-no-linux-gate.so-dependancy.diff @@ -0,0 +1,34 @@ +If we rebuild an rpm, don't generate a dependancy on linux-gate.so as + +From: Ken Schalk + +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 +--- + + autodeps/linux.req | 4 + debian/changelog | 1117 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 1119 insertions(+), 2 deletions(-) + +diff --git a/autodeps/linux.req b/autodeps/linux.req +index 6efa990..506788d 100644 +--- a/autodeps/linux.req ++++ b/autodeps/linux.req +@@ -47,7 +47,7 @@ if [ "$needed" -eq 0 ]; then + 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 + } +@@ -61,7 +61,7 @@ if [ "$needed" -eq 0 ]; then + 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 + } --- rpm-4.4.2.1.orig/debian/patches/15-disable-rpmdiff.cgi.diff +++ rpm-4.4.2.1/debian/patches/15-disable-rpmdiff.cgi.diff @@ -0,0 +1,27 @@ +Disable rpmdiff.cgi because it is insecure + +From: <> + + +--- + + scripts/rpmdiff.cgi | 7 +++++++ + 1 files changed, 7 insertions(+), 0 deletions(-) + +diff --git a/scripts/rpmdiff.cgi b/scripts/rpmdiff.cgi +index c28478b..02b7cd0 100644 +--- a/scripts/rpmdiff.cgi ++++ b/scripts/rpmdiff.cgi +@@ -1,5 +1,12 @@ + #!/usr/bin/perl + ++# !!!WARNING!!! ++# This cgi script is INSECURE. ++# It puts /tmp into the PATH; uses random unsafe directories like ++# /tmp/webtools, overwrites files insecurely, and reads files from insecure ++# directories in /tmp as perl code. Do NOT use it. ++die "This program is disabled because it is insecure.\n"; ++ + # a web interface to 'cvs rdiff'. This script makes it easy to query + # the tags which are created by the build script. + --- rpm-4.4.2.1.orig/debian/patches/02-hkp-disable.diff +++ rpm-4.4.2.1/debian/patches/02-hkp-disable.diff @@ -0,0 +1,25 @@ +Disable Horowitz Key Server Protocol (HKP) + +From: <> + + +--- + + macros.in | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/macros.in b/macros.in +index a1dde30..c5eefc6 100644 +--- a/macros.in ++++ b/macros.in +@@ -661,8 +661,8 @@ + + # Horowitz Key Protocol server configuration + # +-#_hkp_keyserver hkp://pgp.mit.edu +-#_hkp_keyserver_query %{_hkp_keyserver}/pks/lookup?op=get&search=0x ++#%_hkp_keyserver hkp://pgp.mit.edu ++#%_hkp_keyserver_query %{_hkp_keyserver}/pks/lookup?op=get&search=0x + + #============================================================================== + # ---- Transaction macros. --- rpm-4.4.2.1.orig/debian/patches/09-prereq.diff +++ rpm-4.4.2.1/debian/patches/09-prereq.diff @@ -0,0 +1,24 @@ +Put back in the PREREQ bit + +From: <> + + +--- + + lib/rpmlib.h | 3 +-- + 1 files changed, 1 insertions(+), 2 deletions(-) + +diff --git a/lib/rpmlib.h b/lib/rpmlib.h +index 0a24470..cacf797 100644 +--- a/lib/rpmlib.h ++++ b/lib/rpmlib.h +@@ -501,8 +501,7 @@ typedef enum rpmsenseFlags_e { + RPMSENSE_EQUAL = (1 << 3), + RPMSENSE_PROVIDES = (1 << 4), /* only used internally by builds */ + RPMSENSE_CONFLICTS = (1 << 5), /* only used internally by builds */ +- /* bit 6 used to be RPMSENSE_PREREQ */ +-#define RPMSENSE_PREREQ RPMSENSE_ANY ++ RPMSENSE_PREREQ = (1 << 6), /*!< @todo Legacy. */ + RPMSENSE_OBSOLETES = (1 << 7), /* only used internally by builds */ + RPMSENSE_INTERP = (1 << 8), /*!< Interpreter used by scriptlet. */ + RPMSENSE_SCRIPT_PRE = ((1 << 9)|RPMSENSE_PREREQ), /*!< %pre dependency. */ --- rpm-4.4.2.1.orig/debian/patches/16-debian-warn.diff +++ rpm-4.4.2.1/debian/patches/16-debian-warn.diff @@ -0,0 +1,29 @@ +Don't allow Debian users to run rpm, without reading README.Debian. + +From: <> + +Since they should be using 'alien' +--- + + rpmdb/rpmdb.c | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c +index 95fde2f..1d97533 100644 +--- a/rpmdb/rpmdb.c ++++ b/rpmdb/rpmdb.c +@@ -300,11 +300,13 @@ dbiIndex dbiOpen(rpmdb db, rpmTag rpmtag + rc = (*mydbvecs[_dbapi]->open) (db, rpmtag, &dbi); + if (rc) { + static int _printed[32]; +- if (!_printed[dbix & 0x1f]++) ++ if (!_printed[dbix & 0x1f]++) { ++ fprintf(stderr, _("rpm: To install rpm packages on Debian systems, use alien. See README.Debian.\n")); + rpmError(RPMERR_DBOPEN, + _("cannot open %s index using db%d - %s (%d)\n"), + tagName(rpmtag), _dbapi, + (rc > 0 ? strerror(rc) : ""), rc); ++ } + _dbapi = -1; + } + break; --- rpm-4.4.2.1.orig/debian/patches/14-work-on-debian64.diff +++ rpm-4.4.2.1/debian/patches/14-work-on-debian64.diff @@ -0,0 +1,45 @@ +Debian does not have /usr/lib64, so remove the code which looks for + +From: <> + +64 bit architectures and remove that (and have rpm use /usr/lib) +--- + + configure.ac | 6 +++--- + popt/configure.ac | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8b8fb6a..8deb2bd 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1180,9 +1180,9 @@ fi + + dnl XXX Choose /usr/lib or /usr/lib64 for library installs. + MARK64= +-case "${target_cpu}" in +-x86_64*|ppc64*|powerpc64*|sparc64*|s390x*) MARK64=64 ;; +-esac ++dnl case "${target_cpu}" in ++dnl x86_64*|ppc64*|powerpc64*|sparc64*|s390x*) MARK64=64 ;; ++dnl esac + AC_SUBST(MARK64) + + dnl Determine the canonical arch-vendor-os for the build machine +diff --git a/popt/configure.ac b/popt/configure.ac +index 8bed5f8..0e8eb2a 100755 +--- a/popt/configure.ac ++++ b/popt/configure.ac +@@ -53,9 +53,9 @@ AC_SUBST(TARGET) + + dnl XXX Choose /usr/lib or /usr/lib64 for library installs. + MARK64= +-case "${target_cpu}" in +-x86_64*|powerpc64*|ppc64*|sparc64*|s390x*) MARK64=64 ;; +-esac ++dnl case "${target_cpu}" in ++dnl x86_64*|powerpc64*|ppc64*|sparc64*|s390x*) MARK64=64 ;; ++dnl esac + AC_SUBST(MARK64) + + AC_CHECK_HEADERS(alloca.h float.h libintl.h mcheck.h unistd.h) --- rpm-4.4.2.1.orig/debian/patches/13-rpm2cpio-help.diff +++ rpm-4.4.2.1/debian/patches/13-rpm2cpio-help.diff @@ -0,0 +1,30 @@ +Add in a -h (help) command for rpm2cpio + +From: <> + + +--- + + rpm2cpio.c | 8 +++++++- + 1 files changed, 7 insertions(+), 1 deletions(-) + +diff --git a/rpm2cpio.c b/rpm2cpio.c +index 06e389a..8f9c2d3 100644 +--- a/rpm2cpio.c ++++ b/rpm2cpio.c +@@ -21,8 +21,14 @@ int main(int argc, char **argv) + setprogname(argv[0]); /* Retrofit glibc __progname */ + if (argc == 1) + fdi = fdDup(STDIN_FILENO); +- else ++ else { ++ /* -h switch added for Debian because a user asked for it */ ++ if (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0) { ++ fprintf(stderr, "Usage: rpm2cpio file.rpm\n"); ++ exit(1); ++ } + fdi = Fopen(argv[1], "r.ufdio"); ++ } + + if (Ferror(fdi)) { + fprintf(stderr, "%s: %s: %s\n", argv[0], --- rpm-4.4.2.1.orig/debian/rules +++ rpm-4.4.2.1/debian/rules @@ -0,0 +1,147 @@ +#!/usr/bin/make -f + +export DH_VERBOSE=1 + +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +PYDEF := $(shell pyversions -vd) +PYVERS := $(shell pyversions -vr debian/control) + +ifeq (linux,$(DEB_HOST_ARCH_OS)) + SELINUXLIBS = -lselinux -lsepol +else + SELINUXLIBS = -lsepol +endif + +makefiles: + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + cd popt && touch config.rpath && aclocal && libtoolize --copy --force && automake -c -i && autoconf && ./configure + #cd beecrypt && aclocal-1.7 && libtoolize --copy --force && automake-1.7 -i -a -c -f && autoconf + #aclocal-1.7 + #libtoolize --copy --force + #automake-1.7 -i -a -c -f + #autoconf + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=/usr/share/man --enable-shared --with-python=$(PYDEF) + touch makefiles + +build: build-stamp +build-stamp: makefiles + dh_testdir + # This is a hack. Here's the story. We want to install rpmlib.h + # set up so it #include's files in /usr/include/rpm/, which is + # where they are installed (so #include ). However, the + # rpm build process cannot work properly in that case, because + # they arn't in usr/linclude/rpm yet, but in lib/. It does do + # -Ilib though. So, make lib/rpm point to lib, and we're go. + cd lib && rm -f rpm && ln -sf . rpm + cd rpmio && rm -f rpm && ln -sf . rpm + $(MAKE) + # Build lsb-rpm, statically linked. I'm building only rpmb, which + # is all that should be needed in the lsbdev chroot. It can be + # installed as lsb-rpm, and should stand in for rpm. + $(CC) -o lsb-rpm build.o rpmb.o ./build/.libs/librpmbuild.a \ + ./lib/.libs/librpm.a ./rpmdb/.libs/librpmdb.a \ + ./rpmio/.libs/librpmio.a -L/usr/local/lib -lbeecrypt -lneon \ + -lssl -lcrypto -lxml2 -lm -lsqlite3 -lz -lbz2 -lpopt -ldb \ + $(SELINUXLIBS) -ldl -lpthread --static + set -e; \ + for v in $(filter-out $(PYDEF), $(PYVERS)); do \ + rm -rf python$$v; \ + cp -a python python$$v; \ + $(MAKE) -C python$$v clean \ + subdir=python$$v WITH_PYTHON_VERSION=$$v; \ + $(MAKE) -C python$$v \ + subdir=python$$v WITH_PYTHON_VERSION=$$v \ + pylibdir=/usr/lib/python$$v pyincdir=/usr/include/python$$v; \ + done + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp makefiles + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf python?.? + # My diff is big enough without this crap, thank you all the same. + rm -rf apidocs beecrypt/autom4te.cache popt/autom4te.cache + find -name Makefile |grep -v intl |xargs rm -f + dh_clean config.status find-provides find-requires config.log \ + config.cache config.h intl/Makefile \ + sqlite/config.log sqlite/config.status \ + intl/po2tbl.sed misc/.deps/strdup.pp misc/libmisc.a \ + stamp-h po/POTFILES movelist \ + lib/rpm rpmio/rpm noarch-* aclocal.m4 \ + po/cat-id-tbl.c \ + popt/configure popt/ltmain.sh popt/aclocal.m4 Doxytags \ + lsb-rpm po/de.gmo + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + +binary-indep: build + +binary-arch: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=`pwd`/debian/tmp install + set -e; \ + for v in $(filter-out $(PYDEF), $(PYVERS)); do \ + $(MAKE) -C python$$v install DESTDIR=`pwd`/debian/tmp \ + subdir=python$$v WITH_PYTHON_VERSION=$$v \ + pylibdir=/usr/lib/python$$v pyincdir=/usr/include/python$$v; \ + done + # 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/*.la \ + debian/tmp/usr/lib/rpm/rpm.xinetd \ + debian/tmp/usr/lib/rpm/rpm.log + # remove popt + rm -rf debian/tmp/usr/share/man/man3 + rm -f debian/tmp/usr/include/popt.h + rm -f debian/tmp/usr/lib/python*/site-packages/poptmodule.* + find debian/tmp -name popt.mo |xargs rm + find debian/tmp/usr/share/locale -empty |xargs --no-run-if-empty rmdir -p --ignore-fail-on-non-empty + mv debian/tmp/bin/rpm debian/tmp/usr/bin/ + rmdir debian/tmp/bin debian/tmp/var/tmp + # fixup some perms + chmod 644 debian/tmp/usr/lib/rpm/Specfile.pm + find debian/tmp/usr/lib/python*/site-packages/rpmdb -type f \ + | xargs --no-run-if-empty chmod 644 + chmod 644 debian/tmp/usr/lib/python*/site-packages/rpm/__init__.py + # Recode the (translated) manpages according to the encoding expected on Debian + /bin/sh debian/recode_manpages.sh + # rpmdiff.cgi is crap that I don't want installed + dh_install -X rpmdiff.cgi + dh_link usr/share/man/man8/rpm.8 usr/share/man/man8/rpmdb.8 \ + usr/share/man/man8/rpm.8 usr/share/man/man8/rpme.8 \ + usr/share/man/man8/rpm.8 usr/share/man/man8/rpmi.8 \ + usr/share/man/man8/rpm.8 usr/share/man/man8/rpmquery.8 \ + usr/share/man/man8/rpm.8 usr/share/man/man8/rpmsign.8 \ + usr/share/man/man8/rpm.8 usr/share/man/man8/rpmu.8 \ + usr/share/man/man8/rpm.8 usr/share/man/man8/rpmverify.8 + dh_installman + dh_installdocs CREDITS README TODO GROUPS doc/manual/[a-z]* + dh_installexamples + dh_installmenu + dh_installcron + dh_installchangelogs -k CHANGES + dh_pycentral + dh_python + dh_strip + dh_compress + # Remember to update after upstream releases. The whole soname is + # in the library names, so this mess is called for. + dh_makeshlibs -V"librpm4.4 (>= 4.4), librpm4.4 (<< 4.5)" + dh_installdeb + dh_shlibdeps -l debian/librpm4.4/usr/lib + dh_gencontrol + dh_fixperms + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- rpm-4.4.2.1.orig/debian/dirs +++ rpm-4.4.2.1/debian/dirs @@ -0,0 +1 @@ +usr/bin --- rpm-4.4.2.1.orig/debian/recode_manpages.sh +++ rpm-4.4.2.1/debian/recode_manpages.sh @@ -0,0 +1,47 @@ +#!/bin/sh + +# Upstream man pages are UTF-8encoded. +# The man pages need to be recoded according to the encodings used in Debian. +# (defined in src/encodings.c in man-db) + +#Deactivated iconv processing for the Korean pages. Please refer to #349938. +# ko EUC-KR +echo "ja EUC-JP + ru KOI8-R" | +while read lang encoding +do + echo "recoding lang: $lang to $encoding" + for page in debian/tmp/usr/share/man/$lang/man[1-8]/* + do + echo "recoding $page" + iconv -t $encoding -f UTF8 < $page > $page.recoded + mv $page.recoded $page + done +done + +# Please refer to #349938, again. Thanks to Nekral. +# +# I think I understand what happened. +# A bug was filled against rpm +# (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106050) to request +# the change of encodings of the Japanese and Korean man pages from +# respectively the EUC-JP and EUC-KR encodings to UTF-8. +# But all the pages were converted assuming the original encodings was EUC-JP. +# +# so "iconv -f UTF-8 -t EUC-JP < rpm.8 > rpm.8.recoded" +# give the right man page (the same pages sent by Sunjae Parkin), in EUC-KR. +# +# A bug should be filled against the Redhat rpm package. They should +# recode the Korean pages with: +# cat rpm.8 | iconv -f UTF-8 -t EUC-JP | \ +# iconv -f EUC-KR -t UTF-8 > rpm.8.recoded && \ +# mv rpm.8.recoded rpm.8 +# (the same with rpm2cpio) + +echo "recoding lang: ko to EUC-JP" +for page in debian/tmp/usr/share/man/ko/man[1-8]/* +do + echo "recoding $page" + iconv -f UTF-8 -t EUC-JP < $page > $page.recoded + mv $page.recoded $page +done --- rpm-4.4.2.1.orig/debian/changelog +++ rpm-4.4.2.1/debian/changelog @@ -0,0 +1,1325 @@ +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 --- rpm-4.4.2.1.orig/debian/control +++ rpm-4.4.2.1/debian/control @@ -0,0 +1,83 @@ +Source: rpm +Section: admin +Priority: optional +Build-Depends: debhelper (>= 5.0.37.2), libtool, autoconf, automake, zlib1g-dev, libbz2-dev, dpkg-dev (>= 1.9.0), libpopt-dev (>= 1.6.4), python-all-dev, libbeecrypt6-dev, libneon25-dev, libxml2-dev, libreadline5-dev, libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsepol1-dev, libsqlite3-dev, python-central (>= 0.5), bzip2, quilt, libdb-dev +Maintainer: Ubuntu Core developers +XSBC-Original-Maintainer: Anibal Monsalve Salazar +Uploaders: Anand Kumria , Loic Minier +XS-Python-Version: all +Standards-Version: 3.7.2 + +Package: rpm +Architecture: any +Suggests: alien +Depends: ${shlibs:Depends}, ${misc:Depends}, perl +Replaces: manpages-pl (<< 20051017-1) +Conflicts: manpages-pl (<< 20051017-1) +Description: Red Hat package manager + If you want to install Red Hat Packages then please use the alien + package. Using rpm directly will bypass the Debian packaging system! + . + Homepage: http://rpm.org/ + +Package: lsb-rpm +Architecture: any +Depends: rpm +Section: devel +Description: Red Hat package manager for LSB package building + This is a version of rpm built to create rpm v3 packages as used in the + Linux Standards Base. You should need this package only if you are + developing LSB packages; you do not need it to install or use LSB packages + on Debian. + . + The binary is linked statically so it should be possible to use it + in the restricted lsbdev environment. + . + Homepage: http://rpm.org/ + +Package: librpm4.4 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: rpm (<< 2.5), librpm4, librpm1 (<< 4.0), librpm0 +Conflicts: rpm (<< 4.0.2), librpm4, librpm1 (<< 4.0), librpm0, kpackage (<< 4:2.2.2-8), rpm2html (<< 1.7-3), kleandisk (<< 2.1-beta2-2) +Description: RPM shared library + This library allows programs to make use of a rpm database or rpm packages + without going through the rpm program. + . + Homepage: http://rpm.org/ + +Package: librpm-dev +Architecture: any +Section: libdevel +Priority: extra +Depends: librpm4.4, libc6-dev, libpopt-dev (>= 1.6.4), libdb4.5-dev,libbz2-dev, libz-dev, libbeecrypt6-dev, libneon25-dev, libxml2-dev, libreadline5-dev, libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsqlite3-dev, ${misc:Depends} +Replaces: rpm (<< 2.5), librpm1-dev (<< 4.0), librpm0-dev +Conflicts: librpm1-dev (<< 4.0), librpm0-dev +Provides: librpm0-dev +Description: RPM shared library, development kit + This library allows programs to make use of a rpm database or rpm packages + without going through the rpm program. + . + This is the development kit, containing static libraries and header files + necessary to build programs that use librpm. + . + Homepage: http://rpm.org/ + +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} +XB-Python-Version: ${python:Versions} +Description: Python bindings for RPM + This library allows programs to make use of a rpm database or rpm packages + without going through the rpm program. + . + This package includes the python bindings for rpm allowing you to use rpm + from python scripts + . + Homepage: http://rpm.org/ --- rpm-4.4.2.1.orig/debian/lsb-rpm.manpages +++ rpm-4.4.2.1/debian/lsb-rpm.manpages @@ -0,0 +1 @@ +lsb-rpm.1 --- rpm-4.4.2.1.orig/debian/source.lintian-overrides +++ rpm-4.4.2.1/debian/source.lintian-overrides @@ -0,0 +1,149 @@ +rpm source: outdated-autotools-helper-file config.guess 2001-04-20 +rpm source: outdated-autotools-helper-file config.sub 2001-04-20 +rpm source: source-contains-CVS-dir db/CVS +rpm source: source-contains-CVS-dir db/btree/CVS +rpm source: source-contains-CVS-dir db/build_unix/CVS +rpm source: source-contains-CVS-dir db/build_vxworks/CVS +rpm source: source-contains-CVS-dir db/build_vxworks/ex_access/CVS +rpm source: source-contains-CVS-dir db/build_vxworks/ex_btrec/CVS +rpm source: source-contains-CVS-dir db/build_vxworks/ex_dbclient/CVS +rpm source: source-contains-CVS-dir db/build_vxworks/ex_env/CVS +rpm source: source-contains-CVS-dir db/build_vxworks/ex_mpool/CVS +rpm source: source-contains-CVS-dir db/build_vxworks/ex_tpcb/CVS +rpm source: source-contains-CVS-dir db/build_win32/CVS +rpm source: source-contains-CVS-dir db/clib/CVS +rpm source: source-contains-CVS-dir db/common/CVS +rpm source: source-contains-CVS-dir db/cxx/CVS +rpm source: source-contains-CVS-dir db/db/CVS +rpm source: source-contains-CVS-dir db/db185/CVS +rpm source: source-contains-CVS-dir db/db_archive/CVS +rpm source: source-contains-CVS-dir db/db_checkpoint/CVS +rpm source: source-contains-CVS-dir db/db_deadlock/CVS +rpm source: source-contains-CVS-dir db/db_dump/CVS +rpm source: source-contains-CVS-dir db/db_dump185/CVS +rpm source: source-contains-CVS-dir db/db_load/CVS +rpm source: source-contains-CVS-dir db/db_printlog/CVS +rpm source: source-contains-CVS-dir db/db_recover/CVS +rpm source: source-contains-CVS-dir db/db_stat/CVS +rpm source: source-contains-CVS-dir db/db_upgrade/CVS +rpm source: source-contains-CVS-dir db/db_verify/CVS +rpm source: source-contains-CVS-dir db/dbm/CVS +rpm source: outdated-autotools-helper-file db/dist/config.guess 2001-09-13 +rpm source: outdated-autotools-helper-file db/dist/config.sub 2001-10-04 +rpm source: source-contains-CVS-dir db/dist/CVS +rpm source: source-contains-CVS-dir db/dist/aclocal/CVS +rpm source: source-contains-CVS-dir db/dist/vx_ae.in/CVS +rpm source: source-contains-CVS-dir db/dist/template/CVS +rpm source: source-contains-CVS-dir db/dist/aclocal_java/CVS +rpm source: source-contains-CVS-dir db/dist/vx_setup/CVS +rpm source: source-contains-CVS-dir db/docs/CVS +rpm source: source-contains-CVS-dir db/docs/api_c/CVS +rpm source: source-contains-CVS-dir db/docs/api_cxx/CVS +rpm source: source-contains-CVS-dir db/docs/api_java/CVS +rpm source: source-contains-CVS-dir db/docs/api_tcl/CVS +rpm source: source-contains-CVS-dir db/docs/images/CVS +rpm source: source-contains-CVS-dir db/docs/ref/CVS +rpm source: source-contains-CVS-dir db/docs/ref/am/CVS +rpm source: source-contains-CVS-dir db/docs/ref/arch/CVS +rpm source: source-contains-CVS-dir db/docs/ref/splash/CVS +rpm source: source-contains-CVS-dir db/docs/ref/am_conf/CVS +rpm source: source-contains-CVS-dir db/docs/ref/am_misc/CVS +rpm source: source-contains-CVS-dir db/docs/ref/build_unix/CVS +rpm source: source-contains-CVS-dir db/docs/ref/build_vxworks/CVS +rpm source: source-contains-CVS-dir db/docs/ref/build_win/CVS +rpm source: source-contains-CVS-dir db/docs/ref/cam/CVS +rpm source: source-contains-CVS-dir db/docs/ref/debug/CVS +rpm source: source-contains-CVS-dir db/docs/ref/distrib/CVS +rpm source: source-contains-CVS-dir db/docs/ref/dumpload/CVS +rpm source: source-contains-CVS-dir db/docs/ref/env/CVS +rpm source: source-contains-CVS-dir db/docs/ref/install/CVS +rpm source: source-contains-CVS-dir db/docs/ref/intro/CVS +rpm source: source-contains-CVS-dir db/docs/ref/java/CVS +rpm source: source-contains-CVS-dir db/docs/ref/lock/CVS +rpm source: source-contains-CVS-dir db/docs/ref/log/CVS +rpm source: source-contains-CVS-dir db/docs/ref/mp/CVS +rpm source: source-contains-CVS-dir db/docs/ref/perl/CVS +rpm source: source-contains-CVS-dir db/docs/ref/program/CVS +rpm source: source-contains-CVS-dir db/docs/ref/refs/CVS +rpm source: source-contains-CVS-dir db/docs/ref/rpc/CVS +rpm source: source-contains-CVS-dir db/docs/ref/sendmail/CVS +rpm source: source-contains-CVS-dir db/docs/ref/simple_tut/CVS +rpm source: source-contains-CVS-dir db/docs/ref/rep/CVS +rpm source: source-contains-CVS-dir db/docs/ref/tcl/CVS +rpm source: source-contains-CVS-dir db/docs/ref/test/CVS +rpm source: source-contains-CVS-dir db/docs/ref/transapp/CVS +rpm source: source-contains-CVS-dir db/docs/ref/txn/CVS +rpm source: source-contains-CVS-dir db/docs/ref/upgrade/CVS +rpm source: source-contains-CVS-dir db/docs/ref/upgrade.2.0/CVS +rpm source: source-contains-CVS-dir db/docs/ref/upgrade.3.0/CVS +rpm source: source-contains-CVS-dir db/docs/ref/upgrade.3.1/CVS +rpm source: source-contains-CVS-dir db/docs/ref/upgrade.3.2/CVS +rpm source: source-contains-CVS-dir db/docs/ref/upgrade.3.3/CVS +rpm source: source-contains-CVS-dir db/docs/ref/xa/CVS +rpm source: source-contains-CVS-dir db/docs/ref/upgrade.4.0/CVS +rpm source: source-contains-CVS-dir db/docs/sleepycat/CVS +rpm source: source-contains-CVS-dir db/docs/utility/CVS +rpm source: source-contains-CVS-dir db/env/CVS +rpm source: source-contains-CVS-dir db/examples_c/CVS +rpm source: source-contains-CVS-dir db/examples_c/ex_repquote/CVS +rpm source: source-contains-CVS-dir db/examples_cxx/CVS +rpm source: source-contains-CVS-dir db/hash/CVS +rpm source: source-contains-CVS-dir db/hsearch/CVS +rpm source: source-contains-CVS-dir db/include/CVS +rpm source: source-contains-CVS-dir db/include_auto/CVS +rpm source: source-contains-CVS-dir db/java/CVS +rpm source: source-contains-CVS-dir db/java/src/CVS +rpm source: source-contains-CVS-dir db/java/src/com/CVS +rpm source: source-contains-CVS-dir db/java/src/com/sleepycat/CVS +rpm source: source-contains-CVS-dir db/java/src/com/sleepycat/db/CVS +rpm source: source-contains-CVS-dir db/java/src/com/sleepycat/examples/CVS +rpm source: source-contains-CVS-dir db/libdb_java/CVS +rpm source: source-contains-CVS-dir db/lock/CVS +rpm source: source-contains-CVS-dir db/log/CVS +rpm source: source-contains-CVS-dir db/mp/CVS +rpm source: source-contains-CVS-dir db/mutex/CVS +rpm source: source-contains-CVS-dir db/os/CVS +rpm source: source-contains-CVS-dir db/os_vxworks/CVS +rpm source: source-contains-CVS-dir db/os_win32/CVS +rpm source: source-contains-CVS-dir db/qam/CVS +rpm source: source-contains-CVS-dir db/rpc_client/CVS +rpm source: source-contains-CVS-dir db/rpc_server/CVS +rpm source: source-contains-CVS-dir db/tcl/CVS +rpm source: source-contains-CVS-dir db/tcl/docs/CVS +rpm source: source-contains-CVS-dir db/test/CVS +rpm source: source-contains-CVS-dir db/test/scr001/CVS +rpm source: source-contains-CVS-dir db/test/scr002/CVS +rpm source: source-contains-CVS-dir db/test/scr003/CVS +rpm source: source-contains-CVS-dir db/test/scr004/CVS +rpm source: source-contains-CVS-dir db/test/scr005/CVS +rpm source: source-contains-CVS-dir db/test/scr006/CVS +rpm source: source-contains-CVS-dir db/test/scr007/CVS +rpm source: source-contains-CVS-dir db/test/scr008/CVS +rpm source: source-contains-CVS-dir db/test/scr009/CVS +rpm source: source-contains-CVS-dir db/test/scr010/CVS +rpm source: source-contains-CVS-dir db/test/scr011/CVS +rpm source: source-contains-CVS-dir db/test/scr012/CVS +rpm source: source-contains-CVS-dir db/test/scr013/CVS +rpm source: source-contains-CVS-dir db/test/scr014/CVS +rpm source: source-contains-CVS-dir db/test/scr015/CVS +rpm source: source-contains-CVS-dir db/test/scr016/CVS +rpm source: source-contains-CVS-dir db/test/scr017/CVS +rpm source: source-contains-CVS-dir db/test/scr018/CVS +rpm source: source-contains-CVS-dir db/txn/CVS +rpm source: source-contains-CVS-dir db/xa/CVS +rpm source: source-contains-CVS-dir db/examples_java/CVS +rpm source: source-contains-CVS-dir db/perl/BerkeleyDB/BerkeleyDB/CVS +rpm source: source-contains-CVS-dir db/perl/BerkeleyDB/hints/CVS +rpm source: source-contains-CVS-dir db/perl/BerkeleyDB/patches/CVS +rpm source: source-contains-CVS-dir db/perl/BerkeleyDB/t/CVS +rpm source: source-contains-CVS-dir db/perl/BerkeleyDB/CVS +rpm source: source-contains-CVS-dir db/perl/DB_File/hints/CVS +rpm source: source-contains-CVS-dir db/perl/DB_File/patches/CVS +rpm source: source-contains-CVS-dir db/perl/DB_File/t/CVS +rpm source: source-contains-CVS-dir db/perl/DB_File/CVS +rpm source: source-contains-CVS-dir db/perl/CVS +rpm source: source-contains-CVS-dir db/rep/CVS +rpm source: source-contains-CVS-dir Perl-RPM/CVS +rpm source: source-contains-CVS-dir Perl-RPM/RPM/CVS +rpm source: source-contains-CVS-dir Perl-RPM/t/CVS +rpm source: source-contains-CVS-dir Perl-RPM/utils/CVS --- rpm-4.4.2.1.orig/debian/librpm-dev.install +++ rpm-4.4.2.1/debian/librpm-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/librpm*.a +debian/tmp/usr/include/rpm* --- rpm-4.4.2.1.orig/debian/compat +++ rpm-4.4.2.1/debian/compat @@ -0,0 +1 @@ +5 --- rpm-4.4.2.1.orig/debian/install +++ rpm-4.4.2.1/debian/install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin +debian/tmp/usr/lib/rpm +debian/tmp/usr/share +debian/tmp/usr/src --- rpm-4.4.2.1.orig/debian/lsb-rpm.install +++ rpm-4.4.2.1/debian/lsb-rpm.install @@ -0,0 +1 @@ +lsb-rpm usr/bin --- rpm-4.4.2.1.orig/debian/copyright +++ rpm-4.4.2.1/debian/copyright @@ -0,0 +1,59 @@ +This package was originally maintained by Christoph Lameter + and then by Joey Hess . +It is now maintained by Anibal Monsalve Salazar . + +It was downloaded from : + +http://download.fedora.redhat.com/pub/fedora/linux/core/4/SRPMS/rpm-4.4.1-21.src.rpm + +RPM is Copyright (C) 1998-2000 - Red Hat, Inc. + +RPM and its source code are covered under two separate licenses. + + The entire code base may be distributed under the terms of the GNU + General Public License (GPL), which appears immediately below. + Alternatively, all of the source code in the lib subdirectory of the RPM + source code distribution as well as any code derived from that code may + instead be distributed under the GNU Library General Public License + (LGPL), at the choice of the distributor. The complete text of the LGPL + appears at the bottom of this file. + + This alternatively is allowed to enable applications to be linked against + the RPM library (commonly called librpm) without forcing such + applications to be distributed under the GPL. + + Any questions regarding the licensing of RPM should be addressed to + marc@redhat.com and ewt@redhat.com. + +Popt (whose source tree is included in rpm's source) has the following +copyright: + + Copyright (c) 1998 Red Hat Software + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not be + used in advertising or otherwise to promote the sale, use or other dealings + in this Software without prior written authorization from the X Consortium. + +The rpm source tree also includes a copy of db4, which has a BSD license, and a +copy of Perl-RPM, which is licenced under the Artistic liscense. Nothing from +those trees is included in the binary packages, however. + +See /usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL +for the texts of the GPL and LGPL licenses. --- rpm-4.4.2.1.orig/debian/lsb-rpm.dirs +++ rpm-4.4.2.1/debian/lsb-rpm.dirs @@ -0,0 +1 @@ +usr/bin --- rpm-4.4.2.1.orig/debian/watch +++ rpm-4.4.2.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://rpm.org/releases/rpm-4.4.x/rpm-([\d\.]+).tar.gz debian uupdate --- rpm-4.4.2.1.orig/debian/python-rpm.install +++ rpm-4.4.2.1/debian/python-rpm.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python*/ --- rpm-4.4.2.1.orig/debian/README.Debian +++ rpm-4.4.2.1/debian/README.Debian @@ -0,0 +1,25 @@ +* 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 disabled on Debian systems (we + don't ship a /var/lib/rpm directory or rpm databases -- you can of + course make the directory and cause rpm to set up the databases if you + must, but do so at your own risk). + +* If you have upgraded from a pre-3.0 version of rpm, and you have a ~/.rpmrc + file, it may not work with newer versions of rpm. To fix this, run: + + sh /usr/lib/rpm/convertrpmrc.sh ~/.rpmrc ~/.rpmmacros + +* 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/. + +-- Joey Hess + +* If you have been using 'rpm' to build packages in a pre-4.1 version + of rpm you should consider using 'rpmbuild' to build packages instead. + The 'rpmbuild' command is required for building packages in 4.1 and + later. The functionality of package management and package building + have been split into separate commands. See the rpmbuild(1) man page + for more information. + +-- Bob Proulx --- rpm-4.4.2.1.orig/debian/postinst +++ rpm-4.4.2.1/debian/postinst @@ -0,0 +1,12 @@ +#!/bin/sh -e +#DEBHELPER# + +if [ "$1" = configure ]; then + # Old rpm file conversion. + if [ -e /etc/rpmrc ] && [ ! -e /etc/rpm/macros ]; then + sh /usr/lib/rpm/convertrpmrc.sh + fi + # Lingering old file -- delete. + rm -f /etc/rpmrc + +fi --- rpm-4.4.2.1.orig/debian/postrm +++ rpm-4.4.2.1/debian/postrm @@ -0,0 +1,8 @@ +#!/bin/sh -e +if [ "$1" = "purge" ]; then + rm -rf /var/lib/rpm /usr/src/rpm 2>/dev/null + rm -f /etc/rpm/macros 2>/dev/null + rmdir /etc/rpm 2>/dev/null || true +fi + +#DEBHELPER# --- rpm-4.4.2.1.orig/debian/lsb-rpm.README.Debian +++ rpm-4.4.2.1/debian/lsb-rpm.README.Debian @@ -0,0 +1,10 @@ +This package is intended to be used to build RPM v3 packages that are LSB +compliant. It provides a /usr/bin/lsb-rpm program, that can only be used to +build (not query or install) RPM v3 packages. (rpm currently builds RPM v3 +packages by default, but should that change, lsb-rpm will continue to build +v3 packages.) + +Use regular rpm for querying, installation, etc. The lsb-rpm binary is +statically linked, so it will work in the lsbdev environment. + +-- Joey Hess --- rpm-4.4.2.1.orig/debian/pycompat +++ rpm-4.4.2.1/debian/pycompat @@ -0,0 +1 @@ +2 --- rpm-4.4.2.1.orig/debian/librpm4.4.install +++ rpm-4.4.2.1/debian/librpm4.4.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/librpm*.so --- rpm-4.4.2.1.orig/lsb-rpm.1 +++ rpm-4.4.2.1/lsb-rpm.1 @@ -0,0 +1,16 @@ +.TH LSB-RPM 1 +.SH NAME +lsb-rpm \- build a LSB package +.SH SYNOPSIS +.B lsb-rpm -b package.spec +.SH "DESCRIPTION" +This is a special version of rpm that can only be used to build RPM v3 +format packages, for use as LSB packages. It cannot query or install +packages, just build them. See the BUILD OPTIONS section of +.BR rpm (8) +for the details. +.SH "SEE ALSO" +.BR rpm (8) +.SH AUTHOR +This manual page was written by Joey Hess, +for the Debian GNU/Linux system.