summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-13 09:33:06 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-13 09:33:06 +0000
commit6b86b54379ca554608944020204117692794e6cb (patch)
tree28654512b2c6582294b07bfca99f8b3c7ffb3137
parentStylistic cleanup and fix broken javadoc installation. (diff)
downloadhistorical-6b86b54379ca554608944020204117692794e6cb.tar.gz
historical-6b86b54379ca554608944020204117692794e6cb.tar.bz2
historical-6b86b54379ca554608944020204117692794e6cb.zip
old
-rw-r--r--sys-apps/pciutils/Manifest15
-rw-r--r--sys-apps/pciutils/files/digest-pciutils-2.2.4-r23
-rw-r--r--sys-apps/pciutils/files/digest-pciutils-2.2.4-r3 (renamed from sys-apps/pciutils/files/digest-pciutils-2.2.4)0
-rw-r--r--sys-apps/pciutils/files/pciutils-2.2.4-update-pciids.patch12
-rw-r--r--sys-apps/pciutils/pciutils-2.2.4-r3.ebuild (renamed from sys-apps/pciutils/pciutils-2.2.4-r2.ebuild)5
-rw-r--r--sys-apps/pciutils/pciutils-2.2.4.ebuild41
6 files changed, 20 insertions, 56 deletions
diff --git a/sys-apps/pciutils/Manifest b/sys-apps/pciutils/Manifest
index ac0f5a9ee54f..825607efa3ee 100644
--- a/sys-apps/pciutils/Manifest
+++ b/sys-apps/pciutils/Manifest
@@ -14,10 +14,10 @@ AUX pciutils-2.2.4-link.patch 302 RMD160 6598b88179822c617ffecc5ebbebcef9e317a5f
MD5 7fa89d4d935f43d422ee93056c09f5fc files/pciutils-2.2.4-link.patch 302
RMD160 6598b88179822c617ffecc5ebbebcef9e317a5fe files/pciutils-2.2.4-link.patch 302
SHA256 bbb645104dc4d0c8f5b586e929927320ce352e0118a38373e1627a43239e6721 files/pciutils-2.2.4-link.patch 302
-AUX pciutils-2.2.4-update-pciids.patch 1484 RMD160 d76ebecb8bdbeef34f3acabb282c77347fd73014 SHA1 783d472b49ac8e215eef92dbd3c1378806297c2e SHA256 ffed29675abdc08edccc2a7ca31ebd2009a7d0ca1c4d44db655b2466a8f763c8
-MD5 bb7a47f04e2578b6cdfe2c23e18728fe files/pciutils-2.2.4-update-pciids.patch 1484
-RMD160 d76ebecb8bdbeef34f3acabb282c77347fd73014 files/pciutils-2.2.4-update-pciids.patch 1484
-SHA256 ffed29675abdc08edccc2a7ca31ebd2009a7d0ca1c4d44db655b2466a8f763c8 files/pciutils-2.2.4-update-pciids.patch 1484
+AUX pciutils-2.2.4-update-pciids.patch 1490 RMD160 a067c73abf5ed7d166c257db13031cab889c1ba1 SHA1 4d55c9e133493d449bc8f4b53a0883fa5756b995 SHA256 fd459489edd1aa9edd5c34451d97fb39e0f2da86a078305e6ff1afe66415404d
+MD5 71ccc90ba85f24195c48355028ef9ac1 files/pciutils-2.2.4-update-pciids.patch 1490
+RMD160 a067c73abf5ed7d166c257db13031cab889c1ba1 files/pciutils-2.2.4-update-pciids.patch 1490
+SHA256 fd459489edd1aa9edd5c34451d97fb39e0f2da86a078305e6ff1afe66415404d files/pciutils-2.2.4-update-pciids.patch 1490
AUX pciutils.cron 42 RMD160 ed2388ec7eb6d08d75b4178b3a3d33071d705eee SHA1 1e0385c0477dffe5ac5c2a4bcd2a3e248dd8a166 SHA256 f97b127efda8095683b0a20ca071694f90e18c131743a9d36c8baf633b112836
MD5 1d5918bb3ca1f28c8af745b60726565a files/pciutils.cron 42
RMD160 ed2388ec7eb6d08d75b4178b3a3d33071d705eee files/pciutils.cron 42
@@ -32,6 +32,10 @@ EBUILD pciutils-2.2.4-r2.ebuild 1309 RMD160 34a4131d88d17996d9569a917cefcf20b8e4
MD5 e2eecdc261652956322af7a846b94356 pciutils-2.2.4-r2.ebuild 1309
RMD160 34a4131d88d17996d9569a917cefcf20b8e4205a pciutils-2.2.4-r2.ebuild 1309
SHA256 4f3d3ddd809ee4a16de0b4d21d388c40bf697e15cd87fb1c7ec9bf154cd20c56 pciutils-2.2.4-r2.ebuild 1309
+EBUILD pciutils-2.2.4-r3.ebuild 1352 RMD160 95725f6e0dcc6a483bf22bde439a3af6fc6f320a SHA1 f1be60a95d915431e0b945d7499f4afce2c5781e SHA256 35de5d5d8aaaf10f7541148368757eb0888bdcf2b2d8048dd85cc6d85e227a5d
+MD5 e635f9bec17c303c2da7097545aa151c pciutils-2.2.4-r3.ebuild 1352
+RMD160 95725f6e0dcc6a483bf22bde439a3af6fc6f320a pciutils-2.2.4-r3.ebuild 1352
+SHA256 35de5d5d8aaaf10f7541148368757eb0888bdcf2b2d8048dd85cc6d85e227a5d pciutils-2.2.4-r3.ebuild 1352
EBUILD pciutils-2.2.4.ebuild 1216 RMD160 d6a674f1c216bc98e666dbca49bf4d4c0cf63cf0 SHA1 cf4d0c46e75ab3de5238e02dd2229d576ed6c692 SHA256 510cdb4bf7aebcabcbb5cdba13f99697d357fc83c4ef8ab4ff62a4e05ddaca0d
MD5 98495ca258c2734d0d4a6c78d8d60e4d pciutils-2.2.4.ebuild 1216
RMD160 d6a674f1c216bc98e666dbca49bf4d4c0cf63cf0 pciutils-2.2.4.ebuild 1216
@@ -53,3 +57,6 @@ SHA256 ae83c0072554b83b7519828f5470144cfa69ca5605ed319117d5400896258701 files/di
MD5 8047d659733954340720ecb0b723fad1 files/digest-pciutils-2.2.4-r2 244
RMD160 8349223dbbf327febd748b605899805650b1bb85 files/digest-pciutils-2.2.4-r2 244
SHA256 ae83c0072554b83b7519828f5470144cfa69ca5605ed319117d5400896258701 files/digest-pciutils-2.2.4-r2 244
+MD5 8047d659733954340720ecb0b723fad1 files/digest-pciutils-2.2.4-r3 244
+RMD160 8349223dbbf327febd748b605899805650b1bb85 files/digest-pciutils-2.2.4-r3 244
+SHA256 ae83c0072554b83b7519828f5470144cfa69ca5605ed319117d5400896258701 files/digest-pciutils-2.2.4-r3 244
diff --git a/sys-apps/pciutils/files/digest-pciutils-2.2.4-r2 b/sys-apps/pciutils/files/digest-pciutils-2.2.4-r2
deleted file mode 100644
index 1ce68229c366..000000000000
--- a/sys-apps/pciutils/files/digest-pciutils-2.2.4-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 5629fdb049f189fb853e7021f85553d2 pciutils-2.2.4.tar.gz 210706
-RMD160 27db4b23a07a02b28b64e01fbe1c74cefa887cc0 pciutils-2.2.4.tar.gz 210706
-SHA256 62fc07f688c6d17f0cf8baa540e42be6117530360c2df491ec02031973506a9f pciutils-2.2.4.tar.gz 210706
diff --git a/sys-apps/pciutils/files/digest-pciutils-2.2.4 b/sys-apps/pciutils/files/digest-pciutils-2.2.4-r3
index 1ce68229c366..1ce68229c366 100644
--- a/sys-apps/pciutils/files/digest-pciutils-2.2.4
+++ b/sys-apps/pciutils/files/digest-pciutils-2.2.4-r3
diff --git a/sys-apps/pciutils/files/pciutils-2.2.4-update-pciids.patch b/sys-apps/pciutils/files/pciutils-2.2.4-update-pciids.patch
index b37309c8e7a3..3639a2ba6127 100644
--- a/sys-apps/pciutils/files/pciutils-2.2.4-update-pciids.patch
+++ b/sys-apps/pciutils/files/pciutils-2.2.4-update-pciids.patch
@@ -13,7 +13,7 @@
+# if pci.ids is read-only (because the filesystem is read-only),
+# then just skip this whole process.
-+if ! touch ${DEST} >&2 >/dev/null ; then
++if ! touch ${DEST} >/dev/null 2>&1 ; then
+ ${quiet} || echo "${DEST} is read-only, exiting."
+ exit 0
+fi
@@ -23,11 +23,11 @@
SRC="$SRC.gz"
GREP=zgrep
-elif which bzip2 >/dev/null ; then
-+elif which bzip2 >&2 >/dev/null ; then
++elif which bzip2 >/dev/null 2>&1 ; then
DECOMP="bzip2 -d"
SRC="$SRC.bz2"
-elif which gzip >/dev/null ; then
-+elif which gzip >&2 >/dev/null ; then
++elif which gzip >/dev/null 2>&1 ; then
DECOMP="gzip -d"
SRC="$SRC.gz"
else
@@ -35,15 +35,15 @@
fi
-if which curl >/dev/null ; then
-+if which curl >&2 >/dev/null ; then
++if which curl >/dev/null 2>&1 ; then
DL="curl -o $DEST.new $SRC"
-elif which wget >/dev/null ; then
+ ${quiet} && DL="$DL -s -S"
-+elif which wget >&2 >/dev/null ; then
++elif which wget >/dev/null 2>&1 ; then
DL="wget -O $DEST.new $SRC"
-elif which lynx >/dev/null ; then
+ ${quiet} && DL="$DL -q"
-+elif which lynx >&2 >/dev/null ; then
++elif which lynx >/dev/null 2>&1 ; then
DL="eval lynx -source $SRC >$DEST.new"
else
echo >&2 "update-pciids: cannot find curl, wget or lynx"
diff --git a/sys-apps/pciutils/pciutils-2.2.4-r2.ebuild b/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild
index 8c447cccd5a5..a6f7888367c5 100644
--- a/sys-apps/pciutils/pciutils-2.2.4-r2.ebuild
+++ b/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4-r2.ebuild,v 1.2 2007/04/01 10:15:56 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild,v 1.1 2007/04/13 09:33:06 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -11,7 +11,7 @@ SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="zlib"
+IUSE="network-cron zlib"
DEPEND="zlib? ( sys-libs/zlib )"
@@ -38,6 +38,7 @@ src_install() {
insinto /usr/include/pci
doins lib/{config,header,pci,types}.h || die "headers failed"
+ use network-cron || return 0
exeinto /etc/cron.monthly
newexe "${FILESDIR}"/pciutils.cron update-pciids || die
}
diff --git a/sys-apps/pciutils/pciutils-2.2.4.ebuild b/sys-apps/pciutils/pciutils-2.2.4.ebuild
deleted file mode 100644
index 15dfe718307a..000000000000
--- a/sys-apps/pciutils/pciutils-2.2.4.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4.ebuild,v 1.4 2007/02/14 07:14:18 vapier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd"
-IUSE="zlib"
-
-DEPEND="zlib? ( sys-libs/zlib )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-2.2.3-build.patch
- epatch "${FILESDIR}"/pcimodules-${PN}-2.2.4.patch
- epatch "${FILESDIR}"/${P}-link.patch #160421
-}
-
-src_compile() {
- export ZLIB=$(use zlib && echo yes || echo no)
- tc-export AR CC RANLIB
- emake OPT="${CFLAGS}" || die "emake failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- dolib lib/libpci.* || die "libpci failed"
- insinto /usr/include/pci
- doins lib/{config,header,pci,types}.h || die "headers failed"
-
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/pciutils.cron update-pciids || die
-}