1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Sort USES

- Don't touch /root, as HOME now is set to a safe directory
- Switch to @sample

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-31 12:11:24 +00:00
parent 7d8f034936
commit 1a46d6a2fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395666
2 changed files with 7 additions and 22 deletions

View File

@ -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/"

View File

@ -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