diff --git a/srcpkgs/util-linux/files/login.pam b/srcpkgs/util-linux/files/login.pam index 167eb0ff66b..48b2f90e0c5 100644 --- a/srcpkgs/util-linux/files/login.pam +++ b/srcpkgs/util-linux/files/login.pam @@ -12,7 +12,7 @@ session optional pam_mail.so dir=/var/mail standard session optional pam_lastlog.so session required pam_unix.so session required pam_loginuid.so -session required pam_systemd.so +-session required pam_systemd.so session required pam_limits.so password required pam_unix.so sha512 shadow nullok try_first_pass use_authtok diff --git a/srcpkgs/util-linux/patches/sys-utils-dmesg-musl.patch b/srcpkgs/util-linux/patches/sys-utils-dmesg-musl.patch deleted file mode 100644 index 13c0330793a..00000000000 --- a/srcpkgs/util-linux/patches/sys-utils-dmesg-musl.patch +++ /dev/null @@ -1,17 +0,0 @@ -TIMESPEC_TO_TIMEVAL is a macro defined by glibc... remove this for musl-0.9.16. - ---- sys-utils/dmesg.c.orig 2014-01-07 21:40:23.490421172 +0100 -+++ sys-utils/dmesg.c 2014-01-07 21:41:22.419080539 +0100 -@@ -35,6 +35,12 @@ - #include "mangle.h" - #include "pager.h" - -+#ifndef TIMESPEC_TO_TIMEVAL -+#define TIMESPEC_TO_TIMEVAL(tv, ts) { \ -+ (tv)->tv_sec = (ts)->tv_sec; \ -+ (tv)->tv_usec = (ts)->tv_nsec / 1000; \ -+} -+#endif - /* Close the log. Currently a NOP. */ - #define SYSLOG_ACTION_CLOSE 0 - /* Open the log. Currently a NOP. */ diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index 30512815385..b3651738f39 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -1,7 +1,7 @@ # Template file for 'util-linux' pkgname=util-linux version=2.24.2 -revision=1 +revision=2 short_desc="Miscellaneous linux utilities" maintainer="Juan RP " homepage="http://userweb.kernel.org/~kzak/util-linux-ng" @@ -26,9 +26,9 @@ replaces="util-linux-ng>=0 e2fsprogs<=1.41.14_1 eject>=0 shadow<4.1.5.1_3" provides="eject-${version}_1" if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" libtool" + hostmakedepends+=" automake gettext-devel libtool" pre_configure() { - libtoolize -f + NOCONFIGURE=1 ./autogen.sh } fi @@ -45,11 +45,9 @@ do_configure() { --enable-socket-activation --localstatedir=/run \ SUID_CFLAGS="-fPIE" SUID_LDFLAGS="-pie" } - do_build() { make ${makejobs} } - do_install() { make DESTDIR=${DESTDIR} install