head	1.21;
access;
symbols
	RELEASE_8_3_0:1.20
	RELEASE_9_0_0:1.20
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.17
	RELEASE_7_3_0:1.17
	RELEASE_8_0_0:1.17
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.17
	RELEASE_6_4_0:1.17
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.10
	RELEASE_6_2_0:1.7;
locks; strict;
comment	@# @;


1.21
date	2012.11.17.06.01.20;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2011.03.22.13.11.11;	author sbz;	state Exp;
branches;
next	1.19;

1.19
date	2011.03.18.10.04.53;	author sbz;	state Exp;
branches;
next	1.18;

1.18
date	2011.03.08.07.47.30;	author wen;	state Exp;
branches;
next	1.17;

1.17
date	2008.04.21.08.11.22;	author sat;	state Exp;
branches;
next	1.16;

1.16
date	2008.03.08.17.25.44;	author sat;	state Exp;
branches;
next	1.15;

1.15
date	2008.01.07.22.08.38;	author sat;	state Exp;
branches;
next	1.14;

1.14
date	2008.01.01.05.50.23;	author sat;	state Exp;
branches;
next	1.13;

1.13
date	2007.12.28.14.47.19;	author sat;	state Exp;
branches;
next	1.12;

1.12
date	2007.04.07.15.52.14;	author sat;	state Exp;
branches;
next	1.11;

1.11
date	2007.03.23.00.24.57;	author sat;	state Exp;
branches;
next	1.10;

1.10
date	2006.11.05.19.25.41;	author sat;	state Exp;
branches;
next	1.9;

1.9
date	2006.11.01.22.16.41;	author sat;	state Exp;
branches;
next	1.8;

1.8
date	2006.11.01.14.40.52;	author sat;	state Exp;
branches;
next	1.7;

1.7
date	2006.10.09.20.36.50;	author sat;	state Exp;
branches;
next	1.6;

1.6
date	2006.10.07.14.58.44;	author sat;	state Exp;
branches;
next	1.5;

1.5
date	2006.09.30.15.35.59;	author sat;	state Exp;
branches;
next	1.4;

1.4
date	2006.09.28.12.54.35;	author sat;	state Exp;
branches;
next	1.3;

1.3
date	2006.09.13.07.31.52;	author sat;	state Exp;
branches;
next	1.2;

1.2
date	2006.08.29.05.03.46;	author sat;	state Exp;
branches;
next	1.1;

1.1
date	2006.08.21.07.46.31;	author sat;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# New ports collection makefile for:	sinfp
# Date created:		26 May 2006
# Whom:			Andrew Pantyukhin <infofarmer@@FreeBSD.org>
#
# $FreeBSD: head/security/sinfp/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	sinfp
PORTREVISION=	${DBDATE}

MAINTAINER=	sbz@@FreeBSD.org
COMMENT=	Full operating system stack fingerprinting suite

BUILD_DEPENDS=	p5-Net-SinFP>=2.02:${PORTSDIR}/security/p5-Net-SinFP
RUN_DEPENDS:=	${BUILD_DEPENDS}

PLIST=		""
PLIST_FILES=	bin/${PORTNAME} \
		%%DATADIR%%/${PORTNAME}.db
PLIST_DIRS=	%%DATADIR%%
NO_BUILD=	yes
MASTERDIR=	${.CURDIR}/../p5-Net-SinFP
DBDATE=		20110125

post-patch:
	@@${REINPLACE_CMD} -e 's!$$Bin/../db/!${DATADIR}/!' ${WRKSRC}/bin/${PORTNAME}.pl

do-install:
	@@${INSTALL} -d ${DATADIR}/
	@@${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
.ifdef DBDATE
	@@${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}-${DBDATE}.db ${DATADIR}/${PORTNAME}.db
.else
	@@${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.db ${DATADIR}/
.endif

.include "${MASTERDIR}/Makefile"
@


1.20
log
@Update to 2.09_20110125

Approved by:	jadawin@@ (mentor)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.19
log
@Update my MAINTAINER address to sbz at FreeBSD.org.

Approved by:	jadawin@@ (mentor)
@
text
@d23 1
a23 1
DBDATE=		20101224
@


1.18
log
@- Update to 2.08_20101224

PR:		ports/155246
Submitted by:	Sofian Brabez <sbrabez@@gmail.com> (maintainer)
@
text
@d11 1
a11 1
MAINTAINER=	sbrabez@@gmail.com
@


1.17
log
@- Update signatures to 20080419
@
text
@d9 4
d18 2
a19 1
PLIST_FILES=	bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.db
d23 1
a23 1
DBDATE=		20080419
@


1.16
log
@- Update signatures to 20080308
@
text
@d18 1
a18 1
DBDATE=		20080308
@


1.15
log
@- Update to 20080103 snapshot
@
text
@d18 1
a18 1
DBDATE=		20080103
@


1.14
log
@- Update to 20071229 snapshot
@
text
@d18 1
a18 1
DBDATE=		20071229
@


1.13
log
@- Update signatures to 20071228 snapshot
@
text
@d18 1
a18 1
DBDATE=		20071228
@


1.12
log
@- Update to 20070407 snapshot
@
text
@d18 1
a18 1
DBDATE=		20070407
@


1.11
log
@- Update to 20070322 fingerprints
@
text
@d18 1
a18 1
DBDATE=		20070322
@


1.10
log
@- Update to 2.04
@
text
@d18 1
a18 1
#DBDATE=		20061101
@


1.9
log
@- Update to 20061101 snapshot
@
text
@d18 1
a18 1
DBDATE=		20061101
@


1.8
log
@- Update to 2.03
@
text
@d18 1
a18 1
#DBDATE=
@


1.7
log
@- Update to 20061009 fingerprints
@
text
@a8 1
PORTVERSION=	2.02.1
d18 1
a18 1
DBDATE=		20061009
@


1.6
log
@- Update to 20061007 fingerprints
@
text
@d19 1
a19 1
DBDATE=		20061007
@


1.5
log
@- Separate sinfp into library (p5-Net-SinFP) and binary+db (sinfp)
- Use latest db snapshot
@
text
@d19 1
a19 1
DBDATE=		20060923
@


1.4
log
@- Use CPAN version
- Resolve all conflicts
@
text
@d1 1
a1 1
# New ports collection makefile for:	SinFP
d8 1
a8 1
PORTNAME=	Net-SinFP
d10 2
a11 12
DISTVERSION=	2.02
PORTREVISION=	1
CATEGORIES=	security ipv6 perl5
MASTER_SITES=	CPAN

MAINTAINER=	infofarmer@@FreeBSD.org
COMMENT=	Full operating system stack fingerprinting suite

BUILD_DEPENDS=	p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \
		p5-DBIx-SQLite-Simple>=0.33:${PORTSDIR}/databases/p5-DBIx-SQLite-Simple \
		p5-Net-Packet>=3.00:${PORTSDIR}/net/p5-Net-Packet \
		p5-Net-Packet-Target>=1.00:${PORTSDIR}/net/p5-Net-Packet-Target
d14 17
a30 16
PERL_CONFIGURE=	yes
MAN3=	Net::SinFP.3 Net::SinFP::Consts.3 Net::SinFP::DB.3 Net::SinFP::DB::IpVersion.3 \
	Net::SinFP::DB::Os.3 Net::SinFP::DB::OsVersion.3 Net::SinFP::DB::OsVersionChildren.3 \
	Net::SinFP::DB::OsVersionFamily.3 Net::SinFP::DB::PatternBinary.3 \
	Net::SinFP::DB::PatternTcpFlags.3 Net::SinFP::DB::PatternTcpMss.3 \
	Net::SinFP::DB::PatternTcpOptions.3 Net::SinFP::DB::PatternTcpWindow.3 \
	Net::SinFP::DB::Signature.3 Net::SinFP::DB::SystemClass.3 Net::SinFP::DB::Vendor.3 \
	Net::SinFP::Result.3 Net::SinFP::Search.3 Net::SinFP::SinFP4.3 Net::SinFP::SinFP6.3

ONLY_FOR_ARCHS=		i386 amd64 alpha
ONLY_FOR_ARCHS_REASON=	Big endian architectures not supported yet

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
IGNORE=	perl 5.6.1 or newer required. Install lang/perl5 or lang/perl5.8 and try again
d33 1
a33 1
.include <bsd.port.post.mk>
@


1.3
log
@- Mark only usable on little-endian archs

Reported by:	pointyhat via kris
@
text
@d8 4
a11 2
PORTNAME=	SinFP
DISTVERSION=	2.02-1
d13 1
a13 1
MASTER_SITES=	SF
d18 1
a18 12
LIB_DEPENDS=	dnet.1:${PORTSDIR}/net/libdnet
BUILD_DEPENDS=	p5-DBD-SQLite>=1.12:${PORTSDIR}/databases/p5-DBD-SQLite \
		p5-DBI>=1.50:${PORTSDIR}/databases/p5-DBI \
		p5-Bit-Vector>=6.4:${PORTSDIR}/math/p5-Bit-Vector \
		p5-Carp-Clan>=5.3:${PORTSDIR}/devel/p5-Carp-Clan \
		p5-Math-Base85>=0.2:${PORTSDIR}/math/p5-Math-Base85 \
		p5-Net-IPv4Addr>=0.10:${PORTSDIR}/net-mgmt/p5-Net-IPv4Addr \
		p5-Net-IPv6Addr>=0.2:${PORTSDIR}/net-mgmt/p5-Net-IPv6Addr \
		p5-Socket6>=0.19:${PORTSDIR}/net/p5-Socket6 \
		p5-Net-Libdnet>=0.01:${PORTSDIR}/net/p5-Net-Libdnet \
		p5-Net-Pcap>=0.12:${PORTSDIR}/net/p5-Net-Pcap \
		p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \
d20 3
a22 18
		p5-Net-Write>=0.82:${PORTSDIR}/net/p5-Net-Write
RUN_DEPENDS=	${BUILD_DEPENDS}

CONFLICTS=	p5-Net-Packet-[0-9]* p5-Net-Packet-Target-[0-9]*
MAN3=	Net::Packet.3 Net::Packet::ARP.3 Net::Packet::Consts.3 Net::Packet::Desc.3 \
	Net::Packet::DescL2.3 Net::Packet::DescL3.3 Net::Packet::DescL4.3 Net::Packet::Dump.3 \
	Net::Packet::ETH.3 Net::Packet::Env.3 Net::Packet::Frame.3 Net::Packet::ICMPv4.3 \
	Net::Packet::IPv4.3 Net::Packet::IPv6.3 Net::Packet::Layer.3 Net::Packet::Layer2.3 \
	Net::Packet::Layer3.3 Net::Packet::Layer4.3 Net::Packet::Layer7.3 Net::Packet::NULL.3 \
	Net::Packet::RAW.3 Net::Packet::SLL.3 Net::Packet::TCP.3 Net::Packet::Target.3 \
	Net::Packet::UDP.3 Net::Packet::Utils.3 Net::Packet::VLAN.3 Net::SinFP.3 Net::SinFP::Consts.3 \
	Net::SinFP::DB.3 Net::SinFP::DB::IpVersion.3 Net::SinFP::DB::Os.3 Net::SinFP::DB::OsVersion.3 \
	Net::SinFP::DB::OsVersionChildren.3 Net::SinFP::DB::OsVersionFamily.3 \
	Net::SinFP::DB::PatternBinary.3 Net::SinFP::DB::PatternTcpFlags.3 \
	Net::SinFP::DB::PatternTcpMss.3 Net::SinFP::DB::PatternTcpOptions.3 \
	Net::SinFP::DB::PatternTcpWindow.3 Net::SinFP::DB::Signature.3 Net::SinFP::DB::SystemClass.3 \
	Net::SinFP::DB::Vendor.3 Net::SinFP::Result.3 Net::SinFP::Search.3 Net::SinFP::SinFP4.3 \
	Net::SinFP::SinFP6.3
d25 7
a31 1
CONFIGURE_ENV=	GOMOR_PATH=${PREFIX}
a35 5
post-extract:
	@@${MV} ${WRKSRC}/gomor/* ${WRKSRC}/
	@@cd ${WRKSRC} && ${RM} -rf dbd-sqlite dbi libdnet libpcap modules net-libdnet net-pcap \
		Makefile Class* DBIx* Net-Write* gomor

@


1.2
log
@- Update to 2.02
@
text
@d51 3
@


1.1
log
@Add port security/sinfp:

SinFP is a new approach to OS fingerprinting, which bypasses
limitations that nmap has.

Nmap approaches to fingerprinting as shown to be efficient for years.
Nowadays, with the omni-presence of stateful filtering devices,
PAT/NAT configurations and emerging packet normalization technologies,
its approach to OS fingerprinting is becoming to be obsolete.

SinFP uses the aforementioned limitations as a basis for tests to be
obsolutely avoided in used frames to identify accurately the remote
operating system. That is, it only requires one open TCP port, sends
only fully standard TCP packets, and limits the number of tests to 2
or 3 (with only 1 test giving the OS reliably in most cases).

WWW: http://www.gomor.org/sinfp
@
text
@d9 1
a9 1
DISTVERSION=	2.01-1
@

