Magellan Linux

Annotation of /trunk/extras/perl-libnet/perl-libnet-3.11-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31647 - (hide annotations) (download)
Wed Dec 5 09:06:02 2018 UTC (5 years, 6 months ago) by niro
File size: 673 byte(s)
auto added: ver bump to 3.11-r3
1 niro 31647 # $Id$
2    
3     PNAME="perl-libnet"
4     PVER="3.11"
5     PBUILD="r3"
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     }