diff options
author | Wen Heping <wen@FreeBSD.org> | 2011-03-08 07:45:02 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2011-03-08 07:45:02 +0000 |
commit | be790bd567455edda7171c0019ce6c0e48c93759 (patch) | |
tree | a2f14d7e8fdbd504790b1e62d082f95456024550 /security/p5-Net-SinFP | |
parent | 8b34ddc25f56b4aa8c33b96440350d9c9c02e71c (diff) |
Notes
Diffstat (limited to 'security/p5-Net-SinFP')
-rw-r--r-- | security/p5-Net-SinFP/Makefile | 57 | ||||
-rw-r--r-- | security/p5-Net-SinFP/distinfo | 10 | ||||
-rw-r--r-- | security/p5-Net-SinFP/pkg-plist | 9 |
3 files changed, 51 insertions, 25 deletions
diff --git a/security/p5-Net-SinFP/Makefile b/security/p5-Net-SinFP/Makefile index 91b910a78f9a..862b898bb611 100644 --- a/security/p5-Net-SinFP/Makefile +++ b/security/p5-Net-SinFP/Makefile @@ -6,40 +6,67 @@ # PORTNAME?= Net-SinFP -DISTVERSION= 2.06 -CATEGORIES= security ipv6 perl5 -MASTER_SITES= CPAN/Net -DISTNAME= Net-SinFP-${DISTVERSION} +PORTVERSION= 2.08 .ifdef DBDATE PORTREVISION= ${DBDATE} -MASTER_SITES+= http://www.gomor.org/files/:DB CENKES:DB -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-${DBDATE}.db:DB +.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= sbrabez@gmail.com 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 \ +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 -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 +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} + @${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 diff --git a/security/p5-Net-SinFP/distinfo b/security/p5-Net-SinFP/distinfo index cfaf4ef01a62..7f40056c5076 100644 --- a/security/p5-Net-SinFP/distinfo +++ b/security/p5-Net-SinFP/distinfo @@ -1,6 +1,4 @@ -MD5 (Net-SinFP-2.06.tar.gz) = e0a04f67801b594345a7eee91041803f -SHA256 (Net-SinFP-2.06.tar.gz) = 774a6067e721175e86557b8cc3af7ac11428ce0bd2cf38559b0bfb11c9f532fa -SIZE (Net-SinFP-2.06.tar.gz) = 29245 -MD5 (sinfp-20080419.db) = 1568a71e0de65aa842c9aa97ab146617 -SHA256 (sinfp-20080419.db) = c1fe3c2ab04e05f2d27a8cad07d5da49c40bebce88065cde889a710bbc3bb72e -SIZE (sinfp-20080419.db) = 37888 +SHA256 (Net-SinFP-2.08.tar.gz) = 42b5abbb7a6fbbaba326c2a988f8569748ca8eb7d696907f154385831a6fdce9 +SIZE (Net-SinFP-2.08.tar.gz) = 29818 +SHA256 (sinfp-20101224.db) = 74d3aefbde4acdfe2564ac401fa797fdcc0a2f1a91a1a6df827c547d479b2059 +SIZE (sinfp-20101224.db) = 37888 diff --git a/security/p5-Net-SinFP/pkg-plist b/security/p5-Net-SinFP/pkg-plist index dbc77760a935..f340c03faaa7 100644 --- a/security/p5-Net-SinFP/pkg-plist +++ b/security/p5-Net-SinFP/pkg-plist @@ -1,4 +1,4 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SinFP/.packlist +@comment $FreeBSD$ %%SITE_PERL%%/Net/SinFP.pm %%SITE_PERL%%/Net/SinFP/Consts.pm %%SITE_PERL%%/Net/SinFP/DB.pm @@ -19,8 +19,9 @@ %%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 +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SinFP/.packlist @dirrmtry %%SITE_PERL%%/Net -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SinFP @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net +@dirrm %%SITE_PERL%%/Net/SinFP/DB +@dirrm %%SITE_PERL%%/Net/SinFP +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SinFP |