Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/kmod: metadata.xml kmod-3.ebuild ChangeLog kmod-2.ebuild
Date: Thu, 05 Jan 2012 15:56:02
Message-Id: 20120105155553.128612004B@flycatcher.gentoo.org
1 williamh 12/01/05 15:55:52
2
3 Modified: metadata.xml ChangeLog
4 Added: kmod-3.ebuild
5 Removed: kmod-2.ebuild
6 Log:
7 version bump, remove old version and remove the rootfs-install use flag description.
8
9 (Portage version: 2.2.0_alpha84/cvs/Linux i686)
10
11 Revision Changes Path
12 1.6 sys-apps/kmod/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/metadata.xml?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/metadata.xml?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/metadata.xml?r1=1.5&r2=1.6
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/metadata.xml,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- metadata.xml 1 Jan 2012 09:49:32 -0000 1.5
25 +++ metadata.xml 5 Jan 2012 15:55:52 -0000 1.6
26 @@ -7,8 +7,6 @@
27 </maintainer>
28
29 <use>
30 - <flag name='rootfs-install'>Install the library into rootfs,
31 - to satisfy dependencies of udev when using separate /usr.</flag>
32 <flag name='tools'>Install module loading/unloading tools.</flag>
33 </use>
34 </pkgmetadata>
35
36
37
38 1.8 sys-apps/kmod/ChangeLog
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.8&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.8&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?r1=1.7&r2=1.8
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v
47 retrieving revision 1.7
48 retrieving revision 1.8
49 diff -u -r1.7 -r1.8
50 --- ChangeLog 2 Jan 2012 19:59:55 -0000 1.7
51 +++ ChangeLog 5 Jan 2012 15:55:52 -0000 1.8
52 @@ -1,6 +1,13 @@
53 # ChangeLog for sys-apps/kmod
54 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.7 2012/01/02 19:59:55 vapier Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.8 2012/01/05 15:55:52 williamh Exp $
57 +
58 +*kmod-3 (05 Jan 2012)
59 +
60 + 05 Jan 2012; William Hubbs <williamh@g.o> +kmod-3.ebuild,
61 + -kmod-2.ebuild, metadata.xml:
62 + version bump, remove old version and remove the rootfs-install use flag
63 + description.
64
65 02 Jan 2012; Mike Frysinger <vapier@g.o> kmod-9999.ebuild:
66 Always delete .la since we have a .pc file, and restore /bin and /sbin split.
67
68
69
70 1.1 sys-apps/kmod/kmod-3.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-3.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-3.ebuild?rev=1.1&content-type=text/plain
74
75 Index: kmod-3.ebuild
76 ===================================================================
77 # Copyright 1999-2012 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-3.ebuild,v 1.1 2012/01/05 15:55:52 williamh Exp $
80
81 EAPI=4
82
83 EGIT_REPO_URI="git://git.profusion.mobi/${PN}.git"
84
85 [[ "${PV}" == "9999" ]] && vcs=git-2
86 inherit ${vcs} autotools eutils toolchain-funcs
87 unset vcs
88
89 if [[ "${PV}" != "9999" ]] ; then
90 SRC_URI="http://packages.profusion.mobi/kmod/${P}.tar.xz"
91 KEYWORDS="~amd64 ~x86"
92 fi
93
94 DESCRIPTION="library and tools for managing linux kernel modules"
95 HOMEPAGE="http://git.profusion.mobi/cgit.cgi/kmod.git"
96
97 LICENSE="LGPL-2"
98 SLOT="0"
99 IUSE="debug lzma static-libs +tools zlib"
100
101 DEPEND="zlib? ( sys-libs/zlib )
102 lzma? ( app-arch/xz-utils )"
103 RDEPEND="${DEPEND}"
104
105 src_prepare()
106 {
107 if [ ! -e configure ]; then
108 eautoreconf
109 else
110 elibtoolize
111 fi
112 }
113
114 src_configure()
115 {
116 econf \
117 $(use_enable debug) \
118 $(use_with lzma xz) \
119 $(use_enable static-libs static) \
120 $(use_enable tools) \
121 $(use_with zlib)
122 }
123
124 src_install()
125 {
126 default
127
128 # we have a .pc file for people to use
129 find "${D}" -name libkmod.la -delete
130
131 # If the tools are installed, add compatibility symbolic links
132 if use tools; then
133 for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
134 dosym kmod /usr/bin/$cmd
135 done
136 fi
137 }