diff options
author | dinoex <dinoex@FreeBSD.org> | 2016-01-14 14:02:05 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2016-01-14 14:02:05 +0800 |
commit | 035e63786f04562cb7121376e5e4a8e004603aee (patch) | |
tree | 6f286f689bee21b54ff49a79da33b4e434774547 | |
parent | 7f054b779ef7322489d7d96c8a0835b4f34a172c (diff) | |
download | freebsd-ports-gnome-035e63786f04562cb7121376e5e4a8e004603aee.tar.gz freebsd-ports-gnome-035e63786f04562cb7121376e5e4a8e004603aee.tar.zst freebsd-ports-gnome-035e63786f04562cb7121376e5e4a8e004603aee.zip |
- fix startup order conflict
- allow tinc to start early, so "static_routes" in /etc/rc.conf works.
PR: 202371
-rw-r--r-- | security/tinc/Makefile | 2 | ||||
-rw-r--r-- | security/tinc/files/tincd.in | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/security/tinc/Makefile b/security/tinc/Makefile index b52f553d7e24..837b841f2c1a 100644 --- a/security/tinc/Makefile +++ b/security/tinc/Makefile @@ -3,7 +3,7 @@ PORTNAME= tinc PORTVERSION= 1.0.26 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.tinc-vpn.org/packages/ diff --git a/security/tinc/files/tincd.in b/security/tinc/files/tincd.in index a3762dbb08c5..6d53d1a6ca11 100644 --- a/security/tinc/files/tincd.in +++ b/security/tinc/files/tincd.in @@ -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" |