1 |
tommy 10/04/05 12:37:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: aufs2-0_p20100405.ebuild |
5 |
Removed: aufs2-0_p20091214.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
(Portage version: 2.2_rc67-r3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.18 sys-fs/aufs2/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/ChangeLog?rev=1.18&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/ChangeLog?rev=1.18&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/ChangeLog?r1=1.17&r2=1.18 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/aufs2/ChangeLog,v |
20 |
retrieving revision 1.17 |
21 |
retrieving revision 1.18 |
22 |
diff -u -r1.17 -r1.18 |
23 |
--- ChangeLog 17 Mar 2010 15:42:57 -0000 1.17 |
24 |
+++ ChangeLog 5 Apr 2010 12:37:30 -0000 1.18 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sys-fs/aufs2 |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs2/ChangeLog,v 1.17 2010/03/17 15:42:57 sping Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs2/ChangeLog,v 1.18 2010/04/05 12:37:30 tommy Exp $ |
30 |
+ |
31 |
+*aufs2-0_p20100405 (05 Apr 2010) |
32 |
+ |
33 |
+ 05 Apr 2010; Thomas Sachau (Tommy[D]) <tommy@g.o> |
34 |
+ -aufs2-0_p20091214.ebuild, +aufs2-0_p20100405.ebuild, |
35 |
+ files/aufs2-standalone-31.patch, files/aufs2-standalone-32.patch, |
36 |
+ files/aufs2-standalone-33.patch: |
37 |
+ Version bump |
38 |
|
39 |
17 Mar 2010; Sebastian Pipping <sping@g.o> |
40 |
aufs2-0_p20091214.ebuild, aufs2-0_p20100308.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-fs/aufs2/aufs2-0_p20100405.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/aufs2-0_p20100405.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/aufs2/aufs2-0_p20100405.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: aufs2-0_p20100405.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs2/aufs2-0_p20100405.ebuild,v 1.1 2010/04/05 12:37:30 tommy Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
inherit linux-mod multilib toolchain-funcs |
58 |
|
59 |
DESCRIPTION="An entirely re-designed and re-implemented Unionfs" |
60 |
HOMEPAGE="http://aufs.sourceforge.net" |
61 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="debug inotify kernel-patch nfs ramfs" |
67 |
|
68 |
DEPEND="dev-vcs/git" |
69 |
RDEPEND="!sys-fs/aufs" |
70 |
|
71 |
S=${WORKDIR}/${PN}-standalone |
72 |
|
73 |
MODULE_NAMES="aufs(misc:${S})" |
74 |
|
75 |
pkg_setup() { |
76 |
get_version |
77 |
kernel_is lt 2 6 27 && die "kernel too old" |
78 |
kernel_is gt 2 6 33 && die "kernel too new" |
79 |
|
80 |
if ! ( patch -p1 --dry-run --force -R -d ${KV_DIR} < "${FILESDIR}"/aufs2-standalone-${KV_PATCH}.patch >/dev/null && \ |
81 |
patch -p1 --dry-run --force -R -d ${KV_DIR} < "${FILESDIR}"/aufs2-base-${KV_PATCH}.patch >/dev/null ); then |
82 |
if use kernel-patch; then |
83 |
cd ${KV_DIR} |
84 |
ewarn "Patching your kernel..." |
85 |
patch --no-backup-if-mismatch --force -p1 -R -d ${KV_DIR} < "${FILESDIR}"/aufs2-standalone-${KV_PATCH}.patch >/dev/null |
86 |
patch --no-backup-if-mismatch --force -p1 -R -d ${KV_DIR} < "${FILESDIR}"/aufs2-base-${KV_PATCH}.patch >/dev/null |
87 |
epatch "${FILESDIR}"/aufs2-{base,standalone}-${KV_PATCH}.patch |
88 |
elog "You need to compile your kernel with the applied patch" |
89 |
elog "to be able to load and use the aufs kernel module" |
90 |
else |
91 |
eerror "You need to apply a patch to your kernel to compile and run the aufs2 module" |
92 |
eerror "Either enable the kernel-patch useflag to do it with this ebuild" |
93 |
eerror "or apply ${FILESDIR}/aufs2-base-${KV_PATCH}.patch and" |
94 |
eerror "${FILESDIR}/aufs2-standalone-${KV_PATCH}.patch by hand" |
95 |
die "missing kernel patch, please apply it first" |
96 |
fi |
97 |
fi |
98 |
linux-mod_pkg_setup |
99 |
} |
100 |
|
101 |
src_prepare() { |
102 |
local branch=origin/aufs2-${KV_PATCH} |
103 |
git checkout -q $branch || die |
104 |
if ! use debug; then |
105 |
sed -i "s:DEBUG = y:DEBUG =:g" config.mk || die |
106 |
fi |
107 |
if use inotify; then |
108 |
sed -i "s:HINOTIFY =:HINOTIFY = y:g" config.mk || die |
109 |
fi |
110 |
if use ramfs; then |
111 |
sed -i "s:RAMFS =:RAMFS = y:g" config.mk || die |
112 |
fi |
113 |
|
114 |
cd "${WORKDIR}"/${PN}-util |
115 |
sed -i "/LDFLAGS += -static -s/d" Makefile || die |
116 |
sed -i -e "s:m 644 -s:m 644:g" -e "s:/usr/lib:/usr/$(get_libdir):g" libau/Makefile || die |
117 |
} |
118 |
|
119 |
src_compile() { |
120 |
local myargs="" ARCH=x86 |
121 |
use nfs && myargs="CONFIG_EXPORTFS=y CONFIG_AUFS_EXPORT=y " |
122 |
use nfs && use amd64 && myargs+="CONFIG_AUFS_INO_T_64=y" |
123 |
emake CC=$(tc-getCC) CONFIG_AUFS_FS=m ${myargs} KDIR=${KV_DIR} || die |
124 |
cd "${WORKDIR}"/${PN}-util |
125 |
emake CC=$(tc-getCC) AR=$(tc-getAR) KDIR=${KV_DIR} C_INCLUDE_PATH="${S}"/include || die |
126 |
} |
127 |
|
128 |
src_install() { |
129 |
linux-mod_src_install |
130 |
dodoc README || die |
131 |
docinto design |
132 |
dodoc design/*.txt || die |
133 |
cd "${WORKDIR}"/${PN}-util |
134 |
emake DESTDIR="${D}" install || die |
135 |
docinto |
136 |
newdoc README README-utils || die |
137 |
} |