head	1.19;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.5;
locks; strict;
comment	@# @;


1.19
date	2012.11.17.06.01.13;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.03.13.16.15.21;	author pgollucci;	state Exp;
branches;
next	1.17;

1.17
date	2012.03.08.18.45.23;	author pgollucci;	state Exp;
branches;
next	1.16;

1.16
date	2011.03.22.13.09.02;	author sbz;	state Exp;
branches;
next	1.15;

1.15
date	2011.03.18.10.04.52;	author sbz;	state Exp;
branches;
next	1.14;

1.14
date	2011.03.08.07.45.02;	author wen;	state Exp;
branches;
next	1.13;

1.13
date	2009.02.27.20.45.20;	author tabthorpe;	state Exp;
branches;
next	1.12;

1.12
date	2008.09.07.00.18.43;	author linimon;	state Exp;
branches;
next	1.11;

1.11
date	2007.09.08.01.03.57;	author linimon;	state Exp;
branches;
next	1.10;

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

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

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

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

1.6
date	2006.11.01.14.40.52;	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.19
log
@Switch exporter over
@
text
@# New ports collection makefile for:	p5-Net-SinFP
# Date created:		26 May 2006
# Whom:			Andrew Pantyukhin <infofarmer@@FreeBSD.org>
#
# $FreeBSD: head/security/p5-Net-SinFP/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME?=	Net-SinFP
PORTVERSION=	2.09
.ifdef DBDATE
PORTREVISION=	${DBDATE}
.endif
CATEGORIES=	security ipv6 perl5
MASTER_SITES=	CPAN
.ifdef DBDATE
MASTER_SITES+=	http://www.gomor.org/files/:DB
.endif
MASTER_SITE_SUBDIR=	CPAN:GOMOR
DISTNAME=	Net-SinFP-${PORTVERSION}
.ifdef DBDATE
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		${PORTNAME}-${DBDATE}.db:DB
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
.endif

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

LICENSE=	ART10
LICENSE_FILE=	${WRKSRC}/LICENSE

.if ${PORTNAME} == "Net-SinFP"
PKGNAMEPREFIX=	p5-

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
RUN_DEPENDS:=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes
INSTALL_TARGET=	pure_install

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

post-patch:
	@@${REINPLACE_CMD} -e 's/.*EXE_FILES.*//' ${WRKSRC}/${CONFIGURE_SCRIPT}

regression-test:
	@@(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} && ${MAKE} test)
.endif

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

.include <bsd.port.mk>
@


1.18
log
@- Revert ports/165605 as requested by portmgr@@

Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.

PR:             ports/165605
Approved by:    portmgr (bapt)
Feature safe:   yes (I sure hope so)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@- Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200
- Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk
- Other minor cleanups
  RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS}

PR:             ports/165605
Submitted by:   pgollucci (myself)
Approved by:    portmgr (linimon)
Exp Run by:     linimon
Tested by:      make index
@
text
@d68 2
@


1.16
log
@- Update to 2.09
- Changes: http://cpansearch.perl.org/src/GOMOR/Net-SinFP-2.09/Changes

Approved by:	jadawin@@ (mentor)
@
text
@a67 2
regression-test:
	@@(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} && ${MAKE} test)
@


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

Approved by:	jadawin@@ (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	2.08
@


1.14
log
@- Update to 2.08
- Add LICENSE

PR:		ports/155245
Submitted by:	Sofian Brabez <sbrabez@@gmail.com> (maintainer)
@
text
@d26 1
a26 1
MAINTAINER=	sbrabez@@gmail.com
@


1.13
log
@- Pass maintainership to submitter

Submitted by:	Sofian Brabez via private email
@
text
@d9 4
a12 1
DISTVERSION=	2.06
d14 6
a19 2
MASTER_SITES=	CPAN/Net
DISTNAME=	Net-SinFP-${DISTVERSION}
d21 2
a22 3
PORTREVISION=	${DBDATE}
MASTER_SITES+=	http://www.gomor.org/files/:DB CENKES:DB
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-${DBDATE}.db:DB
d29 3
d35 1
a35 1
BUILD_DEPENDS=	p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \
d42 22
a63 7
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
d66 4
a69 1
	${REINPLACE_CMD} -e 's/.*EXE_FILES.*//' ${WRKSRC}/${CONFIGURE_SCRIPT}
@


1.12
log
@Reset infofarmer due to maintainer-timeouts and no response to email.

Hat:	portmgr
@
text
@d20 1
a20 1
MAINTAINER=	ports@@FreeBSD.org
@


1.11
log
@Welcome bsd.perl.mk.  Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
@
text
@d20 1
a20 1
MAINTAINER=	infofarmer@@FreeBSD.org
@


1.10
log
@- De-4.x-ify most of my ports to save gnats from excessive abuse
- s/CSME/CENKES/ in my ports
@
text
@d48 1
a48 7
.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
.endif

.include <bsd.port.post.mk>
@


1.9
log
@- Update to 2.06
@
text
@d15 1
a15 1
MASTER_SITES+=	http://www.gomor.org/files/:DB CSME:DB
@


1.8
log
@- Update to 2.05
@
text
@d9 1
a9 1
DISTVERSION=	2.05
@


1.7
log
@- Update to 2.04
@
text
@d9 1
a9 1
DISTVERSION=	2.04
@


1.6
log
@- Update to 2.03
@
text
@d9 1
a9 1
DISTVERSION=	2.03
@


1.5
log
@- Separate sinfp into library (p5-Net-SinFP) and binary+db (sinfp)
- Use latest db snapshot
@
text
@d9 1
a9 1
DISTVERSION=	2.02
@


1.4
log
@- Use CPAN version
- Resolve all conflicts
@
text
@d1 1
a1 1
# New ports collection makefile for:	SinFP
d8 1
a8 2
PORTNAME=	Net-SinFP
PORTVERSION=	2.02.1
a9 1
PORTREVISION=	1
d11 8
a18 1
MASTER_SITES=	CPAN
d23 3
d41 4
@


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
@

