blob: afec4a5777f0f3c80135917427cf2e3bfb1121d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
PORTNAME= yersinia
PORTVERSION= 0.8.2
PORTREVISION= 1
CATEGORIES= security
# MASTER_SITES= http://www.yersinia.net/download/
PKGNAMESUFFIX= -gtk
MAINTAINER= ayu@commun.jp
COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...)
LICENSE= GPLv2
LIB_DEPENDS= libnet.so:net/libnet \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= autoreconf gnome ncurses pkgconfig
USE_GNOME= cairo gdkpixbuf2 gtk20
USE_GITHUB= yes
GH_TUPLE= tomac:yersinia:8c0d7c5
GNU_CONFIGURE= yes
PLIST_FILES= sbin/yersinia \
man/man8/yersinia.8.gz
OPTIONS_DEFINE= PORTS_PCAP
PORTS_PCAP_DESC=Use ports PCAP instead of system PCAP
PORTS_PCAP_CONFIGURE_ON= --with-pcap-includes=${LOCALBASE}/include
PORTS_PCAP_CONFIGURE_OFF= --with-pcap-includes=/usr/include
PORTS_PCAP_BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:net/libpcap
post-patch:
@${REINPLACE_CMD} -e 's,-O3 -Wall -g,${CFLAGS} -fcommon,' \
${WRKSRC}/configure.ac
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
.include <bsd.port.mk>
|