From fa7a22e2308f2bb17b7fffbbfdf520e7c65c56b5 Mon Sep 17 00:00:00 2001 From: Sérgio M. Basto Date: Nov 25 2016 17:34:21 +0000 Subject: New upstream vesion, 1.17.27, fixes CVE-2015-0860 - Add start-stop-daemon because could be useful: https://github.com/gammu/gammu/issues/75 (RH system not support start-stop-daemon) - Drop dpkg-tar-invocation.patch it is already is sources. --- diff --git a/.gitignore b/.gitignore index adfcdfa..a9db886 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ dpkg_1.15.5.6.tar.bz2 /dpkg_1.16.15.tar.xz /dpkg_1.16.16.tar.xz /dpkg_1.17.25.tar.xz +/dpkg_1.17.27.tar.xz diff --git a/dpkg-tar-invocation.patch b/dpkg-tar-invocation.patch deleted file mode 100644 index 1f2c5ff..0000000 --- a/dpkg-tar-invocation.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./dpkg-deb/build.c.orig 2015-07-10 19:19:17.042932959 +0100 -+++ ./dpkg-deb/build.c 2015-07-10 19:22:43.536320418 +0100 -@@ -560,7 +560,7 @@ do_build(const char *const *argv) - if (chdir(dir)) - ohshite(_("failed to chdir to `%.255s'"), dir); - execlp(TAR, "tar", "-cf", "-", "--format=gnu", "--null", "--no-unquote", -- "-T", "-", "--no-recursion", NULL); -+ "--no-recursion", "-T", "-", NULL); - ohshite(_("unable to execute %s (%s)"), "tar -cf", TAR); - } - close(p1[0]); diff --git a/dpkg.spec b/dpkg.spec index 82f4e32..632350a 100644 --- a/dpkg.spec +++ b/dpkg.spec @@ -2,8 +2,8 @@ %global pkgdatadir %{_datadir}/dpkg Name: dpkg -Version: 1.17.25 -Release: 8%{?dist} +Version: 1.17.27 +Release: 1%{?dist} Summary: Package maintenance system for Debian Linux Group: System Environment/Base # The entire source code is GPLv2+ with exception of the following @@ -18,7 +18,6 @@ Source0: http://ftp.debian.org/debian/pool/main/d/dpkg/%{name}_%{version} Patch0: dpkg-perl-libexecdir.patch Patch1: dpkg-fix-logrotate.patch Patch2: dpkg-perl-libexecdir.epel6.patch -Patch3: dpkg-tar-invocation.patch BuildRequires: zlib-devel bzip2-devel libselinux-devel gettext ncurses-devel BuildRequires: autoconf automake gettext-devel libtool BuildRequires: doxygen flex xz-devel po4a @@ -116,7 +115,6 @@ dselect is a high-level interface for the installation/removal of debs . %if 0%{?rhel} == 5 || 0%{?rhel} == 6 %patch2 -p1 %endif -%patch3 -p1 -b .tar # Filter unwanted Requires: cat << \EOF > %{name}-req @@ -137,8 +135,7 @@ chmod +x %{__perl_requires} # is older. Please upgrade to gettext-0.18 or newer. autoreconf %endif -%configure --disable-start-stop-daemon \ - --disable-linker-optimisations \ +%configure --disable-linker-optimisations \ --with-admindir=%{_localstatedir}/lib/dpkg \ --with-selinux \ --with-zlib \ @@ -235,6 +232,7 @@ create_logfile %{_bindir}/dpkg-trigger %{_bindir}/dpkg-divert %{_bindir}/dpkg-statoverride +%{_sbindir}/start-stop-daemon %dir %{pkgdatadir} %{pkgdatadir}/abitable %{pkgdatadir}/cputable @@ -253,6 +251,7 @@ create_logfile %{_mandir}/man5/dpkg.cfg.5.gz %{_mandir}/man8/dpkg-divert.8.gz %{_mandir}/man8/dpkg-statoverride.8.gz +%{_mandir}/man8/start-stop-daemon.8.gz %{_mandir}/*/man1/dpkg.1.gz %{_mandir}/*/man1/dpkg-deb.1.gz %{_mandir}/*/man1/dpkg-maintscript-helper.1.gz @@ -262,6 +261,7 @@ create_logfile %{_mandir}/*/man5/dpkg.cfg.5.gz %{_mandir}/*/man8/dpkg-divert.8.gz %{_mandir}/*/man8/dpkg-statoverride.8.gz +%{_mandir}/*/man8/start-stop-daemon.8.gz %files devel %{_libdir}/libdpkg.a @@ -369,6 +369,12 @@ create_logfile %changelog +* Fri Nov 25 2016 Sérgio Basto - 1.17.27-1 +- New upstream vesion, 1.17.27, fixes CVE-2015-0860 +- Add start-stop-daemon because could be useful: https://github.com/gammu/gammu/issues/75 (RH + system not support start-stop-daemon) +- Drop dpkg-tar-invocation.patch it is already is sources. + * Tue May 17 2016 Jitka Plesnikova - 1.17.25-8 - Perl 5.24 rebuild diff --git a/sources b/sources index d17d0ea..0a351dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e48fcfdb2162e77d72c2a83432d537ca dpkg_1.17.25.tar.xz +6e2d761a3c4a9a9e1856337557ec1f9e dpkg_1.17.27.tar.xz