1
0
forked from pool/util-linux
Commit Graph

364 Commits

Author SHA256 Message Date
3033c21728 Accepting request 439345 from home:rudi_m:branches:Base:System
- Update to version 2.29, see
  https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29-ReleaseNotes
- refresh make-sure-sbin-resp-usr-sbin-are-in-PATH.diff

OBS-URL: https://build.opensuse.org/request/show/439345
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=320
2016-11-15 22:04:51 +00:00
6772ce0372 Accepting request 425306 from home:rudi_m:branches:Base:System
- Update to version 2.28.2, bugfix release, see
  ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.2-ReleaseNotes

OBS-URL: https://build.opensuse.org/request/show/425306
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=318
2016-09-08 09:49:59 +00:00
a0042e0514 Accepting request 418731 from home:rudi_m:branches:Base:System
- Update to version 2.28.1, bugfix release, see
  ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.1-ReleaseNotes
- Remove util-linux-libblkid-wipe-offset.patch (upstream)
- use the new configure option --enable-libuuid-force-uuidd
  instead of sed'ing configure.ac

OBS-URL: https://build.opensuse.org/request/show/418731
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=316
2016-08-22 14:04:49 +00:00
Ruediger Meier
b4be798d52 Accepting request 418676 from home:olh:branches:Base:System
- Install klogconsole with read permissions (bnc#990837)

OBS-URL: https://build.opensuse.org/request/show/418676
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=315
2016-08-11 15:16:05 +00:00
6c8d9abb44 Accepting request 407891 from home:dimstar:Factory
- BuildIgnore util-linux: it's part of VMInstall, hence part of
  every package build. util-linux itself can be built without its
  own presence though. Helps with some rare bootstrap issues (when
  librtas changes soname for example).
- Drop usage of gpg-offline: this has long been migrated to a
  source service that checks signatures on checkin already (osc
  service lr source_validatory).

OBS-URL: https://build.opensuse.org/request/show/407891
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=313
2016-07-13 16:08:18 +00:00
a120c15d72 Accepting request 401620 from home:dimstar:Factory
- Do not BuildRequires bash-completion: this is tempting, but it
  pulls bash-completion and its entire dependency stack into Ring0,
  which is inacceptable. Pass the correct path
  (%{_datdir}/bash-completion/completions) via
  --with-bashcompletiondir to configure.

- Do not BuildRequires bash-completion: this is tempting, but it
  pulls bash-completion and its entire dependency stack into Ring0,
  which is inacceptable. Pass the correct path
  (%{_datdir}/bash-completion/completions) via
  --with-bashcompletiondir to configure.

- Do not BuildRequires bash-completion: this is tempting, but it
  pulls bash-completion and its entire dependency stack into Ring0,
  which is inacceptable. Pass the correct path
  (%{_datdir}/bash-completion/completions) via
  --with-bashcompletiondir to configure.

OBS-URL: https://build.opensuse.org/request/show/401620
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=311
2016-06-14 12:46:18 +00:00
02b4738ea8 Accepting request 396830 from home:sbrabec:branches:util-linux-bsc976141
According to  Arvin Schnell, we need these fixes in openSUSE Factory now.
Otherwise they cannot commit code using parted --wipesignatures.

- blkid: Wipe corect area for probes with offset (bsc#976141,
  util-linux-libblkid-wipe-offset.patch).

OBS-URL: https://build.opensuse.org/request/show/396830
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=307
2016-05-23 15:22:26 +00:00
Ruediger Meier
15f40b602e Accepting request 393319 from home:sbrabec:branches:util-linux-bsc977259
- Add librtas-devel to BuildRequires on Power platforms. Needed for
  proper function of lscpu (bsc#975082).
Also add Conflicts to bash-completion change.

OBS-URL: https://build.opensuse.org/request/show/393319
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=306
2016-05-02 22:32:08 +00:00
a15bb30f60 Accepting request 391743 from home:sbrabec:branches:util-linux-bsc977259
- Remove incorrect --with-bashcompletiondir that breaks
  bash-completion, use path in bash-completion.pc instead
  (boo#977259).

OBS-URL: https://build.opensuse.org/request/show/391743
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=305
2016-04-26 22:14:30 +00:00
f7f92f04d8 Accepting request 390044 from home:rudi_m:branches:Base:System
Just a minor cosmetical cleanup which should not change anything
for the Factory build.

Changes:
- fix build for openSUSE >= 13.1 (inclusive SLE 12)
- drop build for openSUSE < 13.1
- remove old build conditions: sysvinit_tools, enable_su and 
  enable_eject
- cosmetics: reorder configure options

old: Base:System/util-linux
new: home:rudi_m:branches:Base:System/util-linux rev None
Index: python-libmount.changes
===================================================================
--- python-libmount.changes (revision 302)
+++ python-libmount.changes (revision 13)
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and 
+  enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
 Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
 
 - Update to version 2.28:
Index: python-libmount.spec
===================================================================
--- python-libmount.spec (revision 302)
+++ python-libmount.spec (revision 13)
@@ -16,9 +16,6 @@
 #
 
 
-%bcond_without  sysvinit_tools
-%bcond_without  enable_su
-%bcond_without  enable_eject
 %bcond_without  enable_last
 
 Name:           python-libmount
@@ -97,14 +94,10 @@
 %endif
 %if %build_util_linux_systemd
 BuildRequires:  socat
-%if 0%{?suse_version} <= 1230
-BuildRequires:  pkgconfig(systemd)
-%else
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libsystemd-daemon)
 BuildRequires:  pkgconfig(libsystemd-journal)
 %endif
-%endif
 %if %build_python_libmount
 BuildRequires:  python-devel
 %endif
@@ -170,25 +163,17 @@
 PreReq:         %install_info_prereq permissions
 PreReq:         %insserv_prereq %fillup_prereq /bin/sed
 Recommends:     %{name}-lang = %{version}
-%if %{with enable_eject}
 Provides:       eject = 2.1.0-166.8
-%endif
 Provides:       login = 4.0-33.7
-%if %{with enable_eject}
 # File conflict of eject (up to 12.3 and SLE11).
 Obsoletes:      eject < 2.1.0-166.8
-%endif
 # File conflict of login (up to 12.1 and SLE11).
 Obsoletes:      login < 4.0-33.7
-%if %{with enable_su}
 # File conflict of su and kill (up to 12.3 and SLE11).
 # It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
 Conflicts:      coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
 # File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
 Conflicts:      sysvinit-tools < 2.88+-87
-%endif
 # bnc#805684:
 %ifarch s390x
 Obsoletes:      s390-32
@@ -538,6 +523,7 @@
 # sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
 AUTOPOINT=true autoreconf -vfi
 %configure \
+  --disable-silent-rules \
   --localstatedir=/run \
   --docdir=%{_docdir}/%{_name} \
   --with-audit \
@@ -546,46 +532,33 @@
   --with-selinux \
   $uhead \
   --with-bashcompletiondir=%{_datadir}/bash-completion \
-  --enable-all-programs \
-  --disable-reset \
+  --with-systemdsystemunitdir=%{_unitdir} \
+  --enable-libmount-force-mountinfo \
+  --enable-sulogin-emergency-mount \
   --disable-use-tty-group \
-  --disable-silent-rules \
   --enable-static \
   --disable-rpath \
+  --enable-all-programs \
+  --disable-reset \
 %if %{without enable_last}
   --disable-last \
 %endif
-%if %{without enable_eject}
-  --disable-eject \
-%endif
-%if %{with sysvinit_tools}
-  --enable-sulogin-emergency-mount \
-%else
-  --disable-sulogin \
-  --disable-mountpoint \
-%endif
-%if %{without enable_su}
-  --disable-su \
-  --disable-kill \
-%endif
 %if %build_util_linux_systemd
+  --with-systemd \
   --enable-logger \
   --enable-lslogins \
   --enable-uuidd \
-  --with-systemd \
-  --with-systemdsystemunitdir=%{_unitdir} \
 %else
+  --without-systemd \
   --disable-logger \
   --disable-lslogins \
   --disable-uuidd \
-  --without-systemd \
 %endif
 %if %build_python_libmount
   --with-python \
 %else
   --without-python \
 %endif
-  --enable-libmount-force-mountinfo \
 
 #
 # Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
 install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
 install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
 install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
 install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
 install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
 install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
 mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
 pushd ../klogconsole
 # klogconsole install
@@ -655,10 +626,8 @@
 rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
 %if %build_util_linux
 #UsrMerge
-%if %{with enable_su}
 ln -s %{_bindir}/kill %{buildroot}/bin
 ln -s %{_bindir}/su %{buildroot}/bin
-%endif
 ln -s %{_bindir}/dmesg %{buildroot}/bin
 ln -s %{_bindir}/more %{buildroot}/bin
 ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
 %post
 %{fillup_and_insserv raw}
 %set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
 %set_permissions %{_bindir}/su
 # Safely migrate PAM files from coreutils to util-linux
 # (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
 		mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
 	fi
 done
-%endif
 
 # mount option 'code=' is now called 'codepage=' so change fstab
 if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
 
 %verifyscript
 %verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
 %verify_permissions -e %{_bindir}/su
-%endif
 
 %post -n libblkid1 -p /sbin/ldconfig
 
@@ -857,9 +822,8 @@
 %endif
 
 %if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
 %pre -n util-linux-systemd
 %{service_add_pre fstrim.service fstrim.timer}
 
@@ -877,7 +841,7 @@
 /usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
   -d /var/run/uuidd uuidd 2>/dev/null || :
 %{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
 
 %post -n uuidd
 %{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
 %{service_del_postun uuidd.socket uuidd.service}
 
 %posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
 %endif
 
 %if %build_util_linux
@@ -920,16 +884,12 @@
 %config(noreplace) %{_sysconfdir}/pam.d/remote
 %config(noreplace) %{_sysconfdir}/pam.d/runuser
 %config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
 %config(noreplace) %{_sysconfdir}/pam.d/su
 %config(noreplace) %{_sysconfdir}/pam.d/su-l
 %config(noreplace) %{_sysconfdir}/default/su
-%endif
 #UsrMerge
-%if %{with enable_su}
 /bin/kill
 /bin/su
-%endif
 /bin/dmesg
 /bin/more
 /bin/mount
@@ -963,13 +923,9 @@
 /sbin/fstrim
 /sbin/chcpu
 #EndUsrMerge
-%if %{with enable_su}
 %{_bindir}/kill
 %{_bindir}/su
-%endif
-%if %{with enable_eject}
 %{_bindir}/eject
-%endif
 %{_bindir}/cal
 %{_bindir}/chrt
 %{_bindir}/col
@@ -1018,10 +974,8 @@
 %{_bindir}/ul
 %{_bindir}/umount
 %{_bindir}/unshare
-%if %{with sysvinit_tools}
 %{_bindir}/mountpoint
 %{_bindir}/utmpdump
-%endif
 %{_bindir}/uuidgen
 %{_bindir}/uname26
 %ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
 %{_sbindir}/rtcwake
 %{_sbindir}/runuser
 %{_sbindir}/setctsid
-%if %{with sysvinit_tools}
 %{_sbindir}/sulogin
-%endif
 %{_sbindir}/swaplabel
 %{_sbindir}/swapoff
 %{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
 %{_bindir}/whereis
 %verify(not mode) %attr(0755,root,tty) %{_bindir}/write
 %{_sbindir}/zramctl
-%if %{with enable_su}
 %{_mandir}/man1/kill.1.gz
 %{_mandir}/man1/su.1.gz
-%endif
 %{_mandir}/man1/cal.1.gz
 %{_mandir}/man1/chrt.1.gz
 %{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
 %{_mandir}/man1/colrm.1.gz
 %{_mandir}/man1/column.1.gz
 %{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
 %{_mandir}/man1/eject.1.gz
-%endif
 %{_mandir}/man1/fallocate.1.gz
 %{_mandir}/man1/flock.1.gz
 %{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
 %{_mandir}/man1/whereis.1.gz
 %{_mandir}/man1/write.1.gz
 %{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
 %{_mandir}/man1/mountpoint.1.gz
 %{_mandir}/man1/utmpdump.1.gz
-%endif
 %{_mandir}/man1/runuser.1.gz
 %{_mandir}/man1/uuidgen.1.gz
 %{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
 %{_mandir}/man8/fstrim.8.gz
 %{_mandir}/man8/lsblk.8.gz
 %{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
 %{_mandir}/man8/sulogin.8.gz
-%endif
 %{_mandir}/man8/wdctl.8.gz
 %{_sbindir}/flushb
 %{_sbindir}/readprofile
Index: util-linux-systemd.changes
===================================================================
--- util-linux-systemd.changes (revision 302)
+++ util-linux-systemd.changes (revision 13)
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and 
+  enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
 Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
 
 - Update to version 2.28:
Index: util-linux-systemd.spec
===================================================================
--- util-linux-systemd.spec (revision 302)
+++ util-linux-systemd.spec (revision 13)
@@ -16,9 +16,6 @@
 #
 
 
-%bcond_without  sysvinit_tools
-%bcond_without  enable_su
-%bcond_without  enable_eject
 %bcond_without  enable_last
 
 Name:           util-linux-systemd
@@ -97,14 +94,10 @@
 %endif
 %if %build_util_linux_systemd
 BuildRequires:  socat
-%if 0%{?suse_version} <= 1230
-BuildRequires:  pkgconfig(systemd)
-%else
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libsystemd-daemon)
 BuildRequires:  pkgconfig(libsystemd-journal)
 %endif
-%endif
 %if %build_python_libmount
 BuildRequires:  python-devel
 %endif
@@ -170,25 +163,17 @@
 PreReq:         %install_info_prereq permissions
 PreReq:         %insserv_prereq %fillup_prereq /bin/sed
 Recommends:     %{name}-lang = %{version}
-%if %{with enable_eject}
 Provides:       eject = 2.1.0-166.8
-%endif
 Provides:       login = 4.0-33.7
-%if %{with enable_eject}
 # File conflict of eject (up to 12.3 and SLE11).
 Obsoletes:      eject < 2.1.0-166.8
-%endif
 # File conflict of login (up to 12.1 and SLE11).
 Obsoletes:      login < 4.0-33.7
-%if %{with enable_su}
 # File conflict of su and kill (up to 12.3 and SLE11).
 # It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
 Conflicts:      coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
 # File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
 Conflicts:      sysvinit-tools < 2.88+-87
-%endif
 # bnc#805684:
 %ifarch s390x
 Obsoletes:      s390-32
@@ -538,6 +523,7 @@
 # sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
 AUTOPOINT=true autoreconf -vfi
 %configure \
+  --disable-silent-rules \
   --localstatedir=/run \
   --docdir=%{_docdir}/%{_name} \
   --with-audit \
@@ -546,46 +532,33 @@
   --with-selinux \
   $uhead \
   --with-bashcompletiondir=%{_datadir}/bash-completion \
-  --enable-all-programs \
-  --disable-reset \
+  --with-systemdsystemunitdir=%{_unitdir} \
+  --enable-libmount-force-mountinfo \
+  --enable-sulogin-emergency-mount \
   --disable-use-tty-group \
-  --disable-silent-rules \
   --enable-static \
   --disable-rpath \
+  --enable-all-programs \
+  --disable-reset \
 %if %{without enable_last}
   --disable-last \
 %endif
-%if %{without enable_eject}
-  --disable-eject \
-%endif
-%if %{with sysvinit_tools}
-  --enable-sulogin-emergency-mount \
-%else
-  --disable-sulogin \
-  --disable-mountpoint \
-%endif
-%if %{without enable_su}
-  --disable-su \
-  --disable-kill \
-%endif
 %if %build_util_linux_systemd
+  --with-systemd \
   --enable-logger \
   --enable-lslogins \
   --enable-uuidd \
-  --with-systemd \
-  --with-systemdsystemunitdir=%{_unitdir} \
 %else
+  --without-systemd \
   --disable-logger \
   --disable-lslogins \
   --disable-uuidd \
-  --without-systemd \
 %endif
 %if %build_python_libmount
   --with-python \
 %else
   --without-python \
 %endif
-  --enable-libmount-force-mountinfo \
 
 #
 # Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
 install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
 install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
 install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
 install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
 install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
 install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
 mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
 pushd ../klogconsole
 # klogconsole install
@@ -655,10 +626,8 @@
 rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
 %if %build_util_linux
 #UsrMerge
-%if %{with enable_su}
 ln -s %{_bindir}/kill %{buildroot}/bin
 ln -s %{_bindir}/su %{buildroot}/bin
-%endif
 ln -s %{_bindir}/dmesg %{buildroot}/bin
 ln -s %{_bindir}/more %{buildroot}/bin
 ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
 %post
 %{fillup_and_insserv raw}
 %set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
 %set_permissions %{_bindir}/su
 # Safely migrate PAM files from coreutils to util-linux
 # (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
 		mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
 	fi
 done
-%endif
 
 # mount option 'code=' is now called 'codepage=' so change fstab
 if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
 
 %verifyscript
 %verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
 %verify_permissions -e %{_bindir}/su
-%endif
 
 %post -n libblkid1 -p /sbin/ldconfig
 
@@ -857,9 +822,8 @@
 %endif
 
 %if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
 %pre -n util-linux-systemd
 %{service_add_pre fstrim.service fstrim.timer}
 
@@ -877,7 +841,7 @@
 /usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
   -d /var/run/uuidd uuidd 2>/dev/null || :
 %{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
 
 %post -n uuidd
 %{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
 %{service_del_postun uuidd.socket uuidd.service}
 
 %posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
 %endif
 
 %if %build_util_linux
@@ -920,16 +884,12 @@
 %config(noreplace) %{_sysconfdir}/pam.d/remote
 %config(noreplace) %{_sysconfdir}/pam.d/runuser
 %config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
 %config(noreplace) %{_sysconfdir}/pam.d/su
 %config(noreplace) %{_sysconfdir}/pam.d/su-l
 %config(noreplace) %{_sysconfdir}/default/su
-%endif
 #UsrMerge
-%if %{with enable_su}
 /bin/kill
 /bin/su
-%endif
 /bin/dmesg
 /bin/more
 /bin/mount
@@ -963,13 +923,9 @@
 /sbin/fstrim
 /sbin/chcpu
 #EndUsrMerge
-%if %{with enable_su}
 %{_bindir}/kill
 %{_bindir}/su
-%endif
-%if %{with enable_eject}
 %{_bindir}/eject
-%endif
 %{_bindir}/cal
 %{_bindir}/chrt
 %{_bindir}/col
@@ -1018,10 +974,8 @@
 %{_bindir}/ul
 %{_bindir}/umount
 %{_bindir}/unshare
-%if %{with sysvinit_tools}
 %{_bindir}/mountpoint
 %{_bindir}/utmpdump
-%endif
 %{_bindir}/uuidgen
 %{_bindir}/uname26
 %ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
 %{_sbindir}/rtcwake
 %{_sbindir}/runuser
 %{_sbindir}/setctsid
-%if %{with sysvinit_tools}
 %{_sbindir}/sulogin
-%endif
 %{_sbindir}/swaplabel
 %{_sbindir}/swapoff
 %{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
 %{_bindir}/whereis
 %verify(not mode) %attr(0755,root,tty) %{_bindir}/write
 %{_sbindir}/zramctl
-%if %{with enable_su}
 %{_mandir}/man1/kill.1.gz
 %{_mandir}/man1/su.1.gz
-%endif
 %{_mandir}/man1/cal.1.gz
 %{_mandir}/man1/chrt.1.gz
 %{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
 %{_mandir}/man1/colrm.1.gz
 %{_mandir}/man1/column.1.gz
 %{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
 %{_mandir}/man1/eject.1.gz
-%endif
 %{_mandir}/man1/fallocate.1.gz
 %{_mandir}/man1/flock.1.gz
 %{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
 %{_mandir}/man1/whereis.1.gz
 %{_mandir}/man1/write.1.gz
 %{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
 %{_mandir}/man1/mountpoint.1.gz
 %{_mandir}/man1/utmpdump.1.gz
-%endif
 %{_mandir}/man1/runuser.1.gz
 %{_mandir}/man1/uuidgen.1.gz
 %{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
 %{_mandir}/man8/fstrim.8.gz
 %{_mandir}/man8/lsblk.8.gz
 %{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
 %{_mandir}/man8/sulogin.8.gz
-%endif
 %{_mandir}/man8/wdctl.8.gz
 %{_sbindir}/flushb
 %{_sbindir}/readprofile
Index: util-linux.changes
===================================================================
--- util-linux.changes (revision 302)
+++ util-linux.changes (revision 13)
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Wed Apr 13 21:29:00 UTC 2016 - sweet_f_a@gmx.de
+
+- fix build for openSUSE >= 13.1 (inclusive SLE 12)
+- drop build for openSUSE < 13.1
+- remove old build conditions: sysvinit_tools, enable_su and 
+  enable_eject
+- cosmetics: reorder configure options
+
+-------------------------------------------------------------------
 Wed Apr 13 09:53:21 UTC 2016 - sweet_f_a@gmx.de
 
 - Update to version 2.28:
Index: util-linux.spec
===================================================================
--- util-linux.spec (revision 302)
+++ util-linux.spec (revision 13)
@@ -16,9 +16,6 @@
 #
 
 
-%bcond_without  sysvinit_tools
-%bcond_without  enable_su
-%bcond_without  enable_eject
 %bcond_without  enable_last
 
 Name:           util-linux
@@ -97,14 +94,10 @@
 %endif
 %if %build_util_linux_systemd
 BuildRequires:  socat
-%if 0%{?suse_version} <= 1230
-BuildRequires:  pkgconfig(systemd)
-%else
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libsystemd-daemon)
 BuildRequires:  pkgconfig(libsystemd-journal)
 %endif
-%endif
 %if %build_python_libmount
 BuildRequires:  python-devel
 %endif
@@ -170,25 +163,17 @@
 PreReq:         %install_info_prereq permissions
 PreReq:         %insserv_prereq %fillup_prereq /bin/sed
 Recommends:     %{name}-lang = %{version}
-%if %{with enable_eject}
 Provides:       eject = 2.1.0-166.8
-%endif
 Provides:       login = 4.0-33.7
-%if %{with enable_eject}
 # File conflict of eject (up to 12.3 and SLE11).
 Obsoletes:      eject < 2.1.0-166.8
-%endif
 # File conflict of login (up to 12.1 and SLE11).
 Obsoletes:      login < 4.0-33.7
-%if %{with enable_su}
 # File conflict of su and kill (up to 12.3 and SLE11).
 # It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
 Conflicts:      coreutils < 8.21
-%endif
-%if %{with sysvinit_tools}
 # File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
 Conflicts:      sysvinit-tools < 2.88+-87
-%endif
 # bnc#805684:
 %ifarch s390x
 Obsoletes:      s390-32
@@ -538,6 +523,7 @@
 # sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities.
 AUTOPOINT=true autoreconf -vfi
 %configure \
+  --disable-silent-rules \
   --localstatedir=/run \
   --docdir=%{_docdir}/%{_name} \
   --with-audit \
@@ -546,46 +532,33 @@
   --with-selinux \
   $uhead \
   --with-bashcompletiondir=%{_datadir}/bash-completion \
-  --enable-all-programs \
-  --disable-reset \
+  --with-systemdsystemunitdir=%{_unitdir} \
+  --enable-libmount-force-mountinfo \
+  --enable-sulogin-emergency-mount \
   --disable-use-tty-group \
-  --disable-silent-rules \
   --enable-static \
   --disable-rpath \
+  --enable-all-programs \
+  --disable-reset \
 %if %{without enable_last}
   --disable-last \
 %endif
-%if %{without enable_eject}
-  --disable-eject \
-%endif
-%if %{with sysvinit_tools}
-  --enable-sulogin-emergency-mount \
-%else
-  --disable-sulogin \
-  --disable-mountpoint \
-%endif
-%if %{without enable_su}
-  --disable-su \
-  --disable-kill \
-%endif
 %if %build_util_linux_systemd
+  --with-systemd \
   --enable-logger \
   --enable-lslogins \
   --enable-uuidd \
-  --with-systemd \
-  --with-systemdsystemunitdir=%{_unitdir} \
 %else
+  --without-systemd \
   --disable-logger \
   --disable-lslogins \
   --disable-uuidd \
-  --without-systemd \
 %endif
 %if %build_python_libmount
   --with-python \
 %else
   --without-python \
 %endif
-  --enable-libmount-force-mountinfo \
 
 #
 # Safety check: HAVE_UUIDD should be always 1:
@@ -637,11 +610,9 @@
 install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote
 install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser
 install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
 install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
 install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
 install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/default/su
-%endif
 mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
 pushd ../klogconsole
 # klogconsole install
@@ -655,10 +626,8 @@
 rm -f %{buildroot}%{python_sitearch}/libmount/*.*a
 %if %build_util_linux
 #UsrMerge
-%if %{with enable_su}
 ln -s %{_bindir}/kill %{buildroot}/bin
 ln -s %{_bindir}/su %{buildroot}/bin
-%endif
 ln -s %{_bindir}/dmesg %{buildroot}/bin
 ln -s %{_bindir}/more %{buildroot}/bin
 ln -s %{_bindir}/mount %{buildroot}/bin
@@ -798,7 +767,6 @@
 %post
 %{fillup_and_insserv raw}
 %set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount
-%if %{with enable_su}
 %set_permissions %{_bindir}/su
 # Safely migrate PAM files from coreutils to util-linux
 # (openSUSE 12.3->13.1, SLE11->SLE12)
@@ -817,7 +785,6 @@
 		mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE
 	fi
 done
-%endif
 
 # mount option 'code=' is now called 'codepage=' so change fstab
 if [ -f etc/fstab ]; then
@@ -829,9 +796,7 @@
 
 %verifyscript
 %verify_permissions -e %{_bindir}/wall -e %{_bindir}/write -e %{_bindir}/mount -e %{_bindir}/umount
-%if %{with enable_su}
 %verify_permissions -e %{_bindir}/su
-%endif
 
 %post -n libblkid1 -p /sbin/ldconfig
 
@@ -857,9 +822,8 @@
 %endif
 
 %if %build_util_linux_systemd
-# Note: This is not a perfect solution: fstrim is part of util-linux, fstrim services are part of util-linux-systemd (for build loop prevention reasons).
-# If only util-linux is updated, restart of fstrim service does not happen.
-# Maybe we should move fstrim to util-linux-systemd in the next version.
+# fstrim(8) and fstrim.service are from different packages. But it's a oneshot
+# service (timer), no restart needed on binary updates (unless path is changed).
 %pre -n util-linux-systemd
 %{service_add_pre fstrim.service fstrim.timer}
 
@@ -877,7 +841,7 @@
 /usr/sbin/useradd -r -g uuidd -c "User for uuidd" \
   -d /var/run/uuidd uuidd 2>/dev/null || :
 %{service_add_pre uuidd.socket uuidd.service}
-%systemd_preset_pre
+%{?systemd_preset_pre}
 
 %post -n uuidd
 %{service_add_post uuidd.socket uuidd.service}
@@ -889,7 +853,7 @@
 %{service_del_postun uuidd.socket uuidd.service}
 
 %posttrans -p /bin/bash -n uuidd
-%systemd_preset_posttrans
+%{?systemd_preset_posttrans}
 %endif
 
 %if %build_util_linux
@@ -920,16 +884,12 @@
 %config(noreplace) %{_sysconfdir}/pam.d/remote
 %config(noreplace) %{_sysconfdir}/pam.d/runuser
 %config(noreplace) %{_sysconfdir}/pam.d/runuser-l
-%if %{with enable_su}
 %config(noreplace) %{_sysconfdir}/pam.d/su
 %config(noreplace) %{_sysconfdir}/pam.d/su-l
 %config(noreplace) %{_sysconfdir}/default/su
-%endif
 #UsrMerge
-%if %{with enable_su}
 /bin/kill
 /bin/su
-%endif
 /bin/dmesg
 /bin/more
 /bin/mount
@@ -963,13 +923,9 @@
 /sbin/fstrim
 /sbin/chcpu
 #EndUsrMerge
-%if %{with enable_su}
 %{_bindir}/kill
 %{_bindir}/su
-%endif
-%if %{with enable_eject}
 %{_bindir}/eject
-%endif
 %{_bindir}/cal
 %{_bindir}/chrt
 %{_bindir}/col
@@ -1018,10 +974,8 @@
 %{_bindir}/ul
 %{_bindir}/umount
 %{_bindir}/unshare
-%if %{with sysvinit_tools}
 %{_bindir}/mountpoint
 %{_bindir}/utmpdump
-%endif
 %{_bindir}/uuidgen
 %{_bindir}/uname26
 %ifnarch ppc ppc64
@@ -1059,9 +1013,7 @@
 %{_sbindir}/rtcwake
 %{_sbindir}/runuser
 %{_sbindir}/setctsid
-%if %{with sysvinit_tools}
 %{_sbindir}/sulogin
-%endif
 %{_sbindir}/swaplabel
 %{_sbindir}/swapoff
 %{_sbindir}/swapon
@@ -1071,10 +1023,8 @@
 %{_bindir}/whereis
 %verify(not mode) %attr(0755,root,tty) %{_bindir}/write
 %{_sbindir}/zramctl
-%if %{with enable_su}
 %{_mandir}/man1/kill.1.gz
 %{_mandir}/man1/su.1.gz
-%endif
 %{_mandir}/man1/cal.1.gz
 %{_mandir}/man1/chrt.1.gz
 %{_mandir}/man1/col.1.gz
@@ -1082,9 +1032,7 @@
 %{_mandir}/man1/colrm.1.gz
 %{_mandir}/man1/column.1.gz
 %{_mandir}/man1/dmesg.1.gz
-%if %{with enable_eject}
 %{_mandir}/man1/eject.1.gz
-%endif
 %{_mandir}/man1/fallocate.1.gz
 %{_mandir}/man1/flock.1.gz
 %{_mandir}/man1/getopt.1.gz
@@ -1123,10 +1071,8 @@
 %{_mandir}/man1/whereis.1.gz
 %{_mandir}/man1/write.1.gz
 %{_mandir}/man1/ipcmk.1.gz
-%if %{with sysvinit_tools}
 %{_mandir}/man1/mountpoint.1.gz
 %{_mandir}/man1/utmpdump.1.gz
-%endif
 %{_mandir}/man1/runuser.1.gz
 %{_mandir}/man1/uuidgen.1.gz
 %{_mandir}/man5/fstab.5.gz
@@ -1178,9 +1124,7 @@
 %{_mandir}/man8/fstrim.8.gz
 %{_mandir}/man8/lsblk.8.gz
 %{_mandir}/man8/resizepart.8.gz
-%if %{with sysvinit_tools}
 %{_mandir}/man8/sulogin.8.gz
-%endif
 %{_mandir}/man8/wdctl.8.gz
 %{_sbindir}/flushb
 %{_sbindir}/readprofile

OBS-URL: https://build.opensuse.org/request/show/390044
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=304
2016-04-24 09:08:55 +00:00
afb635ea16 Accepting request 389157 from home:rudi_m:branches:Base:System
- Update to version 2.28:
  * Many changes and improvements, most notably ...
  * Security issue: CVE-2016-2779 is NOT FIXED yet.
- Remove old util-linux-noenc-suse.patch

OBS-URL: https://build.opensuse.org/request/show/389157
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=302
2016-04-13 16:27:53 +00:00
ad43cdf969 Accepting request 346995 from home:rudi_m:branches:Base:System
- enable last binary

OBS-URL: https://build.opensuse.org/request/show/346995
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=300
2015-12-02 15:46:14 +00:00
8ae9c81d4b Accepting request 344239 from home:rudi_m:branches:Base:System
- Update to version 2.27.1, bugfix release, see
  ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27.1-ReleaseNotes

OBS-URL: https://build.opensuse.org/request/show/344239
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=298
2015-11-18 13:40:14 +00:00
Ruediger Meier
0f95aba1a5 Accepting request 343844 from home:Andreas_Schwab:Factory
- Change condition for known fail markers from test for armv6 and aarch64
  architecture to test for qemu user-space build

OBS-URL: https://build.opensuse.org/request/show/343844
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=297
2015-11-11 15:13:29 +00:00
3e79b1f05f Accepting request 333182 from home:sbrabec:branches:util-linux-2.27
- Update to version 2.27:
  * Many changes and improvements, most notably:
    * lsipc: new command
    * unshare provides a new option --propagation=
    * mount(8) supports read-only binds in one (not atomic) step by
      "bind,ro".
    * GNU readline support in fdisk and sfdisk.
    * JSON support in libsmartcols and findmnt, losetup, lsblk,
      lslocks, sfdisk and lsipc.
    * script has been massively improved to be more robust and less
      complex (bsc#888678, bsc#930236).
    * sulogin supports locked root accounts by --force.
    * colors support by default. It is possible to change this
      with --disable-colors-default.
    * more information in cfdisk
    * fdisk provides new commands 'F' and 'i'
    * cal supports the new options --twelve and --months <n>
    * rtcwake supports a news option --list-modes and --date, no
      support RTC_ALM_READ and RTC_ALM_SET fallbacks any more.
  * Many fixes, most notably:
    * fsck: now supports -r {fd} (bsc#903738)
    * better handling of multi-path devices
      (bsc#880468, bsc#924994)
    * flock: improve timeout handling (bsc#926945)
    * lsblk: display mountpoint even for top-level device
      (bsc#943415)

OBS-URL: https://build.opensuse.org/request/show/333182
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=293
2015-09-27 10:49:19 +00:00
28f19aa913 Accepting request 324668 from home:sbrabec:branches:util-linux-license
- Add licenses.

OBS-URL: https://build.opensuse.org/request/show/324668
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=292
2015-08-26 15:18:04 +00:00
ae1b79cbf4 Accepting request 321271 from home:sbrabec:branches:systemd-preset
Submit to Factory depends on request 320740.
- Add %systemd_preset_pre and %systemd_preset_posttrans that will
  do one shot presetting of uuidd.service on upgrade.
  (bnc#900935#c46, FATE#318949).
- Remove one shot presetting hacks.

OBS-URL: https://build.opensuse.org/request/show/321271
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=291
2015-08-17 20:19:53 +00:00
Stefan Seyfried
ef6afabe04 Accepting request 308635 from home:elvigia:branches:Base:System
- Build with --enable-libmount-force-mountinfo the rationale is
 identical to the following commit message --> http://bit.ly/1eqf5GO
 The default behaviour is undesirable and fragile when using
 systemd.

- Build with --enable-libmount-force-mountinfo the rationale is
 identical to the following commit message --> http://bit.ly/1eqf5GO
 The default behaviour is undesirable and fragile when using
 systemd.

- Build with --enable-libmount-force-mountinfo the rationale is
 identical to the following commit message --> http://bit.ly/1eqf5GO
 The default behaviour is undesirable and fragile when using
 systemd.

OBS-URL: https://build.opensuse.org/request/show/308635
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=286
2015-05-30 13:36:10 +00:00
e043c3494a Accepting request 305074 from home:rudi_m:branches:Base:System
- Update to util-linux-2.26.2:
  * many fixes, most notable for logger, *fdisks and mount
  * (lib)mount, add support for MS_LAZYTIME
- disable libmount/lock test to avoid random timeouts
- socat is needed for logger tests

OBS-URL: https://build.opensuse.org/request/show/305074
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=284
2015-05-07 21:30:28 +00:00
9d98665aee Accepting request 290677 from home:rudi_m:branches:Base:System
- Update to util-linux-2.26.1:
  * cal(1): do not segfault when TERM is not defined or wrong
    (bnc#903440)
  * logger(1): major fixes and enhancements
  * agetty(8): support /usr/lib/os-release too 
  * some more fixes, mostly minor ones, see ReleaseNotes
- re-enable fixed tests (fdisk/bsd, ppc64le)

OBS-URL: https://build.opensuse.org/request/show/290677
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=282
2015-03-13 16:45:58 +00:00
49ba4278c4 Accepting request 287948 from home:sbrabec:branches:util-linux-2.26
- Update to util-linux-2.26:
  * based on the git master branch of util-linux, remove backported
    patches (util-linux-libblkid-unsafe-chars.patch,
    util-linux-libblkid-overflow.patch)
  * zramctl(8): this NEW COMMAND allows to control /dev/zramN
    devices
  * agetty(8): supports new option --reload to force already
    running agetty processes to reprint the /etc/issue file
  * cfdisk(8), sfdisk(8) and fdisk(8): support sfdisk-compatible
    scripts; it's possible to save your partitioning layout to text
    files and (re)use it in all fdisks
  * fdisk(8), sfdisk(8): support new command-line option "--output
    <list>" to specify output columns for --list or print commands
  * nsenter(1): has been updated to work with the latest kernel
    changes in user namespaces supports new command-line option
    --preserve-credentials
  * unshare(1): has been updated to work with the latest kernel
    changes in user namespaces supports new command-line option
    "--setgroups=<deny|allow>"
  * swapon(8): supports new command-line option "-o <list>" with
    the same semantics as -o for mount(8); it's now possible to
    specify swap options on the command line by the same string as
    in fstab
  * fdformat(8): supports new command-line options --from and --to
    to specify tracks and --repair for broken floppies
  * getopt(1): has been updated to the latest version (originally
    maintained outside of util-linux) and refactored
  * ldattach(8): has been improved to support GSM0710 and intro
    modem commands
  * logger(1): supports new command-line option --id= to specify
    PID (or another ID) allows to specify --rfc3164 or --rfc5424
    syslog protocols
  * libfdisk: the library is distributed as a shared library with a
    stable API and a standard header file
  * libmount: provides a new simple API to monitor mount-table
    changes (including changes in userspace mount options)
- Fix lack of I18N support in util-linux-systemd (mis-compilation).

OBS-URL: https://build.opensuse.org/request/show/287948
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=280
2015-02-26 16:53:58 +00:00
81b4c54379 Accepting request 287249 from home:elvigia:branches:Base:System
- Build with FULL RELRO. 

- Build with FULL RELRO. 

- Build with FULL RELRO.

OBS-URL: https://build.opensuse.org/request/show/287249
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=279
2015-02-26 14:56:32 +00:00
Ruediger Meier
4ff0b958d1 Accepting request 285684 from home:rudi_m:branches:Base:System
- define upstream source for klogconsole and remove patches
- remove openSUSE 13.1 specific eject permissions, did not worked
  anyway since eject-fpie.patch was removed
- always call autoreconf, not only for splitted packages, skip
  autopoint (gettext)

Both removed patches are upstream. We only import whitespace
changes from upstream.

BTW python-libmount.spec was again not in sync ...

OBS-URL: https://build.opensuse.org/request/show/285684
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=276
2015-02-12 10:11:35 +00:00
Stephan Kulow
5108010c84 Accepting request 284526 from home:dimstar:Factory
- Do not try to unregister an info file (ipc.info.gz) which we do
  not own. Already in May 2011, we stopped registering it: "do not
  register ipc.info.gz (not provided by this package)".

OBS-URL: https://build.opensuse.org/request/show/284526
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=275
2015-02-06 20:28:51 +00:00
2228e7f396 - libblkid: care about unsafe chars and possible buffer overflow
in cache (CVE-2014-9114, util-linux-libblkid-unsafe-chars.patch,
  util-linux-libblkid-overflow.patch, bsc#907434)

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=274
2015-02-04 18:38:40 +00:00
09c19db627 Accepting request 284097 from home:sbrabec:branches:Base:System
Include upgrade bug#.

OBS-URL: https://build.opensuse.org/request/show/284097
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=272
2015-02-04 17:32:09 +00:00
762e4eea01 Accepting request 283347 from home:rudi_m:branches:Base:System
- Update to version 2.25.2: mostly minor fixes
- re-enable utmpdump and ipcs tests for all archs

OBS-URL: https://build.opensuse.org/request/show/283347
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=271
2015-02-04 17:16:01 +00:00
cfb71fe912 Accepting request 281437 from home:AndreasSchwab:f
- Use util-linux:/bin/logger as split-provide,
  /usr/lib/systemd/system/fstrim.service didn't exist in 13.1

OBS-URL: https://build.opensuse.org/request/show/281437
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=270
2015-01-30 15:19:56 +00:00
Tomáš Chvátal
7075a24d0a Accepting request 280719 from home:jengelh:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/280719
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=268
2015-01-15 14:35:14 +00:00
dae2b34561 Accepting request 260840 from home:Andreas_Schwab:Factory
- Remove known fail marker for fdisk/bsd on ppc, ppc64, s390, s390x

OBS-URL: https://build.opensuse.org/request/show/260840
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=266
2014-11-12 20:02:45 +00:00
758223c093 Accepting request 258555 from home:sbrabec:branches:util-linux
- Fix mis-compilation of libuuid without uuidd support
  (bnc#900935).
- Fix uuidd socket activation (bnc#900935).
- Remove obsolete sysvinit script for uuidd.
- Remove no more needed uuidd permissions stuff.
- Replace PreReq for obsolete pwdutils by names of binaries.
- Add fstrim service scripts and rcfstrim helper.

OBS-URL: https://build.opensuse.org/request/show/258555
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=264
2014-10-31 15:22:34 +00:00
da8e6cf85d Accepting request 248084 from home:sbrabec:branches:Base:System
- Install runuser and runuser-l PAM file
  (runuser.pamd, bnc#892079).

OBS-URL: https://build.opensuse.org/request/show/248084
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=262
2014-09-12 17:54:43 +00:00
ae9de3e9c5 Accepting request 247592 from home:sbrabec:branches:Base:System
- Update to version 2.25.1:
  * bug fixes (removed util-linux-bash-completion-blockdev.patch,
    util-linux-slash-in-format-string.patch)
  * translation updates
  * correct support for plurals
  * gpt: use real sector size to set PTMAGIC_OFFSET
  * gpt: add Microsoft Storage Spaces GUID
  * libmount: use -t for type.subtype in helpers API
  * erase all traces of the long-obsolete xiafs

OBS-URL: https://build.opensuse.org/request/show/247592
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=260
2014-09-05 10:56:25 +00:00
3267442cd6 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=257 2014-08-26 14:26:36 +00:00
a54ad330cf OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=256 2014-08-26 14:19:11 +00:00
962cc353cc OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=255 2014-08-26 14:14:33 +00:00
f4901b361d Accepting request 246531 from home:Andreas_Schwab:Factory
- Always mark ipcs/limits and misc/setarch as known failure

OBS-URL: https://build.opensuse.org/request/show/246531
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=254
2014-08-26 14:12:01 +00:00
fc2658a44f Accepting request 246438 from home:pgajdos
- fix parsing of slash in the format string [bnc#889934] (internal)
- added patches:
  * util-linux-slash-in-format-string.patch

OBS-URL: https://build.opensuse.org/request/show/246438
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=253
2014-08-26 13:58:36 +00:00
bb283f3de6 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=251 2014-08-22 08:37:10 +00:00
5ae4f018c0 - Remove hacks for format_spec_file and source_validator
(bnc#891152, bnc#891829).
- Use macro defined summary that passes both SLE and openSUSE
  check-in QA scripts (invented by Ruediger Oertel).

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=250
2014-08-21 20:06:54 +00:00
Tomáš Chvátal
4b9855b405 Accepting request 244468 from home:sbrabec:branches:Base:System
This update needs a special care:

1)
After first successful build on all platforms, "osc meta prjconf Base:System" must include:

%if 0%{?suse_version} > 1310
Preinstall: libsmartcols1
%endif

2)
You also need to make symlinks to util-linux-systemd and python-libmount.

And finally, this package is intended only for > 1310 (i. e. Factory).

3)
The spec file can have problems with (buggy) Factory check-in check:
ERROR: python-libmount: group for main package not set

There is false error and I have no work-around for this just now.

(If you want, please ping me (by mail) after package review, and I'll do all needed changes.)

- Update to version 2.25
  (using work of Ruediger Meier <sweet_f_a@gmx.de>):
  * based on the git master branch of util-linux
  * many fixes (including bnc#869355, bnc#871951 and
    bnc#871698#c49)
  * new Python binding sub-package for libmount: python-libmount
  * new library: libsmartcols
  * new commands: lslogins, setpriv
  * add fstrim systemd timer
  * better systemd integration
  * DROPPED command:
    * cytune: Upstream decided to remove tool untested for years
      that supports this old hardware.
- Dropped patches included in the upstream:
    (*git) Included with no changes
    (+git) Included with improvements
    (!git) Included with differences
  * support-other-tty-lines-not-vconsole.patch           (*b9c7390)
  * agetty-fooled-on-serial-line-due-plymouth.patch,
  * sulogin-fooled-on-tty-line-due-plymouth.patch        (*bb280f7)
  * agetty-on-s390-on-dev-3270-tty1-line.patch           (*f2bcda5)
  * sulogin-does-not-find-any-console.patch              (*624b204)
  * util-linux-setarch-uname26.patch                     (*f6eb160)
  * util-linux-ng-2.16-squashfs3-detect.patch            (*11402f5)
  * util-linux-lscpu-improve-hypervisor-detection.patch
                     (!b774473, b32488c, 5bd31c6, 0f0c558, 96ce475)
    WARNING, INCOMPATIBLE CHANGE: "lscpu -p" no more reports
    hypervisor, as it breaks standard behavior. Use standard output
    instead! (FATE#310255)
  * blkid-stop-scanning-on-I-O-error.patch               (+296d96e)
  * blkid-convert-superblocks-to-new-calling-convention.patch
                                                         (+37f4060)
  * util-linux-libblkid-ext-probe.patch                  (*a1ca32f)
  * util-linux-hwclock-drift-check.patch                 (*f196fd1)
  * util-linux-hwclock-adjtime-check.patch               (*db8fc5f)
- Dropped obsolete patch:
  * util-linux-2.23.1-eject-fpie.patch      (eject is no more SUID)
  * util-linux-2.24-fdisk_remove_bogus_warnings.patch
                             (upstream fixed it in a different way)
  * util-linux-HACK-boot.localfs.diff
                         (MOUNT_PRINT_SOURCE is no more referenced)
- Ported and renamed:
  * util-linux-2.23.1-noenc-suse.diff
    -> util-linux-noenc-suse.patch
- Split spec file to three stages:
  * util-linux.spec: Everything that do not need python or systemd.
  * util-linux-systemd.spec: Stuff that needs systemd:
    util-linux-systemd and uuidd
    NOTE: Not building systemd-less variants of utilities.
  * python-libmount.spec: Just python-libmount
- Move bash-completion files to correct packages.
- Add patch util-linux-bash-completion-blockdev.patch.
- Add hacks to prevent damaging of spec files by format_spec_file
  (bnc#891152, also edited util-linux-rpmlintrc).
- use nologin from upstream (was added in 2.24)

OBS-URL: https://build.opensuse.org/request/show/244468
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=248
2014-08-21 09:54:57 +00:00
Stephan Kulow
ed823ddc37 Accepting request 242479 from home:dimstar:branches:Base:System
Really fix it

OBS-URL: https://build.opensuse.org/request/show/242479
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=246
2014-07-26 11:53:59 +00:00
Stephan Kulow
8470bfdd47 - fix requires of devel-static packages
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=245
2014-07-26 09:39:46 +00:00
Stephan Kulow
8a35765de5 Accepting request 242233 from home:dsterba:branches:Base:System
SR: the static packages should not be used normally, but can be used
by standalone rescue utilities (planned for btrfsprogs).

- enable build of libmount-devel-static, libuuid-devel-static and
  libblkid-devel-static

OBS-URL: https://build.opensuse.org/request/show/242233
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=244
2014-07-25 07:31:27 +00:00
Ruediger Meier
4f89b2fa1a Accepting request 235657 from home:rudi_m:xxx
- use nologin from upstream (was added in 2.24) 
- remove unknown configure options
- remove unused and outdated suse READMEs
- require bc for checks

OBS-URL: https://build.opensuse.org/request/show/235657
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=242
2014-05-28 10:59:39 +00:00
Ruediger Meier
c56100b554 Accepting request 234334 from home:rudi_m:branches:uuu
squashed sr234195  and re-submitted

- Prevent excessive clock drift calculations (bnc#871698,
  util-linux-prevent-excessive-clock-drift-calculations.patch),
  committed by sbrabec@suse.cz

OBS-URL: https://build.opensuse.org/request/show/234334
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=240
2014-05-20 18:42:15 +00:00
Dr. Werner Fink
d478c097f8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=237
2014-05-07 14:13:18 +00:00
Dr. Werner Fink
485304a4e8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=236
2014-05-07 13:43:50 +00:00
Dr. Werner Fink
23975498de .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=235
2014-05-07 13:37:00 +00:00
e41b22aefc Accepting request 231272 from home:rudi_m:branches:util-linux
- minor update to util-linux 2.24.2
- remove tty3270-on-serial-line-of-s390.patch (was already upstream
  since 2.24.1)
- remove barrier_documentation.patch (applied upstream)
- rebase blkid-convert-superblocks-to-new-calling-convention.patch

OBS-URL: https://build.opensuse.org/request/show/231272
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=233
2014-04-28 09:28:44 +00:00
737b1a31db Accepting request 230696 from home:sbrabec:branches:Base:System
- Enable socket activation needed by systemd service (bnc#872807).

- libblkid: Drop the broken ext2/ext3/ext4 discrimination logic
  (util-linux-libblkid-ext-probe.patch, bnc#864703).

- Abort blkid probing on I/O errors (bnc#859062,
  blkid-stop-scanning-on-I-O-error.patch,
  blkid-convert-superblocks-to-new-calling-convention.patch,
  http://www.spinics.net/lists/util-linux-ng/msg08976.html)

OBS-URL: https://build.opensuse.org/request/show/230696
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=231
2014-04-17 21:31:05 +00:00
Stephan Kulow
4cf84bd5f1 Accepting request 228719 from home:rudi_m:uuu
- remove unnecessarily added patches from SLE11:
  * util-linux-update-default-commit-interval.patch, openSUSE  has
    never changed the default and neither will SLE12
  * sfdisk-warn-about-2TB-limit.patch, fixed by upstream years ago
  * umount-avoid-readlink.patch, this patch only affects unused
    code and the used code does not have this bug
- edit util-linux-lscpu-improve-hypervisor-detection.patch to not
  change the default behaviour of "lscpu -p" as documented in it's
  man page. Now this patch only affects the summary output.

Also see discussion here
http://lists.opensuse.org/opensuse-factory/2014-03/msg00256.html

OBS-URL: https://build.opensuse.org/request/show/228719
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=229
2014-04-04 14:54:05 +00:00
1806747cca Accepting request 226509 from home:sbrabec:branches:Base:System
- Merge fixes and features from SLE11 (bnc#831868):
  * Detect squashfs version <= 3 as squashfs3 and version >= 4 as
    squashfs. (mszeredi@suse.cz,
    util-linux-ng-2.16-squashfs3-detect.patch, bnc#666893)
  * add sfdisk-warn-about-2TB-limit.patch (puzel@novell.com,
    bnc#495657)
  * Document barrier option in mount.8 (jack@suse.cz,
    hvogel@suse.de,
    util-linux-ng-2.19.1-barrier_documentation.patch, bnc#489740)
  * lscpu: improve hypervisor detection (puzel@novell.com,
    fate#310255)
    - util-linux-lscpu-improve-hypervisor-detection.patch
  * umount: avoid calling readlink on mountpoints if not necessary
    - add: umount-avoid-readlink.patch (puzel@suse.com, bnc#794529)
  * fix file conflict between util-linux and s390-32
    (puzel@suse.com, bnc#805684)
  * util-linux-update-default-commit-interval.patch:
    mount(8): update default commit interval (puzel@suse.com,
    bnc#809480)
  * Obsolete no more packaged uuid-runtime.
- Add uname26 (util-linux-setarch-uname26.patch, FATE#313476).

OBS-URL: https://build.opensuse.org/request/show/226509
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=227
2014-03-20 08:19:43 +00:00
d4b4a095b8 Accepting request 221543 from home:AndreasStieger:branches:Base:System
util-linux 2.24.1

OBS-URL: https://build.opensuse.org/request/show/221543
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=223
2014-02-13 08:09:46 +00:00
Dr. Werner Fink
2ea1a6c269 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=220
2014-02-07 15:58:52 +00:00
Dr. Werner Fink
e66e0cdc2e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=219
2014-02-06 10:05:12 +00:00
Dr. Werner Fink
447cc5648c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=217
2014-02-04 12:04:58 +00:00
Dr. Werner Fink
15566fa280 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=211
2014-02-04 08:51:23 +00:00
Dr. Werner Fink
7a6a2e8526 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=209
2014-02-03 16:17:17 +00:00
041eeaa17d Accepting request 215357 from home:saschpe:branches:Base:System
- Don't verify /usr/bin/eject, it lost the SUID bit and was dropped
  from /etc/permissions (bnc#824406)

OBS-URL: https://build.opensuse.org/request/show/215357
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=207
2014-01-29 09:39:49 +00:00
Stephan Kulow
cb34d8ce38 Accepting request 213676 from home:fcrozat:branches:Base:System
- Ensure localstatedir value used by configure is /run (changed to that
  value upstream since 2012).

OBS-URL: https://build.opensuse.org/request/show/213676
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=203
2014-01-13 16:28:29 +00:00
Dr. Werner Fink
50031106a1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=201
2014-01-10 14:07:34 +00:00
Dr. Werner Fink
18266d8ec7 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=199
2014-01-10 13:13:23 +00:00
21aa5c0ad4 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=197 2013-12-13 15:31:54 +00:00
2f735a5283 Accepting request 210398 from home:rudi_m:branches:Base:System
- Update to util-linux-2.24, see package changelog and
  ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24-ReleaseNotes

Most notable spec file changes:
- 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.

OBS-URL: https://build.opensuse.org/request/show/210398
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=196
2013-12-12 12:34:11 +00:00
Dr. Werner Fink
a6447d94bb .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=194
2013-11-29 13:48:16 +00:00
Dr. Werner Fink
810cf97189 Accepting request 205643 from home:AndreasSchwab:ff
- blkdiscard-BLKSSZGET-fills-in-an-int.patch: Fix type mismatch in
  blkdiscard

OBS-URL: https://build.opensuse.org/request/show/205643
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=192
2013-11-05 11:09:54 +00:00
662b97eb26 Accepting request 204834 from home:sbrabec:branches:Base:System
- Drop SUID flag for eject (bnc#824406).

Depends on request id 204833!

OBS-URL: https://build.opensuse.org/request/show/204834
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=190
2013-10-28 10:50:01 +00:00
78ce902c9f Accepting request 202697 from home:Andreas_Schwab:Factory
- No *fdisk on m68k

OBS-URL: https://build.opensuse.org/request/show/202697
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=188
2013-10-09 15:02:58 +00:00
Andreas Jaeger
4d419a5f4a Accepting request 201935 from home:sbrabec:branches:Base:System
- Safely migrate su config files from coreutils to util-linux
  (bnc#814626#c18).

OBS-URL: https://build.opensuse.org/request/show/201935
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=186
2013-10-08 08:48:43 +00:00
100f95465b Accepting request 201241 from home:mgorse:branches:Base:System
- Add more-check-for-buffer-size-when-write-multibyte-char.patch and
  more-guarantee-space-for-multibyte.patch -- check for buffer space with
  multi-byte chars (BNC#829720).

OBS-URL: https://build.opensuse.org/request/show/201241
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=184
2013-09-29 18:37:54 +00:00
34b3e62806 Accepting request 201207 from home:mgorse:branches:Base:System
- Add more-fix-buffer-overflow.patch (bnc#829720).

OBS-URL: https://build.opensuse.org/request/show/201207
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=182
2013-09-27 20:15:17 +00:00
Dr. Werner Fink
e28a9fbb55 Avoid build require gpg-offline twice
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=179
2013-09-13 07:08:46 +00:00
Dr. Werner Fink
c4eeece1b1 Accepting request 198586 from home:sbrabec:branches:Base:System
VERIFY_SIG is not set, as it is expected to cause build loops.

If you want to set it to 1, then it would depend on request 198583.

- Update to version 2.23.2:
  nsenter(1):
  * this NEW COMMAND provides command line interface to setns()
    Linux syscall and allows to run program with namespaces of
    other processes
  unshare(1):
  * supports new PID and USER namespaces
  fdisk(8):
  * provides experimental support for GUID Partition Table (GPT),
    the implementation is still not complete and some (unimportant)
    features are missing.
  * ~50% of fdisk code has been refactored, this task is going to
    be complete in the next release. The goal is to have libfdisk
    shared between all fdisks.
  partx(8):
  * supports new "update" command (implemented by
    BLKPG_RESIZE_PARTITION ioctl)
  mount(8):
  * supports new userspace mount option x-mount.mkdir[=<mode>] to
    create mountpoints on demand
  * the support for propagation flags has been improved, now the
    flags could be specified in /etc/fstab and used together with
    regular mount options. It's also possible to specify more
    propagation flags together. This EXPERIMENTAL feature is
    implemented by additional mount(2) syscalls, because Linux does
    not allow to use propagation flags with another options or more
    flags together.
  umount(8):
  * supports new command line option --recursive to recursively
    unmount all sub-mounts for the specified mountpoint * supports
    new command line option --all-targets to unmount all
    mountpoints in the current namespace for the specified
    filesystem * the options --recursive and --all-targets could be
    used together
  dmesg(1):
  * supports new command line options --color, --human and
  --nopager, the --human option enables relative times, colors and
  pager support.
  su(1):
  * supports new command line options --group and --supp-group to
    specify primary and supplementary groups
  chfn(1) and chsh(1):
  * the commands could be linked with libuser to support non-local
    accounts modification (e.g. LDAP, etc).
  kill(1):
  * the command has been improved to be compatible with procps
    version, the procps version is deprecated now, the util-linux
    version is enabled by default.
  blkdiscard(8):
  * this NEW COMMAND discard sectors on a device (for example on
    SSD disks)
  sulogin(8):
  * provides multi-console feature from SysVinit
  findmnt(8):
  * provides new columns FREQ, PASSNO, ID, OPT-FIELDS, PROPAGATION
  lslocks(8):
  * provides new column BLOCKER and detects blocked locks
  lsblk(8):
  * supports new command line option --scsi and new columns HCTL,
    TRANsport VENDOR and REVision
  swapon(8) and losetup(8):
  * the commands prints basic overview by default if no option
    specified
  column(1):
  * supports new command line option --output-separator to specify
    table output delimiter
  rename(1):
  * supports new command line option --symlink to rename symlink
    target
  hwclock(8):
  * supports new command line option --compare to periodically
    compare the Hardware Clock to the System Time (based on
    adjtimex -c)
  ipcs(1):
  * supports new command line options --bytes and --human
  wipefs(1):
  * supports new command line option --force to force erase on used
    devices

OBS-URL: https://build.opensuse.org/request/show/198586
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=178
2013-09-12 15:29:39 +00:00
4f8a3a75b4 Accepting request 181632 from home:bernhard-voelker:branches:Base:System
Correct condition for Conflicts of sysvinit-tools.

OBS-URL: https://build.opensuse.org/request/show/181632
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=176
2013-07-01 14:31:56 +00:00
Dr. Werner Fink
bb25658a8a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=175
2013-07-01 07:09:23 +00:00
Dr. Werner Fink
da8a3dd332 Accepting request 181367 from home:sbrabec:branches:Base:System
- Fix Provides and Obsoletes of eject.
- Conflict with old coreutils and sysvinit-tools with conflicting
  files to guarantee seamless upgrade.
- Remove Provides and Obsoletes of packages that do not exist since
  SuSE Linux 8.
- Include upstreamed patch from SUSE eject package:
  Check eject host_status and driver_status when using SG_IO
  (eject-scsi-check-host_status-and-driver_status.patch,
  bnc#358033).

It works-around  the second-build "unresolvable" status in request id 181063:
http://lists.opensuse.org/opensuse-buildservice/2013-06/msg00246.html

OBS-URL: https://build.opensuse.org/request/show/181367
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=174
2013-06-29 10:05:39 +00:00
Stephan Kulow
d76c3bc61e OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=172 2013-06-20 19:14:46 +00:00
f4381756a6 Accepting request 179650 from Base:build
- rely on systemd-rpm-macros instead of the full thing

OBS-URL: https://build.opensuse.org/request/show/179650
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=171
2013-06-19 14:32:02 +00:00
ca7fb5a4f4 Accepting request 178821 from home:bernhard-voelker:branches:Base:System
- util-linux.spec: remove previously added "moving-su-trickery" again
  as a su-less coreutils packet is in Base:Build and Factory now.

OBS-URL: https://build.opensuse.org/request/show/178821
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=169
2013-06-13 09:01:57 +00:00
Stephan Kulow
c0a307014c Accepting request 177950 from home:bernhard-voelker:branches:Base:System
- util-linux.spec: work around su(1) PAM problems based on su(1)
  being provided by both the coreutils and the util-linux package.
  Fix macro typo in %post and %verifyscript sections related to su(1):
    s/sysvinit_tools/enable_su/

OBS-URL: https://build.opensuse.org/request/show/177950
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=167
2013-06-07 04:34:16 +00:00
Dr. Werner Fink
78ca94ad29 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=166
2013-06-06 09:42:28 +00:00
Dr. Werner Fink
007a355a6d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=160
2013-06-05 13:07:12 +00:00
1dd2f9d8c6 Accepting request 177733 from home:ihno:branches:Base:System
Added mkfs.bfs_cleanup64bit.patch and mkfs.bfs_cleanup_endian.patch to fix 64Bit and endian issues.

OBS-URL: https://build.opensuse.org/request/show/177733
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=159
2013-06-05 12:07:19 +00:00
Andreas Jaeger
7650fbe6dd Split util-linux for SRPM clarity (resend of sr#149338)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=157
2013-03-26 14:44:19 +00:00
53709cce71 Accepting request 155674 from home:Andreas_Schwab:Factory
- fdiskbsdlabel.patch:
  Fix fdisk compilation on aarch64

OBS-URL: https://build.opensuse.org/request/show/155674
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=155
2013-02-18 09:32:27 +00:00
7a4e9f4908 Accepting request 151292 from home:elvigia:branches:Base:System
**For 12.3 too **

- Current glibc in 12.3/factory no longer exports internal 
  function __secure_getenv() but has secure_getenv() instead.

OBS-URL: https://build.opensuse.org/request/show/151292
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=152
2013-02-06 10:01:24 +00:00
Petr Uzel
b30522c80d - add-canonicalize_path_restricted.patch,
mount-sanitize-paths-from-non-root-users.patch,
  umount-sanitize-paths-from-non-root-users.patch:
  prevent leaking information about existence of folders
  (bnc#797002, CVE-2013-0157)

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=150
2013-01-07 13:47:48 +00:00
Andreas Jaeger
168e109a16 Accepting request 146536 from home:elvigia:branches:Base:System
- 0001-include-bitops.h-Use-the-operating-system-byteswappi.patch 
  Use OS byteswapping macros, this patch is functionally identical
  to the version submitted upstream with the exception it excludes
  code that target non-linux systems.

OBS-URL: https://build.opensuse.org/request/show/146536
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=148
2013-01-03 07:44:27 +00:00
Robert Milasan
ac867b5609 Accepting request 135092 from home:jirislaby:branches:Base:System
login: close tty before vhangup (bnc#778842)

OBS-URL: https://build.opensuse.org/request/show/135092
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=145
2012-09-20 07:10:39 +00:00
Petr Uzel
13c932106f Accepting request 125509 from home:lnussel:branches:Base:System
add a hack for boot.localfs to determine the devices to wait for
(uses mount -avn).
yes it's an ugly hack that will never make it upstream but it's the
least intrustive workaround I could come up with atm. Suggestions
welcome though :-)

OBS-URL: https://build.opensuse.org/request/show/125509
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=142
2012-06-20 11:15:52 +00:00
207244553a Accepting request 125389 from home:lnussel:branches:Base:System
- remove encryption options completely as upstream will do that as
  well in the next release (bnc#748879).

OBS-URL: https://build.opensuse.org/request/show/125389
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=141
2012-06-19 07:55:51 +00:00
Petr Uzel
5b9d0884d3 - improve error messages from new mount (bnc#767208)
- backport patches from upstream git:
  - mount-new-add-loopdev-specific-error-message.patch
  - mount-new-use-MNT_ERR-for-error-messages.patch
  - libmount-add-special-MNT_ERR-codes.patch
  - mount-new-improve-error-messages.patch
  - libmount-add-MNT_ERR_LOOPDEV.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=139
2012-06-15 13:00:49 +00:00
Petr Uzel
34c9b14737 - fix automount with quota (rh#825836)
- mount-new-allow-sloppy-for-non-root.patch
- fix wrong mount options for CIFS mounts (bnc#766157)
  - libmount-don-t-use-nosuid-noexec-nodev-for-cifs-user.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=138
2012-06-14 13:11:26 +00:00
Petr Uzel
eae160c0e8 Accepting request 123013 from home:rudi_m:branches:Base:System
- require binutils-devel because "which" wants to find libiberty.a
- remove which-lib64.patch because it's broken and couldn't find
  libiberty.a whithin /usr/lib64 
- which doesn't need autoreconf anymore

OBS-URL: https://build.opensuse.org/request/show/123013
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=136
2012-05-31 14:44:07 +00:00
Petr Uzel
dc3266d286 - switch to new libmount-based mount(8)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=135
2012-05-29 09:39:29 +00:00
Petr Uzel
24d446192f update to 2.21.2
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=133
2012-05-25 12:17:08 +00:00
Petr Uzel
a8b33b2fab - build with RPM_OPT_FLAGS again (removed by mistake)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=132
2012-05-25 12:04:05 +00:00
Petr Uzel
cda85ece59 - fix miscalculation in sfdisk on ix86 (bnc#754789)
- add sfdisk-fix-calculation-due-to-type-mismatch.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=130
2012-04-12 09:13:46 +00:00
Petr Uzel
878fa859c3 - update to util-linux-2.21.1
- bugfix release

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=128
2012-03-31 15:04:41 +00:00
Andreas Jaeger
e5011de284 Accepting request 109640 from home:fcrozat:branches:Base:System
- Fix Obsoletes / Provides for login.

OBS-URL: https://build.opensuse.org/request/show/109640
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=126
2012-03-16 09:57:54 +00:00
Thorsten Kukuk
224d1b1111 - Enable /bin/login and obsolete old fork now merged back upstream.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=124
2012-03-14 14:25:45 +00:00
Petr Uzel
b71bcabe24 Accepting request 108417 from home:rjschwei:branches:Base:System
- keep binaries in /usr tree (UsrMerge project)

OBS-URL: https://build.opensuse.org/request/show/108417
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=123
2012-03-13 12:38:21 +00:00
Petr Uzel
5d3ab78313 fix tarball url
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=121
2012-02-25 12:47:23 +00:00
Petr Uzel
b8c964b252 update to 2.21 final
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=120
2012-02-24 13:58:32 +00:00
Petr Uzel
7a5a401d6b Accepting request 106788 from home:puzel:branches:Base:System
update to 2.21-rc2

OBS-URL: https://build.opensuse.org/request/show/106788
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=119
2012-02-24 10:56:25 +00:00
Petr Uzel
0a252961be Accepting request 105598 from home:jengelh:branches:Base:System
- Remove redundant tags/sections

OBS-URL: https://build.opensuse.org/request/show/105598
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=118
2012-02-17 14:30:01 +00:00
Stephan Kulow
d9de2d5495 - do not call %suse_update_config
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=115
2011-12-25 22:19:56 +00:00
OBS User buildservice-autocommit
ebebeb6860 Updating link to change in openSUSE:Factory/util-linux revision 141.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=131e71231edf242d9ea6c5ded6976b5d
2011-12-06 18:11:00 +00:00
4ed3e2663c Accepting request 92886 from home:a_jaeger:branches:openSUSE:Factory
- add fdisk-tinfo.patch to fix build with newer curses.

OBS-URL: https://build.opensuse.org/request/show/92886
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=113
2011-11-21 17:09:42 +00:00
Andreas Jaeger
303c96e0ad Accepting request 91532 from home:coolo:removelibtool
- add libtool as buildrequire to avoid implicit dependency

OBS-URL: https://build.opensuse.org/request/show/91532
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=111
2011-11-15 13:19:38 +00:00
Petr Uzel
975eb859b7 - add libmount-ignore-tailing-slash-in-netfs-source-paths.patch and
libmount-fix-chdir-to-parent-for-restricted-user-umo.patch:
  fix umounting network filesystems as plain user (bnc#728480)

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=108
2011-11-09 08:31:29 +00:00
Petr Uzel
d546e5237c add fsck-use-FS-blacklist-for-non-all-mode-too.patch (bnc#728645)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=105
2011-11-08 09:41:46 +00:00
Petr Uzel
688841e354 add util-linux-dmesg-fix-printing-of-multibyte-characters.patch (bnc#725993)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=102
2011-11-02 09:39:46 +00:00
Petr Uzel
e11af64b64 update to 2.20.1
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=99
2011-10-20 13:04:33 +00:00
Petr Uzel
547b28ab26 - add fdisk-dont-shorten-long-path-to-disk.patch (bnc#722959)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=96
2011-10-12 09:30:22 +00:00
cfed2efb65 Accepting request 86523 from home:uli_suse:branches:Base:System
- cross-build fix: use %__cc, %configure macros
- set bindir explicitly when installing
- (cross-?)build fix: disable build dependency on SELINUX_LIBS
  in libmount

OBS-URL: https://build.opensuse.org/request/show/86523
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=94
2011-10-05 15:26:36 +00:00
OBS User buildservice-autocommit
c11dcc6334 Updating link to change in openSUSE:Factory/util-linux revision 131.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=c53d81a50155234eade7e147795289a6
2011-09-13 10:39:13 +00:00
Petr Uzel
d6869f2b7e add util-linux-lib-sysfs-deinit.patch (bnc#714151)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=91
2011-09-13 09:13:50 +00:00
OBS User buildservice-autocommit
5afac4e80d Updating link to change in openSUSE:Factory/util-linux revision 129.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=b29a143e56b365223baf40db05a15bae
2011-08-30 14:05:30 +00:00
Petr Uzel
4959192629 sfdisk manpage fix
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=89
2011-08-30 08:23:29 +00:00
Petr Uzel
8835044316 update to 2.20
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=88
2011-08-30 08:14:19 +00:00
OBS User buildservice-autocommit
85347f8495 Updating link to change in openSUSE:Factory/util-linux revision 127.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=bd143c53aeca2c6bba6845e3b58df502
2011-08-26 08:33:36 +00:00
4b266559a9 Accepting request 79843 from Base:build
- BuildIgnore pwdutils.

OBS-URL: https://build.opensuse.org/request/show/79843
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=86
2011-08-26 07:32:58 +00:00
OBS User buildservice-autocommit
86e25ffa0b Updating link to change in openSUSE:Factory/util-linux revision 125.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=93b4f08f8da0bde81a9e531e835e97d4
2011-08-17 12:01:38 +00:00
Petr Uzel
4667eec309 update to 2.20-rc2
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=84
2011-08-17 10:46:34 +00:00
OBS User buildservice-autocommit
9b3333d97a Updating link to change in openSUSE:Factory/util-linux revision 123.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=481f0bb4f41dfa9989a94f0e798a268c
2011-08-11 07:41:24 +00:00
Petr Uzel
efd9d9938b bnc#710877
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=82
2011-08-10 13:51:17 +00:00
Petr Uzel
bc8a55af3a bnc#710417
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=81
2011-08-10 12:23:00 +00:00
Petr Uzel
970e26d757 bnc#711240
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=80
2011-08-10 09:09:12 +00:00
Petr Uzel
ab8877e45d update to 2.20-rc1
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=78
2011-08-02 14:03:08 +00:00
OBS User buildservice-autocommit
8111f09ff1 Updating link to change in openSUSE:Factory/util-linux revision 120.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=1b62e34479f5e9a51d7910aacf3e7472
2011-05-04 07:05:07 +00:00
Petr Uzel
bcb2ee8c13 update to 2.19.1
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=76
2011-05-03 12:17:05 +00:00
Petr Uzel
71b5113d8b clean up two colliding patches
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=75
2011-04-14 16:48:17 +00:00
OBS User buildservice-autocommit
36dfbce143 Updating link to change in openSUSE:Factory/util-linux revision 118.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=129e026aaf9e335d1fc9b741dcde454c
2011-02-22 12:16:29 +00:00
Petr Uzel
9fdd48819d bnc#666161
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=73
2011-02-22 09:01:22 +00:00
Petr Uzel
087c220d1a update to 2.19
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=71
2011-02-10 11:31:55 +00:00
OBS User buildservice-autocommit
7d8a75db87 Updating link to change in openSUSE:Factory/util-linux revision 114.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=70386f52b5dd921d50a2e9275c3a442c
2011-01-28 15:55:11 +00:00
Petr Uzel
d7ed9240c0 update to 2.19-rc3
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=69
2011-01-26 11:52:47 +00:00
OBS User buildservice-autocommit
7852137652 Updating link to change in openSUSE:Factory/util-linux revision 112.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=d1c5330d3295cf96c3e5df0defecea3b
2011-01-25 14:30:45 +00:00
Cristian Rodríguez
2e082548be Accepting request 59080 from home:lnussel:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/59080
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=67
2011-01-25 12:14:55 +00:00
OBS User buildservice-autocommit
245f2f9572 Updating link to change in openSUSE:Factory/util-linux revision 110.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=ffdf65c3d798b94f38296e8fb2c7f3e6
2011-01-18 10:38:37 +00:00
Kay Sievers
c19c41fd92 Accepting request 58662 from home:bmwiedemann:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/58662
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=65
2011-01-18 10:09:43 +00:00
OBS User buildservice-autocommit
59a2310563 Updating link to change in openSUSE:Factory/util-linux revision 108.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=39118f2a5ad71f0b9718a331002531b6
2011-01-14 00:23:30 +00:00
Petr Uzel
908c065a69 get rid of BR: libmount1 hack
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=63
2011-01-12 08:57:38 +00:00
Petr Uzel
fa7691ac65 Accepting request 57893 from home:puzel:staging
OBS-URL: https://build.opensuse.org/request/show/57893
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=62
2011-01-11 15:19:40 +00:00
OBS User buildservice-autocommit
fa8c4863b3 Updating link to change in openSUSE:Factory/util-linux revision 106.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=b5fca05cd795249405f746c49d4d387e
2010-12-19 11:40:49 +00:00
Petr Uzel
fda6a92214 add util-linux-swapon-canonicalize-swap-device.patch (bnc#641142)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=60
2010-12-14 16:25:55 +00:00
Kay Sievers
3e18c572fe add Provides:fsck
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=57
2010-11-26 18:15:49 +00:00
Kay Sievers
2ebd45586c add fsck -l option
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=56
2010-11-25 12:42:37 +00:00