Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/aufs-sources: ChangeLog aufs-sources-3.15.2.ebuild
Date: Fri, 27 Jun 2014 13:11:42
Message-Id: 20140627131100.E4E4E2004E@flycatcher.gentoo.org
1 jlec 14/06/27 13:11:00
2
3 Modified: ChangeLog
4 Added: aufs-sources-3.15.2.ebuild
5 Log:
6 sys-kernel/aufs-sources: Bump to latest aufs3, genpatches and linux release
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.130 sys-kernel/aufs-sources/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/aufs-sources/ChangeLog?rev=1.130&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/aufs-sources/ChangeLog?rev=1.130&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/aufs-sources/ChangeLog?r1=1.129&r2=1.130
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-kernel/aufs-sources/ChangeLog,v
20 retrieving revision 1.129
21 retrieving revision 1.130
22 diff -u -r1.129 -r1.130
23 --- ChangeLog 26 Jun 2014 10:31:27 -0000 1.129
24 +++ ChangeLog 27 Jun 2014 13:11:00 -0000 1.130
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-kernel/aufs-sources
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aufs-sources/ChangeLog,v 1.129 2014/06/26 10:31:27 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aufs-sources/ChangeLog,v 1.130 2014/06/27 13:11:00 jlec Exp $
30 +
31 +*aufs-sources-3.15.2 (27 Jun 2014)
32 +
33 + 27 Jun 2014; Justin Lecher <jlec@g.o> +aufs-sources-3.15.2.ebuild:
34 + Bump to latest aufs3, genpatches and linux release
35
36 *aufs-sources-3.12.23 (26 Jun 2014)
37
38
39
40
41 1.1 sys-kernel/aufs-sources/aufs-sources-3.15.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/aufs-sources/aufs-sources-3.15.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/aufs-sources/aufs-sources-3.15.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: aufs-sources-3.15.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/aufs-sources/aufs-sources-3.15.2.ebuild,v 1.1 2014/06/27 13:11:00 jlec Exp $
51
52 EAPI=5
53
54 ETYPE="sources"
55 K_WANT_GENPATCHES="base extras experimental"
56 K_GENPATCHES_VER="4"
57 K_DEBLOB_AVAILABLE="1"
58 UNIPATCH_STRICTORDER=1
59 inherit kernel-2 eutils readme.gentoo
60 detect_version
61 detect_arch
62
63 AUFS_VERSION=3.15_p20140623
64 AUFS_TARBALL="aufs-sources-${AUFS_VERSION}.tar.xz"
65 # git archive -v --remote=git://git.code.sf.net/p/aufs/aufs3-standalone aufs${AUFS_VERSION/_p*} > aufs-sources-${AUFS_VERSION}.tar
66 AUFS_URI="http://dev.gentoo.org/~jlec/distfiles/${AUFS_TARBALL}"
67
68 KEYWORDS="~amd64 ~x86"
69 HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches http://aufs.sourceforge.net/"
70 IUSE="deblob experimental module vanilla"
71
72 DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and aufs3 support"
73 SRC_URI="
74 ${KERNEL_URI}
75 ${ARCH_URI}
76 ${AUFS_URI}
77 !vanilla? ( ${GENPATCHES_URI} )
78 "
79
80 PDEPEND=">=sys-fs/aufs-util-3.9"
81
82 README_GENTOO_SUFFIX="-r1"
83
84 src_unpack() {
85 if use vanilla; then
86 unset UNIPATCH_LIST_GENPATCHES UNIPATCH_LIST_DEFAULT
87 ewarn "You are using USE=vanilla"
88 ewarn "This will drop all support from the gentoo kernel security team"
89 fi
90
91 UNIPATCH_LIST="
92 "${WORKDIR}"/aufs3-kbuild.patch
93 "${WORKDIR}"/aufs3-base.patch
94 "${WORKDIR}"/aufs3-mmap.patch"
95
96 use module && UNIPATCH_LIST+=" "${WORKDIR}"/aufs3-standalone.patch"
97
98 unpack ${AUFS_TARBALL}
99
100 einfo "Using aufs3 version: ${AUFS_VERSION}"
101
102 kernel-2_src_unpack
103 }
104
105 src_prepare() {
106 if ! use module; then
107 sed -e 's:tristate:bool:g' -i "${WORKDIR}"/fs/aufs/Kconfig || die
108 fi
109 cp -f "${WORKDIR}"/include/uapi/linux/aufs_type.h include/uapi/linux/aufs_type.h || die
110 cp -rf "${WORKDIR}"/{Documentation,fs} . || die
111 }
112
113 src_install() {
114 kernel-2_src_install
115 dodoc "${WORKDIR}"/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch
116 docompress -x /usr/share/doc/${PF}/{aufs3-loopback,vfs-ino,tmpfs-idr}.patch
117 readme.gentoo_create_doc
118 }
119 pkg_postinst() {
120 kernel-2_pkg_postinst
121 einfo "For more info on this patchset, and how to report problems, see:"
122 einfo "${HOMEPAGE}"
123 has_version sys-fs/aufs-util || \
124 elog "In order to use aufs FS you need to install sys-fs/aufs-util"
125
126 readme.gentoo_pkg_postinst
127 }
128
129 pkg_postrm() {
130 kernel-2_pkg_postrm
131 }