Contents of /branches/R11-stable/extras/perl-libnet/perl-libnet-1.24-r1.smage2
Parent Directory | Revision Log
Revision 20841 -
(show annotations)
(download)
Tue Feb 11 09:58:07 2014 UTC (10 years, 7 months ago) by niro
File size: 712 byte(s)
Tue Feb 11 09:58:07 2014 UTC (10 years, 7 months ago) by niro
File size: 712 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="perl-libnet" |
4 | PVER="1.24" |
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.18.2 |
10 | >= dev-perl/authen-sasl-2.13" |
11 | |
12 | CPAN_MODULE="libnet" |
13 | CPAN_AUTHOR="shay" |
14 | sminclude cpan |
15 | |
16 | UP2DATE="updatecmd_perl ${CPAN_MODULE} gz" |
17 | |
18 | src_prepare() |
19 | { |
20 | munpack ${SRCFILE} || die |
21 | cd ${SRCDIR} |
22 | |
23 | # create libnet configuration |
24 | cat > ${SRCDIR}/libnet.cfg << EOF |
25 | { |
26 | 'ftp_int_passive' => 0, |
27 | 'snpp_hosts' => [], |
28 | 'inet_domain' => undef, |
29 | 'test_exist' => 1, |
30 | 'ftp_testhost' => undef, |
31 | 'daytime_hosts' => [], |
32 | 'ph_hosts' => [], |
33 | 'time_hosts' => [], |
34 | 'smtp_hosts' => [], |
35 | 'test_hosts' => 1, |
36 | 'nntp_hosts' => [], |
37 | 'pop3_hosts' => [], |
38 | } |
39 | EOF |
40 | } |