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