ports/161634: Update port: net/sl2tps to 0.4.2

KATO Tsuguru tkato432 at yahoo.com
Fri Oct 14 18:50:26 UTC 2011


>Number:         161634
>Category:       ports
>Synopsis:       Update port: net/sl2tps to 0.4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 18:50:25 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.4.2

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/sl2tps/Makefile net/sl2tps/Makefile
--- /usr/ports/net/sl2tps/Makefile	2006-11-26 03:31:34.000000000 +0900
+++ net/sl2tps/Makefile	2011-09-11 22:14:27.000000000 +0900
@@ -5,18 +5,29 @@
 # $FreeBSD: ports/net/sl2tps/Makefile,v 1.5 2006/11/25 16:46:44 linimon Exp $
 #
 
-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 at FreeBSD.org
+MAINTAINER=	ports at 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 -urN /usr/ports/net/sl2tps/distinfo net/sl2tps/distinfo
--- /usr/ports/net/sl2tps/distinfo	2011-03-21 02:51:00.000000000 +0900
+++ net/sl2tps/distinfo	2011-09-11 22:06:09.000000000 +0900
@@ -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 -urN /usr/ports/net/sl2tps/pkg-descr net/sl2tps/pkg-descr
--- /usr/ports/net/sl2tps/pkg-descr	2005-10-13 22:55:36.000000000 +0900
+++ net/sl2tps/pkg-descr	2011-09-11 22:02:47.000000000 +0900
@@ -4,4 +4,4 @@
 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 -urN /usr/ports/net/sl2tps/pkg-plist net/sl2tps/pkg-plist
--- /usr/ports/net/sl2tps/pkg-plist	2004-07-05 23:08:54.000000000 +0900
+++ net/sl2tps/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,3 +0,0 @@
-bin/sl2tps
-etc/sl2tps/config.xml.sample
- at dirrm etc/sl2tps
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list