summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-05-10 15:55:41 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-05-10 15:55:41 +0000
commitd4cea229d4725dd11d51d4b268b141acb26387f2 (patch)
tree6fc9d820d3167f6da0cb2bc72c6e5af97b5e0db8 /net-dialup
parentremove old, vulnerable version (diff)
downloadhistorical-d4cea229d4725dd11d51d4b268b141acb26387f2.tar.gz
historical-d4cea229d4725dd11d51d4b268b141acb26387f2.tar.bz2
historical-d4cea229d4725dd11d51d4b268b141acb26387f2.zip
Fix unpack problem reportet by Lukas Schubert <lukas.schubert@adviceandact.de> on gentoo-user-de
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/fritzcapi/ChangeLog7
-rw-r--r--net-dialup/fritzcapi/Manifest4
-rw-r--r--net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild8
3 files changed, 13 insertions, 6 deletions
diff --git a/net-dialup/fritzcapi/ChangeLog b/net-dialup/fritzcapi/ChangeLog
index 9a9e783e5701..c906f33196d1 100644
--- a/net-dialup/fritzcapi/ChangeLog
+++ b/net-dialup/fritzcapi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/fritzcapi
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/ChangeLog,v 1.14 2005/04/24 10:09:29 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/ChangeLog,v 1.15 2005/05/10 15:55:41 genstef Exp $
+
+ 10 May 2005; Stefan Schweizer <genstef@gentoo.org>
+ fritzcapi-2.6.32.ebuild:
+ Fix unpack problem reportet by Lukas Schubert
+ <lukas.schubert@adviceandact.de> on gentoo-user-de
24 Apr 2005; Stefan Schweizer <genstef@gentoo.org>
fritzcapi-2.6.32.ebuild:
diff --git a/net-dialup/fritzcapi/Manifest b/net-dialup/fritzcapi/Manifest
index 2a9ee26e09f6..701960402efd 100644
--- a/net-dialup/fritzcapi/Manifest
+++ b/net-dialup/fritzcapi/Manifest
@@ -1,5 +1,5 @@
-MD5 b40a67f5d4b7b2735bc2e358f57f2c12 fritzcapi-2.6.32.ebuild 5733
-MD5 c2455efc748178f7d7736fa1a1f85848 ChangeLog 2766
+MD5 dab0ebe36c3f705e735942416d88df80 fritzcapi-2.6.32.ebuild 5793
+MD5 5d73c54b4b9ec03172c261cdb452f2b2 ChangeLog 2948
MD5 0498b76c69caf75c82ab7115df4cd4f8 metadata.xml 319
MD5 5485d246d87e5397761c0395b02c20e9 files/digest-fritzcapi-2.6.32 443
MD5 9944aebce0f4b12843c5312ac4ba90b5 files/fritzcapi-fix-for-2.6.10.patch 473
diff --git a/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild b/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild
index 10476643494d..24de5613c118 100644
--- a/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild
+++ b/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild
@@ -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/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild,v 1.7 2005/04/24 10:09:29 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/fritzcapi/fritzcapi-2.6.32.ebuild,v 1.8 2005/05/10 15:55:41 genstef Exp $
inherit linux-mod rpm eutils
@@ -113,7 +113,9 @@ pkg_setup() {
}
src_unpack() {
- [ -e ${DISTDIR}/km_${P/2.6./2.6-}.i586.rpm ] && rpm_unpack ${DISTDIR}/km_${P/2.6./2.6-}.i586.rpm
+ if [ -e ${DISTDIR}/km_${P/2.6./2.6-}.i586.rpm ]; then
+ rpm_unpack ${DISTDIR}/km_${P/2.6./2.6-}.i586.rpm
+ else mkdir -p ${S}; fi
cd ${S}
for ((CARD=0; CARD < ${#AVM_SRC[*]}; CARD++)); do
if [ -e ${DISTDIR}/${AVM_FILES[CARD]}.tar.gz ]; then
@@ -121,7 +123,7 @@ src_unpack() {
CRD_NAME=${AVM_FILES[CARD]/-*}
CRD_NAME=${CRD_NAME/fc}
CRD_NAME=${CRD_NAME/f}
- mv fritz.${CRD_NAME} fritz.${CRD_NAME}.orig
+ [ -e fritz.${CRD_NAME} ] && mv fritz.${CRD_NAME} fritz.${CRD_NAME}.orig
mv fritz fritz.${CRD_NAME}
fi
done