summaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-26 17:39:55 +0000
committertv <tv@pkgsrc.org>2005-01-26 17:39:55 +0000
commite523b7a93fe952b5ddb8195159a5a29502d3b895 (patch)
tree0c04883a5c251d52f0002862b890e8f2f24875f8 /net/libpcap
parent358226a3e56bcb6b219a0b0596a8be8044ac3469 (diff)
downloadpkgsrc-e523b7a93fe952b5ddb8195159a5a29502d3b895.tar.gz
Add EXTRACT_ELEMENTS to prevent blowup on first extract due to malformed
pathnames in the tarball.
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index ad14a171449..52322916ebd 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -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 @@ COMMENT= System-independent interface for user-level packet capture
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