net-mgmt/argus3: Update version 3.0.8=>3.0.8.1

- Convert to OPTIONSNG
- Base libpcap library version for 8/STABLE is not compatible hence
  conditional add from ports
This commit is contained in:
Muhammad Moinur Rahman 2015-05-21 19:11:18 +00:00
parent a0b548b96a
commit 2f133eeec5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386952
2 changed files with 10 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= argus
PORTVERSION= 3.0.8
PORTVERSION= 3.0.8.1
CATEGORIES= net-mgmt security
MASTER_SITES= http://qosient.com/argus/src/ \
ftp://qosient.com/pub/argus/src/
@ -16,6 +16,8 @@ CONFLICTS= argus-2* argus-sasl-2* argus-clients-2*
OPTIONS_DEFINE= SASL
OPTIONS_DEFAULT=SASL
SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
SASL_CONFIGURE_ON= --with-sasl=${LOCALBASE}
USE_RC_SUBR= argus
@ -26,8 +28,11 @@ GNU_CONFIGURE= yes
.if ${PORT_OPTIONS:MSASL}
PKGNAMESUFFIX+= -sasl
LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
.endif
.if ${OSVERSION} < 900000
BUILD_DEPENDS+= ${LOCALBASE}/include/pcap.h:${PORTSDIR}/net/libpcap
CONFIGURE_ARGS+= --with-libpcap=${LOCALBASE}
.endif
post-patch:

View file

@ -1,2 +1,2 @@
SHA256 (argus-3.0.8.tar.gz) = 335d889d288763487ad3545c09b944d7d6aa2538630d1fd72eea3704a57bf6e3
SIZE (argus-3.0.8.tar.gz) = 1193140
SHA256 (argus-3.0.8.1.tar.gz) = 1fb921104c8bd843fb9f5a1c32b57b20bfe8cd8a103b3f1d9bb686b9e6c490a4
SIZE (argus-3.0.8.1.tar.gz) = 523375