Hello community,

here is the log from the commit of package util-linux for openSUSE:Factory 
checked in at 2013-12-16 07:15:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/util-linux (Old)
 and      /work/SRC/openSUSE:Factory/.util-linux.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "util-linux"

Changes:
--------
--- /work/SRC/openSUSE:Factory/util-linux/util-linux.changes    2013-11-29 
16:26:19.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.util-linux.new/util-linux.changes       
2013-12-16 07:15:13.000000000 +0100
@@ -1,0 +2,73 @@
+Tue Dec 10 16:10:27 UTC 2013 - [email protected]
+
+- Update to util-linux-2.24
+  + Release highlights (2.24)
+  fdisk(8):
+    * the code has been completely refactored and moved to libfdisk
+      (the library does not have a stable API yet)
+    * user interface has been unified for all label types and it
+      supports colors
+    * GPT disk UUID, partition UUID and partition name modification
+      is supported now
+  pylibmount:
+    * this new library provides PYTHON BINDINGS for libmount;
+       use --with-python[=2|3] to enable the bindings
+  last(1) and lastb(1):
+    * the NEW IMPLEMENTATION has been merged from sysvinit to
+      util-linux and extended; now it supports command line options
+      --present, --since, and --time-format
+    * use --enable-deprecated-last to enable the old util-linux
+      last(1) implementation
+  swapon(8):
+    * the option --discard= and fstab mount option discard= allow
+      to explicitly specify 'pages' or 'once' discard policy. If no
+      policy is selected, the default behavior is to enable both.
+      See swapon.8 man page for more details.
+  libblkid and blkid(8):
+    * supports LOGUUID= for external logs (e.g. extN and XFS)
+    * generates a pseudo PARTUUID= for MBR partitions (based on MBR
+      Id, Linux kernel supports the same concept for root= command
+      line option)
+  agetty(8):
+    * supportes new issue file \S escape code to read information
+      from /etc/os-release
+    * the option -L allows to completely control CLOCAL flag
+  dmesg(1):
+    * supports new command line option --time-format to specify
+      time format
+    * supports new iso-8601 time format
+  hexdump(1):
+    * supports long options now
+  wall(1):
+    * the command is compatible with sysvinit implementation now
+  logger(1):
+    * supports new command line option --prio-prefix when logging
+      stdin
+  lscpu(1):
+    * allows to detect more hypervisor types and provides info
+      about Max and Min CPU Mhz
+  unshare(8):
+    * supports new command line options --fork and --mount-proc for
+      pid namespaces
+  wipefs(8):
+    * now wipes superblocks with incorrect checksums too
+    * supports new command line option --backup to backup erased
+      data to $HOME/wipefs-<devname>-<offset>.bak
+  nologin(8):
+    * this command has been merged into util-linux, the command
+      politely refuses a login.
+- Removed following patches now upstream
+    * eject-scsi-check-host_status-and-driver_status.patch
+    * more-fix-buffer-overflow.patch
+    * more-check-for-buffer-size-when-write-multibyte-char.patch
+    * more-guarantee-space-for-multibyte.patch
+- Removed following patch because now pkg-config does that
+    * fdisk-tinfo.patch
+- Refreshed following patches with updating version string
+    * util-linux-2.23.1-fdisk_remove_bogus_warnings.patch
+- Added enable_last condition in case we don't want to use the last
+  binary from sysvinit-tools in future
+- Upstream moved getopt examples from datadir to docdir but we keep
+  the old location because we would need to fix the manpage first.
+
+-------------------------------------------------------------------

Old:
----
  eject-scsi-check-host_status-and-driver_status.patch
  fdisk-tinfo.patch
  more-check-for-buffer-size-when-write-multibyte-char.patch
  more-fix-buffer-overflow.patch
  more-guarantee-space-for-multibyte.patch
  util-linux-2.23.1-fdisk_remove_bogus_warnings.patch
  util-linux-2.23.2.tar.sign
  util-linux-2.23.2.tar.xz

New:
----
  util-linux-2.24-fdisk_remove_bogus_warnings.patch
  util-linux-2.24.tar.sign
  util-linux-2.24.tar.xz

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

Other differences:
------------------
++++++ util-linux.spec ++++++
--- /var/tmp/diff_new_pack.1PbGLH/_old  2013-12-16 07:15:14.000000000 +0100
+++ /var/tmp/diff_new_pack.1PbGLH/_new  2013-12-16 07:15:14.000000000 +0100
@@ -19,6 +19,7 @@
 %bcond_without  sysvinit_tools
 %bcond_without enable_su
 %bcond_without enable_eject
+%bcond_with  enable_last
 
 Name:           util-linux
 BuildRequires:  audit-devel
@@ -39,10 +40,14 @@
 BuildRequires:  pam-devel
 BuildRequires:  pkg-config
 BuildRequires:  readline-devel
+%if 0%{?suse_version} <= 1230
+BuildRequires:  pkgconfig(systemd)
+%else
 BuildRequires:  systemd-rpm-macros
+%endif
 BuildRequires:  utempter-devel
 BuildRequires:  zlib-devel
-Version:        2.23.2
+Version:        2.24
 Release:        0
 # util-linux is a base package and uuidd pre-requiring pwdutils pulls
 # that into the core build cycle.  pwdutils also pulls in the whole
@@ -60,7 +65,7 @@
 Summary:        A collection of basic system utilities
 License:        GPL-2.0+
 Group:          System/Base
-Source:         
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23/%{name}-%{version}.tar.xz
+Source:         
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.24/%{name}-%{version}.tar.xz
 Source1:        util-linux-rpmlintrc
 # XXX: make nologin part of util-linux upstream
 Source2:        nologin.c
@@ -73,7 +78,7 @@
 Source9:        remote.pamd
 Source10:       su.pamd
 Source11:       su.default
-Source12:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23/%{name}-%{version}.tar.sign
+Source12:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.24/%{name}-%{version}.tar.sign
 Source13:       %{name}.keyring
 # TODO: split to separate package
 Source40:       klogconsole.tar.bz2
@@ -93,19 +98,10 @@
 ## util-linux patches
 ##
 # 241372 - remove legacy warnings from fdisk
-Patch1:         util-linux-2.23.1-fdisk_remove_bogus_warnings.patch
+Patch1:         util-linux-2.24-fdisk_remove_bogus_warnings.patch
 Patch2:         util-linux-2.23.1-eject-fpie.patch
-Patch3:         fdisk-tinfo.patch
 # PATCH-EXTEND-UPSTREAM: Let `su' handle /sbin and /usr/sbin in path
 Patch4:         make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
-# PATCH-FIX-UPSTREAM eject-scsi-check-host_status-and-driver_status.patch 
bnc358033 [email protected] -- Check eject host_status and driver_status when 
using SG_IO.
-Patch5:         eject-scsi-check-host_status-and-driver_status.patch
-# PATCH-FIX-UPSTREAM more-fix-buffer-overflow.patch bnc839720 [email protected] 
-- More: Fix under-allocation of memory.
-Patch6:         more-fix-buffer-overflow.patch
-# PATCH-FIX-UPSTREAM 
more-check-for-buffer-size-when-write-multibyte-char.patch bnc839720 
[email protected]
-Patch7:         more-check-for-buffer-size-when-write-multibyte-char.patch
-# PATCH-FIX-UPSTREAM more-guarantee-space-for-multibyte.patch bnc839720 
[email protected]
-Patch8:         more-guarantee-space-for-multibyte.patch
 # disable encryption
 Patch12:        util-linux-2.23.1-noenc-suse.diff
 # PATCH-FIX-UPSTREAM blkdiscard-BLKSSZGET-fills-in-an-int.patch [email protected]
@@ -226,12 +222,7 @@
 %setup -q -n %{name}-%{version} -b 40
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 %patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
 %patch12 -p1
 %patch13 -p1
 %patch14 -p0
@@ -273,6 +264,7 @@
 export SUID_CFLAGS="-fpie"
 export SUID_LDFLAGS="-pie"
 %configure \
+  --docdir=%{_docdir}/%{name} \
   --with-audit \
   --with-gnu-ld \
   --with-ncurses \
@@ -288,6 +280,11 @@
   --enable-new-mount \
   --enable-login-utils \
   --enable-tunelp \
+%if %{with enable_last}
+  --enable-last \
+%else
+  --disable-last \
+%endif
   --enable-logger \
 %if %{with enable_eject}
   --enable-eject \
@@ -320,6 +317,13 @@
 %{__cc} -fwhole-program %{optflags} -o mkzimage_cmdline %{S:29}
 %{__cc} -fwhole-program %{optflags} -o chrp-addnote %{SOURCE31}
 
+%check
+if ! make check; then
+  echo "cat test diffs:"
+  find tests/diff -type f | xargs -r cat
+  #exit 1
+fi
+
 %install
 mkdir -p 
%{buildroot}{%{_sysconfdir}/{init.d,pam.d,default},%{_mandir}/man{1,8},/bin,/sbin,%{_bindir},%{_sbindir},%{_infodir}}
 mkdir -p %{buildroot}%{_localstatedir}/lib/libuuid/
@@ -406,6 +410,9 @@
 install -m 644 $RPM_SOURCE_DIR%{_sysconfdir}.raw   
%{buildroot}%{_sysconfdir}/raw
 install -m 755 $RPM_SOURCE_DIR/raw.init %{buildroot}%{_initddir}/raw
 ln -sf ../..%{_sysconfdir}/init.d/raw %{buildroot}%{_sbindir}/rcraw
+# upstream moved getopt examples from datadir to docdir but we keep
+# the old location because we would need to fix the manpage first
+mv %{buildroot}%{_docdir}/%{name}/getopt %{buildroot}%{_datadir}/
 # Stupid hack so we don't have a tcsh dependency
 chmod 644 %{buildroot}%{_datadir}/getopt/getopt*.tcsh
 # Following files we don't want to package, so remove them
@@ -475,9 +482,6 @@
 
 %post
 %{fillup_and_insserv raw}
-%if 0%{?suse_version} <= 1130
-%run_permissions
-%else
 %set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount 
%{_bindir}/umount
 %if %{with enable_su}
 %set_permissions %{_bindir}/su
@@ -502,7 +506,6 @@
 %if %{with enable_eject}
 %set_permissions %{_bindir}/eject
 %endif
-%endif
 
 # mount option 'code=' is now called 'codepage=' so change fstab
 if [ -f etc/fstab ]; then
@@ -540,11 +543,7 @@
 
 %post -n uuidd
 %{fillup_and_insserv -n uuidd}
-%if 0%{?suse_version} <= 1130
-%run_permissions
-%else
 %set_permissions %{_sbindir}/uuidd
-%endif
 
 %postun -n uuidd
 %{restart_on_update uuidd}
@@ -631,8 +630,12 @@
 %{_bindir}/su
 %endif
 %if %{with enable_eject}
+%if 0%{?suse_version} <= 1310
+%verify(not mode) %attr(4750,root,audio) %{_bindir}/eject
+%else
 %{_bindir}/eject
 %endif
+%endif
 %{_bindir}/cal
 %{_bindir}/chrt
 %{_bindir}/col
@@ -650,6 +653,10 @@
 %{_bindir}/ipcrm
 %{_bindir}/ipcs
 %{_bindir}/isosize
+%if %{with enable_last}
+%{_bindir}/last
+%{_bindir}/lastb
+%endif
 %{_bindir}/line
 %{_bindir}/logger
 %{_bindir}/look
@@ -746,6 +753,10 @@
 %{_mandir}/man1/hexdump.1.gz
 %{_mandir}/man1/ipcrm.1.gz
 %{_mandir}/man1/ipcs.1.gz
+%if %{with enable_last}
+%{_mandir}/man1/last.1.gz
+%{_mandir}/man1/lastb.1.gz
+%endif
 %{_mandir}/man1/line.1.gz
 %{_mandir}/man1/logger.1.gz
 %{_mandir}/man1/login.1.gz

++++++ util-linux-2.23.1-fdisk_remove_bogus_warnings.patch -> 
util-linux-2.24-fdisk_remove_bogus_warnings.patch ++++++
--- 
/work/SRC/openSUSE:Factory/util-linux/util-linux-2.23.1-fdisk_remove_bogus_warnings.patch
   2013-06-07 10:12:06.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.util-linux.new/util-linux-2.24-fdisk_remove_bogus_warnings.patch
        2013-12-16 07:15:13.000000000 +0100
@@ -1,20 +1,18 @@
---- util-linux-2.23.1/fdisks/fdiskdoslabel.c
-+++ util-linux-2.23.1/fdisks/fdiskdoslabel.c   2013-06-05 10:11:14.121939007 
+0000
-@@ -817,7 +817,7 @@ static void check_consistency(struct fdi
+--- util-linux-2.24/libfdisk/src/dos.c.orig    2013-10-21 11:22:29.810014709 
+0200
++++ util-linux-2.24/libfdisk/src/dos.c 2013-11-13 23:57:27.535962925 +0100
+@@ -1107,6 +1107,7 @@
+       /* compute logical ending (c, h, s) */
+       long2chs(cxt, dos_partition_get_start(p) + dos_partition_get_size(p) - 
1, &lec, &leh, &les);
  
- /* compute logical ending (c, h, s) */
-       long2chs(cxt, get_start_sect(p) + get_nr_sects(p) - 1, &lec, &leh, 
&les);
--
 +#if 0
- /* Same physical / logical beginning? */
-       if (cxt->geom.cylinders <= 1024 && (pbc != lbc || pbh != lbh || pbs != 
lbs)) {
-               printf(_("Partition %zd has different physical/logical "
-@@ -833,7 +833,7 @@ static void check_consistency(struct fdi
-               printf(_("     phys=(%d, %d, %d) "), pec, peh, pes);
-               printf(_("logical=(%d, %d, %d)\n"),lec, leh, les);
+       /* Same physical / logical beginning? */
+       if (cxt->geom.cylinders <= 1024
+           && (pbc != lbc || pbh != lbh || pbs != lbs)) {
+@@ -1117,6 +1118,7 @@
+                       pbc, pbh, pbs,
+                       lbc, lbh, lbs);
        }
--
 +#endif
- /* Ending on cylinder boundary? */
-       if (peh != (cxt->geom.heads - 1) || pes != cxt->geom.sectors) {
-               printf(_("Partition %zd does not end on cylinder boundary.\n"),
+ 
+       /* Same physical / logical ending? */
+       if (cxt->geom.cylinders <= 1024

++++++ util-linux-2.23.2.tar.xz -> util-linux-2.24.tar.xz ++++++
++++ 543676 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to