From 2c2b1d7281a60426a8d2738681b0334f749aa830 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 7 Apr 2007 09:54:21 +0000 Subject: [PATCH] old --- sys-apps/baselayout/Manifest | 18 +- .../files/digest-module-init-tools-3.2.2-r1 | 6 - .../module-init-tools-3.2.2-r1.ebuild | 155 ------------------ 3 files changed, 14 insertions(+), 165 deletions(-) delete mode 100644 sys-apps/module-init-tools/files/digest-module-init-tools-3.2.2-r1 delete mode 100644 sys-apps/module-init-tools/module-init-tools-3.2.2-r1.ebuild diff --git a/sys-apps/baselayout/Manifest b/sys-apps/baselayout/Manifest index ea91ce78a8fc..3e578ee237bc 100644 --- a/sys-apps/baselayout/Manifest +++ b/sys-apps/baselayout/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX baselayout-1.11.14-man.patch 768 RMD160 b1743f52d71b6ff2bd0d8cb8106112d8fad9d5b7 SHA1 f61b8f985a27dc9f2dd834001602b008030e79ce SHA256 7c12d6ee90b14b3152c2256df5983d3e6d102ca53b5da3ca6505b8925a86a80a MD5 dff93a6f0914f6969d21482d2f36e75e files/baselayout-1.11.14-man.patch 768 RMD160 b1743f52d71b6ff2bd0d8cb8106112d8fad9d5b7 files/baselayout-1.11.14-man.patch 768 @@ -22,10 +25,10 @@ EBUILD baselayout-1.11.15-r3.ebuild 18810 RMD160 c2d9d4fc7aee7a26615f37b370871ab MD5 363cb680de3467f3bd044dcd85279974 baselayout-1.11.15-r3.ebuild 18810 RMD160 c2d9d4fc7aee7a26615f37b370871ab3accdf43d baselayout-1.11.15-r3.ebuild 18810 SHA256 7b98c19332ebbf4e23ca9800d3bdbbee4e03aeb92663ec4c21b7270a8ddb1c0f baselayout-1.11.15-r3.ebuild 18810 -EBUILD baselayout-1.12.10.ebuild 18585 RMD160 b6f07129ff81bf3bb00cd74b548ee3a6d3b4352b SHA1 f45c5ad4e5bc91b432370402cb865e8e9fe80fe5 SHA256 9720963525bb6d7e22ca0ba385ec4a6ab703a8d28be09950ebf1615c697b2fee -MD5 715b9c1998696e1d463b50e6afef332a baselayout-1.12.10.ebuild 18585 -RMD160 b6f07129ff81bf3bb00cd74b548ee3a6d3b4352b baselayout-1.12.10.ebuild 18585 -SHA256 9720963525bb6d7e22ca0ba385ec4a6ab703a8d28be09950ebf1615c697b2fee baselayout-1.12.10.ebuild 18585 +EBUILD baselayout-1.12.10.ebuild 18616 RMD160 538c52894f71da071b72a70e16c97091dd673828 SHA1 324a77eb560f1ecd97305f2ae1e11fe2cb606a5c SHA256 c7441cb4b777776e29aaf72ab81a601c84b072c1cd3ca2413a295dbc88a484f2 +MD5 fede750d3e9a51c8d92f615d439fb294 baselayout-1.12.10.ebuild 18616 +RMD160 538c52894f71da071b72a70e16c97091dd673828 baselayout-1.12.10.ebuild 18616 +SHA256 c7441cb4b777776e29aaf72ab81a601c84b072c1cd3ca2413a295dbc88a484f2 baselayout-1.12.10.ebuild 18616 EBUILD baselayout-1.12.9.ebuild 18567 RMD160 16d288f8eabfaa0b206fe3045699d8b9a2eb7b5f SHA1 1e3311597b0c8db9e9602b01bb9349ca430ae718 SHA256 f13814b2b7376422b37675a737b094e05eb9f892610d4d817e7e166cba754b1a MD5 02edf939bdb2f94833538a8786522ea1 baselayout-1.12.9.ebuild 18567 RMD160 16d288f8eabfaa0b206fe3045699d8b9a2eb7b5f baselayout-1.12.9.ebuild 18567 @@ -54,3 +57,10 @@ SHA256 d975250968cfce2250369add8355bc47cc2e3c8ae2ae5d606c6f69086535f510 files/di MD5 73d1269ba801eb1a113e55b5679be37f files/digest-baselayout-1.13.0_alpha12 280 RMD160 82ba1b5b86ef5f414bf202d8cfd1275e7e21bf97 files/digest-baselayout-1.13.0_alpha12 280 SHA256 4e5b7e0884373590a6b434976433e8d06a3fb4d52282f416d5a25dc2d265bd8a files/digest-baselayout-1.13.0_alpha12 280 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGF2uC8bi6rjpTunYRAhGHAKCuio1fgdLdGQE+FnTmhs1jiX709wCcCBqn +uSuCOqFWfR1JVPqDmIp1S0E= +=beXM +-----END PGP SIGNATURE----- diff --git a/sys-apps/module-init-tools/files/digest-module-init-tools-3.2.2-r1 b/sys-apps/module-init-tools/files/digest-module-init-tools-3.2.2-r1 deleted file mode 100644 index 9feb51ae55ac..000000000000 --- a/sys-apps/module-init-tools/files/digest-module-init-tools-3.2.2-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 a1ad0a09d3231673f70d631f3f5040e9 module-init-tools-3.2.2.tar.bz2 169182 -RMD160 42abfe10709315180898106e3c7c1ce916e01166 module-init-tools-3.2.2.tar.bz2 169182 -SHA256 c080f7e42e60456eab33051026da388b5d21a360e9d2bee26ce9991427a758aa module-init-tools-3.2.2.tar.bz2 169182 -MD5 bac989c74ed10f3bf86177fc5b4b89b6 modutils-2.4.27.tar.bz2 234963 -RMD160 3179d364106859cf6dbd1fad82d8356337634735 modutils-2.4.27.tar.bz2 234963 -SHA256 ab4c9191645f9ffb455ae7c014d8c45339c13a1d0f6914817cfbf30a0bc56bf0 modutils-2.4.27.tar.bz2 234963 diff --git a/sys-apps/module-init-tools/module-init-tools-3.2.2-r1.ebuild b/sys-apps/module-init-tools/module-init-tools-3.2.2-r1.ebuild deleted file mode 100644 index b693a7d98cf3..000000000000 --- a/sys-apps/module-init-tools/module-init-tools-3.2.2-r1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2006 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.2.2-r1.ebuild,v 1.16 2006/11/06 21:11:51 vapier Exp $ - -inherit flag-o-matic eutils toolchain-funcs fixheadtails - -MODUTILS_PV="2.4.27" - -MY_P="${P/_pre/-pre}" -DESCRIPTION="Kernel module tools for the 2.6 kernel" -HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rusty/modules" -SRC_URI="mirror://kernel/linux/kernel/people/rusty/modules/${MY_P}.tar.bz2 - mirror://kernel/linux/kernel/people/rusty/modules/old/${MY_P}.tar.bz2 - !no-old-linux? ( mirror://kernel/linux/utils/kernel/modutils/v2.4/modutils-${MODUTILS_PV}.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="no-old-linux" -# The test code runs `make clean && configure` and screws up src_compile() -RESTRICT="test" - -DEPEND="sys-libs/zlib - >=sys-apps/baselayout-1.12.0_pre19 - !virtual/modutils" -PROVIDE="virtual/modutils" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - - # Patches for old modutils - if ! use no-old-linux ; then - cd "${WORKDIR}"/modutils-${MODUTILS_PV} - epatch "${FILESDIR}"/modutils-2.4.27-alias.patch - epatch "${FILESDIR}"/modutils-2.4.27-gcc.patch - epatch "${FILESDIR}"/modutils-2.4.27-flex.patch - epatch "${FILESDIR}"/modutils-2.4.27-no-nested-function.patch - epatch "${FILESDIR}"/modutils-2.4.27-hppa.patch - epatch "${FILESDIR}"/modutils-2.4.27-build.patch #154281 - fi - - # Fixes for new module-init-tools - cd "${S}" - ht_fix_file tests/test-depmod/10badcommand.sh - # Test fails due since it needs to write to /lib/modules so disable it - rm -f tests/test-depmod/01backcompat.sh - - # Fix bug 49926: This patch allows generate-modprobe.conf to - # accept the --assume-kernel=x.x.x option for generating livecds. - # This is a companion to a patch in baselayout-1.9.0 which allows - # the same flag to modules-update. - epatch "${FILESDIR}"/${PN}-3.1_generate-modprobe-assume-kernel.patch - - # Abort if we fail to run modprobe, bug #68689 - epatch "${FILESDIR}"/${PN}-3.2_pre7-abort-on-modprobe-failure.patch - - # make sure we link dynamically with zlib; our zlib.so is in /lib vs - # /usr/lib so it's safe to link with. fixes ugly textrels as well. - sed -i \ - -e 's:-Wl,-Bstatic -lz -Wl,-Bdynamic:-lz:' \ - configure || die - - # make sure we don't try to regen the manpages - touch *.5 -} - -src_compile() { - # Configure script uses BUILDCFLAGS for cross-compiles but this - # defaults to CFLAGS which can be bad mojo - export BUILDCFLAGS=-pipe - export BUILDCC="$(tc-getBUILD_CC)" - - if ! use no-old-linux ; then - einfo "Building modutils ..." - cd "${WORKDIR}"/modutils-${MODUTILS_PV} - econf \ - --disable-strip \ - --prefix=/ \ - --enable-insmod-static \ - --disable-zlib \ - || die "econf failed" - emake || die "emake modutils failed" - - einfo "Building module-init-tools ..." - cd "${S}" - fi - - econf \ - --prefix=/ \ - --enable-zlib \ - || die "econf failed" - emake || die "emake module-init-tools failed" -} - -modutils_src_install() { - cd "${WORKDIR}"/modutils-${MODUTILS_PV} - einstall prefix="${D}" || die - docinto modutils-${MODUTILS_PV} - dodoc CREDITS ChangeLog NEWS README TODO - - # remove man pages provided by the man-pages package now #124127 - rm -r "${D}"/usr/share/man/man2 - - 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 - local runme f - for f in lsmod modprobe rmmod depmod insmod insmod.static modinfo ; do - if [[ -L ${D}/sbin/${f} ]] ; then - einfo "Moving symlink $f to ${f}.old" - #runme = the target of the symlink with a .old tagged on. - runme=$(ls -l "${D}"/sbin/${f} | sed 's/.* -> //').old - [[ ! -e ${D}/sbin/${runme} ]] || einfo "${D}/sbin/${runme} not found" - dosym ${runme} /sbin/${f} || die - elif [[ -e ${D}/sbin/${f} ]] ; then - einfo "Moving executable $f to ${f}.old" - 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 - # Fix the ksyms links #35601 - for f in ksyms kallsyms ; do - dosym insmod.old /sbin/${f} - dosym insmod.static.old /sbin/${f}.static - done -} - -src_install() { - use no-old-linux || modutils_src_install - - cd "${S}" - make install DESTDIR="${D}" || die - dosym modprobe.conf.5 /usr/share/man/man5/modprobe.d.5 - - # Install compat symlink - dosym ../bin/lsmod /sbin/lsmod - use no-old-linux || dosym ../sbin/insmod.old /bin/lsmod.old - # Install the modules.conf2modprobe.conf tool, so we can update - # modprobe.conf. - into / - dosbin "${S}"/generate-modprobe.conf || die - - doman *.[1-8] - docinto / - dodoc AUTHORS ChangeLog INSTALL NEWS README TODO -} -- 2.26.2