blob: 14c50273bfb1184daeb517ca2e5d078684a992db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: vpnd
# Date created: 25 March 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= vpnd
PORTVERSION= 1.1.0
CATEGORIES= security
MASTER_SITES= http://sunsite.dk/vpnd/archive/ \
http://atreides.freenix.no/~anders/
MAINTAINER= anders@FreeBSD.org
COMMENT= VPN daemon offering transparent blowfish encryption between networks
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
USE_REINPLACE= yes
DOCFILES= README FAQ.TXT SPEED.TXT VERSIONS
post-patch:
@${MV} ${WRKSRC}/Makefile.FreeBSD.in ${WRKSRC}/Makefile.FreeBSD.in_tmp
@${SED} -e "s:^ETC_DIR=:ETC_DIR= ${PREFIX}/etc:" \
< ${WRKSRC}/Makefile.FreeBSD.in_tmp > ${WRKSRC}/Makefile.FreeBSD.in
pre-configure:
${REINPLACE_CMD} -e "s@-O3@${CFLAGS}@g; s@gcc@${CC}@g" \
${WRKSRC}/configure
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/vpnd ${PREFIX}/sbin/vpnd
@${INSTALL_DATA} ${WRKSRC}/vpnd.conf ${PREFIX}/etc/vpnd.conf.sample
@${INSTALL_DATA} ${WRKSRC}/vpnd.chat ${PREFIX}/etc/vpnd.chat.sample
.if !defined(NOPORTDOCS)
@${INSTALL} -d -m 0755 ${DOCSDIR}
.for i in ${DOCFILES}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
post-install:
@${ECHO} "================================================================================"
@${ECHO} "Make sure you set up a few IRQ's for random generation with rndcontrol before"
@${ECHO} "trying to generate a master key file."
@${ECHO} "================================================================================"
.include <bsd.port.mk>
|