diff --git a/srcpkgs/strongswan/files/strongswan/run b/srcpkgs/strongswan/files/strongswan/run new file mode 100755 index 0000000000..16b6a93114 --- /dev/null +++ b/srcpkgs/strongswan/files/strongswan/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec ipsec start --nofork diff --git a/srcpkgs/strongswan/template b/srcpkgs/strongswan/template new file mode 100644 index 0000000000..d0af0dff8a --- /dev/null +++ b/srcpkgs/strongswan/template @@ -0,0 +1,57 @@ +# Template file for 'strongswan' +pkgname=strongswan +version=5.3.4 +revision=1 +build_style=gnu-configure +configure_args="--disable-static" +depends="iproute2 sqlite" +makedepends="gmp-devel" +conf_files="/etc/strongswan.d/pki.conf + /etc/strongswan.d/charon.conf + /etc/strongswan.d/starter.conf + /etc/strongswan.d/charon-logging.conf + /etc/strongswan.d/scepclient.conf + /etc/strongswan.d/charon/gmp.conf + /etc/strongswan.d/charon/pkcs8.conf + /etc/strongswan.d/charon/x509.conf + /etc/strongswan.d/charon/resolve.conf + /etc/strongswan.d/charon/dnskey.conf + /etc/strongswan.d/charon/hmac.conf + /etc/strongswan.d/charon/sha1.conf + /etc/strongswan.d/charon/pubkey.conf + /etc/strongswan.d/charon/xauth-generic.conf + /etc/strongswan.d/charon/nonce.conf + /etc/strongswan.d/charon/pkcs1.conf + /etc/strongswan.d/charon/aes.conf + /etc/strongswan.d/charon/updown.conf + /etc/strongswan.d/charon/stroke.conf + /etc/strongswan.d/charon/rc2.conf + /etc/strongswan.d/charon/random.conf + /etc/strongswan.d/charon/constraints.conf + /etc/strongswan.d/charon/pkcs12.conf + /etc/strongswan.d/charon/cmac.conf + /etc/strongswan.d/charon/pem.conf + /etc/strongswan.d/charon/pkcs7.conf + /etc/strongswan.d/charon/xcbc.conf + /etc/strongswan.d/charon/revocation.conf + /etc/strongswan.d/charon/md5.conf + /etc/strongswan.d/charon/attr.conf + /etc/strongswan.d/charon/socket-default.conf + /etc/strongswan.d/charon/fips-prf.conf + /etc/strongswan.d/charon/des.conf + /etc/strongswan.d/charon/pgp.conf + /etc/strongswan.d/charon/sha2.conf + /etc/strongswan.d/charon/sshkey.conf + /etc/strongswan.d/charon/kernel-netlink.conf + /etc/strongswan.conf + /etc/ipsec.conf" +short_desc="IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE" +maintainer="Toyam " +license="GPL-2" +homepage="http://www.strongswan.org/" +distfiles="http://download.strongswan.org/${pkgname}-${version}.tar.bz2" +checksum=938ad1f7b612e039f1d32333f4865160be70f9fb3c207a31127d0168116459aa + +post_install() { + vsv strongswan +}