Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:25:42 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172043: net/tdetect: Update MASTER_SITES
Message-ID:  <20120926022542.b465b7fe5c123a262066c097@yahoo.com>
Resent-Message-ID: <201209251810.q8PIAcMi023429@freefall.freebsd.org>

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

>Number:         172043
>Category:       ports
>Synopsis:       net/tdetect: Update MASTER_SITES
>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:   Tue Sep 25 18:10:38 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Support ECHO_MSG
- Support SUB_FILES

New file:
files/pkg-message.in

Remove file:
pkg-message

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/tdetect/Makefile net/tdetect/Makefile
--- /usr/ports/net/tdetect/Makefile	2008-09-03 12:42:43.000000000 +0900
+++ net/tdetect/Makefile	2012-09-25 04:12:54.000000000 +0900
@@ -1,18 +1,16 @@
-# New ports collection makefile for:   tdetect
-# Date created:			  Sun Jan 31, 1997
-# Whom:               		  shipley@dis.org
-#
+# Created by: shipley@dis.org
 # $FreeBSD: ports/net/tdetect/Makefile,v 1.17 2008/09/03 03:42:43 linimon Exp $
-#
 
 PORTNAME=	tdetect
 PORTVERSION=	0.2
 CATEGORIES=	net
-MASTER_SITES=	# disappeared
+MASTER_SITES=	PACKETSTORM/UNIX/loggers
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Utility for detecting traceroutes and reporting them via syslog
 
+SUB_FILES=	pkg-message
+
 pre-configure:
 	${REINPLACE_CMD} -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h
 	${REINPLACE_CMD} -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h
@@ -22,9 +20,9 @@
 
 post-install:
 	@if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \
-		${ECHO} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \
+		${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \
 		${INSTALL_SCRIPT} -m 750 ${FILESDIR}/tdetect.sh ${PREFIX}/etc/rc.d/tdetect.sh; \
-		${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}; \
+		${CAT} ${PKGMESSAGE}; \
 	fi
 
 .include <bsd.port.mk>
diff -urN /usr/ports/net/tdetect/files/patch-Makefile net/tdetect/files/patch-Makefile
--- /usr/ports/net/tdetect/files/patch-Makefile	2003-10-23 08:59:00.000000000 +0900
+++ net/tdetect/files/patch-Makefile	2012-09-08 03:33:30.000000000 +0900
@@ -1,5 +1,5 @@
---- Makefile.orig	Wed Oct 22 16:58:23 2003
-+++ Makefile	Wed Oct 22 16:58:37 2003
+--- Makefile.orig	1998-08-13 17:17:57.000000000 +0900
++++ Makefile	2012-09-08 03:33:04.000000000 +0900
 @@ -1,11 +1,11 @@
  # Makefile
  
@@ -14,3 +14,12 @@
  OBJS=main.o null.o ether.o ip.o
  LIBS= -lpcap
  SRC=$(OBJS:%.o=%.c)
+@@ -13,7 +13,7 @@
+ all: tdetect
+ 
+ tdetect: $(OBJS)
+-	$(CC) $(OBJS) $(LIBS) $(DEBUG) -s -o tdetect 
++	$(CC) $(OBJS) $(LIBS) $(DEBUG) -o tdetect 
+ 
+ clean:
+ 	rm -f *.o tdetect *.b
diff -urN /usr/ports/net/tdetect/files/pkg-message.in net/tdetect/files/pkg-message.in
--- /usr/ports/net/tdetect/files/pkg-message.in	1970-01-01 09:00:00.000000000 +0900
+++ net/tdetect/files/pkg-message.in	2012-09-25 04:12:12.000000000 +0900
@@ -0,0 +1,6 @@
+
+IMPORTANT!
+
+Dont forget to edit %%PREFIX%%/etc/rc.d/tdetect.sh
+and set ETHERNETDEV to the name of the ethernet device you wish to monitor
+
diff -urN /usr/ports/net/tdetect/pkg-message net/tdetect/pkg-message
--- /usr/ports/net/tdetect/pkg-message	1999-11-01 10:07:57.000000000 +0900
+++ net/tdetect/pkg-message	1970-01-01 09:00:00.000000000 +0900
@@ -1,6 +0,0 @@
-
-IMPORTANT!
-
-Dont forget to edit /usr/local/etc/rc.d/tdetect.sh
-and set ETHERNETDEV to the name of the ethernet device you wish to monitor
-
>Release-Note:
>Audit-Trail:
>Unformatted:



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