shrink wget timeout #106691
authorMike Frysinger <vapier@gentoo.org>
Fri, 28 Oct 2005 00:09:38 +0000 (00:09 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 28 Oct 2005 00:09:38 +0000 (00:09 +0000)
Package-Manager: portage-2.0.53_rc6

sys-apps/pciutils/Manifest
sys-apps/pciutils/pciutils-2.1.11-r5.ebuild
sys-apps/pciutils/pciutils-2.2.0-r1.ebuild

index ae4c1d555177e61a65661fc5f3a70253f10fa7b6..79d3efe67229794e97be2b50bad29d36e0bae884 100644 (file)
@@ -4,7 +4,6 @@ Hash: SHA1
 MD5 a31dae35d026223b1e9be027250ac6a3 ChangeLog 8219
 MD5 60d79fbf53038186b939f83841d5f318 files/2.1.11-scan.patch 277
 MD5 a6be9cf60dc5043160d757c9772b1e57 files/digest-pciutils-2.1.11-r5 131
-MD5 ae29f04095b43ceb06e6b0cc94653c36 files/digest-pciutils-2.2.0 130
 MD5 ae29f04095b43ceb06e6b0cc94653c36 files/digest-pciutils-2.2.0-r1 130
 MD5 c6135ce795940ebf3777592d4e6f8049 files/pcimodules-pciutils-2.1.11.diff 11026
 MD5 d3c7e97420324c1d5d1dc032fc39006e files/pcimodules-pciutils-2.2.0.patch 10872
@@ -13,13 +12,12 @@ MD5 6a0ae94d528195517f54f66653f8322e files/pciutils-2.1.11-gentoo-paths.patch 52
 MD5 f4d220c568a00c1ceafe6dc129ae6e95 files/pciutils-2.1.11-sysfs.patch 10374
 MD5 cf455fe33057e081ba7aaec93e481642 files/pciutils-2.2.0-shared-lib.patch 496
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 01f6c089b82c2df80e255f7fe06fc9c2 pciutils-2.1.11-r5.ebuild 2184
-MD5 d5fb12cf7e12de720f8ec09efe0320a3 pciutils-2.2.0-r1.ebuild 1549
-MD5 4f090aa4aae459880f1201a33a95b3ab pciutils-2.2.0.ebuild 1562
+MD5 b023a91785e7926967562f2139884ba8 pciutils-2.1.11-r5.ebuild 2255
+MD5 03afc3298aab14ad9d6964ee8c953e31 pciutils-2.2.0-r1.ebuild 1620
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDUjwvgIKl8Uu19MoRAthGAJsFBKZktR9BI9FX9xUZIqaxrL4vJQCffjzs
-FB33WsgrX+kRlpPQFewAC1E=
-=58dy
+iD8DBQFDYWxSgIKl8Uu19MoRAnoHAJ9Hxr6rZLeF0k5rIjP0HunCxE0SzgCcCFru
+cFPICtVep0WaqBK3AFEqST0=
+=FXL+
 -----END PGP SIGNATURE-----
index fb1052cc7736c3c1ba1d89bd5947409dcd38b4a4..4ad6474482bd4a2874d018ef8704cf52c1b189a9 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild,v 1.9 2005/09/29 18:09:55 hardave Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.1.11-r5.ebuild,v 1.10 2005/10/28 00:09:38 vapier Exp $
 
 inherit eutils flag-o-matic toolchain-funcs
 
@@ -44,10 +44,11 @@ src_unpack() {
        sed -i -e s/'rate\[8\]'/'rate\[9\]'/g lspci.c \
                || die "sed failed on lspci.c"
 
+       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
+               mv "${WORKDIR}"/pci.ids-${STAMP} "${S}"/pci.ids
        fi
        eend 0
 }
index 7db00d25b6e2b65cfd66a8d94853c12d00fcb1da..d84e72a227d906c40a2e22d37c53423d91412c05 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 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.1 2005/10/16 11:38:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.0-r1.ebuild,v 1.2 2005/10/28 00:09:38 vapier Exp $
 
 inherit eutils flag-o-matic toolchain-funcs
 
@@ -37,10 +37,11 @@ src_unpack() {
                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
+               mv "${WORKDIR}"/pci.ids-${STAMP} "${S}"/pci.ids
        fi
        eend 0
 }