Annotation of /trunk/extras/perl-libnet/perl-libnet-1.23-r1.smage2
Parent Directory | Revision Log
Revision 19005 -
(hide annotations)
(download)
Wed Aug 21 07:44:34 2013 UTC (11 years, 2 months ago) by niro
File size: 711 byte(s)
Wed Aug 21 07:44:34 2013 UTC (11 years, 2 months ago) by niro
File size: 711 byte(s)
auto added: ver bump to 1.23-r1
1 | niro | 19005 | # $Id$ |
2 | |||
3 | PNAME="perl-libnet" | ||
4 | PVER="1.23" | ||
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 | ||
10 | >= dev-perl/authen-sasl-2.13" | ||
11 | |||
12 | CPAN_MODULE="libnet" | ||
13 | CPAN_AUTHOR="gbarr" | ||
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 | } |