From 9079a1580b00c58c95cfe706998f4a2b7097d31d Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 15 May 2017 16:56:52 -0400 Subject: Do not manually clear the log file during install. The package handling code will take care of that automatically, and it only causes an unnecessary restart of tinc. Ticket #7256 (cherry picked from commit b2877187d9d3582a0718b766126d79a70ff4b1d5) (cherry picked from commit 6a9d88c71c6eeac784ddb528ac7b903f865abb7d) (cherry picked from commit 5be7cb3168dbebd5aeb985e29331f9fae89acf7e) --- security/pfSense-pkg-tinc/Makefile | 3 +-- security/pfSense-pkg-tinc/files/usr/local/pkg/tinc.inc | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/security/pfSense-pkg-tinc/Makefile b/security/pfSense-pkg-tinc/Makefile index 240cfbf..928c2d9 100644 --- a/security/pfSense-pkg-tinc/Makefile +++ b/security/pfSense-pkg-tinc/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= pfSense-pkg-tinc -PORTVERSION= 1.0.28 -PORTREVISION= 4 +PORTVERSION= 1.0.29 CATEGORIES= security MASTER_SITES= # empty DISTFILES= # empty diff --git a/security/pfSense-pkg-tinc/files/usr/local/pkg/tinc.inc b/security/pfSense-pkg-tinc/files/usr/local/pkg/tinc.inc index 59cf7e8..7b152b3 100644 --- a/security/pfSense-pkg-tinc/files/usr/local/pkg/tinc.inc +++ b/security/pfSense-pkg-tinc/files/usr/local/pkg/tinc.inc @@ -156,7 +156,6 @@ function tinc_install() { safe_mkdir("/usr/local/etc/tinc/hosts"); tinc_write_rcfile(); unlink_if_exists("/usr/local/etc/rc.d/tincd"); - clear_log_file("/var/log/tinc.log"); /* Create Interface Group */ if (!is_array($config['ifgroups']['ifgroupentry'])) { -- cgit v1.1