diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2002-06-17 13:41:55 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2002-06-17 13:41:55 +0000 |
commit | b315038fea440a08556d1da752e15ca22b16aed7 (patch) | |
tree | eee257a53e20fab4c543cb5866e54b6827a769e3 /security/dsniff | |
parent | fb81690cb897113db45ed2dd9bcb8f1f2ef51609 (diff) | |
download | FreeBSD-ports-b315038fea440a08556d1da752e15ca22b16aed7.zip FreeBSD-ports-b315038fea440a08556d1da752e15ca22b16aed7.tar.gz |
Add WITHOUT_X11 knob. If specified, webspy(8) will not be installed,
and the X11 libraries are not required.
Approved by: maintainer
Diffstat (limited to 'security/dsniff')
-rw-r--r-- | security/dsniff/Makefile | 12 | ||||
-rw-r--r-- | security/dsniff/pkg-plist | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile index c24d669..a26f162 100644 --- a/security/dsniff/Makefile +++ b/security/dsniff/Makefile @@ -16,10 +16,18 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet \ ${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids GNU_CONFIGURE= yes -USE_XLIB= yes MAN8= arpspoof.8 dsniff.8 macof.8 mailsnarf.8 tcpkill.8 \ - tcpnice.8 urlsnarf.8 webspy.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \ + tcpnice.8 urlsnarf.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \ sshmitm.8 webmitm.8 +.if !defined(WITHOUT_X11) +USE_XLIB= yes +PLIST_SUB+= X11='' +.else +CONFIGURE_ARGS+= --without-x +PLIST_SUB+= X11='@comment ' +MAN8+= webspy.8 +.endif + .include <bsd.port.mk> diff --git a/security/dsniff/pkg-plist b/security/dsniff/pkg-plist index 37b71f3..110054b 100644 --- a/security/dsniff/pkg-plist +++ b/security/dsniff/pkg-plist @@ -13,4 +13,4 @@ sbin/tcpkill sbin/tcpnice sbin/urlsnarf sbin/webmitm -sbin/webspy +%%X11%%sbin/webspy |