From ce40b4f5bcd1bbe4a6056e9b7c3f588891244b28 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 6 Jan 2007 09:02:23 +0000 Subject: [PATCH] old --- .../pciutils/files/digest-pciutils-2.2.0-r1 | 6 -- .../pciutils/files/digest-pciutils-2.2.3-r1 | 6 -- .../files/pciutils-2.2.0-shared-lib.patch | 27 -------- sys-apps/pciutils/pciutils-2.2.0-r1.ebuild | 63 ------------------- sys-apps/pciutils/pciutils-2.2.3-r1.ebuild | 48 -------------- 5 files changed, 150 deletions(-) delete mode 100644 sys-apps/pciutils/files/digest-pciutils-2.2.0-r1 delete mode 100644 sys-apps/pciutils/files/digest-pciutils-2.2.3-r1 delete mode 100644 sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch delete mode 100644 sys-apps/pciutils/pciutils-2.2.0-r1.ebuild delete mode 100644 sys-apps/pciutils/pciutils-2.2.3-r1.ebuild diff --git a/sys-apps/pciutils/files/digest-pciutils-2.2.0-r1 b/sys-apps/pciutils/files/digest-pciutils-2.2.0-r1 deleted file mode 100644 index c59ff7b4b409..000000000000 --- a/sys-apps/pciutils/files/digest-pciutils-2.2.0-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 4b8d2ee3ad78e4d0343a74a9b0fb84a8 pci.ids-20051015.bz2 98776 -RMD160 4d694eab77f8f20c1771f364087b4514acdb16e4 pci.ids-20051015.bz2 98776 -SHA256 b090d34b452ed4a37d531948003109e367aa7467f4a3a9a77920bc481cb4e9c9 pci.ids-20051015.bz2 98776 -MD5 303fc4bb9669549acf65e4a714527c7e pciutils-2.2.0.tar.gz 194290 -RMD160 592666bfa29d750a3f5ad6a022d6951eb5fe4945 pciutils-2.2.0.tar.gz 194290 -SHA256 9eab846b46e07080c5eb7a843a8d8f30d493bca22eb0a36d5c5dc39d426cd43e pciutils-2.2.0.tar.gz 194290 diff --git a/sys-apps/pciutils/files/digest-pciutils-2.2.3-r1 b/sys-apps/pciutils/files/digest-pciutils-2.2.3-r1 deleted file mode 100644 index 5190675617ab..000000000000 --- a/sys-apps/pciutils/files/digest-pciutils-2.2.3-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 3b14976e7077587eec23c2d71cc5b022 pci.ids-20060608.bz2 108285 -RMD160 0768e2232a6003711de498ef8e7df805d4c880c7 pci.ids-20060608.bz2 108285 -SHA256 81418596523d437b260573d727d77130e91890f84265b58907f1175fa81224ed pci.ids-20060608.bz2 108285 -MD5 39747279aad46e7a6a3e1ea636d055b4 pciutils-2.2.3.tar.gz 1121334 -RMD160 429b3b21f4cb079c2f3620a4c4d14c6dc610a098 pciutils-2.2.3.tar.gz 1121334 -SHA256 e501df7734738d0625a3765498e1c4625a2fbaf408c86599eca2070c57bc4d4b pciutils-2.2.3.tar.gz 1121334 diff --git a/sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch b/sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch deleted file mode 100644 index f7e216674f78..000000000000 --- a/sys-apps/pciutils/files/pciutils-2.2.0-shared-lib.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- pciutils/lib/Makefile -+++ pciutils/lib/Makefile -@@ -7,6 +7,7 @@ - INCL=internal.h pci.h config.h header.h sysdep.h types.h - - PCILIB=libpci.a -+PCISHLIB=libpci.so - - ifdef PCI_HAVE_PM_LINUX_SYSFS - OBJS += sysfs.o -@@ -45,7 +46,15 @@ - PCILIB=libpciutils.a - endif - --all: $(PCILIB) -+all: $(PCILIB) $(PCISHLIB) -+ -+SHOBJS = $(OBJS:.o=.lo) -+ -+%.lo: %.c -+ $(CC) $(CFLAGS) -fPIC -c -o $@ $^ -+ -+$(PCISHLIB): $(SHOBJS) -+ $(CC) -shared $(CFLAGS) -Wl,-soname,$@ $(LDFLAGS) -o $@ $^ -fPIC - - $(PCILIB): $(OBJS) - rm -f $@ diff --git a/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild b/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild deleted file mode 100644 index 38e7277efc7b..000000000000 --- a/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild +++ /dev/null @@ -1,63 +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/pciutils/pciutils-2.2.0-r1.ebuild,v 1.15 2006/06/21 20:52:24 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -STAMP=20051015 -DESCRIPTION="Various utilities dealing with the PCI bus" -HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html" -SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz - mirror://gentoo/pci.ids-${STAMP}.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/pcimodules-${P}.patch - epatch "${FILESDIR}"/${P}-shared-lib.patch - - # Set Gentoo paths - # and do not strip (breaks cross-compile), portage handles stripping - sed -i \ - -e '/^PREFIX=/s:=.*:=/usr:' \ - -e '/^IDSDIR=/s:=.*:=$(PREFIX)/share/misc:' \ - -e '/INSTALL.* -s lspci /s: -s lspci : lspci :' \ - Makefile || die - - # Make sure we respect $AR / $RANLIB - sed -i \ - -e '/ar rcs/s:ar:$(AR):' \ - -e 's:ranlib:$(RANLIB):' \ - lib/Makefile \ - || die "sed lib/Makefile failed" - - sed -i 's:wget -O:wget --connect-timeout=60 -O:' update-pciids.sh - ebegin "Updating pci.ids from the web" - if ! ./update-pciids.sh &> /dev/null ; then - # if we cant update, use a cached version - mv "${WORKDIR}"/pci.ids-${STAMP} "${S}"/pci.ids - fi - eend 0 -} - -src_compile() { - tc-export AR CC RANLIB - emake OPT="${CFLAGS}" || die "emake failed" -} - -src_install() { - dodir /usr/share/man - make install PREFIX="${D}"/usr || die - - dolib lib/libpci.* || die "libpci failed" - insinto /usr/include/pci - doins lib/{config,header,pci,types}.h || die "headers failed" -} diff --git a/sys-apps/pciutils/pciutils-2.2.3-r1.ebuild b/sys-apps/pciutils/pciutils-2.2.3-r1.ebuild deleted file mode 100644 index 8166414936d8..000000000000 --- a/sys-apps/pciutils/pciutils-2.2.3-r1.ebuild +++ /dev/null @@ -1,48 +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/pciutils/pciutils-2.2.3-r1.ebuild,v 1.6 2006/12/29 18:21:23 gustavoz Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -STAMP=20060608 -DESCRIPTION="Various utilities dealing with the PCI bus" -HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html" -SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz - mirror://gentoo/pci.ids-${STAMP}.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha ~amd64 arm ~hppa ia64 m68k ~mips ppc ~ppc64 s390 sh sparc ~x86 ~x86-fbsd" -IUSE="" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-build.patch - epatch "${FILESDIR}"/pcimodules-${PN}-2.2.0.patch - - sed -i 's:wget -O:wget --connect-timeout=60 -O:' update-pciids.sh - ebegin "Updating pci.ids from the web" - if ! ./update-pciids.sh &> /dev/null ; then - # if we cant update, use a cached version - mv "${WORKDIR}"/pci.ids-${STAMP} "${S}"/pci.ids - fi - eend 0 -} - -src_compile() { - tc-export AR CC RANLIB - emake OPT="${CFLAGS}" || die "emake failed" -} - -src_install() { - dodir /usr/share/man - make install PREFIX="${D}"/usr || die - - dolib lib/libpci.* || die "libpci failed" - insinto /usr/include/pci - doins lib/{config,header,pci,types}.h || die "headers failed" -} -- 2.26.2