import ports/net/vpnc-scripts, to replace the bundle connection scripts in

vpnc and openconnect. ok rpe@
This commit is contained in:
sthen 2014-04-01 11:39:21 +00:00
parent 2e4452f717
commit a53392f525
4 changed files with 47 additions and 0 deletions

32
net/vpnc-scripts/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2014/04/01 11:39:21 sthen Exp $
COMMENT= connect scripts for use with vpnc and openconnect
PKGNAME= vpnc-scripts-20140401
DISTNAME= a78b3ddfc56ab457104c88e94dca72d8738f4fad
DISTFILES= ${PKGNAME}{${DISTNAME}}${EXTRACT_SUFX}
CATEGORIES= net
HOMEPAGE= http://www.infradead.org/openconnect/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://git.infradead.org/users/dwmw2/vpnc-scripts.git/snapshot/
WRKDIST= ${WRKDIR}/vpnc-scripts-${DISTNAME:C/([0-9a-f]{7}).*/\1/}
PKG_ARCH= *
NO_BUILD= Yes
NO_TEST= Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/vpnc-scripts/
cd ${WRKSRC}; ${INSTALL_SCRIPT} COPYING vpnc-script{,-ptrtd,-sshd} \
${PREFIX}/share/vpnc-scripts/
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (vpnc-scripts-20140401.tar.gz) = Aqx7nViW7xrRFQmXZRxPEFTU5x6ShobfXYGWDWedDm4=
SIZE (vpnc-scripts-20140401.tar.gz) = 19944

View File

@ -0,0 +1,6 @@
This package contains scripts used by vpnc and OpenConnect (and possibly
other programs) to provide an OS-independent interface for various
operations associated with configuring VPNs over tun(4) devices.
It provides facilities such as device creation, adding/removing routes,
updating resolv.conf, etc.

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/04/01 11:39:21 sthen Exp $
share/vpnc-scripts/
share/vpnc-scripts/COPYING
share/vpnc-scripts/vpnc-script
@sample ${SYSCONFDIR}/vpnc-script
share/vpnc-scripts/vpnc-script-ptrtd
share/vpnc-scripts/vpnc-script-sshd