Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 00:39:01 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97001: security/altivore: Update MASTER_SITES -> fix fetch
Message-ID:  <1147131541.4904@charon.picobyte.net>
Resent-Message-ID: <200605082340.k48NeHXP059698@freefall.freebsd.org>

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

>Number:         97001
>Category:       ports
>Synopsis:       security/altivore: Update MASTER_SITES -> fix fetch
>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:   Mon May 08 23:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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