1 |
axs 13/08/29 18:03:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openafs-kernel-1.6.5-r1.ebuild |
5 |
Log: |
6 |
fixed src_prepare so that autotools commands are actually executed; installed output changed so ebuild was bumped |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED) |
9 |
|
10 |
Revision Changes Path |
11 |
1.156 net-fs/openafs-kernel/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?rev=1.156&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?rev=1.156&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/ChangeLog?r1=1.155&r2=1.156 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v |
20 |
retrieving revision 1.155 |
21 |
retrieving revision 1.156 |
22 |
diff -u -r1.155 -r1.156 |
23 |
--- ChangeLog 29 Aug 2013 17:33:58 -0000 1.155 |
24 |
+++ ChangeLog 29 Aug 2013 18:03:10 -0000 1.156 |
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.155 2013/08/29 17:33:58 axs Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.156 2013/08/29 18:03:10 axs Exp $ |
30 |
+ |
31 |
+*openafs-kernel-1.6.5-r1 (29 Aug 2013) |
32 |
+ |
33 |
+ 29 Aug 2013; Ian Stakenvicius <axs@g.o> |
34 |
+ +openafs-kernel-1.6.5-r1.ebuild: |
35 |
+ fixed src_prepare so that autotools commands are actually executed; installed |
36 |
+ output changed so ebuild was bumped |
37 |
|
38 |
29 Aug 2013; Ian Stakenvicius <axs@g.o> openafs-kernel-1.6.2.ebuild: |
39 |
fixed one more erroneous 'linux_kernel' use, missed by last commit |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-fs/openafs-kernel/openafs-kernel-1.6.5-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.6.5-r1.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-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: openafs-kernel-1.6.5-r1.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-r1.ebuild,v 1.1 2013/08/29 18:03:10 axs Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
|
56 |
inherit autotools eutils 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 eautoreconf |
96 |
# run autotools commands based on what is listed in regen.sh |
97 |
eaclocal -I src/cf |
98 |
eautoconf |
99 |
eautoconf -o configure-libafs configure-libafs.ac |
100 |
eautoheader |
101 |
einfo "Deleting autom4te.cache directory" |
102 |
rm -rf autom4te.cache |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
ARCH="$(tc-arch-kernel)" \ |
107 |
econf \ |
108 |
--with-linux-kernel-headers=${KV_DIR} \ |
109 |
--with-linux-kernel-build=${KV_OUT_DIR} |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
if use kernel_linux; then |
118 |
local srcdir=$(expr "${S}"/src/libafs/MODLOAD-*) |
119 |
[[ -f ${srcdir}/libafs.${KV_OBJ} ]] || die "Couldn't find compiled kernel module" |
120 |
|
121 |
MODULE_NAMES="libafs(fs/openafs:${srcdir})" |
122 |
|
123 |
linux-mod_src_install |
124 |
elif use kernel_FreeBSD; then |
125 |
insinto /boot/modules |
126 |
doins "${S}"/src/libafs/MODLOAD/libafs.ko |
127 |
fi |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
# Update linker.hints file |
132 |
use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
133 |
use kernel_linux && linux-mod_pkg_postinst |
134 |
} |
135 |
|
136 |
pkg_postrm() { |
137 |
# Update linker.hints file |
138 |
use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
139 |
use kernel_linux && linux-mod_pkg_postrm |
140 |
} |