1 |
axs 13/08/29 18:44:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openafs-kernel-1.6.2-r1.ebuild |
5 |
Removed: openafs-kernel-1.6.5.ebuild |
6 |
openafs-kernel-1.6.2.ebuild |
7 |
Log: |
8 |
put back autotools commands and eclass for stable ebuild also; revbumped to be sure nobody keeps a potentially broken version installed; removed old |
9 |
|
10 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 2B6559ED) |
11 |
|
12 |
Revision Changes Path |
13 |
1.157 net-fs/openafs-kernel/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?rev=1.157&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?rev=1.157&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?r1=1.156&r2=1.157 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v |
22 |
retrieving revision 1.156 |
23 |
retrieving revision 1.157 |
24 |
diff -u -r1.156 -r1.157 |
25 |
--- ChangeLog 29 Aug 2013 18:03:10 -0000 1.156 |
26 |
+++ ChangeLog 29 Aug 2013 18:44:48 -0000 1.157 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for net-fs/openafs-kernel |
29 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.156 2013/08/29 18:03:10 axs Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.157 2013/08/29 18:44:48 axs Exp $ |
32 |
+ |
33 |
+*openafs-kernel-1.6.2-r1 (29 Aug 2013) |
34 |
+ |
35 |
+ 29 Aug 2013; Ian Stakenvicius <axs@g.o> |
36 |
+ +openafs-kernel-1.6.2-r1.ebuild, -openafs-kernel-1.6.2.ebuild, |
37 |
+ -openafs-kernel-1.6.5.ebuild: |
38 |
+ put back autotools commands and eclass for stable ebuild also; revbumped to be |
39 |
+ sure nobody keeps a potentially broken version installed; removed old |
40 |
|
41 |
*openafs-kernel-1.6.5-r1 (29 Aug 2013) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 net-fs/openafs-kernel/openafs-kernel-1.6.2-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.6.2-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.6.2-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: openafs-kernel-1.6.2-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2013 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.6.2-r1.ebuild,v 1.1 2013/08/29 18:44:48 axs Exp $ |
56 |
|
57 |
EAPI="4" |
58 |
|
59 |
inherit eutils autotools multilib linux-mod versionator toolchain-funcs |
60 |
|
61 |
MY_PV=$(delete_version_separator '_') |
62 |
MY_PN=${PN/-kernel} |
63 |
MY_P2="${MY_PN}-${PV}" |
64 |
MY_P="${MY_PN}-${MY_PV}" |
65 |
PVER="1" |
66 |
DESCRIPTION="The OpenAFS distributed file system kernel module" |
67 |
HOMEPAGE="http://www.openafs.org/" |
68 |
# We always d/l the doc tarball as man pages are not USE=doc material |
69 |
SRC_URI="http://openafs.org/dl/openafs/${MY_PV}/${MY_P}-src.tar.bz2 |
70 |
mirror://gentoo/${MY_P2}-patches-${PVER}.tar.bz2" |
71 |
|
72 |
LICENSE="IBM BSD openafs-krb5-a APSL-2" |
73 |
SLOT="0" |
74 |
KEYWORDS="amd64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
75 |
IUSE="" |
76 |
|
77 |
S=${WORKDIR}/${MY_P} |
78 |
|
79 |
CONFIG_CHECK="!DEBUG_RODATA ~!AFS_FS KEYS" |
80 |
ERROR_DEBUG_RODATA="OpenAFS is incompatible with linux' CONFIG_DEBUG_RODATA option" |
81 |
ERROR_AFS_FS="OpenAFS conflicts with the in-kernel AFS-support. Make sure not to load both at the same time!" |
82 |
ERROR_KEYS="OpenAFS needs CONFIG_KEYS option enabled" |
83 |
|
84 |
QA_TEXTRELS_x86_fbsd="/boot/modules/libafs.ko" |
85 |
QA_TEXTRELS_amd64_fbsd="/boot/modules/libafs.ko" |
86 |
|
87 |
pkg_setup() { |
88 |
if use kernel_linux; then |
89 |
linux-mod_pkg_setup |
90 |
fi |
91 |
} |
92 |
|
93 |
src_prepare() { |
94 |
EPATCH_EXCLUDE="012_all_kbuild.patch" \ |
95 |
EPATCH_SUFFIX="patch" \ |
96 |
epatch "${WORKDIR}"/gentoo/patches |
97 |
epatch "${FILESDIR}"/openafs-1.6.2-kernel-3.8-{1..5}.patch |
98 |
|
99 |
# packaging is f-ed up, so we can't run eautoreconf |
100 |
# run autotools commands based on what is listed in regen.sh |
101 |
eaclocal -I src/cf |
102 |
eautoconf |
103 |
eautoconf -o configure-libafs configure-libafs.ac |
104 |
eautoheader |
105 |
einfo "Deleting autom4te.cache directory" |
106 |
rm -rf autom4te.cache |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
ARCH="$(tc-arch-kernel)" \ |
111 |
econf \ |
112 |
--with-linux-kernel-headers=${KV_DIR} \ |
113 |
--with-linux-kernel-build=${KV_OUT_DIR} |
114 |
} |
115 |
|
116 |
src_compile() { |
117 |
ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
if use kernel_linux; then |
122 |
local srcdir=$(expr "${S}"/src/libafs/MODLOAD-*) |
123 |
[[ -f ${srcdir}/libafs.${KV_OBJ} ]] || die "Couldn't find compiled kernel module" |
124 |
|
125 |
MODULE_NAMES="libafs(fs/openafs:${srcdir})" |
126 |
|
127 |
linux-mod_src_install |
128 |
elif use kernel_FreeBSD; then |
129 |
insinto /boot/modules |
130 |
doins "${S}"/src/libafs/MODLOAD/libafs.ko |
131 |
fi |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
# Update linker.hints file |
136 |
use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
137 |
use kernel_linux && linux-mod_pkg_postinst |
138 |
} |
139 |
|
140 |
pkg_postrm() { |
141 |
# Update linker.hints file |
142 |
use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
143 |
use kernel_linux && linux-mod_pkg_postrm |
144 |
} |