mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- 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 <tkato432@yahoo.com> Approved by: makc, avilla (mentors, implicit) Feature safe: yes
This commit is contained in:
parent
98cf8cbd46
commit
54a3a5b828
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306429
@ -1,38 +1,38 @@
|
||||
# Ports collection makefile for: zombiezapper
|
||||
# Date created: 19 Feb 2000
|
||||
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
||||
#
|
||||
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
||||
# $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 <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}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -8,5 +8,3 @@ advantage of telling the daemon to stop flooding without stopping
|
||||
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
|
||||
|
@ -1,4 +0,0 @@
|
||||
bin/zz
|
||||
%%PORTDOCS%%share/doc/zz/USAGE
|
||||
%%PORTDOCS%%share/doc/zz/tekpaper.txt
|
||||
%%PORTDOCS%%@dirrm share/doc/zz
|
Loading…
Reference in New Issue
Block a user