2013-09-21 00:10:23 +02:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2002-10-23 15:21:53 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= l2tpd
|
2002-10-23 15:46:26 +02:00
|
|
|
PORTVERSION= 0.69
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 10
|
2002-10-23 15:21:53 +02:00
|
|
|
CATEGORIES= net
|
2009-08-22 02:32:25 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/L2TPd/${PORTVERSION}
|
2002-10-23 15:21:53 +02:00
|
|
|
|
2018-12-10 17:50:08 +01:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
2014-07-10 14:13:11 +02:00
|
|
|
COMMENT= Implementation of the layer two tunneling protocol
|
2002-10-23 15:21:53 +02:00
|
|
|
|
2017-05-28 00:16:50 +02:00
|
|
|
BROKEN_armv6= fails to link: undefined reference to check_control
|
2017-11-30 07:13:34 +01:00
|
|
|
BROKEN_armv7= fails to link: undefined reference to check_control
|
2017-05-28 00:16:50 +02:00
|
|
|
|
|
|
|
USES= compiler:nestedfct
|
2020-07-05 11:46:37 +02:00
|
|
|
CFLAGS+= -fcommon
|
2002-10-23 15:21:53 +02:00
|
|
|
|
2014-01-20 18:56:19 +01:00
|
|
|
PORTDOCS= README
|
|
|
|
ETCDIR= ${PREFIX}/etc/l2tp
|
2003-10-16 03:31:58 +02:00
|
|
|
|
2018-09-10 15:14:50 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2002-10-23 15:21:53 +02:00
|
|
|
do-configure:
|
2002-10-23 15:46:26 +02:00
|
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/doc/l2tpd.8 \
|
|
|
|
${WRKSRC}/doc/l2tpd.conf.sample ${WRKSRC}/doc/l2tp-secrets.5 \
|
|
|
|
${WRKSRC}/doc/l2tpd.conf.5
|
2002-10-23 15:21:53 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-01-20 18:56:19 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/l2tpd ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tpd.8 ${STAGEDIR}${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tp-secrets.5 ${STAGEDIR}${PREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tpd.conf.5 ${STAGEDIR}${PREFIX}/man/man5
|
|
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/l2tpd.conf.sample ${STAGEDIR}${ETCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/l2tp-secrets.sample ${STAGEDIR}${ETCDIR}
|
2002-10-23 15:21:53 +02:00
|
|
|
|
2014-01-20 18:56:19 +01:00
|
|
|
.include <bsd.port.mk>
|