svn commit: r406095 - in head/security/tinc: . files

Dirk Meyer dinoex at FreeBSD.org
Thu Jan 14 06:02:06 UTC 2016


Author: dinoex
Date: Thu Jan 14 06:02:05 2016
New Revision: 406095
URL: https://svnweb.freebsd.org/changeset/ports/406095

Log:
  - fix startup order conflict
  - allow tinc to start early, so "static_routes" in /etc/rc.conf works.
  PR:		202371

Modified:
  head/security/tinc/Makefile
  head/security/tinc/files/tincd.in

Modified: head/security/tinc/Makefile
==============================================================================
--- head/security/tinc/Makefile	Thu Jan 14 05:55:28 2016	(r406094)
+++ head/security/tinc/Makefile	Thu Jan 14 06:02:05 2016	(r406095)
@@ -3,7 +3,7 @@
 
 PORTNAME=	tinc
 PORTVERSION=	1.0.26
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://www.tinc-vpn.org/packages/
 

Modified: head/security/tinc/files/tincd.in
==============================================================================
--- head/security/tinc/files/tincd.in	Thu Jan 14 05:55:28 2016	(r406094)
+++ head/security/tinc/files/tincd.in	Thu Jan 14 06:02:05 2016	(r406095)
@@ -3,7 +3,7 @@
 # $FreeBSD$
 #
 # PROVIDE: tincd
-# REQUIRE: ipfilter FILESYSTEMS sysctl netif ldconfig
+# REQUIRE: ipfilter FILESYSTEMS sysctl netif
 # BEFORE:  SERVERS routing
 # KEYWORD: nojail
 #
@@ -33,11 +33,13 @@ stop_cmd="tincd_stop"
 reload_cmd="tincd_reload"
 extra_commands="reload"
 procname=${command:-tincd}
+ldconfig_command="/sbin/ldconfig"
 
 load_rc_config $name
 
 tincd_start()
 {
+	${ldconfig_command} -elf -m %%LOCALBASE%%/lib
 	if test -z "${tincd_cfg}"
 	then
 		echo "Starting tincd"


More information about the svn-ports-head mailing list