aboutsummaryrefslogtreecommitdiff
path: root/net/openser/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-04-11 21:53:47 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-04-11 21:53:47 +0000
commitd9398368436ce66e3bd5d2ed48d4168a3bfd1824 (patch)
treed0fd425db0dacd57c45c12ed6519d7c9ea370dfb /net/openser/Makefile
parenta7964be99effdba859dec712a8e9c8bfaea3a529 (diff)
downloadports-d9398368436ce66e3bd5d2ed48d4168a3bfd1824.tar.gz
ports-d9398368436ce66e3bd5d2ed48d4168a3bfd1824.zip
Notes
Diffstat (limited to 'net/openser/Makefile')
-rw-r--r--net/openser/Makefile36
1 files changed, 26 insertions, 10 deletions
diff --git a/net/openser/Makefile b/net/openser/Makefile
index 1cb37ee7d08d..6a981b14bcc8 100644
--- a/net/openser/Makefile
+++ b/net/openser/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openser
-PORTVERSION= 1.1.1
+PORTVERSION= 1.2.0
CATEGORIES= net
MASTER_SITES= http://openser.org/pub/openser/${PORTVERSION}/src/
DISTNAME= ${PORTNAME}-${PORTVERSION}-tls_src
@@ -28,15 +28,17 @@ MAKE_ENV= CC="${CC}" \
PLIST_FILES= sbin/openser sbin/openserctl sbin/openserunix \
lib/openser/openserctl/openserctl.base lib/openser/openserctl/openserctl.ctlbase \
lib/openser/openserctl/openserctl.fifo lib/openser/openserctl/openserctl.sqlbase \
- lib/openser/openserctl/openserctl.unixsock etc/openser/openserctlrc
+ lib/openser/openserctl/openserctl.unixsock \
+ etc/openser/openserctlrc
PLIST_DIRS= lib/openser/modules lib/openser/openserctl lib/openser
MODULES= acc alias_db auth auth_db auth_diameter avpops cpl-c dbtext \
- dialog dispatcher diversion domain enum exec flatstore gflags \
- group lcr mangler maxfwd mediaproxy msilo nathelper options \
- pa path pdt permissions pike registrar rr siptrace sl sms \
- speeddial statistics textops tm uac uac_redirect uri \
+ dialog dispatcher diversion domain domainpolicy enum exec flatstore \
+ gflags group imc lcr mangler maxfwd mediaproxy mi_fifo msilo \
+ nathelper options pa path pdt permissions pike presence pua pua_mi \
+ pua_usrloc registrar rr seas siptrace sl sms speeddial sst statistics \
+ textops tm uac uac_redirect uri \
uri_db usrloc xlog
RC_FILES= acc/radiusclient.conf \
@@ -58,9 +60,10 @@ SUB_FILES= pkg-install pkg-deinstall
SUB_LIST= RC_DIRS="${RC_DIRS}" RC_FILES="${RC_FILES}"
OPTIONS= MYSQL "MySQL support" on \
- POSTGRESQL "PostgreSQL support" on \
- UNIXODBC "UnixODBC support" on \
- TLS "TLS support" on
+ POSTGRESQL "PostgreSQL support" off \
+ UNIXODBC "UnixODBC support" off \
+ TLS "TLS support" off \
+ SNMPSTATS "SNMPStats support" off
.include <bsd.port.pre.mk>
@@ -88,6 +91,7 @@ MAKE_ENV+= UNIXODBC=unixodbc
.endif
.if defined(WITH_TLS)
+MODULES+= tlsops
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
TLS_RC_FILES= tls/rootCA/cacert.pem \
tls/rootCA/certs/01.pem \
@@ -97,7 +101,11 @@ TLS_RC_FILES= tls/rootCA/cacert.pem \
tls/user/user-calist.pem \
tls/user/user-cert.pem \
tls/user/user-cert_req.pem \
- tls/user/user-privkey.pem
+ tls/user/user-privkey.pem \
+ tls/README \
+ tls/ca.conf \
+ tls/request.conf \
+ tls/user.conf
RC_FILES+= ${TLS_RC_FILES}
TLS_RC_DIRS= tls/user \
tls/rootCA/certs \
@@ -106,9 +114,17 @@ TLS_RC_DIRS= tls/user \
tls
RC_DIRS+= ${TLS_RC_DIRS}
.else
+MAKE_ENV+= TLSOPS=tlsops
MAKE_ARGS+= TLS=""
.endif
+.if defined(WITH_SNMPSTATS)
+RUN_DEPENDS+= snmpcheck:${PORTSDIR}/net-mgmt/net-snmp
+MODULES+= snmpstats
+.else
+MAKE_ENV+= SNMPSTATS=snmpstats
+.endif
+
PLIST_FILES+= ${MODULES:S|^|lib/openser/modules/|:S|$|.so|} \
${RC_FILES:S|^|etc/openser/|:S|$|.default|}