1 |
tomwij 13/08/27 08:07:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openafs-kernel-1.6.5.ebuild |
5 |
Log: |
6 |
Version bump to 1.6.5. Fixes bug #478498 which fixes security bug #478296, security bug #478282, bug #472184, bug #469992, bug #463477 and bug #460494. Proxied commit for Andrej Filipcic. |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.152 net-fs/openafs-kernel/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?rev=1.152&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?rev=1.152&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?r1=1.151&r2=1.152 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v |
20 |
retrieving revision 1.151 |
21 |
retrieving revision 1.152 |
22 |
diff -u -r1.151 -r1.152 |
23 |
--- ChangeLog 13 Apr 2013 14:21:36 -0000 1.151 |
24 |
+++ ChangeLog 27 Aug 2013 08:07:30 -0000 1.152 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-fs/openafs-kernel |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.151 2013/04/13 14:21:36 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.152 2013/08/27 08:07:30 tomwij Exp $ |
30 |
+ |
31 |
+*openafs-kernel-1.6.5 (27 Aug 2013) |
32 |
+ |
33 |
+ 27 Aug 2013; Tom Wijsman <TomWij@g.o> +openafs-kernel-1.6.5.ebuild: |
34 |
+ Version bump to 1.6.5. Fixes bug #478498 which fixes security bug #478296, |
35 |
+ security bug #478282, bug #472184, bug #469992, bug #463477 and bug #460494. |
36 |
+ Proxied commit for Andrej Filipcic. |
37 |
|
38 |
13 Apr 2013; Agostino Sarubbo <ago@g.o> |
39 |
-openafs-kernel-1.4.14.1.ebuild, -openafs-kernel-1.6.1-r2.ebuild, |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-fs/openafs-kernel/openafs-kernel-1.6.5.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.6.5.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.6.5.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: openafs-kernel-1.6.5.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.6.5.ebuild,v 1.1 2013/08/27 08:07:30 tomwij Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
|
56 |
inherit eutils autotools multilib linux-mod versionator toolchain-funcs |
57 |
|
58 |
MY_PV=$(delete_version_separator '_') |
59 |
MY_PN=${PN/-kernel} |
60 |
MY_P2="${MY_PN}-${PV}" |
61 |
MY_P="${MY_PN}-${MY_PV}" |
62 |
PVER="1" |
63 |
DESCRIPTION="The OpenAFS distributed file system kernel module" |
64 |
HOMEPAGE="http://www.openafs.org/" |
65 |
# We always d/l the doc tarball as man pages are not USE=doc material |
66 |
SRC_URI="http://openafs.org/dl/openafs/${MY_PV}/${MY_P}-src.tar.bz2 |
67 |
mirror://gentoo/${MY_P2}-patches-${PVER}.tar.bz2" |
68 |
|
69 |
LICENSE="IBM BSD openafs-krb5-a APSL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
72 |
IUSE="" |
73 |
|
74 |
S=${WORKDIR}/${MY_P} |
75 |
|
76 |
CONFIG_CHECK="!DEBUG_RODATA ~!AFS_FS KEYS" |
77 |
ERROR_DEBUG_RODATA="OpenAFS is incompatible with linux' CONFIG_DEBUG_RODATA option" |
78 |
ERROR_AFS_FS="OpenAFS conflicts with the in-kernel AFS-support. Make sure not to load both at the same time!" |
79 |
ERROR_KEYS="OpenAFS needs CONFIG_KEYS option enabled" |
80 |
|
81 |
QA_TEXTRELS_x86_fbsd="/boot/modules/libafs.ko" |
82 |
QA_TEXTRELS_amd64_fbsd="/boot/modules/libafs.ko" |
83 |
|
84 |
pkg_setup() { |
85 |
if use kernel_linux; then |
86 |
linux-mod_pkg_setup |
87 |
fi |
88 |
} |
89 |
|
90 |
src_prepare() { |
91 |
EPATCH_EXCLUDE="012_all_kbuild.patch" \ |
92 |
EPATCH_SUFFIX="patch" \ |
93 |
epatch "${WORKDIR}"/gentoo/patches |
94 |
|
95 |
# packaging is f-ed up, so we can't run automake (i.e. eautoreconf) |
96 |
sed -i 's/^\(\s*\)a/\1ea/' regen.sh |
97 |
: # this line makes repoman ok with not calling eautoconf etc. directly |
98 |
skipman=1 |
99 |
. regen.sh |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
ARCH="$(tc-arch-kernel)" \ |
104 |
econf \ |
105 |
--with-linux-kernel-headers=${KV_DIR} \ |
106 |
--with-linux-kernel-build=${KV_OUT_DIR} |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
if use kernel_linux; then |
115 |
local srcdir=$(expr "${S}"/src/libafs/MODLOAD-*) |
116 |
[[ -f ${srcdir}/libafs.${KV_OBJ} ]] || die "Couldn't find compiled kernel module" |
117 |
|
118 |
MODULE_NAMES="libafs(fs/openafs:${srcdir})" |
119 |
|
120 |
linux-mod_src_install |
121 |
elif use kernel_FreeBSD; then |
122 |
insinto /boot/modules |
123 |
doins "${S}"/src/libafs/MODLOAD/libafs.ko |
124 |
fi |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
# Update linker.hints file |
129 |
use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
130 |
use linux_kernel && linux-mod_pkg_postinst |
131 |
} |
132 |
|
133 |
pkg_postrm() { |
134 |
# Update linker.hints file |
135 |
use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
136 |
use linux_kernel && linux-mod_pkg_postrm |
137 |
} |