From shaun@inerd.com  Mon May  8 23:39:03 2006
Return-Path: <shaun@inerd.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CD28716A400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  8 May 2006 23:39:03 +0000 (UTC)
	(envelope-from shaun@inerd.com)
Received: from dione.picobyte.net (host-212-158-207-124.bulldogdsl.com [212.158.207.124])
	by mx1.FreeBSD.org (Postfix) with SMTP id 20F7843D45
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  8 May 2006 23:39:02 +0000 (GMT)
	(envelope-from shaun@inerd.com)
Received: from charon.picobyte.net (charon.picobyte.net [IPv6:2001:4bd0:201e::fe03])
	by dione.picobyte.net (Postfix) with ESMTP
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 May 2006 00:39:01 +0100 (BST)
Message-Id: <1147131541.4904@charon.picobyte.net>
Date: Tue, 9 May 2006 00:39:01 +0100
From: Shaun Amott <shaun@inerd.com>
Reply-To: Shaun Amott <shaun@inerd.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: security/altivore: Update MASTER_SITES -> fix fetch
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97001
>Category:       ports
>Synopsis:       security/altivore: Update MASTER_SITES -> fix fetch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 08 23:40:16 GMT 2006
>Closed-Date:    Wed May 10 18:06:55 GMT 2006
>Last-Modified:  Wed May 10 18:06:55 GMT 2006
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:

>Description:

- MASTER_SITE no longer has distfile. Relocate and add mirror.
- Clean up port; make portlint(1) happy.

>How-To-Repeat:

>Fix:

--- altivore.diff begins here ---
diff -urN altivore.orig/Makefile altivore/Makefile
--- altivore.orig/Makefile	Mon Feb 20 21:52:03 2006
+++ altivore/Makefile	Tue May  9 00:31:49 2006
@@ -8,7 +8,8 @@
 PORTNAME=	altivore
 PORTVERSION=	0.9.3
 CATEGORIES=	security
-MASTER_SITES=	http://samy.kerneled.org/stuff/
+MASTER_SITES=	http://80.237.203.14/media/directory06/uploads/ \
+		http://mirror.inerd.com/FreeBSD/distfiles/altivore/
 DISTNAME=	altivore
 EXTRACT_SUFX=	.c
 
@@ -18,9 +19,10 @@
 RESTRICTED=	License does not allow redistribution in any form\
 		(source, code or otherwise)
 
+SUB_FILES=	pkg-message
+
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
-USE_REINPLACE=	yes
 
 do-extract:
 	@${MKDIR} ${WRKDIR}
@@ -30,12 +32,8 @@
 	@${REINPLACE_CMD} -e "s/
//" ${WRKDIR}/${DISTFILES}
 
 do-install:
-	@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
-	@${INSTALL_DATA} ${WRKDIR}/${DISTFILES} \
-		${PREFIX}/share/examples/${PORTNAME}
-	@${INSTALL_DATA} ${PKGMESSAGE} \
-		${PREFIX}/share/examples/${PORTNAME}/README
-
-	@${SED} -e "s!/usr/local/!${PREFIX}/!" ${PKGMESSAGE}
+	@${MKDIR} ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKDIR}/${DISTFILES} ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${PKGMESSAGE} ${EXAMPLESDIR}/README
 
 .include <bsd.port.mk>
diff -urN altivore.orig/files/pkg-message.in altivore/files/pkg-message.in
--- altivore.orig/files/pkg-message.in	Thu Jan  1 01:00:00 1970
+++ altivore/files/pkg-message.in	Tue May  9 00:12:16 2006
@@ -0,0 +1,18 @@
+The license of this source code allows for both reading and
+discussing.
+
+A copy of the altivore source code was installed as
+
+%%EXAMPLESDIR%%/altivore.c
+
+Compiling, or any other use, should be conducted after reading of
+the source's license agreement. Read the source code, it contains
+a copy of the license agreement.
+
+Or, after contacting the developer Network ICE Corporation
+http://www.networkice.com/
+
+If you are allowed to compile and use it, you should find the
+following command useful:
+
+cc -o altivore altivore.c -lpcap -Ipcap
diff -urN altivore.orig/pkg-message altivore/pkg-message
--- altivore.orig/pkg-message	Tue Oct  9 22:18:20 2001
+++ altivore/pkg-message	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
-The license of this source code allows for both reading and
-discussing.
-
-A copy of the altivore source code was installed as
-
-/usr/local/share/examples/altivore/altivore.c
-
-Compiling, or any other use, should be conducted after reading of
-the source's license agreement. Read the source code, it contains
-a copy of the license agreement.
-
-Or, after contacting the developer Network ICE Corporation
-http://www.networkice.com/
-
-If you are allowed to compile and use it, you should find the
-following command useful:
-
-cc -o altivore altivore.c -lpcap -Ipcap
diff -urN altivore.orig/pkg-plist altivore/pkg-plist
--- altivore.orig/pkg-plist	Tue Oct  9 22:24:53 2001
+++ altivore/pkg-plist	Tue May  9 00:11:19 2006
@@ -1,3 +1,3 @@
-share/examples/altivore/README
-share/examples/altivore/altivore.c
-@dirrm share/examples/altivore
+%%EXAMPLESDIR%%/README
+%%EXAMPLESDIR%%/altivore.c
+@dirrm %%EXAMPLESDIR%%
--- altivore.diff ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Wed May 10 18:06:48 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97001 
>Unformatted:
