X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=coreutils%2Fcoreutils.nm;h=a85b6a8724dbadf9c5d5765981d1b196e4dd9b1c;hb=bb097c543845375c4c347cc09d57bdcb5343a0fd;hp=3b04de3bd79691dd092e9bb83f4ad14fc854e2a8;hpb=0efbb74b89b62afa34b6075a3e6e79dea0cd6116;p=ipfire-3.x.git diff --git a/coreutils/coreutils.nm b/coreutils/coreutils.nm index 3b04de3bd..a85b6a872 100644 --- a/coreutils/coreutils.nm +++ b/coreutils/coreutils.nm @@ -4,8 +4,8 @@ ############################################################################### name = coreutils -version = 8.16 -release = 3 +version = 8.30 +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,55 +25,37 @@ 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 + --with-tty-group - prepare_cmds - aclocal -I m4 - autoconf --force + test + make check RUN_VERY_EXPENSIVE_TESTS=yes || true end - # FIXME broken - #test - # make check - #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} - dircolors -p > %{BUILDROOT}/etc/DIR_COLORS + for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do + install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir} + done # Install profile.d. mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/ @@ -113,12 +95,10 @@ packages /bin/sleep /bin/sort /bin/stty - /bin/su /bin/sync /bin/touch /bin/true /bin/uname - /sbin/runuser end conflicts