Commits

braindamaged committed 17d6144

kmod: 12

Comments (0)

Files changed (2)

sys-apps/kmod/Manifest

 AUX kmod-8-gc-sections.patch 3167 SHA256 d0f9a28f01b3ab7a00f53a97f8d1596977c945f9125e884e9eaa850e1f433281 SHA512 da6f05d784028536e5861c84add81b54f4e6338672aa576c92b95555dc75d18bdd5d6d689d7cc9ba0526866c23913e9bfbbccf3888e376fbaabd9053021e6a36 WHIRLPOOL ef143dd901a8b2dd46cbd45bfd030fb44ae67b7c333ae10dd7761ec5b12e3c7e93cc4e343c9c9642b410eef67051fe2a6542bab20418c805f526e9465ee5dfcf
 DIST kmod-10.tar.xz 1125436 SHA256 deb80df9e6aa34f965ecf329fd07db462b57ce515b9077eae5cdfac5197a7bff SHA512 eb3a875db0ee6882a5b91f0202060a7589048eba0a6ba6627c7640dfde3e74b8bfa631f32cabf9b9c690358e3d61930300d0893ad29ea9a69a22ec609aefdb2e WHIRLPOOL d4ccd0ad341c65cdbb608e93b0bff576d049321258beaac55b285c4ee1c4b6b32dd7aaf0121920a38a0412cfefbb091b98e288fb4239692135c2cad1bf53eefc
 DIST kmod-11.tar.xz 1274992 SHA256 28604e153833571ff6ebf34ad1722d3aca4d3d1760ad069a1f06d8fe5efd1de9 SHA512 c10e42317858c3fd5f2daa7fb77919f362cd7b6b2413198e332a1da1351a3211143090e5021be4324f5f7e7cccf5e0cdea5872ebbfe57fba517d4945ada99c8d WHIRLPOOL 57168d58f40e3782a9773beeb37926d40522525f18b7ee3003cfdacd3fd2da91701eeef414b529334bde429dbcb9f4c02d555d17cef1c50d780c83531a9a25c8
+DIST kmod-12.tar.xz 1275028 SHA256 c6189dd8c5a1e8d9224e8506bd188c0cd5dfa119fd6b7e5869b3640cbe8bf92f SHA512 f24bb25812b1902736f875bd3d7f995fa42a50cb7208b0d79a82fb5915223cf78e41018d5bc2cd1088acad5dc8e3dd737876262f4acde6479936c4e04223b629 WHIRLPOOL cde992a543945670992813ce142aa96bd94cc719f539b4734a7c2251b2918622e60a027531d5b430c872e58f28a153d3d2b4b90babe3e4b0f3c262afb09b7116
 DIST kmod-9.tar.xz 1122668 SHA256 0607267cb62dbc9009d0719f442a56f97f64d9983e20dbcaedfff9073abdcecf SHA512 912404830d46ab27f9472a4ce0272c03b16b36291069f9cf1a51bc533429fe8f46d7a749edc399fb1631a435dea4077728d0a5b16961603fdde339d3e2b14f1f WHIRLPOOL 1f769b640b97aa248dcf8b0360f6733ce498bdac571b8710154c455d9971367c1d16204fd4acf1d898d4e0af93892c0f4c6e23ff62d50d96b75b69d5668ffb9b
 EBUILD kmod-10.ebuild 2089 SHA256 94df26988a14d5db450cb701cbbb352be0774e420df82c948a65f1003a8ffada SHA512 bc18265093281c99d13206d314291ecadc907de93f2f6dfe45bb3d950a65c4193367b34579c0f7805a2c7c60e89eab814e820ed170a7daac3ce3e11c26d3aa0e WHIRLPOOL b2d078dfac92d15c7f1eb2f39f8d77f23b1f9ef84dd4bf4b359f92006d1a73fd1d9763509aebee95208683ef4fbbaacf732537e54d8dedde3c31fd52e76b572f
 EBUILD kmod-11-r1.ebuild 2314 SHA256 59d4d09755dde01f7601692e815046e5d2dd75e8f314f1e38795ec25718e60bf SHA512 72ae47df6fe216c9283f92d83e91b21dd3f56bd75ba06e4303ae79301f48fea858e280d0e7b50bb409958ca492fee59bf7823dd1aca0e19a21f68480d5b2ac6c WHIRLPOOL e27aa71267874f70af505e711f92a04baaa662a26d7f7e9435143293df896ae3e9811f21e34e452c29398cfe327e68d3955c4f8a8b8f91f5af243b04dd758c81
 EBUILD kmod-11.ebuild 2252 SHA256 34eb773006685da3eb048e60e21c5ededda269d2d3db85d6f227544869b952cb SHA512 8f8554f9c79c00437dc84ecd9cc3bb5349a8f36b154d4c2e843e99f63e2c418fdf8ee810f0f67faf5ff106d0f0474082112d9b43d65c464e3ebe0ed161c1050a WHIRLPOOL 26a92d89fcc786a080e53b098f78d117c95216e4b3451aa9026b3f33e6cc5bedb924c45300d4af0032d8f3ca2001d17e2fde8650a26a30afced67c1a1a3ba570
+EBUILD kmod-12.ebuild 2202 SHA256 7f2ab8bcffc7974b21623771071e64a91fdc8979bac0d7213d6d1255604c3ee3 SHA512 3e295039e3a81ad6b995eeec686b48695d9b823a5ca6ba10ec086f1c25b1e09360a35422453c51d6ef3da8df1f95005239c46c3c1cba4d84a2ec960421461492 WHIRLPOOL eb506f9663d1099be5a797801cbd290e579438c875d829abf59fbc1b526d9d54e365a333bf9e8dc2d40b2efdd20b458676c5c1e2575c360af221690ec6f24cff
 EBUILD kmod-9-r4.ebuild 2089 SHA256 94df26988a14d5db450cb701cbbb352be0774e420df82c948a65f1003a8ffada SHA512 bc18265093281c99d13206d314291ecadc907de93f2f6dfe45bb3d950a65c4193367b34579c0f7805a2c7c60e89eab814e820ed170a7daac3ce3e11c26d3aa0e WHIRLPOOL b2d078dfac92d15c7f1eb2f39f8d77f23b1f9ef84dd4bf4b359f92006d1a73fd1d9763509aebee95208683ef4fbbaacf732537e54d8dedde3c31fd52e76b572f
 MISC metadata.xml 248 SHA256 fecdc22a14c4c672b4f850d5e40c1c75142975f667739f7c1128258718f5eaa2 SHA512 14411e00a3240d5478c5b1390cd2f74d42ea938fa11044cac56e30e2f66377484303672334db0a8cd77567d3dc4436141ca5a90ac574cb126bce8544c040aa1c WHIRLPOOL 56eb33b5a9855a3a1fbdef25aa29dd519f51fdf766222c4f26b5b7a962be6cfd2cf68ab264d7c43f1a2147f4c7e2c2958629a154cf80937993580fc9a630be7e

sys-apps/kmod/kmod-12.ebuild

+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools eutils libtool multilib
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git"
+	inherit git-2
+else
+	SRC_URI="mirror://kernel/linux/utils/kernel/kmod/${P}.tar.xz"
+	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="library and tools for managing linux kernel modules"
+HOMEPAGE="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git"
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="debug doc lzma man static-libs +tools zlib"
+
+# Upstream does not support running the test suite with custom configure flags.
+# I was also told that the test suite is intended for kmod developers.
+# So we have to restrict it.
+# See bug #408915.
+RESTRICT="test"
+
+RDEPEND="!sys-apps/module-init-tools
+	!sys-apps/modutils
+	lzma? ( app-arch/xz-utils )
+	zlib? ( >=sys-libs/zlib-1.2.6 )" #427130
+DEPEND="${RDEPEND}
+	doc? ( dev-util/gtk-doc )
+	lzma? ( virtual/pkgconfig )
+	man? ( dev-libs/libxslt )
+	zlib? ( virtual/pkgconfig )"
+
+src_prepare()
+{
+	if [ ! -e configure ]; then
+		if use doc; then
+			gtkdocize --copy --docdir libkmod/docs || die
+		else
+			touch libkmod/docs/gtk-doc.make
+		fi
+		eautoreconf
+	else
+		elibtoolize
+	fi
+}
+
+src_configure()
+{
+	econf \
+		--bindir=${EPREFIX}/sbin \
+		--libdir=${EPREFIX}/usr/$(get_libdir) \
+		--with-rootlibdir=${EPREFIX}/$(get_libdir) \
+		$(use_enable static-libs static) \
+		$(use_enable tools) \
+		$(use_enable debug) \
+		$(use_enable man manpages) \
+		$(use_enable doc gtk-doc) \
+		$(use_with lzma xz) \
+		$(use_with zlib)
+}
+
+src_install()
+{
+	default
+	prune_libtool_files
+
+	if use tools; then
+		local cmd
+		for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
+			dosym /sbin/kmod /sbin/${cmd}
+		done
+		# Compability symlink(s):
+		# These are both hardcoded in the Linux kernel source tree wrt #426698
+		dosym /sbin/kmod /sbin/depmod
+		dosym /sbin/kmod /sbin/modprobe
+	fi
+
+	cat <<-EOF > "${T}"/usb-load-ehci-first.conf
+	softdep uhci_hcd pre: ehci_hcd
+	softdep ohci_hcd pre: ehci_hcd
+	EOF
+
+	insinto /etc/modprobe.d
+	doins "${T}"/usb-load-ehci-first.conf #260139
+}