2002-07-11 18:45:19 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: tinc
|
|
|
|
# Date created: Jul 11, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tinc
|
2007-06-16 12:49:33 +02:00
|
|
|
PORTVERSION= 1.0.8
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
2002-07-11 18:45:19 +02:00
|
|
|
CATEGORIES= security
|
2004-05-26 08:19:05 +02:00
|
|
|
MASTER_SITES= http://www.tinc-vpn.org/packages/ \
|
2002-07-11 18:45:19 +02:00
|
|
|
ftp://ftp.wiretapped.net/pub/security/network-security/tinc/ \
|
2004-05-26 08:19:05 +02:00
|
|
|
http://www.mirrors.wiretapped.net/security/network-security/tinc/
|
2002-07-11 18:45:19 +02:00
|
|
|
|
2007-07-25 13:50:59 +02:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A Virtual Private Network (VPN) daemon
|
2002-07-11 18:45:19 +02:00
|
|
|
|
2005-05-31 21:58:33 +02:00
|
|
|
LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
|
2002-07-11 18:45:19 +02:00
|
|
|
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2003-12-19 16:06:22 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2003-09-03 07:37:24 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var
|
2003-12-19 16:06:22 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2002-07-11 18:45:19 +02:00
|
|
|
|
|
|
|
MAN5= tinc.conf.5
|
|
|
|
MAN8= tincd.8
|
2003-08-14 22:30:16 +02:00
|
|
|
INFO= tinc
|
2002-07-11 18:45:19 +02:00
|
|
|
|
2004-07-10 18:33:06 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-02-21 17:38:34 +01:00
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} \
|
|
|
|
's/OpenSSL_add_all_algorithms/OpenSSL_add_all_ciphers/' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2002-07-11 18:45:19 +02:00
|
|
|
.include <bsd.port.mk>
|