2012-10-04 12:48:50 +02:00
|
|
|
# Created by: Andrew Marks <andrew@amrx.net>
|
2005-03-09 11:06:40 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= aimsniff
|
|
|
|
PORTVERSION= 0.9d
|
|
|
|
CATEGORIES= security
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/AIM%20Sniff/${PORTVERSION}
|
2005-03-09 11:06:40 +01:00
|
|
|
|
2012-02-19 16:44:09 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-08-02 11:02:43 +02:00
|
|
|
COMMENT= AOL Instant Messenger Sniffing and Reading Tool
|
2005-03-09 11:06:40 +01:00
|
|
|
|
2012-06-28 20:37:23 +02:00
|
|
|
RUN_DEPENDS= p5-Net-Pcap>=0:${PORTSDIR}/net/p5-Net-Pcap\
|
|
|
|
p5-NetPacket>=0:${PORTSDIR}/net/p5-NetPacket\
|
|
|
|
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI\
|
|
|
|
p5-Unicode-String>=0:${PORTSDIR}/converters/p5-Unicode-String\
|
|
|
|
p5-Proc-Daemon>=0:${PORTSDIR}/devel/p5-Proc-Daemon\
|
|
|
|
p5-Proc-Simple>=0:${PORTSDIR}/devel/p5-Proc-Simple\
|
|
|
|
p5-Unix-Syslog>=0:${PORTSDIR}/sysutils/p5-Unix-Syslog
|
2005-03-09 11:06:40 +01:00
|
|
|
|
2012-10-04 12:48:50 +02:00
|
|
|
OPTIONS_DEFINE= SUID_ROOT DOCS
|
|
|
|
SUID_ROOT_DESC= Install aimsniff with set-uid bit
|
2005-03-09 11:06:40 +01:00
|
|
|
|
|
|
|
PORTDOCS= README table.struct rc.aimsniff
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
|
|
|
|
PLIST_FILES= bin/aimsniff
|
|
|
|
|
2012-10-04 12:48:50 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-03-09 11:06:40 +01:00
|
|
|
|
2013-06-12 21:20:40 +02:00
|
|
|
.if !exists(${LOCALBASE}/lib/perl5/${PERL_VER}/${PERL_ARCH}/GDBM_File.pm)
|
2012-02-19 16:44:09 +01:00
|
|
|
#IGNORE= You need perl compiled with GDBM support
|
2005-03-09 11:06:40 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/aimSniff.pl ${PREFIX}/bin/aimsniff
|
2012-10-04 12:48:50 +02:00
|
|
|
.if ${PORT_OPTIONS:MSUID_ROOT}
|
2005-03-09 11:06:40 +01:00
|
|
|
${CHMOD} u+s ${PREFIX}/bin/aimsniff
|
|
|
|
.else
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2012-10-04 12:48:50 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2005-03-09 11:06:40 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2012-10-04 12:48:50 +02:00
|
|
|
.include <bsd.port.mk>
|