Index: head/security/tinc/Makefile =================================================================== --- head/security/tinc/Makefile (revision 395346) +++ head/security/tinc/Makefile (revision 395347) @@ -1,28 +1,29 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= tinc PORTVERSION= 1.0.26 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.tinc-vpn.org/packages/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Virtual Private Network (VPN) daemon LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2 LICENSE= GPLv3 USES= cpe makeinfo CPE_VENDOR= tinc-vpn USE_OPENSSL= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --localstatedir=/var USE_RC_SUBR= tincd INFO= tinc PLIST_FILES= sbin/tincd \ man/man5/tinc.conf.5.gz man/man8/tincd.8.gz .include Index: head/security/tinc/files/tincd.in =================================================================== --- head/security/tinc/files/tincd.in (revision 395346) +++ head/security/tinc/files/tincd.in (revision 395347) @@ -1,82 +1,82 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: tincd -# REQUIRE: ipfilter FILESYSTEMS sysctl netif +# REQUIRE: ipfilter FILESYSTEMS sysctl netif ldconfig # BEFORE: SERVERS routing # KEYWORD: nojail # # Define these tincd_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # /etc/rc.conf.d/tincd # # DO NOT CHANGE THESE DEFAULT VALUES HERE tincd_enable=${tincd_enable:-"NO"} . /etc/rc.subr name="tincd" rcvar="tincd_enable" command="%%PREFIX%%/sbin/tincd" start_cmd="tincd_start" stop_cmd="tincd_stop" reload_cmd="tincd_reload" extra_commands="reload" procname=${command:-tincd} load_rc_config $name tincd_start() { if test -z "${tincd_cfg}" then echo "Starting tincd" $command else for cfg in ${tincd_cfg} do echo "Starting tincd for: ${cfg}" $command -n $cfg done fi # code deliberately borrowed from /etc/rc.d/netif if [ -f /etc/rc.d/ipfilter ] ; then # Resync ipfilter /etc/rc.d/ipfilter quietresync fi } tincd_stop() { if test -z "${tincd_cfg}" then echo "Stopping tincd" $command -k else echo "Stopping tincd for: " for cfg in $tincd_cfg do echo "Stopping tincd for: ${cfg}" $command -n $cfg -k done fi } tincd_reload() { if test -z "${tincd_cfg}" then echo "Sending HUP to tincd" $command --kill=HUP else for cfg in $tincd_cfg do echo "Sending HUP to tincd for: ${cfg}" $command -n $cfg --kill=HUP done fi } run_rc_command "$1" # eof