1 |
vapier 08/06/01 12:11:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: coreutils-6.12.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_pre5.spank.spunk) |
8 |
|
9 |
Revision Changes Path |
10 |
1.236 sys-apps/coreutils/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/coreutils/ChangeLog?rev=1.236&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/coreutils/ChangeLog?rev=1.236&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/coreutils/ChangeLog?r1=1.235&r2=1.236 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v |
19 |
retrieving revision 1.235 |
20 |
retrieving revision 1.236 |
21 |
diff -u -r1.235 -r1.236 |
22 |
--- ChangeLog 29 Apr 2008 16:44:55 -0000 1.235 |
23 |
+++ ChangeLog 1 Jun 2008 12:11:25 -0000 1.236 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-apps/coreutils |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.235 2008/04/29 16:44:55 ranger Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.236 2008/06/01 12:11:25 vapier Exp $ |
29 |
+ |
30 |
+*coreutils-6.12 (01 Jun 2008) |
31 |
+ |
32 |
+ 01 Jun 2008; Mike Frysinger <vapier@g.o> +coreutils-6.12.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
29 Apr 2008; Brent Baude <ranger@g.o> coreutils-6.10-r2.ebuild: |
36 |
stable ppc, bug 218927 |
37 |
|
38 |
|
39 |
|
40 |
1.1 sys-apps/coreutils/coreutils-6.12.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/coreutils/coreutils-6.12.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/coreutils/coreutils-6.12.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: coreutils-6.12.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.12.ebuild,v 1.1 2008/06/01 12:11:25 vapier Exp $ |
50 |
|
51 |
inherit eutils flag-o-matic toolchain-funcs autotools |
52 |
|
53 |
PATCH_VER="1.0" |
54 |
DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)" |
55 |
HOMEPAGE="http://www.gnu.org/software/coreutils/" |
56 |
SRC_URI="ftp://alpha.gnu.org/gnu/coreutils/${P}.tar.lzma |
57 |
mirror://gnu/${PN}/${P}.tar.lzma |
58 |
mirror://gentoo/${P}.tar.lzma |
59 |
mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma |
60 |
http://dev.gentoo.org/~vapier/dist/${P}-patches-${PATCH_VER}.tar.lzma" |
61 |
|
62 |
LICENSE="GPL-3" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
65 |
IUSE="acl nls selinux static xattr vanilla" |
66 |
|
67 |
RDEPEND="selinux? ( sys-libs/libselinux ) |
68 |
acl? ( sys-apps/acl ) |
69 |
xattr? ( sys-apps/attr ) |
70 |
nls? ( >=sys-devel/gettext-0.15 ) |
71 |
!<sys-apps/util-linux-2.13 |
72 |
!net-mail/base64 |
73 |
!sys-apps/mktemp |
74 |
>=sys-libs/ncurses-5.3-r5" |
75 |
DEPEND="${RDEPEND} |
76 |
app-arch/lzma-utils |
77 |
>=sys-devel/automake-1.10.1 |
78 |
>=sys-devel/autoconf-2.61 |
79 |
>=sys-devel/m4-1.4-r1" |
80 |
|
81 |
pkg_setup() { |
82 |
# fixup expr for #123342 |
83 |
if [[ $(/bin/expr a : '\(a\)') != "a" ]] ; then |
84 |
if [[ -x /bin/busybox ]] ; then |
85 |
ln -sf /bin/busybox /bin/expr |
86 |
else |
87 |
eerror "Your expr binary appears to be broken, please fix it." |
88 |
eerror "For more info, see http://bugs.gentoo.org/123342" |
89 |
die "your expr is broke" |
90 |
fi |
91 |
fi |
92 |
} |
93 |
|
94 |
src_unpack() { |
95 |
unpack ${A} |
96 |
cd "${S}" |
97 |
|
98 |
if ! use vanilla ; then |
99 |
EPATCH_SUFFIX="patch" \ |
100 |
PATCHDIR="${WORKDIR}/patch" \ |
101 |
EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \ |
102 |
epatch |
103 |
fi |
104 |
|
105 |
# Since we've patched many .c files, the make process will try to |
106 |
# re-build the manpages by running `./bin --help`. When doing a |
107 |
# cross-compile, we can't do that since 'bin' isn't a native bin. |
108 |
# Also, it's not like we changed the usage on any of these things, |
109 |
# so let's just update the timestamps and skip the help2man step. |
110 |
touch man/*.1 |
111 |
# There's no reason for this crap to use the private version |
112 |
sed -i 's:__mempcpy:mempcpy:g' lib/*.c |
113 |
|
114 |
use vanilla || AT_M4DIR="m4" eautoreconf |
115 |
} |
116 |
|
117 |
src_compile() { |
118 |
if ! type -p cvs > /dev/null ; then |
119 |
# Fix issues with gettext's autopoint if cvs is not installed, |
120 |
# bug #28920. |
121 |
export AUTOPOINT="/bin/true" |
122 |
fi |
123 |
|
124 |
local myconf="" |
125 |
[[ ${USERLAND} == "GNU" ]] || myconf="${myconf} --bindir=/usr/libexec/gnu" |
126 |
if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then |
127 |
myconf="${myconf} --without-included-regex" |
128 |
fi |
129 |
|
130 |
# cross-compile workaround #177061 |
131 |
[[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes |
132 |
|
133 |
use static && append-ldflags -static |
134 |
# kill/uptime - procps |
135 |
# groups/su - shadow |
136 |
# hostname - net-tools |
137 |
econf \ |
138 |
--enable-install-program="arch" \ |
139 |
--enable-no-install-program="groups,hostname,kill,su,uptime" \ |
140 |
--enable-largefile \ |
141 |
$(use_enable nls) \ |
142 |
$(use_enable acl) \ |
143 |
$(use_enable xattr) \ |
144 |
${myconf} \ |
145 |
|| die "econf" |
146 |
emake || die "emake" |
147 |
} |
148 |
|
149 |
src_test() { |
150 |
# Non-root tests will fail if the full path isnt |
151 |
# accessible to non-root users |
152 |
chmod -R go-w "${WORKDIR}" |
153 |
chmod a+rx "${WORKDIR}" |
154 |
addwrite /dev/full |
155 |
export RUN_EXPENSIVE_TESTS="yes" |
156 |
#export FETISH_GROUPS="portage wheel" |
157 |
make -k check || die "make check failed" |
158 |
} |
159 |
|
160 |
src_install() { |
161 |
emake install DESTDIR="${D}" || die |
162 |
rm -f "${D}"/usr/lib/charset.alias |
163 |
dodoc AUTHORS ChangeLog* NEWS README* THANKS TODO |
164 |
|
165 |
insinto /etc |
166 |
newins src/dircolors.hin DIR_COLORS || die |
167 |
|
168 |
if [[ ${USERLAND} == "GNU" ]] ; then |
169 |
cd "${D}"/usr/bin |
170 |
dodir /bin |
171 |
# move critical binaries into /bin (required by FHS) |
172 |
local fhs="cat chgrp chmod chown cp date dd df echo false ln ls |
173 |
mkdir mknod mv pwd rm rmdir stty sync true uname" |
174 |
mv ${fhs} ../../bin/ || die "could not move fhs bins" |
175 |
# move critical binaries into /bin (common scripts) |
176 |
local com="basename chroot cut dir dirname du env expr head mkfifo |
177 |
mktemp readlink seq sleep sort tail touch tr tty vdir wc yes" |
178 |
mv ${com} ../../bin/ || die "could not move common bins" |
179 |
# create a symlink for uname in /usr/bin/ since autotools require it |
180 |
local x |
181 |
for x in ${com} uname ; do |
182 |
dosym /bin/${x} /usr/bin/${x} || die |
183 |
done |
184 |
else |
185 |
# For now, drop the man pages, collides with the ones of the system. |
186 |
rm -rf "${D}"/usr/share/man |
187 |
fi |
188 |
} |
189 |
|
190 |
pkg_postinst() { |
191 |
ewarn "Make sure you run 'hash -r' in your active shells." |
192 |
} |
193 |
|
194 |
|
195 |
|
196 |
-- |
197 |
gentoo-commits@l.g.o mailing list |