1 |
vapier 07/12/08 21:16:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: e2fsprogs-1.40.3.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.4_rc4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.118 sys-fs/e2fsprogs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/e2fsprogs/ChangeLog?rev=1.118&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/e2fsprogs/ChangeLog?rev=1.118&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/e2fsprogs/ChangeLog?r1=1.117&r2=1.118 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v |
19 |
retrieving revision 1.117 |
20 |
retrieving revision 1.118 |
21 |
diff -u -r1.117 -r1.118 |
22 |
--- ChangeLog 26 Nov 2007 03:21:04 -0000 1.117 |
23 |
+++ ChangeLog 8 Dec 2007 21:16:40 -0000 1.118 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-fs/e2fsprogs |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v 1.117 2007/11/26 03:21:04 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v 1.118 2007/12/08 21:16:40 vapier Exp $ |
29 |
+ |
30 |
+*e2fsprogs-1.40.3 (08 Dec 2007) |
31 |
+ |
32 |
+ 08 Dec 2007; Mike Frysinger <vapier@g.o> +e2fsprogs-1.40.3.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
26 Nov 2007; Jeroen Roovers <jer@g.o> e2fsprogs-1.40.2.ebuild: |
36 |
Stable for HPPA (bug #200192). |
37 |
|
38 |
|
39 |
|
40 |
1.1 sys-fs/e2fsprogs/e2fsprogs-1.40.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.40.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.40.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: e2fsprogs-1.40.3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.40.3.ebuild,v 1.1 2007/12/08 21:16:40 vapier Exp $ |
50 |
|
51 |
inherit eutils flag-o-matic toolchain-funcs |
52 |
|
53 |
DESCRIPTION="Standard EXT2 and EXT3 filesystem utilities" |
54 |
HOMEPAGE="http://e2fsprogs.sourceforge.net/" |
55 |
SRC_URI="mirror://sourceforge/e2fsprogs/${P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2 BSD" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
60 |
IUSE="nls static elibc_FreeBSD" |
61 |
|
62 |
RDEPEND="~sys-libs/com_err-${PV} |
63 |
~sys-libs/ss-${PV} |
64 |
nls? ( virtual/libintl )" |
65 |
DEPEND="${RDEPEND} |
66 |
nls? ( sys-devel/gettext ) |
67 |
sys-apps/texinfo" |
68 |
|
69 |
src_unpack() { |
70 |
unpack ${A} |
71 |
cd "${S}" |
72 |
# Fix locale issues while running tests #99766 |
73 |
epatch "${FILESDIR}"/${PN}-1.38-tests-locale.patch #99766 |
74 |
epatch "${FILESDIR}"/e2fsprogs-1.39-util-strptime.patch |
75 |
chmod u+w po/*.po # Userpriv fix #27348 |
76 |
# Clean up makefile to suck less |
77 |
epatch "${FILESDIR}"/e2fsprogs-1.39-makefile.patch |
78 |
epatch "${FILESDIR}"/${PN}-1.40-libintl.patch #122368 |
79 |
|
80 |
# Fix compile on FreeBSD |
81 |
epatch "${FILESDIR}"/${PN}-1.40-fbsd.patch |
82 |
|
83 |
# kernel headers use the same defines as e2fsprogs and can cause issues #48829 |
84 |
sed -i \ |
85 |
-e 's:CONFIG_JBD_DEBUG:__CONFIG_JBD_DEBUG__E2FS:g' \ |
86 |
$(grep -rl CONFIG_JBD_DEBUG *) \ |
87 |
|| die "sed jbd debug failed" |
88 |
|
89 |
# fake out files we forked into sep packages |
90 |
sed -i \ |
91 |
-e '/^LIB_SUBDIRS/s:lib/et::' \ |
92 |
-e '/^LIB_SUBDIRS/s:lib/ss::' \ |
93 |
Makefile.in || die "remove subdirs" |
94 |
|
95 |
ln -s "${ROOT}"/usr/$(get_libdir)/libcom_err.a lib/libcom_err.a |
96 |
ln -s "${ROOT}"/$(get_libdir)/libcom_err.so lib/libcom_err.so |
97 |
ln -s /usr/bin/mk_cmds lib/ss/mk_cmds |
98 |
ln -s "${ROOT}"/usr/include/ss/ss_err.h lib/ss/ |
99 |
ln -s "${ROOT}"/$(get_libdir)/libss.so lib/libss.so |
100 |
|
101 |
# sanity check for Bug 105304 |
102 |
if [[ -z ${USERLAND} ]] ; then |
103 |
eerror "You just hit Bug 105304, please post your 'emerge info' here:" |
104 |
eerror "http://bugs.gentoo.org/105304" |
105 |
die "Aborting to prevent screwing your system" |
106 |
fi |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
# Keep the package from doing silly things |
111 |
export LDCONFIG=: |
112 |
export CC=$(tc-getCC) |
113 |
export STRIP=: |
114 |
|
115 |
econf \ |
116 |
--bindir=/bin \ |
117 |
--sbindir=/sbin \ |
118 |
--enable-elf-shlibs \ |
119 |
--with-ldopts="${LDFLAGS}" \ |
120 |
$(use_enable !static dynamic-e2fsck) \ |
121 |
--without-included-gettext \ |
122 |
$(use_enable nls) \ |
123 |
$(use_enable userland_GNU fsck) \ |
124 |
|| die |
125 |
if [[ ${CHOST} != *-uclibc ]] && grep -qs 'USE_INCLUDED_LIBINTL.*yes' config.{log,status} ; then |
126 |
eerror "INTL sanity check failed, aborting build." |
127 |
eerror "Please post your ${S}/config.log file as an" |
128 |
eerror "attachment to http://bugs.gentoo.org/show_bug.cgi?id=81096" |
129 |
die "Preventing included intl cruft from building" |
130 |
fi |
131 |
# Parallel make sometimes fails |
132 |
emake -j1 COMPILE_ET=compile_et || die |
133 |
|
134 |
# Build the FreeBSD helper |
135 |
if use elibc_FreeBSD ; then |
136 |
cp "${FILESDIR}"/fsck_ext2fs.c . |
137 |
emake fsck_ext2fs || die |
138 |
fi |
139 |
} |
140 |
|
141 |
src_install() { |
142 |
emake DESTDIR="${D}" install || die |
143 |
dodoc ChangeLog README RELEASE-NOTES SHLIBS |
144 |
docinto e2fsck |
145 |
dodoc e2fsck/ChangeLog e2fsck/CHANGES |
146 |
|
147 |
# Move shared libraries to /lib/, install static libraries to /usr/lib/, |
148 |
# and install linker scripts to /usr/lib/. |
149 |
dodir /$(get_libdir) |
150 |
mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ |
151 |
dolib.a lib/*.a || die "dolib.a" |
152 |
rm -f "${D}"/usr/$(get_libdir)/libcom_err.a #125146 |
153 |
local x |
154 |
cd "${D}"/$(get_libdir) |
155 |
for x in *.so ; do |
156 |
gen_usr_ldscript ${x} || die "gen ldscript ${x}" |
157 |
done |
158 |
|
159 |
# move 'useless' stuff to /usr/ |
160 |
dosbin "${D}"/sbin/mklost+found |
161 |
rm -f "${D}"/sbin/mklost+found |
162 |
|
163 |
if use elibc_FreeBSD ; then |
164 |
# Install helpers for us |
165 |
into / |
166 |
dosbin "${S}"/fsck_ext2fs || die |
167 |
doman "${FILESDIR}"/fsck_ext2fs.8 |
168 |
|
169 |
# these manpages are already provided by FreeBSD libc |
170 |
# and filefrag is linux only |
171 |
rm -f \ |
172 |
"${D}"/sbin/filefrag \ |
173 |
"${D}"/usr/share/man/man8/filefrag.8 \ |
174 |
"${D}"/bin/uuidgen \ |
175 |
"${D}"/usr/share/man/man3/{uuid,uuid_compare}.3 \ |
176 |
"${D}"/usr/share/man/man1/uuidgen.1 || die |
177 |
fi |
178 |
} |
179 |
|
180 |
|
181 |
|
182 |
-- |
183 |
gentoo-commits@g.o mailing list |