View | Details | Raw Unified | Return to bug 172065
Collapse All | Expand All

(-)security/zombiezapper/Makefile (-14 / +20 lines)
Lines 1-38 Link Here
1
# Ports collection makefile for:  zombiezapper
1
# Created by: Kris Kennaway <kris@FreeBSD.org>
2
# Date created:			  19 Feb 2000
3
# Whom:				  Kris Kennaway <kris@FreeBSD.org>
4
#
5
# $FreeBSD: ports/security/zombiezapper/Makefile,v 1.11 2012/09/21 10:07:33 bapt Exp $
2
# $FreeBSD: ports/security/zombiezapper/Makefile,v 1.11 2012/09/21 10:07:33 bapt Exp $
6
#
7
3
8
PORTNAME=	zombiezapper
4
PORTNAME=	zombiezapper
9
PORTVERSION=	1.2
5
PORTVERSION=	1.2
10
PORTREVISION=	2
6
PORTREVISION=	2
11
CATEGORIES=	security
7
CATEGORIES=	security
12
MASTER_SITES=	http://razor.bindview.com/tools/files/
8
MASTER_SITES=	PACKETSTORM/distributed/zombie
13
DISTNAME=	zombie-${PORTVERSION}
9
DISTNAME=	zombie-${PORTVERSION}
14
EXTRACT_SUFX=	.tgz
10
EXTRACT_SUFX=	.tgz
15
11
16
MAINTAINER=	ports@FreeBSD.org
12
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	Send a terminate command to Trinoo/TFN/Stacheldracht DDoS agents
13
COMMENT=	Send a terminate command to Trinoo/TFN/Stacheldracht DDoS agents
18
14
19
DEPRECATED=	No more public distfiles
15
LICENSE_FILE=	${WRKSRC}/LICENSE
20
EXPIRATION_DATE=	2012-10-20
21
16
22
BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
17
BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
23
18
19
OPTIONS_DEFINE=	DOCS
20
24
LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config
21
LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config
25
22
23
CPPFLAGS+=	$$(${LIBNET_CONFIG} --cflags --defines)
24
LDFLAGS+=	$$(${LIBNET_CONFIG} --libs)
25
26
PORTDOCS=	USAGE tekpaper.txt
27
PLIST_FILES=	bin/zz
28
29
.include <bsd.port.options.mk>
30
26
do-build:
31
do-build:
27
	cd ${WRKSRC} && \
32
	cd ${WRKSRC} && \
28
	${CC} ${CFLAGS} -o zz zz.c `${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --libs`
33
		${CC} ${CFLAGS} ${CPPFLAGS} -o zz zz.c ${LDFLAGS}
29
34
30
do-install:
35
do-install:
31
	${INSTALL_PROGRAM} ${WRKSRC}/zz ${PREFIX}/bin/
36
	${INSTALL_PROGRAM} ${WRKSRC}/zz ${PREFIX}/bin
32
.if !defined(NOPORTDOCS)
37
.if ${PORT_OPTIONS:MDOCS}
33
	${MKDIR} ${PREFIX}/share/doc/zz/
38
	@${MKDIR} ${DOCSDIR}
34
	${INSTALL_DATA} ${WRKSRC}/USAGE ${PREFIX}/share/doc/zz/
39
.for i in ${PORTDOCS}
35
	${INSTALL_DATA} ${WRKSRC}/tekpaper.txt ${PREFIX}/share/doc/zz/
40
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
41
.endfor
36
.endif
42
.endif
37
43
38
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)security/zombiezapper/pkg-descr (-2 lines)
Lines 8-12 Link Here
8
the daemon, allowing you to take a little more time in tracking down
8
the daemon, allowing you to take a little more time in tracking down
9
where they are, and more importantly, how they got there in the first
9
where they are, and more importantly, how they got there in the first
10
place.
10
place.
11
12
WWW: http://razor.bindview.com/tools/ZombieZapper_form.shtml
(-)security/zombiezapper/pkg-plist (-4 lines)
Lines 1-4 Link Here
1
bin/zz
2
%%PORTDOCS%%share/doc/zz/USAGE
3
%%PORTDOCS%%share/doc/zz/tekpaper.txt
4
%%PORTDOCS%%@dirrm share/doc/zz

Return to bug 172065