ports/172065: security/zombiezapper: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:20:21 UTC 2012
>Number: 172065
>Category: ports
>Synopsis: security/zombiezapper: 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:20:20 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE_FILE
- Support PORTDOCS/PLIST_FILES
Remove file:
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/security/zombiezapper/Makefile security/zombiezapper/Makefile
--- /usr/ports/security/zombiezapper/Makefile 2012-09-21 19:07:33.000000000 +0900
+++ security/zombiezapper/Makefile 2012-09-25 03:42:34.000000000 +0900
@@ -1,38 +1,44 @@
-# Ports collection makefile for: zombiezapper
-# Date created: 19 Feb 2000
-# Whom: Kris Kennaway <kris at FreeBSD.org>
-#
+# Created by: Kris Kennaway <kris at FreeBSD.org>
# $FreeBSD: ports/security/zombiezapper/Makefile,v 1.11 2012/09/21 10:07:33 bapt Exp $
-#
PORTNAME= zombiezapper
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= security
-MASTER_SITES= http://razor.bindview.com/tools/files/
+MASTER_SITES= PACKETSTORM/distributed/zombie
DISTNAME= zombie-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
COMMENT= Send a terminate command to Trinoo/TFN/Stacheldracht DDoS agents
-DEPRECATED= No more public distfiles
-EXPIRATION_DATE= 2012-10-20
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
+OPTIONS_DEFINE= DOCS
+
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
+CPPFLAGS+= $$(${LIBNET_CONFIG} --cflags --defines)
+LDFLAGS+= $$(${LIBNET_CONFIG} --libs)
+
+PORTDOCS= USAGE tekpaper.txt
+PLIST_FILES= bin/zz
+
+.include <bsd.port.options.mk>
+
do-build:
cd ${WRKSRC} && \
- ${CC} ${CFLAGS} -o zz zz.c `${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --libs`
+ ${CC} ${CFLAGS} ${CPPFLAGS} -o zz zz.c ${LDFLAGS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/zz ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/zz/
- ${INSTALL_DATA} ${WRKSRC}/USAGE ${PREFIX}/share/doc/zz/
- ${INSTALL_DATA} ${WRKSRC}/tekpaper.txt ${PREFIX}/share/doc/zz/
+ ${INSTALL_PROGRAM} ${WRKSRC}/zz ${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff -urN /usr/ports/security/zombiezapper/pkg-descr security/zombiezapper/pkg-descr
--- /usr/ports/security/zombiezapper/pkg-descr 2000-02-20 19:29:11.000000000 +0900
+++ security/zombiezapper/pkg-descr 2012-07-13 00:45:29.000000000 +0900
@@ -8,5 +8,3 @@
the daemon, allowing you to take a little more time in tracking down
where they are, and more importantly, how they got there in the first
place.
-
-WWW: http://razor.bindview.com/tools/ZombieZapper_form.shtml
diff -urN /usr/ports/security/zombiezapper/pkg-plist security/zombiezapper/pkg-plist
--- /usr/ports/security/zombiezapper/pkg-plist 2001-01-17 17:01:32.000000000 +0900
+++ security/zombiezapper/pkg-plist 1970-01-01 09:00:00.000000000 +0900
@@ -1,4 +0,0 @@
-bin/zz
-%%PORTDOCS%%share/doc/zz/USAGE
-%%PORTDOCS%%share/doc/zz/tekpaper.txt
-%%PORTDOCS%%@dirrm share/doc/zz
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list