1 |
ssuominen 12/04/20 12:14:30 |
2 |
|
3 |
Modified: kmod-9999.ebuild ChangeLog |
4 |
Added: kmod-8.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.25 sys-apps/kmod/kmod-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?rev=1.25&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?rev=1.25&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild?r1=1.24&r2=1.25 |
16 |
|
17 |
Index: kmod-9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v |
20 |
retrieving revision 1.24 |
21 |
retrieving revision 1.25 |
22 |
diff -u -r1.24 -r1.25 |
23 |
--- kmod-9999.ebuild 6 Apr 2012 21:04:44 -0000 1.24 |
24 |
+++ kmod-9999.ebuild 20 Apr 2012 12:14:30 -0000 1.25 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2012 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.24 2012/04/06 21:04:44 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.25 2012/04/20 12:14:30 ssuominen Exp $ |
30 |
|
31 |
EAPI=4 |
32 |
|
33 |
@@ -59,16 +59,13 @@ |
34 |
export zlib_LIBS="-lz" |
35 |
fi |
36 |
|
37 |
- local myconf |
38 |
- [[ ${PV} == 9999 ]] && myconf="$(use_enable doc gtk-doc)" |
39 |
- |
40 |
econf \ |
41 |
$(use_enable static-libs static) \ |
42 |
$(use_enable tools) \ |
43 |
$(use_enable debug) \ |
44 |
+ $(use_enable doc gtk-doc) \ |
45 |
$(use_with lzma xz) \ |
46 |
- $(use_with zlib) \ |
47 |
- ${myconf} |
48 |
+ $(use_with zlib) |
49 |
} |
50 |
|
51 |
src_install() |
52 |
|
53 |
|
54 |
|
55 |
1.35 sys-apps/kmod/ChangeLog |
56 |
|
57 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.35&view=markup |
58 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.35&content-type=text/plain |
59 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?r1=1.34&r2=1.35 |
60 |
|
61 |
Index: ChangeLog |
62 |
=================================================================== |
63 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v |
64 |
retrieving revision 1.34 |
65 |
retrieving revision 1.35 |
66 |
diff -u -r1.34 -r1.35 |
67 |
--- ChangeLog 6 Apr 2012 21:04:02 -0000 1.34 |
68 |
+++ ChangeLog 20 Apr 2012 12:14:30 -0000 1.35 |
69 |
@@ -1,6 +1,12 @@ |
70 |
# ChangeLog for sys-apps/kmod |
71 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
72 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.34 2012/04/06 21:04:02 ssuominen Exp $ |
73 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.35 2012/04/20 12:14:30 ssuominen Exp $ |
74 |
+ |
75 |
+*kmod-8 (20 Apr 2012) |
76 |
+ |
77 |
+ 20 Apr 2012; Samuli Suominen <ssuominen@g.o> +kmod-8.ebuild, |
78 |
+ kmod-9999.ebuild: |
79 |
+ Version bump. |
80 |
|
81 |
06 Apr 2012; Samuli Suominen <ssuominen@g.o> kmod-7.ebuild, |
82 |
kmod-9999.ebuild: |
83 |
|
84 |
|
85 |
|
86 |
1.1 sys-apps/kmod/kmod-8.ebuild |
87 |
|
88 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-8.ebuild?rev=1.1&view=markup |
89 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-8.ebuild?rev=1.1&content-type=text/plain |
90 |
|
91 |
Index: kmod-8.ebuild |
92 |
=================================================================== |
93 |
# Copyright 1999-2012 Gentoo Foundation |
94 |
# Distributed under the terms of the GNU General Public License v2 |
95 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-8.ebuild,v 1.1 2012/04/20 12:14:30 ssuominen Exp $ |
96 |
|
97 |
EAPI=4 |
98 |
|
99 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git" |
100 |
|
101 |
[[ ${PV} == 9999 ]] && vcs=git-2 |
102 |
inherit ${vcs} autotools eutils toolchain-funcs |
103 |
unset vcs |
104 |
|
105 |
if [[ ${PV} != 9999 ]] ; then |
106 |
SRC_URI="mirror://kernel/linux/utils/kernel/kmod/${P}.tar.xz" |
107 |
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86" |
108 |
fi |
109 |
|
110 |
DESCRIPTION="library and tools for managing linux kernel modules" |
111 |
HOMEPAGE="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git" |
112 |
|
113 |
LICENSE="LGPL-2" |
114 |
SLOT="0" |
115 |
IUSE="debug doc lzma static-libs +tools zlib" |
116 |
|
117 |
RDEPEND="!sys-apps/module-init-tools |
118 |
!sys-apps/modutils |
119 |
lzma? ( app-arch/xz-utils ) |
120 |
zlib? ( sys-libs/zlib )" |
121 |
DEPEND="${RDEPEND} |
122 |
doc? ( dev-util/gtk-doc ) |
123 |
lzma? ( dev-util/pkgconfig ) |
124 |
zlib? ( dev-util/pkgconfig )" |
125 |
|
126 |
# Upstream does not support running the test suite with custom configure flags. |
127 |
# I was also told that the test suite is intended for kmod developers. |
128 |
# So we have to restrict it. |
129 |
# See bug #408915. |
130 |
RESTRICT="test" |
131 |
|
132 |
src_prepare() |
133 |
{ |
134 |
if [ ! -e configure ]; then |
135 |
if use doc; then |
136 |
gtkdocize --copy --docdir libkmod/docs || die |
137 |
else |
138 |
touch libkmod/docs/gtk-doc.make |
139 |
fi |
140 |
eautoreconf |
141 |
else |
142 |
elibtoolize |
143 |
fi |
144 |
} |
145 |
|
146 |
src_configure() |
147 |
{ |
148 |
# http://bugs.gentoo.org/410865 |
149 |
if has_version '<sys-libs/zlib-1.2.6'; then |
150 |
export zlib_CFLAGS="-I/usr/include" |
151 |
export zlib_LIBS="-lz" |
152 |
fi |
153 |
|
154 |
econf \ |
155 |
$(use_enable static-libs static) \ |
156 |
$(use_enable tools) \ |
157 |
$(use_enable debug) \ |
158 |
$(use_enable doc gtk-doc) \ |
159 |
$(use_with lzma xz) \ |
160 |
$(use_with zlib) |
161 |
} |
162 |
|
163 |
src_install() |
164 |
{ |
165 |
default |
166 |
|
167 |
find "${D}" -name libkmod.la -exec rm -f {} + |
168 |
|
169 |
if use tools; then |
170 |
dodir /bin |
171 |
dosym /usr/bin/kmod /bin/lsmod |
172 |
dodir /sbin |
173 |
local cmd |
174 |
for cmd in depmod insmod modinfo modprobe rmmod; do |
175 |
dosym /usr/bin/kmod /sbin/${cmd} |
176 |
done |
177 |
fi |
178 |
} |