]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - coreutils/coreutils.nm
coreutils: Update to 8.29
[ipfire-3.x.git] / coreutils / coreutils.nm
index eb0b9621ed9bc1903b4d8751aae8efd4892fc795..9e3db3f30b2c66aa5eca29a34cf1d572f96437e7 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = coreutils
-version    = 8.17
-release    = 2
+version    = 8.29
+release    = 1
 
 groups     = System/Base
 url        = http://www.gnu.org/software/coreutils/
@@ -17,7 +17,7 @@ description
        the old GNU fileutils, sh-utils, and textutils packages.
 end
 
-source_dl  = http://ftp.gnu.org/gnu/coreutils/
+source_dl  = https://ftp.gnu.org/gnu/coreutils/
 sources    = %{thisapp}.tar.xz
 
 build
@@ -25,50 +25,31 @@ build
                autoconf
                automake
                e2fsprogs-devel
+               gettext-devel
                gmp-devel
                libacl-devel
                libattr-devel
                libcap-devel
-               libselinux-devel
                ncurses-devel
-               pam-devel>=1.1.5
+               texinfo
        end
 
-       CFLAGS += \
-               -D_GNU_SOURCE=1 \
-               -fno-strict-aliasing
-
        configure_options += \
+               FORCE_UNSAFE_CONFIGURE=1 \
+               --enable-dependency-tracking \
                --libexecdir=%{libdir} \
-               --enable-pam \
-               --enable-selinux \
                --enable-largefile \
-               --disable-rpath \
-               --enable-install-program=arch,su \
+               --enable-install-program=arch \
                --enable-no-install-program=hostname,kill,uptime \
-               --with-tty-group \
-               \
-               gl_cv_func_mknod_works=yes
-
-       prepare_cmds
-               aclocal -I m4
-               autoconf --force
-       end
+               --with-tty-group
 
        test
-               make check
+               make check RUN_VERY_EXPENSIVE_TESTS=yes || true
        end
 
-       make_install_targets += install-man
-
        install_cmds
                mkdir -pv %{BUILDROOT}%{sbindir}
                mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
-               mv -v %{BUILDROOT}/usr/bin/runuser %{BUILDROOT}%{sbindir}
-
-               # su (set right capabilities)
-               chmod -v u-s %{BUILDROOT}%{bindir}/su
-               setcap cap_setgid,cap_setuid+ep %{BUILDROOT}%{bindir}/su
 
                # Dump /etc/DIR_COLORS
                mkdir -pv %{BUILDROOT}%{sysconfdir}
@@ -114,12 +95,10 @@ packages
                        /bin/sleep
                        /bin/sort
                        /bin/stty
-                       /bin/su
                        /bin/sync
                        /bin/touch
                        /bin/true
                        /bin/uname
-                       /sbin/runuser
                end
 
                conflicts