update to 1.40.1; from new maintainer Jolan Luff <jolan@cryptonomicon.org>
- now respects CFLAGS throughout the whole build - this version adds tun device support for OpenBSD.
This commit is contained in:
parent
44d330d643
commit
b9d3092930
@ -1,27 +1,26 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2002/10/28 01:38:45 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2003/04/17 18:59:49 wilfried Exp $
|
||||
|
||||
COMMENT= "network grep"
|
||||
|
||||
DISTNAME= ngrep-1.40
|
||||
DISTNAME= ngrep-1.40.1
|
||||
CATEGORIES= net
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ngrep/}
|
||||
|
||||
HOMEPAGE= http://ngrep.sourceforge.net/
|
||||
|
||||
MAINTAINER= Dug Song <dugsong@monkey.org>
|
||||
MAINTAINER= Jolan Luff <jolan@cryptonomicon.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= "no obvious license"
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= "no obvious license"
|
||||
PERMIT_PACKAGE_CDROM= "Restrictions on packages"
|
||||
PERMIT_PACKAGE_FTP= "Restrictions on packages"
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
|
||||
WRKDIST= ${WRKDIR}/ngrep
|
||||
|
||||
ALL_TARGET= ngrep
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
WRKDIST= ${WRKDIR}/ngrep
|
||||
|
||||
CONFIGURE_STYLE=gnu dest
|
||||
|
||||
ALL_TARGET= ngrep
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (ngrep-1.40.tar.gz) = 4837f3d3b30e12ee067cb3fd2b874798
|
||||
RMD160 (ngrep-1.40.tar.gz) = fc0faf906d084005bdea5b38a386b262379b8f4a
|
||||
SHA1 (ngrep-1.40.tar.gz) = 52d37ea6b15230f4167e654f75814d063d924b7f
|
||||
MD5 (ngrep-1.40.1.tar.gz) = 6bda40605febf490623a625202f2a605
|
||||
RMD160 (ngrep-1.40.1.tar.gz) = c1387dcde779f8515c49524f775c95a34c4ba95e
|
||||
SHA1 (ngrep-1.40.1.tar.gz) = 4cf30c02d315e98671eb437db81298c3bdd2e715
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.in.orig Tue May 8 23:14:40 2001
|
||||
+++ Makefile.in Tue May 8 23:15:02 2001
|
||||
@@ -19,7 +19,7 @@
|
||||
MANPAGE=ngrep.8
|
||||
|
||||
INSTALL=./install-sh
|
||||
-BINDEST=@prefix@/bin
|
||||
+BINDEST=@prefix@/sbin
|
||||
MANDEST=@prefix@/man/man8
|
||||
|
||||
REGEX_TARGET=@REGEX_TARGET@
|
12
net/ngrep/patches/patch-Makefile_in
Normal file
12
net/ngrep/patches/patch-Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1 2003/04/17 18:59:49 wilfried Exp $
|
||||
--- Makefile.in.orig Mon Dec 31 16:05:21 2001
|
||||
+++ Makefile.in Wed Apr 2 02:35:44 2003
|
||||
@@ -20,7 +20,7 @@ TARGET=ngrep
|
||||
MANPAGE=ngrep.8
|
||||
|
||||
INSTALL=./install-sh
|
||||
-BINDEST=@prefix@/bin
|
||||
+BINDEST=@prefix@/sbin
|
||||
MANDEST=@prefix@/man/man8
|
||||
|
||||
REGEX_TARGET=@REGEX_TARGET@
|
14
net/ngrep/patches/patch-ngrep_c
Normal file
14
net/ngrep/patches/patch-ngrep_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-ngrep_c,v 1.1 2003/04/17 18:59:49 wilfried Exp $
|
||||
--- ngrep.c.orig Mon Dec 31 16:11:00 2001
|
||||
+++ ngrep.c Wed Apr 2 02:26:17 2003
|
||||
@@ -385,10 +385,6 @@ int main(int argc, char **argv) {
|
||||
link_offset = LOOPHDR_SIZE;
|
||||
break;
|
||||
|
||||
- case DLT_LINUX_SLL:
|
||||
- link_offset = ISDNHDR_SIZE;
|
||||
- break;
|
||||
-
|
||||
default:
|
||||
fprintf(stderr, "fatal: unsupported interface type %d\n", pcap_datalink(pd));
|
||||
clean_exit(-1);
|
12
net/ngrep/patches/patch-regex-0_12_Makefile_in
Normal file
12
net/ngrep/patches/patch-regex-0_12_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-regex-0_12_Makefile_in,v 1.1 2003/04/17 18:59:49 wilfried Exp $
|
||||
--- regex-0.12/Makefile.in.orig Tue Jun 26 12:55:13 2001
|
||||
+++ regex-0.12/Makefile.in Wed Apr 2 02:31:04 2003
|
||||
@@ -29,7 +29,7 @@ version = 0.12
|
||||
CPPFLAGS =
|
||||
|
||||
# Likewise, you can override CFLAGS to optimize, use -Wall, etc.
|
||||
-CFLAGS = -g
|
||||
+#CFLAGS = -g
|
||||
|
||||
# Ditto for LDFLAGS and LOADLIBES.
|
||||
LDFLAGS =
|
Loading…
Reference in New Issue
Block a user