Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jun 2013 12:31:31 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jpaetzel@freebsd.org
Subject:   ports/179200: [PATCH] net/pathneck: Add license. trim docs and pkg-descr
Message-ID:  <20130602103133.C2E5ECE0@hub.freebsd.org>
Resent-Message-ID: <201306021040.r52Ae06N004684@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179200
>Category:       ports
>Synopsis:       [PATCH] net/pathneck: Add license. trim docs and pkg-descr
>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:   Sun Jun 02 10:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:

- Shorten header
- Add license
- Trim docs
- Comply with OptionsNG
- Trim pkg-descr

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130531225400-43048/

>Fix:

--- pathneck-1.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/pathneck/Makefile ./Makefile
--- /usr/ports/net/pathneck/Makefile	2013-01-14 17:56:31.000000000 +0100
+++ ./Makefile	2013-06-02 12:27:51.000000000 +0200
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pathneck
-# Date Created:				22 Dec 2005
-# Whom:					Babak Farrokhi <babak@farrokhi.net>
-#
+# Created by: Babak Farrokhi <babak@farrokhi.net>
 # $FreeBSD: head/net/pathneck/Makefile 300897 2012-07-14 14:29:18Z beat $
-#
 
 PORTNAME=	pathneck
 PORTVERSION=	1.3
@@ -16,24 +12,28 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Active network path probing tool
 
-PLIST_FILES=	sbin/pathneck \
-		sbin/get-choke
-PORTDOCS=	COPYING ChangeLog README
+LICENSE=	GPLv2
+
 MAKEFILE=	Makefile.bsd
 
+PLIST_FILES=	sbin/pathneck sbin/get-choke
+
+PORTDOCS=	ChangeLog README
+
+.include <bsd.port.options.mk>
+
 post-patch:
-	@${REINPLACE_CMD} -e 's,^CC .=,CC ?=,' \
-			  -e 's,^CFLAGS .=,CFLAGS +=,' \
+	@${REINPLACE_CMD} -e 's|^CC .=|CC ?=|' \
+		-e 's|^CFLAGS .=|CFLAGS +=|' \
 		${WRKSRC}/Makefile.bsd
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${PREFIX}/sbin/pathneck
-	${INSTALL_PROGRAM} ${WRKSRC}/get-choke ${PREFIX}/sbin/get-choke
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+	${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/get-choke ${PREFIX}/sbin
+
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/pathneck/pkg-descr ./pkg-descr
--- /usr/ports/net/pathneck/pkg-descr	2013-01-14 17:56:31.000000000 +0100
+++ ./pkg-descr	2013-04-01 01:05:45.000000000 +0200
@@ -1,5 +1,5 @@
 Pathneck is an active probing tool that can detect bottleneck location of
-network path. 
+network path.
 It only needs single end control, and has relatively small probing overhead
 (33.6KB for one probing in the default setting).
 
--- pathneck-1.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130602103133.C2E5ECE0>