From owner-svn-ports-head@FreeBSD.ORG Fri Oct 26 09:29:39 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8871983; Fri, 26 Oct 2012 09:29:39 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BE55A8FC17; Fri, 26 Oct 2012 09:29:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9Q9TdiI068044; Fri, 26 Oct 2012 09:29:39 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9Q9TdTx068040; Fri, 26 Oct 2012 09:29:39 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201210260929.q9Q9TdTx068040@svn.freebsd.org> From: "Jason E. Hale" Date: Fri, 26 Oct 2012 09:29:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306429 - in head/security/zombiezapper: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 09:29:40 -0000 Author: jhale Date: Fri Oct 26 09:29:39 2012 New Revision: 306429 URL: http://svn.freebsd.org/changeset/ports/306429 Log: - Update MASTER_SITES - Remove DEPRECATED/EXPIRATION_DATE as port fetches now - Use PORTDOCS macro and PLIST_FILES instead of 4 line pkg-plist - Convert to new options framework - Trim Makefile header - Remove dead WWW from pkg-descr - Rename patch-aa to patch-zz.c PR: ports/172065 Submitted by: KATO Tsuguru Approved by: makc, avilla (mentors, implicit) Feature safe: yes Added: - copied unchanged from r306415, head/security/zombiezapper/files/patch-aa Directory Properties: head/security/zombiezapper/files/patch-zz.c (props changed) Deleted: head/security/zombiezapper/files/patch-aa head/security/zombiezapper/pkg-plist Modified: head/security/zombiezapper/Makefile (contents, props changed) head/security/zombiezapper/pkg-descr (contents, props changed) Modified: head/security/zombiezapper/Makefile ============================================================================== --- head/security/zombiezapper/Makefile Fri Oct 26 08:46:40 2012 (r306428) +++ head/security/zombiezapper/Makefile Fri Oct 26 09:29:39 2012 (r306429) @@ -1,38 +1,38 @@ -# Ports collection makefile for: zombiezapper -# Date created: 19 Feb 2000 -# Whom: Kris Kennaway -# +# Created by: Kris Kennaway # $FreeBSD$ -# 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@FreeBSD.org COMMENT= Send a terminate command to Trinoo/TFN/Stacheldracht DDoS agents -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 - BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config +CPPFLAGS+= $$(${LIBNET_CONFIG} --cflags --defines) +LDFLAGS+= $$(${LIBNET_CONFIG} --libs) + +PORTDOCS= USAGE tekpaper.txt +PLIST_FILES= bin/zz + +.include + 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} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include Copied: head/security/zombiezapper/files/patch-zz.c (from r306415, head/security/zombiezapper/files/patch-aa) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/zombiezapper/files/patch-zz.c Fri Oct 26 09:29:39 2012 (r306429, copy of r306415, head/security/zombiezapper/files/patch-aa) @@ -0,0 +1,11 @@ +--- zz.c.orig Wed Mar 5 13:16:37 2003 ++++ zz.c Wed Mar 5 13:16:42 2003 +@@ -104,7 +104,7 @@ + union + { + struct in_addr addr; +- ulong temp_ip; ++ u_long temp_ip; + } ip; + + for (i = 0; i < 256; i++) Modified: head/security/zombiezapper/pkg-descr ============================================================================== --- head/security/zombiezapper/pkg-descr Fri Oct 26 08:46:40 2012 (r306428) +++ head/security/zombiezapper/pkg-descr Fri Oct 26 09:29:39 2012 (r306429) @@ -8,5 +8,3 @@ advantage of telling the daemon to stop 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