summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-24 19:52:53 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-24 19:52:53 +0000
commit174f049a87e1463a16d8e7a725d098bbe228c898 (patch)
tree97781e929c06d5d2ea08954ec4af48c96e37cfd4 /sys-apps/module-init-tools
parentbring back k3b as i broke the tree (diff)
downloadgentoo-2-174f049a87e1463a16d8e7a725d098bbe228c898.tar.gz
gentoo-2-174f049a87e1463a16d8e7a725d098bbe228c898.tar.bz2
gentoo-2-174f049a87e1463a16d8e7a725d098bbe228c898.zip
Version bump #271074 by Lars Wendler.
(Portage version: 2.2_rc33/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.8.ebuild63
2 files changed, 70 insertions, 1 deletions
diff --git a/sys-apps/module-init-tools/ChangeLog b/sys-apps/module-init-tools/ChangeLog
index 0c2d579fdb58..5e5bb3ef614a 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.148 2009/03/17 10:30:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/ChangeLog,v 1.149 2009/05/24 19:52:53 vapier Exp $
+
+*module-init-tools-3.8 (24 May 2009)
+
+ 24 May 2009; Mike Frysinger <vapier@gentoo.org>
+ +module-init-tools-3.8.ebuild:
+ Version bump #271074 by Lars Wendler.
17 Mar 2009; Raúl Porcel <armin76@gentoo.org>
module-init-tools-3.5.ebuild:
diff --git a/sys-apps/module-init-tools/module-init-tools-3.8.ebuild b/sys-apps/module-init-tools/module-init-tools-3.8.ebuild
new file mode 100644
index 000000000000..0bfb37f1a55b
--- /dev/null
+++ b/sys-apps/module-init-tools/module-init-tools-3.8.ebuild
@@ -0,0 +1,63 @@
+# 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.8.ebuild,v 1.1 2009/05/24 19:52:53 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
+
+ # dont bother building insmod.static
+ sed -i \
+ -e 's: insmod.static$(EXEEXT)::' \
+ Makefile.in
+
+ touch *.5 *.8 # dont regen manpages
+}
+
+src_compile() {
+ econf \
+ --prefix=/ \
+ --enable-zlib \
+ --enable-zlib-dynamic \
+ || die "econf failed"
+ emake || die "emake module-init-tools failed"
+}
+
+src_test() {
+ ./tests/runtests || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+
+ dosym modprobe.conf.5 /usr/share/man/man5/modprobe.d.5
+
+ 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
+}