1 |
vapier 12/02/24 17:20:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: e2fsprogs-1.42.1.ebuild |
5 |
Log: |
6 |
Version bump #405331 by teidakankan. |
7 |
|
8 |
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.243 sys-fs/e2fsprogs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/e2fsprogs/ChangeLog?rev=1.243&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/e2fsprogs/ChangeLog?rev=1.243&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/e2fsprogs/ChangeLog?r1=1.242&r2=1.243 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v |
20 |
retrieving revision 1.242 |
21 |
retrieving revision 1.243 |
22 |
diff -u -r1.242 -r1.243 |
23 |
--- ChangeLog 22 Feb 2012 18:40:56 -0000 1.242 |
24 |
+++ ChangeLog 24 Feb 2012 17:20:34 -0000 1.243 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-fs/e2fsprogs |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v 1.242 2012/02/22 18:40:56 ranger Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/ChangeLog,v 1.243 2012/02/24 17:20:34 vapier Exp $ |
30 |
+ |
31 |
+*e2fsprogs-1.42.1 (24 Feb 2012) |
32 |
+ |
33 |
+ 24 Feb 2012; Mike Frysinger <vapier@g.o> +e2fsprogs-1.42.1.ebuild, |
34 |
+ +files/e2fsprogs-1.42.1-libext2fs-config.patch, |
35 |
+ +files/e2fsprogs-1.42.1-libext2fs-gettimeofday.patch: |
36 |
+ Version bump #405331 by teidakankan. |
37 |
|
38 |
22 Feb 2012; Brent Baude <ranger@g.o> e2fsprogs-1.42.ebuild: |
39 |
Marking e2fsprogs-1.42 ppc for bug 403405 |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-fs/e2fsprogs/e2fsprogs-1.42.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.42.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.42.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: e2fsprogs-1.42.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.42.1.ebuild,v 1.1 2012/02/24 17:20:34 vapier Exp $ |
53 |
|
54 |
case ${PV} in |
55 |
*_pre*) UP_PV="${PV%_pre*}-WIP-${PV#*_pre}" ;; |
56 |
*) UP_PV=${PV} ;; |
57 |
esac |
58 |
|
59 |
EAPI="3" |
60 |
|
61 |
inherit eutils flag-o-matic multilib toolchain-funcs |
62 |
|
63 |
DESCRIPTION="Standard EXT2/EXT3/EXT4 filesystem utilities" |
64 |
HOMEPAGE="http://e2fsprogs.sourceforge.net/" |
65 |
SRC_URI="mirror://sourceforge/e2fsprogs/${PN}-${UP_PV}.tar.gz" |
66 |
|
67 |
LICENSE="GPL-2 BSD" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint" |
70 |
IUSE="nls static-libs elibc_FreeBSD" |
71 |
|
72 |
RDEPEND="~sys-libs/${PN}-libs-${PV} |
73 |
>=sys-apps/util-linux-2.16 |
74 |
nls? ( virtual/libintl )" |
75 |
DEPEND="${RDEPEND} |
76 |
nls? ( sys-devel/gettext ) |
77 |
dev-util/pkgconfig |
78 |
sys-apps/texinfo" |
79 |
|
80 |
S=${WORKDIR}/${P%_pre*} |
81 |
|
82 |
pkg_setup() { |
83 |
if [[ ! -e ${EROOT}/etc/mtab ]] ; then |
84 |
# add some crap to deal with missing /etc/mtab #217719 |
85 |
ewarn "No /etc/mtab file, creating one temporarily" |
86 |
echo "${PN} crap for src_test" > "${EROOT}"/etc/mtab |
87 |
fi |
88 |
} |
89 |
|
90 |
src_prepare() { |
91 |
epatch "${FILESDIR}"/${PN}-1.38-tests-locale.patch #99766 |
92 |
epatch "${FILESDIR}"/${PN}-1.41.8-makefile.patch |
93 |
epatch "${FILESDIR}"/${PN}-1.40-fbsd.patch |
94 |
epatch "${FILESDIR}"/${PN}-1.42-no-quota.patch |
95 |
epatch "${FILESDIR}"/${PN}-1.42.1-libext2fs-gettimeofday.patch |
96 |
epatch "${FILESDIR}"/${PN}-1.42.1-libext2fs-config.patch |
97 |
# use symlinks rather than hardlinks |
98 |
sed -i \ |
99 |
-e 's:$(LN) -f $(DESTDIR).*/:$(LN_S) -f :' \ |
100 |
{e2fsck,misc}/Makefile.in || die |
101 |
epatch "${FILESDIR}"/${PN}-1.41.12-darwin-makefile.patch |
102 |
if [[ ${CHOST} == *-mint* ]] ; then |
103 |
epatch "${FILESDIR}"/${PN}-1.41-mint.patch |
104 |
epatch "${FILESDIR}"/${PN}-1.41.12-mint-blkid.patch |
105 |
fi |
106 |
# blargh ... trick e2fsprogs into using e2fsprogs-libs |
107 |
rm -rf doc |
108 |
sed -i -r \ |
109 |
-e 's:@LIBINTL@:@LTLIBINTL@:' \ |
110 |
-e '/^LIB(COM_ERR|SS)/s:[$][(]LIB[)]/lib([^@]*)@LIB_EXT@:-l\1:' \ |
111 |
-e '/^DEPLIB(COM_ERR|SS)/s:=.*:=:' \ |
112 |
MCONFIG.in || die "muck libs" #122368 |
113 |
sed -i -r \ |
114 |
-e '/^LIB_SUBDIRS/s:lib/(et|ss)::g' \ |
115 |
Makefile.in || die "remove subdirs" |
116 |
|
117 |
# Avoid rebuild |
118 |
touch lib/ss/ss_err.h |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
# Keep the package from doing silly things #261411 |
123 |
export VARTEXFONTS=${T}/fonts |
124 |
|
125 |
# needs open64() prototypes and friends |
126 |
append-cppflags -D_GNU_SOURCE |
127 |
|
128 |
# We want to use the "bsd" libraries while building on Darwin, but while |
129 |
# building on other Gentoo/*BSD we prefer elf-naming scheme. |
130 |
local libtype |
131 |
case ${CHOST} in |
132 |
*-darwin*) libtype=--enable-bsd-shlibs ;; |
133 |
*-mint*) libtype= ;; |
134 |
*) libtype=--enable-elf-shlibs ;; |
135 |
esac |
136 |
|
137 |
ac_cv_path_LDCONFIG=: \ |
138 |
QUOTA_CMT='#' \ |
139 |
econf \ |
140 |
--with-root-prefix="${EPREFIX}/" \ |
141 |
${libtype} \ |
142 |
$(tc-has-tls || echo --disable-tls) \ |
143 |
--without-included-gettext \ |
144 |
$(use_enable nls) \ |
145 |
--disable-libblkid \ |
146 |
--disable-libuuid \ |
147 |
--disable-quota \ |
148 |
--disable-fsck \ |
149 |
--disable-uuidd |
150 |
if [[ ${CHOST} != *-uclibc ]] && grep -qs 'USE_INCLUDED_LIBINTL.*yes' config.{log,status} ; then |
151 |
eerror "INTL sanity check failed, aborting build." |
152 |
eerror "Please post your ${S}/config.log file as an" |
153 |
eerror "attachment to http://bugs.gentoo.org/show_bug.cgi?id=81096" |
154 |
die "Preventing included intl cruft from building" |
155 |
fi |
156 |
} |
157 |
|
158 |
src_compile() { |
159 |
emake COMPILE_ET=compile_et MK_CMDS=mk_cmds || die |
160 |
|
161 |
# Build the FreeBSD helper |
162 |
if use elibc_FreeBSD ; then |
163 |
cp "${FILESDIR}"/fsck_ext2fs.c . |
164 |
emake fsck_ext2fs || die |
165 |
fi |
166 |
} |
167 |
|
168 |
pkg_preinst() { |
169 |
if [[ -r ${EROOT}/etc/mtab ]] ; then |
170 |
if [[ $(<"${EROOT}"/etc/mtab) == "${PN} crap for src_test" ]] ; then |
171 |
rm -f "${EROOT}"/etc/mtab |
172 |
fi |
173 |
fi |
174 |
} |
175 |
|
176 |
src_install() { |
177 |
# need to set root_libdir= manually as any --libdir options in the |
178 |
# econf above (i.e. multilib) will screw up the default #276465 |
179 |
emake \ |
180 |
STRIP=: \ |
181 |
root_libdir="${EPREFIX}/usr/$(get_libdir)" \ |
182 |
DESTDIR="${D}" \ |
183 |
install install-libs || die |
184 |
dodoc README RELEASE-NOTES |
185 |
|
186 |
insinto /etc |
187 |
doins "${FILESDIR}"/e2fsck.conf || die |
188 |
|
189 |
# Move shared libraries to /lib/, install static libraries to |
190 |
# /usr/lib/, and install linker scripts to /usr/lib/. |
191 |
gen_usr_ldscript -a e2p ext2fs |
192 |
# configure doesn't have an option to disable static libs :/ |
193 |
find "${D}" -name '*.a' -delete |
194 |
|
195 |
if use elibc_FreeBSD ; then |
196 |
# Install helpers for us |
197 |
into / |
198 |
dosbin "${S}"/fsck_ext2fs || die |
199 |
doman "${FILESDIR}"/fsck_ext2fs.8 || die |
200 |
|
201 |
# filefrag is linux only |
202 |
rm \ |
203 |
"${ED}"/usr/sbin/filefrag \ |
204 |
"${ED}"/usr/share/man/man8/filefrag.8 || die |
205 |
fi |
206 |
} |