Hello community,

here is the log from the commit of package pax-utils for openSUSE:Factory 
checked in at 2015-02-11 16:46:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pax-utils (Old)
 and      /work/SRC/openSUSE:Factory/.pax-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pax-utils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pax-utils/pax-utils.changes      2013-08-23 
14:00:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pax-utils.new/pax-utils.changes 2015-02-11 
16:46:39.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Feb  9 17:51:31 UTC 2015 - [email protected]
+
+- Pax utils 0.9.2, no changelog found 
+- Update source URL.
+- Switch to autoconf based build
+- pax-utils-file-contains-date-and-time.patch: Do not
+  include time stamps in binaries
+- pax-utils-handle-lib64.patch replaces pax-utils-lib64.patch
+
+-------------------------------------------------------------------

Old:
----
  pax-utils-0.1.16.tar.bz2
  pax-utils-lib64.patch

New:
----
  pax-utils-0.9.2.tar.xz
  pax-utils-file-contains-date-and-time.patch
  pax-utils-handle-lib64.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pax-utils.spec ++++++
--- /var/tmp/diff_new_pack.K91hha/_old  2015-02-11 16:46:40.000000000 +0100
+++ /var/tmp/diff_new_pack.K91hha/_new  2015-02-11 16:46:40.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pax-utils
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,11 +23,12 @@
 Summary:        Tools to Check ELF Files for Security Relevant Properties
 License:        GPL-2.0+
 Group:          Productivity/Security
-Version:        0.1.16
+Version:        0.9.2
 Release:        0
-Source:         http://dev.gentoo.org/~solar/pax/pax-utils-%{version}.tar.bz2
+Source:         http://dev.gentoo.org/~vapier/dist/pax-utils-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Patch:          pax-utils-lib64.patch
+Patch0:         pax-utils-handle-lib64.patch
+Patch1:         pax-utils-file-contains-date-and-time.patch
 
 %description 
 Tools to check ELF files for security relevant properties such as
@@ -42,20 +43,14 @@
 
 %prep
 %setup -q
-%patch
-
+%patch0 -p1
+%patch1 -p1
 %build
-# This package failed when testing with -Wl,-as-needed being default.
-# So we disable it here, if you want to retest, just delete this comment and 
the line below.
-export SUSE_ASNEEDED=0
-make pspax CFLAGS="%{optflags} -g -D_GNU_SOURCE -DWANT_SYSCAP" LDFLAGS="-lcap"
-make CFLAGS="%{optflags} -g -D_GNU_SOURCE"
+%configure
+make %{?_smp_mflags} V=1
 
 %install
-make DESTDIR="%{buildroot}" S=0 install
-
-%clean
-rm -rf %{buildroot}
+make install DESTDIR=%{buildroot} %{?_smp_mflags}
 
 %files
 %defattr(-,root,root)

++++++ pax-utils-file-contains-date-and-time.patch ++++++
--- pax-utils-0.9.2.orig/dumpelf.c
+++ pax-utils-0.9.2/dumpelf.c
@@ -357,7 +357,7 @@ static void parseargs(int argc, char *ar
                case 'V':                        /* version info */
                        printf("pax-utils-%s: %s compiled %s\n%s\n"
                               "%s written for Gentoo by <solar and vapier @ 
gentoo.org>\n",
-                              VERSION, __FILE__, __DATE__, rcsid, argv0);
+                              VERSION, __FILE__, "??? ?? ????", rcsid, argv0);
                        exit(EXIT_SUCCESS);
                        break;
                case 'h': usage(EXIT_SUCCESS); break;
--- pax-utils-0.9.2.orig/pspax.c
+++ pax-utils-0.9.2/pspax.c
@@ -485,7 +485,7 @@ static void parseargs(int argc, char *ar
                case 'V':                        /* version info */
                        printf("pax-utils-%s: %s compiled %s\n%s\n"
                               "%s written for Gentoo by <solar and vapier @ 
gentoo.org>\n",
-                              VERSION, __FILE__, __DATE__, rcsid, argv0);
+                              VERSION, __FILE__, "??? ?? ????", rcsid, argv0);
                        exit(EXIT_SUCCESS);
                        break;
                case 'h': usage(EXIT_SUCCESS); break;
--- pax-utils-0.9.2.orig/scanmacho.c
+++ pax-utils-0.9.2/scanmacho.c
@@ -632,7 +632,7 @@ static int parseargs(int argc, char *arg
                case 'V':
                        printf("pax-utils-%s: %s compiled %s\n%s\n"
                               "%s written for Gentoo by <solar, vapier and 
grobian @ gentoo.org>\n",
-                              VERSION, __FILE__, __DATE__, rcsid, argv0);
+                              VERSION, __FILE__, "??? ?? ????", rcsid, argv0);
                        exit(EXIT_SUCCESS);
                        break;
                case 'h': usage(EXIT_SUCCESS); break;
--- pax-utils-0.9.2.orig/scanelf.c
+++ pax-utils-0.9.2/scanelf.c
@@ -2173,7 +2173,7 @@ static int parseargs(int argc, char *arg
                case 'V':
                        printf("pax-utils-%s: %s compiled %s\n%s\n"
                               "%s written for Gentoo by <solar and vapier @ 
gentoo.org>\n",
-                              VERSION, __FILE__, __DATE__, rcsid, argv0);
+                              VERSION, __FILE__, "??? ?? ????", rcsid, argv0);
                        exit(EXIT_SUCCESS);
                        break;
                case 'h': usage(EXIT_SUCCESS); break;
++++++ pax-utils-handle-lib64.patch ++++++
--- pax-utils-0.9.2.orig/scanelf.c
+++ pax-utils-0.9.2/scanelf.c
@@ -1967,14 +1967,14 @@ static void load_ld_cache_config(const c
 
        scan_l = scan_ul = scan_ull = false;
        array_for_each(ldpaths, n, ldpath) {
-               if (!scan_l   && !strcmp(ldpath, "/lib"))           scan_l   = 
true;
-               if (!scan_ul  && !strcmp(ldpath, "/usr/lib"))       scan_ul  = 
true;
-               if (!scan_ull && !strcmp(ldpath, "/usr/local/lib")) scan_ull = 
true;
+               if (!scan_l   && !strcmp(ldpath, "/lib") && !strcmp(ldpath, 
"/lib64"))           scan_l   = true;
+               if (!scan_ul  && !strcmp(ldpath, "/usr/lib") && !strcmp(ldpath, 
"/usr/lib64"))       scan_ul  = true;
+               if (!scan_ull && !strcmp(ldpath, "/usr/local/lib") && 
!strcmp(ldpath, "/usr/local/lib64")) scan_ull = true;
        }
 
-       if (!scan_l)   xarraypush_str(ldpaths, "/lib");
-       if (!scan_ul)  xarraypush_str(ldpaths, "/usr/lib");
-       if (!scan_ull) xarraypush_str(ldpaths, "/usr/local/lib");
+       if (!scan_l) {  xarraypush_str(ldpaths, "/lib"); 
xarraypush_str(ldpaths, "/lib64"); }
+       if (!scan_ul) { xarraypush_str(ldpaths, 
"/usr/lib");xarraypush_str(ldpaths, "/usr/lib64"); }
+       if (!scan_ull) { xarraypush_str(ldpaths, "/usr/local/lib"); 
xarraypush_str(ldpaths, "/usr/local/lib64"); }
 }
 
 /* scan /etc/ld.so.conf for paths */
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to