freebsd-ports/net/pipsecd/Makefile
Cy Schubert 913e319765 Fix a problem where pipsecd opens a tun device that was previously used
by another application that had the IFHEAD flag set.  This fixes
truncation of incoming and outgoing packets because pipsecd expects this
flags to be cleared.

The MAINTAINER of this port (Patrick Bihan-Faou <patrick@mindstep.com>)
has asked to be removed as the maintainer of the port.  As I still use
this port, I am adopting it as it's new MAINTAINER.

PR:		ports/24753
Submitted by:	quinot@inf.enst.fr
2002-02-26 15:19:35 +00:00

38 lines
1,000 B
Makefile

# New ports collection makefile for: pipsecd
# Date created: 16 Aug 1999
# Whom: Patrick Bihan-Faou <patrick@mindstep.com>
#
# $FreeBSD$
#
PORTNAME= pipsecd
PORTVERSION= 19991014
PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://www.enst.fr/~beyssac/pipsec/ \
http://www.mindstep.com/pipsec/
DISTNAME= pipsec-19991014
MAINTAINER= cy@FreeBSD.org
USE_OPENSSL= YES
ALL_TARGET= pipsecd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pipsecd ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/pipsecd.sh ${PREFIX}/etc/rc.d
${CHMOD} 755 ${PREFIX}/etc/rc.d/pipsecd.sh;
${MKDIR} ${PREFIX}/etc/ipsec
${INSTALL_DATA} ${WRKSRC}/pipsecd.conf.sample ${PREFIX}/etc/ipsec
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/README.port ${PREFIX}/share/doc/pipsecd
.endif
post-install:
strip ${PREFIX}/sbin/pipsecd
.include <bsd.port.mk>