View | Details | Raw Unified | Return to bug 235340
Collapse All | Expand All

(-)Makefile (-4 / +1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	strongswan
4
PORTNAME=	strongswan
5
PORTVERSION=	5.7.2
5
PORTVERSION=	5.7.2
6
PORTREVISION=	1
6
CATEGORIES=	security
7
CATEGORIES=	security
7
MASTER_SITES=	http://download.strongswan.org/ \
8
MASTER_SITES=	http://download.strongswan.org/ \
8
		http://download2.strongswan.org/
9
		http://download2.strongswan.org/
Lines 139-147 post-install: Link Here
139
	${INSTALL_DATA} ${WRKSRC}/src/libcharon/plugins/vici/libvici.h \
140
	${INSTALL_DATA} ${WRKSRC}/src/libcharon/plugins/vici/libvici.h \
140
		${STAGEDIR}${PREFIX}/include
141
		${STAGEDIR}${PREFIX}/include
141
.endif
142
.endif
142
.if ${PORT_OPTIONS:MSWANCTL}
143
	${MV} ${STAGEDIR}${PREFIX}/etc/swanctl/swanctl.conf \
144
		${STAGEDIR}${PREFIX}/etc/swanctl/swanctl.conf.sample
145
.endif
146
143
147
.include <bsd.port.mk>
144
.include <bsd.port.mk>
(-)files/patch-src_swanctl_Makefile.in (+11 lines)
Added Link Here
1
--- src/swanctl/Makefile.in.orig	2019-01-18 17:24:51 UTC
2
+++ src/swanctl/Makefile.in
3
@@ -1065,7 +1065,7 @@ install-data-local: swanctl.conf
4
 	test -e "$(DESTDIR)$(swanctldir)/bliss" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/bliss" || true
5
 	test -e "$(DESTDIR)$(swanctldir)/pkcs8" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/pkcs8" || true
6
 	test -e "$(DESTDIR)$(swanctldir)/pkcs12" || $(INSTALL) -d -m 750 "$(DESTDIR)$(swanctldir)/pkcs12" || true
7
-	test -e "$(DESTDIR)$(swanctldir)/swanctl.conf" || $(INSTALL) -m 640 $(srcdir)/swanctl.conf $(DESTDIR)$(swanctldir)/swanctl.conf || true
8
+	test -e "$(DESTDIR)$(swanctldir)/swanctl.conf" || $(INSTALL) -m 640 $(srcdir)/swanctl.conf $(DESTDIR)$(swanctldir)/swanctl.conf.sample || true
9
 
10
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
11
 # Otherwise a system limit (for SysV at least) may be exceeded.
(-)files/strongswan.in (-2 / +4 lines)
Lines 12-21 Link Here
12
name=strongswan
12
name=strongswan
13
rcvar=strongswan_enable
13
rcvar=strongswan_enable
14
14
15
extra_commands="reload statusall"
16
17
load_rc_config $name
15
load_rc_config $name
18
16
17
: ${strongswan_enable:=NO}
18
19
extra_commands="reload statusall"
20
19
command="%%PREFIX%%/sbin/ipsec"
21
command="%%PREFIX%%/sbin/ipsec"
20
22
21
start_precmd="strongswan_precmd"
23
start_precmd="strongswan_precmd"

Return to bug 235340