From 8b4b483d867c3e505bf80b9176158950c420bac6 Mon Sep 17 00:00:00 2001
From: Koichiro Iwao
Date: Mon, 29 Jun 2020 14:00:17 +0000
Subject: [PATCH] security/softether: Add rc script for TrafficServer
---
security/softether-devel/Makefile | 5 +-
security/softether-devel/files/pkg-message.in | 9 ++-
.../files/softether_trafficserver.in | 66 +++++++++++++++++++
security/softether/Makefile | 5 +-
security/softether/files/pkg-message.in | 9 ++-
.../files/softether_trafficserver.in | 66 +++++++++++++++++++
6 files changed, 150 insertions(+), 10 deletions(-)
create mode 100644 security/softether-devel/files/softether_trafficserver.in
create mode 100644 security/softether/files/softether_trafficserver.in
diff --git a/security/softether-devel/Makefile b/security/softether-devel/Makefile
index d309a7cc6c40..98f4bda90798 100644
--- a/security/softether-devel/Makefile
+++ b/security/softether-devel/Makefile
@@ -2,7 +2,7 @@
PORTNAME= softether
DISTVERSION= 4.34-9745-beta
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security net-vpn
MASTER_SITES= https://www.softether-download.com/files/softether/v${DISTVERSION}-2020.04.05-tree/Source_Code/
PKGNAMESUFFIX= -devel
@@ -20,7 +20,8 @@ IGNORE= no beta version available right now, use security/softether instead
USES= dos2unix gmake iconv:wchar_t localbase:ldflags ncurses \
readline ssl
-USE_RC_SUBR= softether_bridge softether_client softether_server
+USE_RC_SUBR= softether_bridge softether_client \
+ softether_server softether_trafficserver
DOS2UNIX_FILES= ChangeLog LICENSE README *.TXT \
src/Cedar/*.* src/Mayaqua/*.*
diff --git a/security/softether-devel/files/pkg-message.in b/security/softether-devel/files/pkg-message.in
index 32ec15e35e63..7af183c3137b 100644
--- a/security/softether-devel/files/pkg-message.in
+++ b/security/softether-devel/files/pkg-message.in
@@ -1,15 +1,18 @@
[
{ type: install
message: <