pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libpcap Add EXTRACT_ELEMENTS to prevent blowup on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/179aca3acf4c
branches:  trunk
changeset: 488268:179aca3acf4c
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Jan 26 17:39:55 2005 +0000

description:
Add EXTRACT_ELEMENTS to prevent blowup on first extract due to malformed
pathnames in the tarball.

diffstat:

 net/libpcap/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r ac370ada0b3d -r 179aca3acf4c net/libpcap/Makefile
--- a/net/libpcap/Makefile      Wed Jan 26 17:34:57 2005 +0000
+++ b/net/libpcap/Makefile      Wed Jan 26 17:39:55 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/10/05 19:00:57 adrianp Exp $
+# $NetBSD: Makefile,v 1.22 2005/01/26 17:39:55 tv Exp $
 
 DISTNAME=              libpcap-0.8.3
 SVR4_PKGNAME=          lpcap
@@ -11,6 +11,9 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
+# tarball contains invalid dir entry libpcap-0.8.3/.; breaks "first" extract
+EXTRACT_ELEMENTS=      libpcap-0.8.3/./*
+
 USE_BUILDLINK3=                yes
 GNU_CONFIGURE=         yes
 USE_GNU_TOOLS+=                lex yacc m4



Home | Main Index | Thread Index | Old Index