mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Separate sinfp into library (p5-Net-SinFP) and binary+db (sinfp)
- Use latest db snapshot
This commit is contained in:
parent
e34dada69d
commit
13656ce767
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174188
@ -445,6 +445,7 @@
|
||||
SUBDIR += p5-Net-Daemon-SSL
|
||||
SUBDIR += p5-Net-OpenID-Server
|
||||
SUBDIR += p5-Net-SSLeay
|
||||
SUBDIR += p5-Net-SinFP
|
||||
SUBDIR += p5-Nmap-Parser
|
||||
SUBDIR += p5-Nmap-Scanner
|
||||
SUBDIR += p5-OpenCA-CRL
|
||||
|
@ -1,20 +1,28 @@
|
||||
# New ports collection makefile for: SinFP
|
||||
# New ports collection makefile for: p5-Net-SinFP
|
||||
# Date created: 26 May 2006
|
||||
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Net-SinFP
|
||||
PORTVERSION= 2.02.1
|
||||
PORTNAME?= Net-SinFP
|
||||
DISTVERSION= 2.02
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security ipv6 perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITES= CPAN/Net
|
||||
DISTNAME= Net-SinFP-${DISTVERSION}
|
||||
.ifdef DBDATE
|
||||
PORTREVISION= ${DBDATE}
|
||||
MASTER_SITES+= http://www.gomor.org/files/:DB CSME:DB
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-${DBDATE}.db:DB
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
||||
MAINTAINER= infofarmer@FreeBSD.org
|
||||
COMMENT= Full operating system stack fingerprinting suite
|
||||
|
||||
.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 \
|
||||
@ -30,6 +38,10 @@ MAN3= Net::SinFP.3 Net::SinFP::Consts.3 Net::SinFP::DB.3 Net::SinFP::DB::IpVersi
|
||||
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}
|
||||
.endif
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64 alpha
|
||||
ONLY_FOR_ARCHS_REASON= Big endian architectures not supported yet
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
MD5 (Net-SinFP-2.02.tar.gz) = 9200a258e3f1e2cde3a57fe483e0c172
|
||||
SHA256 (Net-SinFP-2.02.tar.gz) = a986a7f548f49a91ba64780e70746c2da5296a13a21282656fae49c50fb461e9
|
||||
SIZE (Net-SinFP-2.02.tar.gz) = 25218
|
||||
MD5 (sinfp-20060923.db) = b6f26fbc88ccf705f60cdfa1d456e2d1
|
||||
SHA256 (sinfp-20060923.db) = 2709b311686f03e09525df47d30d614dc052d6fc3c642d9881400a60a1d290a3
|
||||
SIZE (sinfp-20060923.db) = 33792
|
||||
|
@ -12,5 +12,5 @@ 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
|
||||
WWW: http://search.cpan.org/dist/Net-SinFP/
|
||||
Author: GomoR <netpkt@gomor.org>
|
||||
|
@ -1,5 +1,3 @@
|
||||
bin/sinfp.db
|
||||
bin/sinfp.pl
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SinFP/.packlist
|
||||
%%SITE_PERL%%/Net/SinFP.pm
|
||||
%%SITE_PERL%%/Net/SinFP/Consts.pm
|
||||
|
@ -1,42 +1,33 @@
|
||||
# New ports collection makefile for: SinFP
|
||||
# New ports collection makefile for: sinfp
|
||||
# Date created: 26 May 2006
|
||||
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Net-SinFP
|
||||
PORTNAME= sinfp
|
||||
PORTVERSION= 2.02.1
|
||||
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
|
||||
BUILD_DEPENDS= p5-Net-SinFP>=2.02:${PORTSDIR}/security/p5-Net-SinFP
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
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
|
||||
PLIST= ""
|
||||
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.db
|
||||
PLIST_DIRS= %%DATADIR%%
|
||||
NO_BUILD= yes
|
||||
MASTERDIR= ${.CURDIR}/../p5-Net-SinFP
|
||||
DBDATE= 20060923
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64 alpha
|
||||
ONLY_FOR_ARCHS_REASON= Big endian architectures not supported yet
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's!$$Bin/../db/!${DATADIR}/!' ${WRKSRC}/bin/${PORTNAME}.pl
|
||||
|
||||
.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
|
||||
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 <bsd.port.post.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1,3 +0,0 @@
|
||||
MD5 (Net-SinFP-2.02.tar.gz) = 9200a258e3f1e2cde3a57fe483e0c172
|
||||
SHA256 (Net-SinFP-2.02.tar.gz) = a986a7f548f49a91ba64780e70746c2da5296a13a21282656fae49c50fb461e9
|
||||
SIZE (Net-SinFP-2.02.tar.gz) = 25218
|
@ -1,16 +0,0 @@
|
||||
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
|
||||
Author: GomoR <netpkt@gomor.org>
|
@ -1,28 +0,0 @@
|
||||
bin/sinfp.db
|
||||
bin/sinfp.pl
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SinFP/.packlist
|
||||
%%SITE_PERL%%/Net/SinFP.pm
|
||||
%%SITE_PERL%%/Net/SinFP/Consts.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/IpVersion.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/Os.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/OsVersion.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/OsVersionChildren.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/OsVersionFamily.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/PatternBinary.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/PatternTcpFlags.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/PatternTcpMss.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/PatternTcpOptions.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/PatternTcpWindow.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/Signature.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/SystemClass.pm
|
||||
%%SITE_PERL%%/Net/SinFP/DB/Vendor.pm
|
||||
%%SITE_PERL%%/Net/SinFP/Result.pm
|
||||
%%SITE_PERL%%/Net/SinFP/Search.pm
|
||||
%%SITE_PERL%%/Net/SinFP/SinFP4.pm
|
||||
%%SITE_PERL%%/Net/SinFP/SinFP6.pm
|
||||
@dirrmtry %%SITE_PERL%%/Net/SinFP/DB
|
||||
@dirrmtry %%SITE_PERL%%/Net/SinFP
|
||||
@dirrmtry %%SITE_PERL%%/Net
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SinFP
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
|
Loading…
Reference in New Issue
Block a user