Magellan Linux

Annotation of /branches/R11-stable/extras/perl-libnet/perl-libnet-3.02-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22450 - (hide annotations) (download)
Mon Oct 20 09:05:38 2014 UTC (9 years, 6 months ago) by niro
Original Path: trunk/extras/perl-libnet/perl-libnet-3.02-r1.smage2
File size: 712 byte(s)
auto added: ver bump to 3.02-r1
1 niro 22450 # $Id$
2    
3     PNAME="perl-libnet"
4     PVER="3.02"
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.20.1
10     >= dev-perl/authen-sasl-2.16"
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     }