View | Details | Raw Unified | Return to bug 230632 | Differences between
and this patch

Collapse All | Expand All

(-)net-mgmt/yaf/Makefile (-7 / +7 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	yaf
4
PORTNAME=	yaf
5
PORTVERSION=	2.9.3
5
PORTVERSION=	2.10.0
6
CATEGORIES=	net-mgmt
6
CATEGORIES=	net-mgmt
7
MASTER_SITES=	http://tools.netsa.cert.org/releases/
7
MASTER_SITES=	http://tools.netsa.cert.org/releases/
8
8
Lines 12-19 Link Here
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
LIB_DEPENDS=	libfixbuf.so:net/libfixbuf \
15
LIB_DEPENDS=	libfixbuf.so:net/libfixbuf2 \
16
		libltdl.so:devel/libltdl \
16
		libltdl.so:devel/libltdl \
17
		libpcap.so:net/libpcap \
17
		libpcre.so:devel/pcre
18
		libpcre.so:devel/pcre
18
19
19
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
Lines 21-26 Link Here
21
USES=		libtool pathfix perl5 pkgconfig
22
USES=		libtool pathfix perl5 pkgconfig
22
USE_GNOME=	glib20
23
USE_GNOME=	glib20
23
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
CONFIGURE_ARGS=	--sysconfdir="${ETCDIR}"
24
26
25
PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
27
PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
26
28
Lines 69-82 Link Here
69
71
70
.if defined(WITH_DAG)
72
.if defined(WITH_DAG)
71
CONFIGURE_ARGS+=	--with-dag=${LOCALBASE}
73
CONFIGURE_ARGS+=	--with-dag=${LOCALBASE}
72
LIB_DEPENDS+=	libpcap.so.1:net/libpcap
73
.elif exists(${LOCALBASE}/lib/libpcap.so)
74
LIB_DEPENDS+=	libpcap.so.1:net/libpcap
75
.endif
74
.endif
76
75
77
post-install:
76
post-install:
78
.for f in dhcp_fingerprints.conf yafApplabelRules.conf yafDPIRules.conf
77
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/yaf
79
	${MV} ${STAGEDIR}${PREFIX}/etc/$f ${STAGEDIR}${PREFIX}/etc/$f.sample
78
.for f in dhcp_fingerprints.conf yafApplabelRules.conf yafDPIRules.conf yaf.conf
79
	${MV} ${STAGEDIR}${PREFIX}/etc/yaf/$f ${STAGEDIR}${PREFIX}/etc/yaf/$f.sample
80
.endfor
80
.endfor
81
	${RM} ${STAGEDIR}${PREFIX}/etc/p0f.fp
81
	${RM} ${STAGEDIR}${PREFIX}/etc/p0f.fp
82
82
(-)net-mgmt/yaf/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1516823381
1
TIMESTAMP = 1534693349
2
SHA256 (yaf-2.9.3.tar.gz) = a0dd7f8f8733b8554ee0b1458a38fad19734899313ed4a4eb9bcf96893d98e02
2
SHA256 (yaf-2.10.0.tar.gz) = ed13a5d9f4cbbe6e82e2ee894cf3c324b2bb209df7eb95f2be10619bbf13d805
3
SIZE (yaf-2.9.3.tar.gz) = 2119737
3
SIZE (yaf-2.10.0.tar.gz) = 2138460
(-)net-mgmt/yaf/pkg-plist (-4 / +4 lines)
Lines 6-14 Link Here
6
bin/yafMeta2Pcap
6
bin/yafMeta2Pcap
7
bin/yafcollect
7
bin/yafcollect
8
bin/yafscii
8
bin/yafscii
9
@sample etc/dhcp_fingerprints.conf.sample
10
@sample etc/yafApplabelRules.conf.sample
11
@sample etc/yafDPIRules.conf.sample
12
include/airframe/airlock.h
9
include/airframe/airlock.h
13
include/airframe/airopt.h
10
include/airframe/airopt.h
14
include/airframe/airutil.h
11
include/airframe/airutil.h
Lines 27-33 Link Here
27
include/airframe/mio_source_udp.h
24
include/airframe/mio_source_udp.h
28
include/airframe/mio_stdio.h
25
include/airframe/mio_stdio.h
29
include/airframe/privconfig.h
26
include/airframe/privconfig.h
30
include/yaf/CERT_IE.h
31
include/yaf/autoinc.h
27
include/yaf/autoinc.h
32
include/yaf/decode.h
28
include/yaf/decode.h
33
include/yaf/picq.h
29
include/yaf/picq.h
Lines 168-173 Link Here
168
%%APPLABEL%%lib/yaf/netdgmplugin.so
164
%%APPLABEL%%lib/yaf/netdgmplugin.so
169
%%APPLABEL%%lib/yaf/netdgmplugin.so.1
165
%%APPLABEL%%lib/yaf/netdgmplugin.so.1
170
%%APPLABEL%%lib/yaf/netdgmplugin.so.1.0.1
166
%%APPLABEL%%lib/yaf/netdgmplugin.so.1.0.1
167
@sample %%ETCDIR%%/dhcp_fingerprints.conf.sample
168
@sample %%ETCDIR%%/yafApplabelRules.conf.sample
169
@sample %%ETCDIR%%/yafDPIRules.conf.sample
170
@sample %%ETCDIR%%/yaf.conf.sample
171
libdata/pkgconfig/libairframe.pc
171
libdata/pkgconfig/libairframe.pc
172
libdata/pkgconfig/libyaf.pc
172
libdata/pkgconfig/libyaf.pc
173
man/man1/airdaemon.1.gz
173
man/man1/airdaemon.1.gz

Return to bug 230632