Magellan Linux

Contents of /branches/magellan-next/extras/perl-libnet/perl-libnet-1.22-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7319 - (show annotations) (download)
Wed Oct 13 14:07:10 2010 UTC (14 years ago) by niro
File size: 785 byte(s)
auto added: ver bump to 1.22-r4
1 # $Id: perl-libnet-1.22-r3.smage2 4306 2009-12-01 14:53:32Z niro $
2
3 PNAME="perl-libnet"
4 PVER="1.22"
5 PBUILD="r4"
6
7 STATE="unstable"
8 DESCRIPTION="libnet is a collection of perl5 modules which all related to network programming."
9
10
11 DEPEND=">= dev-lang/perl-5.12
12 >= dev-perl/authen-sasl-2.15"
13
14 CPAN_MODULE=libnet
15 CPAN_AUTHOR=GBARR
16 sminclude cpan
17
18 UP2DATE="updatecmd_perl ${CPAN_MODULE} gz"
19
20 src_prepare()
21 {
22 munpack ${SRCFILE} || die
23 cd ${SRCDIR}
24
25 # create libnet configuration
26 cat > ${SRCDIR}/libnet.cfg << EOF
27 {
28 'ftp_int_passive' => 0,
29 'snpp_hosts' => [],
30 'inet_domain' => undef,
31 'test_exist' => 1,
32 'ftp_testhost' => undef,
33 'daytime_hosts' => [],
34 'ph_hosts' => [],
35 'time_hosts' => [],
36 'smtp_hosts' => [],
37 'test_hosts' => 1,
38 'nntp_hosts' => [],
39 'pop3_hosts' => [],
40 }
41 EOF
42 }