]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - coreutils/coreutils.nm
coreutils: Remove non working tests from testsuite.
[people/arne_f/ipfire-3.x.git] / coreutils / coreutils.nm
CommitLineData
166a6c21 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
166a6c21
MT
4###############################################################################
5
802ea3af 6name = coreutils
6987acf5 7version = 8.16
651b9950 8release = 4
166a6c21 9
d0d49567 10groups = System/Base
802ea3af
MT
11url = http://www.gnu.org/software/coreutils/
12license = GPLv3+
13summary = A set of basic GNU tools commonly used in shell scripts.
166a6c21 14
802ea3af 15description
e7f6ab54 16 These are the GNU core utilities. This package is the combination of
166a6c21 17 the old GNU fileutils, sh-utils, and textutils packages.
802ea3af
MT
18end
19
20source_dl = http://ftp.gnu.org/gnu/coreutils/
21sources = %{thisapp}.tar.xz
166a6c21 22
802ea3af
MT
23build
24 requires
25 autoconf
26 automake
27 e2fsprogs-devel
28 gmp-devel
29 libacl-devel
30 libattr-devel
31 libcap-devel
32 libselinux-devel
33 ncurses-devel
fa4603be 34 pam-devel>=1.1.5
802ea3af 35 end
166a6c21 36
e7f6ab54
SS
37 CFLAGS += \
38 -D_GNU_SOURCE=1 \
39 -fno-strict-aliasing
40
802ea3af 41 configure_options += \
8623a35a 42 --libexecdir=%{libdir} \
802ea3af
MT
43 --enable-pam \
44 --enable-selinux \
45 --enable-largefile \
e7f6ab54 46 --disable-rpath \
c5869e53 47 --enable-install-program=arch,su \
6987acf5 48 --enable-no-install-program=hostname,kill,uptime \
576c025c
MT
49 --with-tty-group \
50 \
51 gl_cv_func_mknod_works=yes
166a6c21 52
802ea3af
MT
53 prepare_cmds
54 aclocal -I m4
55 autoconf --force
56 end
166a6c21 57
651b9950
SS
58 test
59 make check
60 end
576c025c
MT
61
62 make_install_targets += install-man
166a6c21 63
802ea3af 64 install_cmds
576c025c
MT
65 mkdir -pv %{BUILDROOT}%{sbindir}
66 mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
67 mv -v %{BUILDROOT}/usr/bin/runuser %{BUILDROOT}%{sbindir}
e7a5bed3 68
576c025c
MT
69 # su (set right capabilities)
70 chmod -v u-s %{BUILDROOT}%{bindir}/su
71 setcap cap_setgid,cap_setuid+ep %{BUILDROOT}%{bindir}/su
166a6c21 72
802ea3af 73 # Dump /etc/DIR_COLORS
576c025c 74 mkdir -pv %{BUILDROOT}%{sysconfdir}
802ea3af 75 dircolors -p > %{BUILDROOT}/etc/DIR_COLORS
166a6c21 76
576c025c
MT
77 # Install profile.d.
78 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
79 cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/
802ea3af
MT
80 end
81end
e35eb77b 82
802ea3af
MT
83packages
84 package %{name}
d0d49567 85 groups += Base Build
576c025c
MT
86
87 provides
88 /bin/basename
89 /bin/cat
90 /bin/chgrp
91 /bin/chmod
92 /bin/chown
93 /bin/cp
94 /bin/cut
95 /bin/date
96 /bin/dd
97 /bin/df
98 /bin/echo
99 /bin/env
100 /bin/false
101 /bin/ln
102 /bin/ls
103 /bin/mkdir
104 /bin/mknod
105 /bin/mktemp
106 /bin/mv
107 /bin/nice
108 /bin/pwd
109 /bin/readlink
110 /bin/rm
111 /bin/rmdir
112 /bin/sleep
113 /bin/sort
114 /bin/stty
115 /bin/su
116 /bin/sync
117 /bin/touch
118 /bin/true
119 /bin/uname
120 /sbin/runuser
121 end
122
123 conflicts
124 filesystem < 002
125 end
d0d49567 126 end
1f9bc2f0
MT
127
128 package %{name}-debuginfo
129 template DEBUGINFO
130 end
802ea3af 131end