From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/kmod: kmod-13-r1.ebuild ChangeLog |
Date: | Mon, 27 May 2013 15:38:57 |
Message-Id: | 20130527153850.14E1E2171D@flycatcher.gentoo.org |
1 | ssuominen 13/05/27 15:38:50 |
2 | |
3 | Modified: ChangeLog |
4 | Added: kmod-13-r1.ebuild |
5 | Log: |
6 | Avoid calling syscall() with -1 patch from upstream for http://bugs.funtoo.org/browse/FL-534 as requested by lxnay |
7 | |
8 | (Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 | |
10 | Revision Changes Path |
11 | 1.83 sys-apps/kmod/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.83&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?rev=1.83&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/ChangeLog?r1=1.82&r2=1.83 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v |
20 | retrieving revision 1.82 |
21 | retrieving revision 1.83 |
22 | diff -u -r1.82 -r1.83 |
23 | --- ChangeLog 10 Apr 2013 03:12:15 -0000 1.82 |
24 | +++ ChangeLog 27 May 2013 15:38:49 -0000 1.83 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for sys-apps/kmod |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.82 2013/04/10 03:12:15 williamh Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.83 2013/05/27 15:38:49 ssuominen Exp $ |
30 | + |
31 | +*kmod-13-r1 (27 May 2013) |
32 | + |
33 | + 27 May 2013; Samuli Suominen <ssuominen@g.o> +kmod-13-r1.ebuild, |
34 | + +files/kmod-13-errno_syscall.patch: |
35 | + Avoid calling syscall() with -1 patch from upstream for |
36 | + http://bugs.funtoo.org/browse/FL-534 as requested by lxnay |
37 | |
38 | 10 Apr 2013; William Hubbs <williamh@g.o> kmod-13.ebuild, |
39 | kmod-9999.ebuild: |
40 | |
41 | |
42 | |
43 | 1.1 sys-apps/kmod/kmod-13-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-13-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kmod/kmod-13-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: kmod-13-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/sys-apps/kmod/kmod-13-r1.ebuild,v 1.1 2013/05/27 15:38:49 ssuominen Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | VIRTUAL_MODUTILS=1 |
57 | |
58 | inherit autotools eutils libtool multilib linux-mod |
59 | |
60 | if [[ ${PV} == 9999 ]]; then |
61 | EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git" |
62 | inherit git-2 |
63 | else |
64 | SRC_URI="mirror://kernel/linux/utils/kernel/kmod/${P}.tar.xz" |
65 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
66 | fi |
67 | |
68 | DESCRIPTION="library and tools for managing linux kernel modules" |
69 | HOMEPAGE="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git" |
70 | |
71 | LICENSE="LGPL-2" |
72 | SLOT="0" |
73 | IUSE="debug doc lzma static-libs +tools zlib" |
74 | |
75 | # Upstream does not support running the test suite with custom configure flags. |
76 | # I was also told that the test suite is intended for kmod developers. |
77 | # So we have to restrict it. |
78 | # See bug #408915. |
79 | RESTRICT="test" |
80 | |
81 | RDEPEND="!sys-apps/module-init-tools |
82 | !sys-apps/modutils |
83 | lzma? ( >=app-arch/xz-utils-5.0.4-r1 ) |
84 | zlib? ( >=sys-libs/zlib-1.2.6 )" #427130 |
85 | DEPEND="${RDEPEND} |
86 | dev-libs/libxslt |
87 | doc? ( dev-util/gtk-doc ) |
88 | lzma? ( virtual/pkgconfig ) |
89 | zlib? ( virtual/pkgconfig )" |
90 | |
91 | pkg_setup() { |
92 | CONFIG_CHECK="~MODULES ~MODULE_UNLOAD" |
93 | |
94 | linux-info_pkg_setup |
95 | } |
96 | |
97 | src_prepare() { |
98 | epatch "${FILESDIR}"/${P}-errno_syscall.patch |
99 | |
100 | if [ ! -e configure ]; then |
101 | if use doc; then |
102 | gtkdocize --copy --docdir libkmod/docs || die |
103 | else |
104 | touch libkmod/docs/gtk-doc.make |
105 | fi |
106 | eautoreconf |
107 | else |
108 | elibtoolize |
109 | fi |
110 | } |
111 | |
112 | src_configure() |
113 | { |
114 | econf \ |
115 | --bindir=/bin \ |
116 | --with-rootlibdir=/$(get_libdir) \ |
117 | $(use_enable static-libs static) \ |
118 | $(use_enable tools) \ |
119 | $(use_enable debug) \ |
120 | $(use_enable doc gtk-doc) \ |
121 | $(use_with lzma xz) \ |
122 | $(use_with zlib) |
123 | } |
124 | |
125 | src_install() |
126 | { |
127 | default |
128 | prune_libtool_files |
129 | |
130 | if use tools; then |
131 | local bincmd sbincmd |
132 | for sbincmd in depmod insmod lsmod modinfo modprobe rmmod; do |
133 | dosym /bin/kmod /sbin/${sbincmd} |
134 | done |
135 | |
136 | # These are also usable as normal user |
137 | for bincmd in lsmod modinfo; do |
138 | dosym kmod /bin/${bincmd} |
139 | done |
140 | fi |
141 | |
142 | cat <<-EOF > "${T}"/usb-load-ehci-first.conf |
143 | softdep uhci_hcd pre: ehci_hcd |
144 | softdep ohci_hcd pre: ehci_hcd |
145 | EOF |
146 | |
147 | insinto /lib/modprobe.d |
148 | doins "${T}"/usb-load-ehci-first.conf #260139 |
149 | } |
150 | |
151 | pkg_postinst() { |
152 | # Upgrade path from sys-apps/module-init-tools |
153 | if [[ -d ${ROOT}/lib/modules/${KV_FULL} ]]; then |
154 | if [[ -z ${REPLACING_VERSIONS} ]]; then |
155 | update_depmod |
156 | fi |
157 | fi |
158 | } |