1 |
ryao 15/04/27 13:53:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: spl-0.6.4.ebuild |
5 |
Log: |
6 |
Version bump to 0.6.4 |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.82 sys-kernel/spl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/spl/ChangeLog?rev=1.82&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/spl/ChangeLog?rev=1.82&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/spl/ChangeLog?r1=1.81&r2=1.82 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/spl/ChangeLog,v |
20 |
retrieving revision 1.81 |
21 |
retrieving revision 1.82 |
22 |
diff -u -r1.81 -r1.82 |
23 |
--- ChangeLog 12 Dec 2014 07:51:56 -0000 1.81 |
24 |
+++ ChangeLog 27 Apr 2015 13:53:59 -0000 1.82 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-kernel/spl |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/spl/ChangeLog,v 1.81 2014/12/12 07:51:56 ryao Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/spl/ChangeLog,v 1.82 2015/04/27 13:53:59 ryao Exp $ |
31 |
+ |
32 |
+*spl-0.6.4 (27 Apr 2015) |
33 |
+ |
34 |
+ 27 Apr 2015; Richard Yao <ryao@g.o> +spl-0.6.4.ebuild: |
35 |
+ Version bump to 0.6.4 |
36 |
|
37 |
12 Dec 2014; Richard Yao <ryao@g.o> spl-0.6.3-r1.ebuild, |
38 |
spl-0.6.3.ebuild, spl-9999.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-kernel/spl/spl-0.6.4.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/spl/spl-0.6.4.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/spl/spl-0.6.4.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: spl-0.6.4.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/spl/spl-0.6.4.ebuild,v 1.1 2015/04/27 13:53:59 ryao Exp $ |
52 |
|
53 |
EAPI="4" |
54 |
AUTOTOOLS_AUTORECONF="1" |
55 |
|
56 |
inherit flag-o-matic linux-info linux-mod autotools-utils |
57 |
|
58 |
if [[ ${PV} == "9999" ]] ; then |
59 |
inherit git-2 |
60 |
EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" |
61 |
else |
62 |
inherit eutils versionator |
63 |
SRC_URI="https://github.com/zfsonlinux/${PN}/archive/${P}.tar.gz" |
64 |
S="${WORKDIR}/${PN}-${P}" |
65 |
KEYWORDS="~amd64" |
66 |
fi |
67 |
|
68 |
DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" |
69 |
HOMEPAGE="http://zfsonlinux.org/" |
70 |
|
71 |
LICENSE="GPL-2" |
72 |
SLOT="0" |
73 |
IUSE="custom-cflags debug debug-log" |
74 |
RESTRICT="debug? ( strip ) test" |
75 |
|
76 |
COMMON_DEPEND="dev-lang/perl |
77 |
virtual/awk" |
78 |
|
79 |
DEPEND="${COMMON_DEPEND}" |
80 |
|
81 |
RDEPEND="${COMMON_DEPEND} |
82 |
!sys-devel/spl" |
83 |
|
84 |
AT_M4DIR="config" |
85 |
AUTOTOOLS_IN_SOURCE_BUILD="1" |
86 |
|
87 |
pkg_setup() { |
88 |
linux-info_pkg_setup |
89 |
CONFIG_CHECK=" |
90 |
!DEBUG_LOCK_ALLOC |
91 |
!GRKERNSEC_HIDESYM |
92 |
MODULES |
93 |
KALLSYMS |
94 |
!PAX_KERNEXEC_PLUGIN_METHOD_OR |
95 |
!PAX_SIZE_OVERFLOW |
96 |
ZLIB_DEFLATE |
97 |
ZLIB_INFLATE |
98 |
" |
99 |
|
100 |
use debug && CONFIG_CHECK="${CONFIG_CHECK} |
101 |
FRAME_POINTER |
102 |
DEBUG_INFO |
103 |
!DEBUG_INFO_REDUCED |
104 |
" |
105 |
|
106 |
kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required" |
107 |
|
108 |
[ ${PV} != "9999" ] && \ |
109 |
{ kernel_is le 4 20 || die "Linux 4.0 is the latest supported version."; } |
110 |
|
111 |
check_extra_config |
112 |
} |
113 |
|
114 |
src_prepare() { |
115 |
# Workaround for hard coded path |
116 |
sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ |
117 |
die "Cannot patch check.sh" |
118 |
|
119 |
# splat is unnecessary unless we are debugging |
120 |
use debug || sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" |
121 |
|
122 |
# Set module revision number |
123 |
[ ${PV} != "9999" ] && \ |
124 |
{ sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } |
125 |
|
126 |
autotools-utils_src_prepare |
127 |
} |
128 |
|
129 |
src_configure() { |
130 |
use custom-cflags || strip-flags |
131 |
filter-ldflags -Wl,* |
132 |
|
133 |
set_arch_to_kernel |
134 |
local myeconfargs=( |
135 |
--bindir="${EPREFIX}/bin" |
136 |
--sbindir="${EPREFIX}/sbin" |
137 |
--with-config=all |
138 |
--with-linux="${KV_DIR}" |
139 |
--with-linux-obj="${KV_OUT_DIR}" |
140 |
$(use_enable debug) |
141 |
) |
142 |
autotools-utils_src_configure |
143 |
} |
144 |
|
145 |
src_install() { |
146 |
autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" |
147 |
dodoc AUTHORS DISCLAIMER README.markdown |
148 |
} |
149 |
|
150 |
pkg_postinst() { |
151 |
linux-mod_pkg_postinst |
152 |
|
153 |
# Remove old modules |
154 |
if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] |
155 |
then |
156 |
ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" |
157 |
ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" |
158 |
ewarn "Automatically removing old modules to avoid problems." |
159 |
rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" |
160 |
rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" |
161 |
fi |
162 |
} |