openbsd-ports/security/vpnc/Makefile
sturm 615f21e532 - use a variable for the physical interface in vpnc.sh
- fix buffer length calculation, which prevented vpnc to work in case
of 'big' packets close to tun's MTU (reported by Mischa Diehm
<md at mailq.de>), submitted upstream
2005-05-05 10:54:48 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2005/05/05 10:54:48 sturm Exp $
COMMENT= "client for Cisco 3000 VPN concentrators"
DISTNAME= vpnc-0.3.2
PKGNAME= ${DISTNAME}p2
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
WANTLIB= c gpg-error iconv intl
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,config.c}
@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>