summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-23 22:39:10 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-23 22:39:10 +0000
commit4e479f608a6db2f1f4b4596f22632a62a0fb8ab4 (patch)
tree24c7d4132bf68979d3ba8d2c26167a9d7e042244 /sys-apps/module-init-tools
parentwhitespace (diff)
downloadgentoo-2-4e479f608a6db2f1f4b4596f22632a62a0fb8ab4.tar.gz
gentoo-2-4e479f608a6db2f1f4b4596f22632a62a0fb8ab4.tar.bz2
gentoo-2-4e479f608a6db2f1f4b4596f22632a62a0fb8ab4.zip
Version bump #286131 by Lars Wendler.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/module-init-tools')
-rw-r--r--sys-apps/module-init-tools/ChangeLog8
-rw-r--r--sys-apps/module-init-tools/module-init-tools-3.10.ebuild55
2 files changed, 62 insertions, 1 deletions
diff --git a/sys-apps/module-init-tools/ChangeLog b/sys-apps/module-init-tools/ChangeLog
index 7193815630a1..5f5eb8ec23cd 100644
--- a/sys-apps/module-init-tools/ChangeLog
+++ b/sys-apps/module-init-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/module-init-tools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/ChangeLog,v 1.150 2009/05/27 20:13:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/ChangeLog,v 1.151 2009/09/23 22:39:10 vapier Exp $
+
+*module-init-tools-3.10 (23 Sep 2009)
+
+ 23 Sep 2009; Mike Frysinger <vapier@gentoo.org>
+ +module-init-tools-3.10.ebuild:
+ Version bump #286131 by Lars Wendler.
*module-init-tools-3.9 (27 May 2009)
diff --git a/sys-apps/module-init-tools/module-init-tools-3.10.ebuild b/sys-apps/module-init-tools/module-init-tools-3.10.ebuild
new file mode 100644
index 000000000000..546ad90c2d1a
--- /dev/null
+++ b/sys-apps/module-init-tools/module-init-tools-3.10.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-3.10.ebuild,v 1.1 2009/09/23 22:39:10 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="tools for managing linux kernel modules"
+HOMEPAGE="http://kerneltools.org/"
+SRC_URI="mirror://kernel/linux/utils/kernel/module-init-tools/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ >=sys-apps/baselayout-2.0.1
+ !virtual/modutils"
+PROVIDE="virtual/modutils"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-3.2.2-handle-dupliate-aliases.patch #149426
+ touch *.5 *.8 # dont regen manpages
+}
+
+src_compile() {
+ econf \
+ --prefix=/ \
+ --enable-zlib \
+ --enable-zlib-dynamic \
+ --disable-static-utils
+ emake || die "emake module-init-tools failed"
+}
+
+src_test() {
+ ./tests/runtests || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ into /
+ newsbin "${FILESDIR}"/update-modules-3.5.sh update-modules || die
+ doman "${FILESDIR}"/update-modules.8
+}
+
+pkg_postinst() {
+ # cheat to keep users happy
+ if grep -qs modules-update "${ROOT}"/etc/init.d/modules ; then
+ sed -i 's:modules-update:update-modules:' "${ROOT}"/etc/init.d/modules
+ fi
+}