0ac32169da
A VPN client compatible with Cisco's EasyVPN equipment. Supports IPSec (ESP) with Mode Configuration and Xauth. Supports only shared-secret IPSec authentication, 3DES, MD5, and IP tunneling. It runs entirely in userspace. WWW: http://www.unix-ag.uni-kl.de/~massar/vpnc/
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2004/05/14 13:34:51 sturm Exp $
|
|
|
|
COMMENT= "client for Cisco 3000 VPN concentrators"
|
|
|
|
DISTNAME= vpnc-0.2-rm+zomb.1
|
|
CATEGORIES= security net
|
|
|
|
HOMEPAGE= http://www.unix-ag.uni-kl.de/~massar/vpnc/
|
|
|
|
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
LIB_DEPENDS= gcrypt.12:libgcrypt->=1.2:security/libgcrypt
|
|
|
|
USE_GMAKE= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
ALL_TARGET= vpnc
|
|
|
|
do-configure:
|
|
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/{README,vpnc.c,vpnc.8}
|
|
@sed -e "s,%%PREFIX%%,${PREFIX},g" ${FILESDIR}/vpnc.sh > ${WRKBUILD}/vpnc.sh
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/vpnc ${PREFIX}/sbin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vpnc
|
|
${INSTALL_DATA} ${WRKBUILD}/README ${PREFIX}/share/doc/vpnc
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vpnc
|
|
${INSTALL_DATA} ${WRKBUILD}/vpnc.conf ${PREFIX}/share/examples/vpnc
|
|
${INSTALL_DATA} ${WRKBUILD}/vpnc.sh ${PREFIX}/share/examples/vpnc
|
|
|
|
.include <bsd.port.mk>
|