diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-31 20:11:24 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-31 20:11:24 +0800 |
commit | 6b709308cb4199c5f8056a391e928cec47cc6586 (patch) | |
tree | 9d17ccc89e8eb29c78b5f48f2b294497d6d1cfcf /net/kamailio | |
parent | bed2d61bb53aa0d4ba77332c79a5d063d70643fb (diff) | |
download | freebsd-ports-gnome-6b709308cb4199c5f8056a391e928cec47cc6586.tar.gz freebsd-ports-gnome-6b709308cb4199c5f8056a391e928cec47cc6586.tar.zst freebsd-ports-gnome-6b709308cb4199c5f8056a391e928cec47cc6586.zip |
- Sort USES
- Don't touch /root, as HOME now is set to a safe directory
- Switch to @sample
Approved by: portmgr blanket
Diffstat (limited to 'net/kamailio')
-rw-r--r-- | net/kamailio/Makefile | 5 | ||||
-rw-r--r-- | net/kamailio/pkg-plist | 24 |
2 files changed, 7 insertions, 22 deletions
diff --git a/net/kamailio/Makefile b/net/kamailio/Makefile index cef6d3aef736..64cd6339d3df 100644 --- a/net/kamailio/Makefile +++ b/net/kamailio/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ libcurl.so:${PORTSDIR}/ftp/curl RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash -USES= gmake shebangfix readline +USES= gmake readline shebangfix USE_LDCONFIG= yes SHEBANG_FILES= utils/kamctl/dbtextdb/dbtextdb.py \ utils/kamctl/kamctl utils/kamctl/kamdbctl @@ -109,9 +109,6 @@ do-build: cd ${WRKSRC} && ${GMAKE} ${ALL_TARGET} post-stage: -# Do not install anything beyond ${PREFIX} - ${RM} /root/.rnd - # Strip modules in lib/kamailio/modules @${ECHO_CMD} "Stripping modules in ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/" diff --git a/net/kamailio/pkg-plist b/net/kamailio/pkg-plist index c281faa4b606..acbcdfe5e002 100644 --- a/net/kamailio/pkg-plist +++ b/net/kamailio/pkg-plist @@ -2,24 +2,12 @@ sbin/kamailio sbin/kamcmd sbin/kamctl sbin/kamdbctl -@unexec if cmp -s %D/etc/kamailio/dictionary.kamailio.sample %D/etc/kamailio/dictionary.kamailio; then rm -f %D/etc/kamailio/dictionary.kamailio; fi -etc/kamailio/dictionary.kamailio.sample -@exec if [ ! -f %D/etc/kamailio/dictionary.kamailio ] ; then cp -p %D/%F %B/dictionary.kamailio; fi -@unexec if cmp -s %D/etc/kamailio/kamailio-advanced.cfg.sample %D/etc/kamailio/kamailio-advanced.cfg; then rm -f %D/etc/kamailio/kamailio-advanced.cfg; fi -etc/kamailio/kamailio-advanced.cfg.sample -@exec if [ ! -f %D/etc/kamailio/kamailio-advanced.cfg ] ; then cp -p %D/%F %B/kamailio-advanced.cfg; fi -@unexec if cmp -s %D/etc/kamailio/kamailio-basic.cfg.sample %D/etc/kamailio/kamailio-advanced.cfg; then rm -f %D/etc/kamailio/kamailio-advanced.cfg; fi -etc/kamailio/kamailio-basic.cfg.sample -@exec if [ ! -f %D/etc/kamailio/kamailio-basic.cfg ] ; then cp -p %D/%F %B/kamailio-advanced.cfg; fi -@unexec if cmp -s %D/etc/kamailio/kamailio.cfg.sample %D/etc/kamailio/kamailio.cfg; then rm -f %D/etc/kamailio/kamailio.cfg; fi -etc/kamailio/kamailio.cfg.sample -@exec if [ ! -f %D/etc/kamailio/kamailio.cfg ] ; then cp -p %D/%F %B/kamailio.cfg; fi -@unexec if cmp -s %D/etc/kamailio/kamctlrc.sample %D/etc/kamailio/kamctlrc; then rm -f %D/etc/kamailio/kamctlrc; fi -etc/kamailio/kamctlrc.sample -@exec if [ ! -f %D/etc/kamailio/kamctlrc ] ; then cp -p %D/%F %B/kamctlrc; fi -%%TLS%%@unexec if cmp -s %D/etc/kamailio/tls.cfg.sample %D/etc/kamailio/tls.cfg; then rm -f %D/etc/kamailio/tls.cfg; fi -%%TLS%%etc/kamailio/tls.cfg.sample -%%TLS%%@exec if [ ! -f %D/etc/kamailio/tls.cfg ] ; then cp -p %D/%F %B/tls.cfg; fi +@sample etc/kamailio/dictionary.kamailio.sample +@sample etc/kamailio/kamailio-advanced.cfg.sample +@sample etc/kamailio/kamailio-basic.cfg.sample +@sample etc/kamailio/kamailio.cfg.sample +@sample etc/kamailio/kamctlrc.sample +%%TLS%%@sample etc/kamailio/tls.cfg.sample %%TLS%%etc/kamailio/kamailio-selfsigned.key %%TLS%%etc/kamailio/kamailio-selfsigned.pem lib/kamailio/libbinrpc.so |