diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-06-02 14:07:21 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-06-02 14:07:21 +0000 |
commit | 9634c63094d9768825441e8e78833afa74e48176 (patch) | |
tree | 97db22ad944b6266b1b480abb2b5d406b2dc8e77 | |
parent | moved fonts from x11-misc to media-fonts (diff) | |
download | historical-9634c63094d9768825441e8e78833afa74e48176.tar.gz historical-9634c63094d9768825441e8e78833afa74e48176.tar.bz2 historical-9634c63094d9768825441e8e78833afa74e48176.zip |
cleanup
14 files changed, 0 insertions, 1081 deletions
diff --git a/sys-apps/module-init-tools/Manifest b/sys-apps/module-init-tools/Manifest index 04dc21575485..d80e66b23c90 100644 --- a/sys-apps/module-init-tools/Manifest +++ b/sys-apps/module-init-tools/Manifest @@ -1,28 +1,15 @@ MD5 2a7e77ac964c3c6ec3b0ab291134998f ChangeLog 6611 -MD5 e715d20dcc9f5af7e83e8ceaecb28fba module-init-tools-0.9.9.ebuild 3523 -MD5 638244b713d187af0e94d918aa08176c module-init-tools-0.9.10-r4.ebuild 6896 MD5 ef0af44f51c9f603e41c37578da76960 module-init-tools-0.9.10-r5.ebuild 4722 -MD5 fb0c52e48ff29db13216147ab463eb67 module-init-tools-0.9.10-r3.ebuild 5852 -MD5 f10f582c74527e82ee6757b3549a9946 module-init-tools-0.9.11-r1.ebuild 4323 -MD5 43a77defbd90c7b3437bdaec67c1a953 module-init-tools-0.9.11.ebuild 4320 -MD5 5b82da95c1d35de4266fd709b2cc4e54 module-init-tools-0.9.11-r2.ebuild 4383 MD5 5140c454a05cae20e4a1a2a44891c05a module-init-tools-0.9.11-r3.ebuild 4533 MD5 91ae9cd23dab7f2d86efb824cd272188 module-init-tools-0.9.11a.ebuild 4540 MD5 4c25b8e90eb48caebedc6a2778ed636d module-init-tools-0.9.12.ebuild 4538 -MD5 390b29c0fb86f31f1c290de3448f1ea3 files/digest-module-init-tools-0.9.9 143 -MD5 e20f41be805ddc7b8a6b74d52683a170 files/digest-module-init-tools-0.9.10-r4 212 MD5 28295a2b93ba19ae91062a0078c078f6 files/module-init-tools-0.9.10-be-quiet-for-devfsd.patch 3327 MD5 060ce311606657915548168939e965b4 files/modutils-2.4.22-no-above-below.patch 382 MD5 cef78844d070f59100d7f47b62ecf5d8 files/digest-module-init-tools-0.9.10-r5 144 -MD5 35dcc4aa984b7d408549db9141f8de53 files/digest-module-init-tools-0.9.11 144 -MD5 9dc24220b1e193887a65b75aa066c5c0 files/module-init-tools-0.9.9-devfs-hack.patch 597 -MD5 e20f41be805ddc7b8a6b74d52683a170 files/digest-module-init-tools-0.9.10-r3 212 MD5 37092cae20ec7562f89aea0205bda5c0 files/module-init-tools-0.9.10-use-modprobe_conf.patch 431 MD5 71d2757ca730209482fea3cb89648a27 files/digest-module-init-tools-0.9.11a 407 MD5 4df8ab0d7f4afe4d13b11732b8eb5508 files/module-init-tools-0.9.10-fix-recursion.patch 1986 MD5 3bdd37447e200b986159c090991bd6be files/module-init-tools-0.9.10-no-stdout-on-log.patch 787 -MD5 f507e70d4eca484c4fa0eb2750db617a files/digest-module-init-tools-0.9.11-r1 883 MD5 45ebc93263c86224eb12c3f2c71d9275 files/module-init-tools-0.9.11-be-quiet-for-devfsd.patch 4208 -MD5 8fa0146b2762a25ceb1784a898ff3bc8 files/digest-module-init-tools-0.9.11-r2 144 MD5 8fa0146b2762a25ceb1784a898ff3bc8 files/digest-module-init-tools-0.9.11-r3 144 MD5 37cda221ca368a67d8a9fd8e6814f62c files/digest-module-init-tools-0.9.12 145 diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.10-r3 b/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.10-r3 deleted file mode 100644 index 5d5b645cfd81..000000000000 --- a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.10-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f8a88214e06d102a2044af3b95256f2a module-init-tools-0.9.10.tar.bz2 99143 -MD5 4c3a76d0917ea3b5309302d8f6c8806c modutils-2.4.21.tar.bz2 217896 -MD5 6c5d2a62ae98708f3ad0c57900d63919 modutils-2.4.22.tar.bz2 219457 diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.10-r4 b/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.10-r4 deleted file mode 100644 index 5d5b645cfd81..000000000000 --- a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.10-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f8a88214e06d102a2044af3b95256f2a module-init-tools-0.9.10.tar.bz2 99143 -MD5 4c3a76d0917ea3b5309302d8f6c8806c modutils-2.4.21.tar.bz2 217896 -MD5 6c5d2a62ae98708f3ad0c57900d63919 modutils-2.4.22.tar.bz2 219457 diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11 b/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11 deleted file mode 100644 index 306a3bddefec..000000000000 --- a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 6a6e738f2e545692f58f724253b4b628 module-init-tools-0.9.11.tar.bz2 99987 -MD5 16170af2981db98367c6f140a1534668 modutils-2.4.24.tar.bz2 220279 diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11-r1 b/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11-r1 deleted file mode 100644 index 257124bf34c8..000000000000 --- a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11-r1 +++ /dev/null @@ -1,10 +0,0 @@ -MD5 37092cae20ec7562f89aea0205bda5c0 /files/module-init-tools-0.9.10-use-modprobe_conf.patch 431 -MD5 060ce311606657915548168939e965b4 /files/modutils-2.4.22-no-above-below.patch 382 -MD5 3bdd37447e200b986159c090991bd6be /files/module-init-tools-0.9.10-no-stdout-on-log.patch 787 -MD5 45ebc93263c86224eb12c3f2c71d9275 /files/module-init-tools-0.9.11-be-quiet-for-devfsd.patch 4208 -MD5 9dc24220b1e193887a65b75aa066c5c0 /files/module-init-tools-0.9.9-devfs-hack.patch 597 -MD5 28295a2b93ba19ae91062a0078c078f6 /files/module-init-tools-0.9.10-be-quiet-for-devfsd.patch 3327 -MD5 4df8ab0d7f4afe4d13b11732b8eb5508 /files/module-init-tools-0.9.10-fix-recursion.patch 1986 -MD5 25d7258103285ce3b904f1d082fdc180 /module-init-tools-0.9.11-r1.ebuild 4345 -MD5 6a6e738f2e545692f58f724253b4b628 module-init-tools-0.9.11.tar.bz2 99987 -MD5 2c0cca3ef6330a187c6ef4fe41ecaa4d modutils-2.4.25.tar.bz2 220530 diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11-r2 b/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11-r2 deleted file mode 100644 index bff888302de5..000000000000 --- a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.11-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 6a6e738f2e545692f58f724253b4b628 module-init-tools-0.9.11.tar.bz2 99987 -MD5 2c0cca3ef6330a187c6ef4fe41ecaa4d modutils-2.4.25.tar.bz2 220530 diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.9 b/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.9 deleted file mode 100644 index 8c2f1776a31f..000000000000 --- a/sys-apps/module-init-tools/files/digest-module-init-tools-0.9.9 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 b697cb1099bc6c0a5738b1ebb7716a79 module-init-tools-0.9.9.tar.bz2 96524 -MD5 6c5d2a62ae98708f3ad0c57900d63919 modutils-2.4.22.tar.bz2 219457 diff --git a/sys-apps/module-init-tools/files/module-init-tools-0.9.9-devfs-hack.patch b/sys-apps/module-init-tools/files/module-init-tools-0.9.9-devfs-hack.patch deleted file mode 100644 index fdabb61418f5..000000000000 --- a/sys-apps/module-init-tools/files/module-init-tools-0.9.9-devfs-hack.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- module-init-tools-0.9.9/modprobe.c.orig 2003-01-30 04:17:53.000000000 +0200 -+++ module-init-tools-0.9.9/modprobe.c 2003-02-18 01:05:59.000000000 +0200 -@@ -1139,9 +1139,9 @@ - - /* This is a horrible hack to allow devfsd, which calls - modprobe with -C /etc/modules.conf, to work. FIXME. */ -- if (config && strcmp(config, "/etc/modules.conf") == 0 -+ if (config && strcmp(config, "/etc/modules.devfs") == 0 - && !dump_only && strncmp(argv[optind], "/dev/", 5) == 0) -- config = NULL; -+ config = "/etc/modprobe.devfs"; - - /* -r only allows certain restricted options */ - if (remove) { diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.10-r3.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.10-r3.ebuild deleted file mode 100644 index 8d37d97b66cf..000000000000 --- a/sys-apps/module-init-tools/module-init-tools-0.9.10-r3.ebuild +++ /dev/null @@ -1,198 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.10-r3.ebuild,v 1.2 2003/05/25 15:21:01 mholzer Exp $ - -# This includes backwards compatability for stable kernels -IUSE="" - -inherit flag-o-matic - -inherit eutils - -# Ok, theory of what we are doing is this: modprobe from modutils -# later than 2.4.21 have hardcoded 'above' and 'below' stuff that -# cause generate-modprobe.conf to generate a /etc/modprobe.conf with -# invalid (linux-2.4) modules in it. -# -# Now, one solution is to only use modutils-2.4.21, but then we might -# cause issues for users that still use 2.4 kernels, as later modutils -# might fix things ... -# -# Solution: build modutils 2 times, once 2.4.21, and install insmod -# as /sbin/modprobe.conf, and second time build current -# modutils as we would. Then we tweak generate-modprobe.conf -# to rather use /sbin/modprobe.conf to generate -# /etc/modprobe.conf ... -# -# <azarah@gentoo.org> (10 March 2003) - -MYP="${P/_pre1/-pre}" -S="${WORKDIR}/${MYP}" -# Do not use modutils-2.4.22 or later, as it borks modprobe.conf generation -# with reference to invalid (linux-2.4) modules. -OMODPROBE_PV="2.4.21" -MODUTILS_PV="2.4.22" -DESCRIPTION="Kernel module tools for the development kernel >=2.5.48" -SRC_URI="mirror://kernel/linux/kernel/people/rusty/modules/${MYP}.tar.bz2 - mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${OMODPROBE_PV}.tar.bz2 - mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2" -HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -LICENSE="GPL-2" -SLOT="0" - -DEPEND="virtual/glibc" -RDEPEND=">=sys-apps/devfsd-1.3.25-r1 - >=sys-kernel/development-sources-2.5.48" - -pkg_setup() { - check_KV - - if [ ! -f /lib/modules/${KV}/modules.dep ] - then - eerror "Please compile and install a kernel first!" - die "Please compile and install a kernel first!" - fi -} - -src_unpack() { - unpack ${A} - - cd ${S} - # Fix recursive calls to modprobe not honoring -s, -q, -v and -C - epatch ${FILESDIR}/${P}-fix-recursion.patch - # Never output to stdout if logging was requested - epatch ${FILESDIR}/${P}-no-stdout-on-log.patch - # Use older modprobe that we install as modprobe.conf when calling - # generate-modprobe.conf, as the newer modprobe (2.4.22 and later) - # generate /etc/modprobe.conf with invalid modules ... - epatch ${FILESDIR}/${P}-use-modprobe_conf.patch -} - -src_compile() { - local myconf= - - filter-flags -fPIC - - einfo "Building modprobe_conf..." - cd ${WORKDIR}/modutils-${OMODPROBE_PV} - - econf \ - --disable-strip \ - --prefix=/ \ - --disable-insmod-static \ - --disable-zlib \ - ${myconf} - emake || die "emake modprobe.conf failed" - - einfo "Building modutils..." - cd ${WORKDIR}/modutils-${MODUTILS_PV} - - econf \ - --disable-strip \ - --prefix=/ \ - --enable-insmod-static \ - --disable-zlib \ - ${myconf} - emake || die "emake modultils failed" - - einfo "Building module-init-tools..." - cd ${S} - - econf \ - --prefix=/ \ - ${myconf} - - emake || die "emake module-init-tools failed" -} - -src_install () { - - cd ${WORKDIR}/modutils-${OMODPROBE_PV} - exeinto /sbin - newexe insmod/insmod modprobe.conf - - cd ${WORKDIR}/modutils-${MODUTILS_PV} - einstall prefix="${D}" - dodoc COPYING CREDITS ChangeLog NEWS README TODO - - cd ${S} - # This copies the old version of modutils to *.old so it still works - # with kernels <= 2.4 - # This code was borrowed from the module-init-tools Makefile - for f in lsmod modprobe rmmod depmod insmod; do - if [ -L ${D}/sbin/${f} ]; then - ln -sf `ls -l ${D}/sbin/${f} | \ - sed 's/.* -> //'`.old ${D}/sbin/${f}; - fi; - mv ${D}/sbin/${f} ${D}/sbin/${f}.old; - done -# make prefix=${D} move-old-targets || die "Renaming old bins to *.old failed" - - einstall prefix=${D} - - # Install the modules.conf2modprobe.conf tool, so we can update - # modprobe.conf. - into / - dosbin ${S}/generate-modprobe.conf - - # Create the new modprobe.conf - dodir /etc - -# This we should rather do in pkg_postinst(), else we confuse modules-update ... -# if [ -f /etc/modules.conf ]; then -# einfo "Generating /etc/modprobe.conf ..." -# PATH="${D}/sbin:${PATH}" \ -# ${S}/generate-modprobe.conf ${D}/etc/modprobe.conf \ -# || die "Could not create modprobe.conf" -# fi - rm -f ${D}/etc/modprobe.conf - if [ ! -f ${ROOT}/etc/modprobe.devfs ]; then - # Support file for the devfs hack .. needed else modprobe borks. - # Baselayout-1.8.6.3 or there abouts will have a modules-update that - # will correctly generate /etc/modprobe.devfs .... - echo "### This file is automatically generated by modules-update" \ - > ${D}/etc/modprobe.devfs - else - # This is dynamic, so we do not want this in the package ... - rm -f ${D}/etc/modprobe.devfs - fi - - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ]; then - einfo "Updating config files..." - if [ -x /sbin/modules-update ]; then - /sbin/modules-update - - elif [ -x /sbin/update-modules ]; then - /sbin/update-modules - - elif [ -x /usr/sbin/update-modules ]; then - /usr/sbin/update-modules - fi - fi - # Notify user of evilness, hope for a better way ;-) - echo "" - einfo "This overwrites the modutils files, so if you remove this," - einfo "remember to remerge modutils. However, this package has" - einfo "installed a copy of the modutils files with suffix .old" - einfo "in your /sbin directory, which will automatically be used" - einfo "when needed." - echo "" -} - - - -pkg_postrm() { - if [ "$(best_version ${PN})" == "${CATEGORY}/${PF}" -a ! -f /sbin/insmod ]; then - ewarn "Uninstalling module-init-tools has left you" - ewarn "without a modutils installtion. we recommend" - ewarn "emerging modutils immediately or remerging" - ewarn "module-init-tools." - fi -} - diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.10-r4.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.10-r4.ebuild deleted file mode 100644 index 819d78606b1c..000000000000 --- a/sys-apps/module-init-tools/module-init-tools-0.9.10-r4.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.10-r4.ebuild,v 1.2 2003/05/25 15:21:01 mholzer Exp $ - -# This includes backwards compatability for stable kernels -IUSE="" - -inherit flag-o-matic - -inherit eutils - -# Ok, theory of what we are doing is this: modprobe from modutils -# later than 2.4.21 have hardcoded 'above' and 'below' stuff that -# cause generate-modprobe.conf to generate a /etc/modprobe.conf with -# invalid (linux-2.4) modules in it. -# -# Now, one solution is to only use modutils-2.4.21, but then we might -# cause issues for users that still use 2.4 kernels, as later modutils -# might fix things ... -# -# Solution: build insmod two times, once without the predefined 'above' -# and 'below' stuff, and install insmod as /sbin/modprobe.conf, -# and second time build current modutils as we would. Then we -# tweak generate-modprobe.conf to rather use /sbin/modprobe.conf -# to generate /etc/modprobe.conf ... -# -# <azarah@gentoo.org> (10 March 2003) - -MYP="${P/_pre1/-pre}" -S="${WORKDIR}/${MYP}" -MODUTILS_PV="2.4.22" -DESCRIPTION="Kernel module tools for the development kernel >=2.5.48" -SRC_URI="mirror://kernel/linux/kernel/people/rusty/modules/${MYP}.tar.bz2 - mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2" -HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -LICENSE="GPL-2" -SLOT="0" - -DEPEND="virtual/glibc" -RDEPEND=">=sys-apps/devfsd-1.3.25-r1 - >=sys-kernel/development-sources-2.5.48" - -pkg_setup() { - check_KV - - if [ ! -f /lib/modules/${KV}/modules.dep ] - then - eerror "Please compile and install a kernel first!" - die "Please compile and install a kernel first!" - fi -} - -src_unpack() { - unpack ${A} - - cd ${S} - # Fix recursive calls to modprobe not honoring -s, -q, -v and -C - epatch ${FILESDIR}/${P}-fix-recursion.patch - # Never output to stdout if logging was requested - epatch ${FILESDIR}/${P}-no-stdout-on-log.patch - - # Use modprobe without 'above'/'below' stuff that we install as modprobe.conf - # when calling generate-modprobe.conf, as the newer modprobe (2.4.22 and later) - # generate /etc/modprobe.conf with invalid modules ... - epatch ${FILESDIR}/${P}-use-modprobe_conf.patch - # For the first run we will build insmod without the predefined - # 'above' and 'below' stuff. - cd ${WORKDIR}/modutils-${MODUTILS_PV} - epatch ${FILESDIR}/modutils-${MODUTILS_PV}-no-above-below.patch - cd ${S} - - # If we call modprobe with '-C /dev/modules.conf' and the "module name" - # starts with '/dev', modprobe from modutils-2.4.22 do not print any - # errors: - # - # gateway root # modprobe /dev/sd1 - # modprobe: Can't locate module /dev/sd1 - # gateway root # modprobe -C /etc/modules.conf /dev/sd1 - # modprobe: Can't locate module /dev/sd1 - # gateway root # modprobe -C /etc/modules.devfs /dev/sd1 - # gateway root # modprobe foo - # modprobe: Can't locate module foo - # gateway root # modprobe -C /etc/modules.conf foo - # modprobe: Can't locate module foo - # gateway root # modprobe -C /etc/modules.devfs foo - # modprobe: Can't locate module foo - # gateway root # - # gateway root # modprobe -C /etc/modules.devfs /dev/sd1 && echo yes - # yes - # gateway root # modprobe -C /etc/modules.devfs foo && echo yes - # modprobe: Can't locate module foo - # gateway root # - epatch ${FILESDIR}/${P}-be-quiet-for-devfsd.patch -} - -src_compile() { - local myconf= - - filter-flags -fPIC - - einfo "Building modutils..." - cd ${WORKDIR}/modutils-${MODUTILS_PV} - - econf \ - --disable-strip \ - --prefix=/ \ - --enable-insmod-static \ - --disable-zlib \ - ${myconf} - - emake || die "emake modultils failed" - - # Ok, now create the real insmod - mv -f insmod/insmod insmod/modprobe.conf - EPATCH_OPTS="-R" \ - epatch ${FILESDIR}/modutils-${MODUTILS_PV}-no-above-below.patch - - emake || die "emake modultils failed" - - einfo "Building module-init-tools..." - cd ${S} - - econf \ - --prefix=/ \ - ${myconf} - - emake || die "emake module-init-tools failed" -} - -src_install () { - - cd ${WORKDIR}/modutils-${MODUTILS_PV} - einstall prefix="${D}" - - # Install /sbin/modprobe.conf used by generate-modprobe.conf - exeinto /sbin - doexe insmod/modprobe.conf - - docinto modutils-${MODUTILS_PV} - dodoc COPYING CREDITS ChangeLog NEWS README TODO - - cd ${S} - # This copies the old version of modutils to *.old so it still works - # with kernels <= 2.4 - # This code was borrowed from the module-init-tools Makefile - for f in lsmod modprobe rmmod depmod insmod; do - if [ -L ${D}/sbin/${f} ]; then - ln -sf `ls -l ${D}/sbin/${f} | \ - sed 's/.* -> //'`.old ${D}/sbin/${f}; - fi; - mv ${D}/sbin/${f} ${D}/sbin/${f}.old; - done -# make prefix=${D} move-old-targets || die "Renaming old bins to *.old failed" - - einstall prefix=${D} - - # Install the modules.conf2modprobe.conf tool, so we can update - # modprobe.conf. - into / - dosbin ${S}/generate-modprobe.conf - - # Create the new modprobe.conf - dodir /etc - -# This we should rather do in pkg_postinst(), else we confuse modules-update ... -# if [ -f /etc/modules.conf ]; then -# einfo "Generating /etc/modprobe.conf ..." -# PATH="${D}/sbin:${PATH}" \ -# ${S}/generate-modprobe.conf ${D}/etc/modprobe.conf \ -# || die "Could not create modprobe.conf" -# fi - rm -f ${D}/etc/modprobe.conf - if [ ! -f ${ROOT}/etc/modprobe.devfs ]; then - # Support file for the devfs hack .. needed else modprobe borks. - # Baselayout-1.8.6.3 or there abouts will have a modules-update that - # will correctly generate /etc/modprobe.devfs .... - echo "### This file is automatically generated by modules-update" \ - > ${D}/etc/modprobe.devfs - else - # This is dynamic, so we do not want this in the package ... - rm -f ${D}/etc/modprobe.devfs - fi - - docinto - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ]; then - einfo "Updating config files..." - if [ -x /sbin/modules-update ]; then - /sbin/modules-update - - elif [ -x /sbin/update-modules ]; then - /sbin/update-modules - - elif [ -x /usr/sbin/update-modules ]; then - /usr/sbin/update-modules - fi - fi - # Notify user of evilness, hope for a better way ;-) - echo "" - einfo "This overwrites the modutils files, so if you remove this," - einfo "remember to remerge modutils. However, this package has" - einfo "installed a copy of the modutils files with suffix .old" - einfo "in your /sbin directory, which will automatically be used" - einfo "when needed." - echo "" -} - - - -pkg_postrm() { - if [ "$(best_version ${PN})" == "${CATEGORY}/${PF}" -a ! -f /sbin/insmod ]; then - ewarn "Uninstalling module-init-tools has left you" - ewarn "without a modutils installtion. we recommend" - ewarn "emerging modutils immediately or remerging" - ewarn "module-init-tools." - fi -} - diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.11-r1.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.11-r1.ebuild deleted file mode 100644 index b0f60510b3af..000000000000 --- a/sys-apps/module-init-tools/module-init-tools-0.9.11-r1.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.11-r1.ebuild,v 1.2 2003/05/25 15:21:01 mholzer Exp $ - -# This ebuild includes backwards compatability for stable 2.4 kernels -IUSE="" - -inherit flag-o-matic -inherit eutils - -MYP="${P/_pre1/-pre}" -S="${WORKDIR}/${MYP}" -MODUTILS_PV="2.4.25" -DESCRIPTION="Kernel module tools for the development kernel >=2.5.48" -SRC_URI="mirror://kernel/linux/kernel/people/rusty/modules/${MYP}.tar.bz2 - mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2" -HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~arm" -LICENSE="GPL-2" -SLOT="0" - -DEPEND="virtual/glibc" -PROVIDE="virtual/modutils" - -pkg_setup() { - check_KV - - if [ ! -f /lib/modules/${KV}/modules.dep ] - then - eerror "Please compile and install a kernel first!" - die "Please compile and install a kernel first!" - fi -} - -src_unpack() { - unpack ${A} - - # With the b0rked modutils, "modprobe hid" does work. But if something - # (like hotplug) tries to auto-load hid (because another module needs it, - # via the kernel module auto-loader) and keybdev.o or mousedev.o don't - # exist, then the "above" clause fails and the hid module never gets - # loaded, and then things like USB will fail. Thus we remove it all - # together. - # - # <drobbins@gentoo.org> (26 Mar 2003) - cd ${WORKDIR}/modutils-${MODUTILS_PV} - epatch ${FILESDIR}/modutils-2.4.22-no-above-below.patch - - # A hack to have absolutely no output if: - # - # 1) we have no logging enabled - # - # 2) our config file is /etc/modprobe.devfs or /etc/modules.devfs - # - # 3) with the module name starting with '/dev/'. - # - # Rasionale: This is what modprobe from modutils does. - # - # <azarah@gentoo.org> (17 Mar 2003) - cd ${S}; epatch ${FILESDIR}/${P}-be-quiet-for-devfsd.patch -} - -src_compile() { - local myconf= - - filter-flags -fPIC - - einfo "Building modutils..." - cd ${WORKDIR}/modutils-${MODUTILS_PV} - - econf \ - --disable-strip \ - --prefix=/ \ - --enable-insmod-static \ - --disable-zlib \ - ${myconf} - - emake || die "emake modutils failed" - einfo "Building module-init-tools..." - cd ${S} - - econf \ - --prefix=/ \ - ${myconf} - - emake || die "emake module-init-tools failed" -} - -src_install () { - - cd ${WORKDIR}/modutils-${MODUTILS_PV} - einstall prefix="${D}" - - docinto modutils-${MODUTILS_PV} - dodoc COPYING CREDITS ChangeLog NEWS README TODO - - cd ${S} - # This copies the old version of modutils to *.old so it still works - # with kernels <= 2.4; new versions will execve() the .old version if - # a 2.4 kernel is running... - # This code was borrowed from the module-init-tools Makefile - for f in lsmod modprobe rmmod depmod insmod - do - if [ -L ${D}/sbin/${f} ] - then - ln -snf `ls -l ${D}/sbin/${f} | \ - sed 's/.* -> //'`.old ${D}/sbin/${f}; - fi; - mv -f ${D}/sbin/${f} ${D}/sbin/${f}.old; - done - # Move the man pages as well. We only do this for the man pages of the - # tools that module-init-tools will replace. - for f in ${D}/usr/share/man/man8/{lsmod,modprobe,rmmod,depmod,insmod}.8 - do - mv -f ${f} ${f%\.*}.old.${f##*\.} - done - - einstall prefix=${D} - # Install the modules.conf2modprobe.conf tool, so we can update - # modprobe.conf. - into / - dosbin ${S}/generate-modprobe.conf - # Create the new modprobe.conf - dodir /etc - rm -f ${D}/etc/modprobe.conf - if [ ! -f ${ROOT}/etc/modprobe.devfs ] - then - # Support file for the devfs hack .. needed else modprobe borks. - # Baselayout-1.8.6.3 or there abouts will have a modules-update that - # will correctly generate /etc/modprobe.devfs .... - echo "### This file is automatically generated by modules-update" \ - > ${D}/etc/modprobe.devfs - else - # This is dynamic, so we do not want this in the package ... - rm -f ${D}/etc/modprobe.devfs - fi - - doman *.[1-8] - docinto / - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ] - then - einfo "Updating config files..." - if [ -x /sbin/modules-update ] - then - /sbin/modules-update - elif [ -x /sbin/update-modules ] - then - /sbin/update-modules - elif [ -x /usr/sbin/update-modules ] - then - /usr/sbin/update-modules - fi - fi -} - diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.11-r2.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.11-r2.ebuild deleted file mode 100644 index 29d6a1948e8c..000000000000 --- a/sys-apps/module-init-tools/module-init-tools-0.9.11-r2.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.11-r2.ebuild,v 1.3 2003/05/25 15:21:01 mholzer Exp $ - -# This ebuild includes backwards compatability for stable 2.4 kernels -IUSE="" - -inherit flag-o-matic -inherit eutils - -MYP="${P/_pre1/-pre}" -S="${WORKDIR}/${MYP}" -MODUTILS_PV="2.4.25" -DESCRIPTION="Kernel module tools for the development kernel >=2.5.48" -SRC_URI="mirror://kernel/linux/kernel/people/rusty/modules/${MYP}.tar.bz2 - mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2" -HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules" - -KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~arm" -LICENSE="GPL-2" -SLOT="0" - -DEPEND="virtual/glibc" -PROVIDE="virtual/modutils" - -pkg_setup() { - check_KV - - if [ ! -f /lib/modules/${KV}/modules.dep ] - then - eerror "Please compile and install a kernel first." - die "Please compile and install a kernel first." - fi -} - -src_unpack() { - unpack ${A} - - # With the b0rked modutils, "modprobe hid" does work. But if something - # (like hotplug) tries to auto-load hid (because another module needs it, - # via the kernel module auto-loader) and keybdev.o or mousedev.o don't - # exist, then the "above" clause fails and the hid module never gets - # loaded, and then things like USB will fail. Thus we remove it all - # together. - # - # <drobbins@gentoo.org> (26 Mar 2003) - cd ${WORKDIR}/modutils-${MODUTILS_PV} - epatch ${FILESDIR}/modutils-2.4.22-no-above-below.patch - - # A hack to have absolutely no output if: - # - # 1) we have no logging enabled - # - # 2) our config file is /etc/modprobe.devfs or /etc/modules.devfs - # - # 3) with the module name starting with '/dev/'. - # - # Rasionale: This is what modprobe from modutils does. - # - # <azarah@gentoo.org> (17 Mar 2003) - cd ${S}; epatch ${FILESDIR}/${P}-be-quiet-for-devfsd.patch -} - -src_compile() { - local myconf= - - filter-flags -fPIC - - einfo "Building modutils..." - cd ${WORKDIR}/modutils-${MODUTILS_PV} - - econf \ - --disable-strip \ - --prefix=/ \ - --enable-insmod-static \ - --disable-zlib \ - ${myconf} - - emake || die "emake modutils failed" - einfo "Building module-init-tools..." - cd ${S} - - econf \ - --prefix=/ \ - ${myconf} - - emake || die "emake module-init-tools failed" -} - -src_install () { - - cd ${WORKDIR}/modutils-${MODUTILS_PV} - einstall prefix="${D}" - - docinto modutils-${MODUTILS_PV} - dodoc COPYING CREDITS ChangeLog NEWS README TODO - - cd ${S} - # This copies the old version of modutils to *.old so it still works - # with kernels <= 2.4; new versions will execve() the .old version if - # a 2.4 kernel is running... - # This code was borrowed from the module-init-tools Makefile - for f in lsmod modprobe rmmod depmod insmod - do - if [ -L ${D}/sbin/${f} ] - then - ln -snf `ls -l ${D}/sbin/${f} | \ - sed 's/.* -> //'`.old ${D}/sbin/${f}; - fi; - mv -f ${D}/sbin/${f} ${D}/sbin/${f}.old; - done - # Move the man pages as well. We only do this for the man pages of the - # tools that module-init-tools will replace. - for f in ${D}/usr/share/man/man8/{lsmod,modprobe,rmmod,depmod,insmod}.8 - do - mv -f ${f} ${f%\.*}.old.${f##*\.} - done - - einstall prefix=${D} - - # Install compat symlink - dosym ../bin/lsmod /sbin/lsmod - - # Install the modules.conf2modprobe.conf tool, so we can update - # modprobe.conf. - into / - dosbin ${S}/generate-modprobe.conf - # Create the new modprobe.conf - dodir /etc - rm -f ${D}/etc/modprobe.conf - if [ ! -f ${ROOT}/etc/modprobe.devfs ] - then - # Support file for the devfs hack .. needed else modprobe borks. - # Baselayout-1.8.6.3 or there abouts will have a modules-update that - # will correctly generate /etc/modprobe.devfs .... - echo "### This file is automatically generated by modules-update" \ - > ${D}/etc/modprobe.devfs - else - # This is dynamic, so we do not want this in the package ... - rm -f ${D}/etc/modprobe.devfs - fi - - doman *.[1-8] - docinto / - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ] - then - einfo "Updating config files..." - if [ -x /sbin/modules-update ] - then - /sbin/modules-update - elif [ -x /sbin/update-modules ] - then - /sbin/update-modules - elif [ -x /usr/sbin/update-modules ] - then - /usr/sbin/update-modules - fi - fi -} - diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.11.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.11.ebuild deleted file mode 100644 index 18571b04bf0e..000000000000 --- a/sys-apps/module-init-tools/module-init-tools-0.9.11.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.11.ebuild,v 1.2 2003/05/25 15:21:01 mholzer Exp $ - -# This ebuild includes backwards compatability for stable 2.4 kernels -IUSE="" - -inherit flag-o-matic -inherit eutils - -MYP="${P/_pre1/-pre}" -S="${WORKDIR}/${MYP}" -MODUTILS_PV="2.4.24" -DESCRIPTION="Kernel module tools for the development kernel >=2.5.48" -SRC_URI="mirror://kernel/linux/kernel/people/rusty/modules/${MYP}.tar.bz2 - mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2" -HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~arm" -LICENSE="GPL-2" -SLOT="0" - -DEPEND="virtual/glibc" -PROVIDE="virtual/modutils" - -pkg_setup() { - check_KV - - if [ ! -f /lib/modules/${KV}/modules.dep ] - then - eerror "Please compile and install a kernel first!" - die "Please compile and install a kernel first!" - fi -} - -src_unpack() { - unpack ${A} - - # With the b0rked modutils, "modprobe hid" does work. But if something - # (like hotplug) tries to auto-load hid (because another module needs it, - # via the kernel module auto-loader) and keybdev.o or mousedev.o don't - # exist, then the "above" clause fails and the hid module never gets - # loaded, and then things like USB will fail. Thus we remove it all - # together. - # - # <drobbins@gentoo.org> (26 Mar 2003) - cd ${WORKDIR}/modutils-${MODUTILS_PV} - epatch ${FILESDIR}/modutils-2.4.22-no-above-below.patch - - # A hack to have absolutely no output if: - # - # 1) we have no logging enabled - # - # 2) our config file is /etc/modprobe.devfs or /etc/modules.devfs - # - # 3) with the module name starting with '/dev/'. - # - # Rasionale: This is what modprobe from modutils does. - # - # <azarah@gentoo.org> (17 Mar 2003) - cd ${S}; epatch ${FILESDIR}/${P}-be-quiet-for-devfsd.patch -} - -src_compile() { - local myconf= - - filter-flags -fPIC - - einfo "Building modutils..." - cd ${WORKDIR}/modutils-${MODUTILS_PV} - - econf \ - --disable-strip \ - --prefix=/ \ - --enable-insmod-static \ - --disable-zlib \ - ${myconf} - - emake || die "emake modutils failed" - einfo "Building module-init-tools..." - cd ${S} - - econf \ - --prefix=/ \ - ${myconf} - - emake || die "emake module-init-tools failed" -} - -src_install () { - - cd ${WORKDIR}/modutils-${MODUTILS_PV} - einstall prefix="${D}" - - docinto modutils-${MODUTILS_PV} - dodoc COPYING CREDITS ChangeLog NEWS README TODO - - cd ${S} - # This copies the old version of modutils to *.old so it still works - # with kernels <= 2.4; new versions will execve() the .old version if - # a 2.4 kernel is running... - # This code was borrowed from the module-init-tools Makefile - for f in lsmod modprobe rmmod depmod insmod - do - if [ -L ${D}/sbin/${f} ] - then - ln -snf `ls -l ${D}/sbin/${f} | \ - sed 's/.* -> //'`.old ${D}/sbin/${f}; - fi; - mv -f ${D}/sbin/${f} ${D}/sbin/${f}.old; - done - # Move the man pages as well. We only do this for the man pages of the - # tools that module-init-tools will replace. - for f in ${D}/usr/share/man/man8/{lsmod,modprobe,rmmod,depmod,insmod}.8 - do - mv -f ${f} ${f%\.*}.old.${f##*\.} - done - - einstall prefix=${D} - # Install the modules.conf2modprobe.conf tool, so we can update - # modprobe.conf. - into / - dosbin ${S}/generate-modprobe.conf - # Create the new modprobe.conf - dodir /etc - rm -f ${D}/etc/modprobe.conf - if [ ! -f ${ROOT}/etc/modprobe.devfs ] - then - # Support file for the devfs hack .. needed else modprobe borks. - # Baselayout-1.8.6.3 or there abouts will have a modules-update that - # will correctly generate /etc/modprobe.devfs .... - echo "### This file is automatically generated by modules-update" \ - > ${D}/etc/modprobe.devfs - else - # This is dynamic, so we do not want this in the package ... - rm -f ${D}/etc/modprobe.devfs - fi - - doman *.[1-8] - docinto / - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ] - then - einfo "Updating config files..." - if [ -x /sbin/modules-update ] - then - /sbin/modules-update - elif [ -x /sbin/update-modules ] - then - /sbin/update-modules - elif [ -x /usr/sbin/update-modules ] - then - /usr/sbin/update-modules - fi - fi -} - diff --git a/sys-apps/module-init-tools/module-init-tools-0.9.9.ebuild b/sys-apps/module-init-tools/module-init-tools-0.9.9.ebuild deleted file mode 100644 index 23dec315cb11..000000000000 --- a/sys-apps/module-init-tools/module-init-tools-0.9.9.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-0.9.9.ebuild,v 1.5 2003/05/25 15:21:01 mholzer Exp $ - -# This includes backwards compatability for stable kernels -IUSE="" - -inherit flag-o-matic - -inherit eutils - -MYP="${P/_pre1/-pre}" -S="${WORKDIR}/${MYP}" -MODUTILS_PV="2.4.22" -DESCRIPTION="Kernel module tools for the development kernel >=2.5.48" -SRC_URI="mirror://kernel/linux/kernel/people/rusty/modules/${MYP}.tar.bz2 - mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2" -HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -LICENSE="GPL-2" -SLOT="0" - -DEPEND="virtual/glibc" -RDEPEND=">=sys-kernel/development-sources-2.5.48" - -src_unpack() { - unpack ${A} - - cd ${S} - # Hack to make modprobe use /etc/modprobe.devfs and not /etc/modules.devfs - # <azarah@gentoo.org> (18 Feb 2002) - epatch ${FILESDIR}/${P}-devfs-hack.patch -} - -src_compile() { - filter-flags -fPIC - - einfo "Building modutils..." - cd ${WORKDIR}/modutils-${MODUTILS_PV} - - econf \ - --disable-strip \ - --prefix=/ \ - --enable-insmod-static \ - --disable-zlib \ - ${myconf} - emake || die "emake modultils failed" - - einfo "Building module-init-tools..." - cd ${S} - - econf \ - --prefix=/ \ - ${myconf} - - emake || die "emake module-init-tools failed" -} - -src_install () { - - cd ${WORKDIR}/modutils-${MODUTILS_PV} - einstall prefix="${D}" - dodoc COPYING CREDITS ChangeLog NEWS README TODO - - cd ${S} - # This copies the old version of modutils to *.old so it still works - # with kernels <= 2.4 - # This code was borrowed from the module-init-tools Makefile - for f in lsmod modprobe rmmod depmod insmod; do - if [ -L ${D}/sbin/${f} ]; then - ln -sf `ls -l ${D}/sbin/${f} | \ - sed 's/.* -> //'`.old ${D}/sbin/${f}; - fi; - mv ${D}/sbin/${f} ${D}/sbin/${f}.old; - done -# make prefix=${D} move-old-targets || die "Renaming old bins to *.old failed" - - einstall prefix=${D} - - # Install the modules.conf2modprobe.conf tool, so we can update - # modprobe.conf. - into / - dosbin ${S}/generate-modprobe.conf - - # Create the new modprobe.conf - dodir /etc - - if [ -f /etc/modules.conf ]; then - einfo "Generating /etc/modprobe.conf ..." - PATH="${D}/sbin:${PATH}" \ - ${S}/generate-modprobe.conf ${D}/etc/modprobe.conf \ - || die "Could not create modprobe.conf" - fi - if [ ! -f ${ROOT}/etc/modprobe.devfs ]; then - # Support file for the devfs hack .. needed else modprobe borks. - # Baselayout-1.8.6.3 or there abouts will have a modules-update that - # will correctly generate /etc/modprobe.devfs .... - echo "### This file is automatically generated by modules-update" \ - > ${D}/etc/modprobe.devfs - fi - - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -} - -pkg_postinst() { - # Notify user of evilness, hope for a better way ;-) - echo "" - einfo "This overwrites the modutils files, so if you remove this," - einfo "remember to remerge modutils. However, this package has" - einfo "installed a copy of the modutils files with suffix .old" - einfo "in your /sbin directory, which will automatically be used" - einfo "when needed." - echo "" -} - - - -pkg_postrm() { - if [ "$(best_version ${PN})" == "${CATEGORY}/${PF}" -a ! -f /sbin/insmod ]; then - ewarn "Uninstalling module-init-tools has left you" - ewarn "without a modutils installtion. we recommend" - ewarn "emerging modutils immediately or remerging" - ewarn "module-init-tools." - fi -} - |