Permalink
Browse files

update/fix CONFIGURE_ARGS

  • Loading branch information...
sthen committed Apr 8, 2014
1 parent b26a306 commit d2dfc170bf7b53afa1290f043464f3ac657fcc6a
View
@@ -2,7 +2,7 @@
COMMENT= insecure tcpdump
-DISTNAME= tcpdump-4.4.0
+DISTNAME= tcpdump-4.5.1
CATEGORIES= net
@@ -11,11 +11,15 @@ HOMEPAGE= http://www.tcpdump.org/
# BSD
PERMIT_PACKAGE_CDROM= Yes
+MASTER_SITES= http://www.tcpdump.org/release/
+
WANTLIB += c crypto pcap
MAKE_FLAGS= PROG=unsafe_tcpdump
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS= --with-user=_tcpdump \
+ --with-chroot=/var/empty
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
NO_TEST= Yes
View
@@ -1,2 +1,2 @@
-SHA256 (tcpdump-4.4.0.tar.gz) = EidL7Sy4kJja3wCgIrTUCFPFEINp87MReu3yHsYVML0=
-SIZE (tcpdump-4.4.0.tar.gz) = 915381
+SHA256 (tcpdump-4.5.1.tar.gz) = FKs5ZXEo86ZQrtTPRV92x1kGAQh7YQHCU9aY9uc/C5Y=
+SIZE (tcpdump-4.5.1.tar.gz) = 1024455
@@ -1,7 +1,7 @@
$OpenBSD$
---- Makefile.in.orig Sun Oct 20 20:45:47 2013
-+++ Makefile.in Sun Oct 20 20:47:00 2013
-@@ -329,7 +329,7 @@ install: all
+--- Makefile.in.orig Thu Nov 7 23:22:54 2013
++++ Makefile.in Mon Feb 10 13:15:12 2014
+@@ -334,7 +334,7 @@ install: all
$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG).`cat ${srcdir}/VERSION`
[ -d $(DESTDIR)$(mandir)/man1 ] || \
(mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
@@ -1,29 +0,0 @@
-$OpenBSD$
---- configure.orig Sun Oct 20 20:52:20 2013
-+++ configure Sun Oct 20 20:53:01 2013
-@@ -2324,7 +2324,6 @@ if test "${with_gcc+set}" = set; then :
- withval=$with_gcc;
- fi
-
-- V_CCOPT="-O"
- V_INCLS=""
- if test "${srcdir}" != "." ; then
- V_INCLS="-I$srcdir"
-@@ -3065,6 +3064,7 @@ fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
- $as_echo "$ac_cv_prog_cc_g" >&6; }
- if test "$ac_test_CFLAGS" = set; then
-+echo CFLAGS=$ac_save_CFLAGS
- CFLAGS=$ac_save_CFLAGS
- elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
-@@ -3199,9 +3199,6 @@ fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lbl_gcc_vers" >&5
- $as_echo "$ac_cv_lbl_gcc_vers" >&6; }
-- if test $ac_cv_lbl_gcc_vers -gt 1 ; then
-- V_CCOPT="-O2"
-- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that $CC handles ansi prototypes" >&5
View
@@ -1,7 +1,6 @@
This package contains the version of tcpdump from tcpdump.org.
-It is *not recommended* for general use as it does not drop privileges,
-therefore the packet dissectors (which historically have suffered from
-many security bugs) are run as root.
+It is *not recommended* for general use as it does not use privilege
+separation like OpenBSD's tcpdump.
To help you remember this, the binary is named "unsafe_tcpdump".

0 comments on commit d2dfc17

Please sign in to comment.