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