diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-10-18 13:07:00 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-10-18 13:07:00 +0000 |
commit | a223a58cf5a7aaaa985d997962c25d1cd9695d13 (patch) | |
tree | a54b3cbdc4c8ba14776f32c9d1c8ecc1de95c8ad | |
parent | 9e2a0193dd19be335d19d805f383b0e833c7761d (diff) | |
download | ports-a223a58cf5a7aaaa985d997962c25d1cd9695d13.tar.gz ports-a223a58cf5a7aaaa985d997962c25d1cd9695d13.zip |
Notes
-rw-r--r-- | net/sl2tps/Makefile | 29 | ||||
-rw-r--r-- | net/sl2tps/distinfo | 4 | ||||
-rw-r--r-- | net/sl2tps/pkg-descr | 2 | ||||
-rw-r--r-- | net/sl2tps/pkg-plist | 3 |
4 files changed, 23 insertions, 15 deletions
diff --git a/net/sl2tps/Makefile b/net/sl2tps/Makefile index 24ce9b78d647..9ec5983ebaf5 100644 --- a/net/sl2tps/Makefile +++ b/net/sl2tps/Makefile @@ -5,18 +5,29 @@ # $FreeBSD$ # -PORTNAME= sl2tps -PORTVERSION= 0.4 -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= archie +PORTNAME= sl2tps +PORTVERSION= 0.4.2 +CATEGORIES= net +MASTER_SITES= SF/libpdel/${PORTNAME}/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Simple L2TP server based on libpdel(3) and netgraph(4) -LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/COPYRIGHT -MAN1= sl2tps.1 -MANCOMPRESSED= maybe +LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel + +MANCOMPRESSED= maybe +MAN1= sl2tps.1 +PLIST_FILES= bin/sl2tps %%ETCDIR%%/config.xml.sample +PLIST_DIRS= %%ETCDIR%% + +post-patch: + @${REINPLACE_CMD} -e \ + 's|$${PREFIX}/include|$${LOCALBASE}/include|g ; \ + s|-pthread|${PTHREAD_LIBS}|g ; \ + /-g/s|^CFLAGS|#CFLAGS|g ; \ + s|$${PREFIX}/lib|$${LOCALBASE}/lib|g' ${WRKSRC}/Makefile .include <bsd.port.mk> diff --git a/net/sl2tps/distinfo b/net/sl2tps/distinfo index 3380dd45ed42..5923a95b54ec 100644 --- a/net/sl2tps/distinfo +++ b/net/sl2tps/distinfo @@ -1,2 +1,2 @@ -SHA256 (sl2tps-0.4.tar.gz) = 7ceb370b879fca678d0d46ca5de9c604325dcb25c73d00ca1ea6ec897ceed44b -SIZE (sl2tps-0.4.tar.gz) = 12271 +SHA256 (sl2tps-0.4.2.tar.gz) = 0d25b67fc735d0d9b064802b27abbb1aa25e76a4a0cd6e8ad5dce3db6a84c227 +SIZE (sl2tps-0.4.2.tar.gz) = 12264 diff --git a/net/sl2tps/pkg-descr b/net/sl2tps/pkg-descr index d4c89148b7fe..3fce0503f405 100644 --- a/net/sl2tps/pkg-descr +++ b/net/sl2tps/pkg-descr @@ -4,4 +4,4 @@ to handle configuration and negotiation in user land, while routing all data packets strictly in the kernel. It is configured via an XML configuration file. -WWW: http://www.dellroad.org/sl2tps/index +WWW: http://sourceforge.net/projects/libpdel/ diff --git a/net/sl2tps/pkg-plist b/net/sl2tps/pkg-plist deleted file mode 100644 index a92c9dd18690..000000000000 --- a/net/sl2tps/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/sl2tps -etc/sl2tps/config.xml.sample -@dirrm etc/sl2tps |