Contents of /trunk/extras/perl-libnet/perl-libnet-3.11-r1.smage2
Parent Directory | Revision Log
Revision 30283 -
(show annotations)
(download)
Thu Nov 16 10:38:17 2017 UTC (6 years, 10 months ago) by niro
File size: 673 byte(s)
Thu Nov 16 10:38:17 2017 UTC (6 years, 10 months ago) by niro
File size: 673 byte(s)
auto added: ver bump to 3.11-r1
1 | # $Id$ |
2 | |
3 | PNAME="perl-libnet" |
4 | PVER="3.11" |
5 | PBUILD="r1" |
6 | |
7 | DESCRIPTION="libnet is a collection of perl5 modules which all related to network programming." |
8 | |
9 | DEPEND=">= dev-lang/perl-5.26.1 |
10 | >= dev-perl/perl-authen-sasl-2.24" |
11 | |
12 | CPAN_MODULE="libnet" |
13 | CPAN_AUTHOR="shay" |
14 | sminclude cpan |
15 | |
16 | src_prepare() |
17 | { |
18 | munpack ${SRCFILE} || die |
19 | cd ${SRCDIR} |
20 | |
21 | # create libnet configuration |
22 | cat > ${SRCDIR}/libnet.cfg << EOF |
23 | { |
24 | 'ftp_int_passive' => 0, |
25 | 'snpp_hosts' => [], |
26 | 'inet_domain' => undef, |
27 | 'test_exist' => 1, |
28 | 'ftp_testhost' => undef, |
29 | 'daytime_hosts' => [], |
30 | 'ph_hosts' => [], |
31 | 'time_hosts' => [], |
32 | 'smtp_hosts' => [], |
33 | 'test_hosts' => 1, |
34 | 'nntp_hosts' => [], |
35 | 'pop3_hosts' => [], |
36 | } |
37 | EOF |
38 | } |