Lines 6-45
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME?= Net-SinFP |
8 |
PORTNAME?= Net-SinFP |
9 |
DISTVERSION= 2.06 |
9 |
PORTVERSION= 2.08 |
10 |
CATEGORIES= security ipv6 perl5 |
|
|
11 |
MASTER_SITES= CPAN/Net |
12 |
DISTNAME= Net-SinFP-${DISTVERSION} |
13 |
.ifdef DBDATE |
10 |
.ifdef DBDATE |
14 |
PORTREVISION= ${DBDATE} |
11 |
PORTREVISION= ${DBDATE} |
15 |
MASTER_SITES+= http://www.gomor.org/files/:DB CENKES:DB |
12 |
.endif |
16 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-${DBDATE}.db:DB |
13 |
CATEGORIES= security ipv6 perl5 |
|
|
14 |
MASTER_SITES= CPAN |
15 |
.ifdef DBDATE |
16 |
MASTER_SITES+= http://www.gomor.org/files/:DB |
17 |
.endif |
18 |
MASTER_SITE_SUBDIR= ../../authors/id/G/GO/GOMOR |
19 |
DISTNAME= Net-SinFP-${PORTVERSION} |
20 |
.ifdef DBDATE |
21 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
22 |
${PORTNAME}-${DBDATE}.db:DB |
17 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
23 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
18 |
.endif |
24 |
.endif |
19 |
|
25 |
|
20 |
MAINTAINER= sbrabez@gmail.com |
26 |
MAINTAINER= sbrabez@gmail.com |
21 |
COMMENT= Full operating system stack fingerprinting suite |
27 |
COMMENT= Full operating system stack fingerprinting suite |
22 |
|
28 |
|
|
|
29 |
LICENSE= ART10 |
30 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
31 |
|
23 |
.if ${PORTNAME} == "Net-SinFP" |
32 |
.if ${PORTNAME} == "Net-SinFP" |
24 |
PKGNAMEPREFIX= p5- |
33 |
PKGNAMEPREFIX= p5- |
25 |
|
34 |
|
26 |
BUILD_DEPENDS= p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \ |
35 |
BUILD_DEPENDS+= p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \ |
27 |
p5-DBIx-SQLite-Simple>=0.33:${PORTSDIR}/databases/p5-DBIx-SQLite-Simple \ |
36 |
p5-DBIx-SQLite-Simple>=0.33:${PORTSDIR}/databases/p5-DBIx-SQLite-Simple \ |
28 |
p5-Net-Packet>=3.00:${PORTSDIR}/net/p5-Net-Packet \ |
37 |
p5-Net-Packet>=3.00:${PORTSDIR}/net/p5-Net-Packet \ |
29 |
p5-Net-Packet-Target>=1.00:${PORTSDIR}/net/p5-Net-Packet-Target |
38 |
p5-Net-Packet-Target>=1.00:${PORTSDIR}/net/p5-Net-Packet-Target |
30 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
39 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
31 |
|
40 |
|
32 |
PERL_CONFIGURE= yes |
41 |
PERL_CONFIGURE= yes |
33 |
MAN3= Net::SinFP.3 Net::SinFP::Consts.3 Net::SinFP::DB.3 Net::SinFP::DB::IpVersion.3 \ |
42 |
INSTALL_TARGET= pure_install |
34 |
Net::SinFP::DB::Os.3 Net::SinFP::DB::OsVersion.3 Net::SinFP::DB::OsVersionChildren.3 \ |
43 |
|
35 |
Net::SinFP::DB::OsVersionFamily.3 Net::SinFP::DB::PatternBinary.3 \ |
44 |
MAN3= Net::SinFP.3 \ |
36 |
Net::SinFP::DB::PatternTcpFlags.3 Net::SinFP::DB::PatternTcpMss.3 \ |
45 |
Net::SinFP::Consts.3 \ |
37 |
Net::SinFP::DB::PatternTcpOptions.3 Net::SinFP::DB::PatternTcpWindow.3 \ |
46 |
Net::SinFP::DB.3 \ |
38 |
Net::SinFP::DB::Signature.3 Net::SinFP::DB::SystemClass.3 Net::SinFP::DB::Vendor.3 \ |
47 |
Net::SinFP::DB::IpVersion.3 \ |
39 |
Net::SinFP::Result.3 Net::SinFP::Search.3 Net::SinFP::SinFP4.3 Net::SinFP::SinFP6.3 |
48 |
Net::SinFP::DB::Os.3 \ |
|
|
49 |
Net::SinFP::DB::OsVersion.3 \ |
50 |
Net::SinFP::DB::OsVersionChildren.3 \ |
51 |
Net::SinFP::DB::OsVersionFamily.3 \ |
52 |
Net::SinFP::DB::PatternBinary.3 \ |
53 |
Net::SinFP::DB::PatternTcpFlags.3 \ |
54 |
Net::SinFP::DB::PatternTcpMss.3 \ |
55 |
Net::SinFP::DB::PatternTcpOptions.3 \ |
56 |
Net::SinFP::DB::PatternTcpWindow.3 \ |
57 |
Net::SinFP::DB::Signature.3 \ |
58 |
Net::SinFP::DB::SystemClass.3 \ |
59 |
Net::SinFP::DB::Vendor.3 \ |
60 |
Net::SinFP::Result.3 \ |
61 |
Net::SinFP::Search.3 \ |
62 |
Net::SinFP::SinFP4.3 \ |
63 |
Net::SinFP::SinFP6.3 |
40 |
|
64 |
|
41 |
post-patch: |
65 |
post-patch: |
42 |
${REINPLACE_CMD} -e 's/.*EXE_FILES.*//' ${WRKSRC}/${CONFIGURE_SCRIPT} |
66 |
@${REINPLACE_CMD} -e 's/.*EXE_FILES.*//' ${WRKSRC}/${CONFIGURE_SCRIPT} |
|
|
67 |
|
68 |
regression-test: |
69 |
@(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} && ${MAKE} test) |
43 |
.endif |
70 |
.endif |
44 |
|
71 |
|
45 |
ONLY_FOR_ARCHS= i386 amd64 alpha |
72 |
ONLY_FOR_ARCHS= i386 amd64 alpha |