|
@@ -31,7 +31,6 @@
|
|
|
%define V_net_netmask 1.9002
|
|
%define V_net_netmask 1.9002
|
|
|
%define V_net_ftp_common 2.9
|
|
%define V_net_ftp_common 2.9
|
|
|
%define V_net_snmp 4.1.0
|
|
%define V_net_snmp 4.1.0
|
|
|
-%define V_net_services 1.3
|
|
|
|
|
%define V_net_tftp 0.16
|
|
%define V_net_tftp 0.16
|
|
|
%define V_net_telnet 3.03
|
|
%define V_net_telnet 3.03
|
|
|
%define V_net_telnet_cisco 1.10
|
|
%define V_net_telnet_cisco 1.10
|
|
@@ -49,8 +48,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [BASE]
|
|
Distribution: OpenPKG [BASE]
|
|
|
Group: Language
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
License: GPL/Artistic
|
|
|
-Version: 20030620
|
|
|
|
|
-Release: 20030620
|
|
|
|
|
|
|
+Version: 20030626
|
|
|
|
|
+Release: 20030626
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
%option with_curl no
|
|
%option with_curl no
|
|
@@ -63,14 +62,13 @@ Source3: http://www.cpan.org/modules/by-module/Net/libnet-%{V_libnet}.tar.g
|
|
|
Source4: http://www.cpan.org/modules/by-module/Net/Net-Netmask-%{V_net_netmask}.tar.gz
|
|
Source4: http://www.cpan.org/modules/by-module/Net/Net-Netmask-%{V_net_netmask}.tar.gz
|
|
|
Source5: http://www.cpan.org/modules/by-module/Net/Net-FTP-Common-%{V_net_ftp_common}.tar.gz
|
|
Source5: http://www.cpan.org/modules/by-module/Net/Net-FTP-Common-%{V_net_ftp_common}.tar.gz
|
|
|
Source6: http://www.cpan.org/modules/by-module/Net/Net-SNMP-%{V_net_snmp}.tar.gz
|
|
Source6: http://www.cpan.org/modules/by-module/Net/Net-SNMP-%{V_net_snmp}.tar.gz
|
|
|
-Source7: http://www.cpan.org/modules/by-module/Net/Net-Services-%{V_net_services}.tar.gz
|
|
|
|
|
-Source8: http://www.cpan.org/modules/by-module/Net/Net-TFTP-%{V_net_tftp}.tar.gz
|
|
|
|
|
-Source9: http://www.cpan.org/modules/by-module/Net/Net-Telnet-%{V_net_telnet}.tar.gz
|
|
|
|
|
-Source10: http://www.cpan.org/modules/by-module/Net/Net-Telnet-Cisco-%{V_net_telnet_cisco}.tar.gz
|
|
|
|
|
-Source11: http://www.cpan.org/modules/by-module/RPC/PlRPC-%{V_plrpc}.tar.gz
|
|
|
|
|
-Source12: http://curl.haxx.se/libcurl/perl/Curl-easy-%{V_curl_easy}.tar.gz
|
|
|
|
|
-Source13: http://www.cpan.org/modules/by-module/Net/Net-IMAP-Simple-%{V_net_imap_simple}.tar.gz
|
|
|
|
|
-Source14: http://www.cpan.org/modules/by-module/Net/Net-BGP-%{V_net_bgp}.tar.gz
|
|
|
|
|
|
|
+Source7: http://www.cpan.org/modules/by-module/Net/Net-TFTP-%{V_net_tftp}.tar.gz
|
|
|
|
|
+Source8: http://www.cpan.org/modules/by-module/Net/Net-Telnet-%{V_net_telnet}.tar.gz
|
|
|
|
|
+Source9: http://www.cpan.org/modules/by-module/Net/Net-Telnet-Cisco-%{V_net_telnet_cisco}.tar.gz
|
|
|
|
|
+Source10: http://www.cpan.org/modules/by-module/RPC/PlRPC-%{V_plrpc}.tar.gz
|
|
|
|
|
+Source11: http://curl.haxx.se/libcurl/perl/Curl-easy-%{V_curl_easy}.tar.gz
|
|
|
|
|
+Source12: http://www.cpan.org/modules/by-module/Net/Net-IMAP-Simple-%{V_net_imap_simple}.tar.gz
|
|
|
|
|
+Source13: http://www.cpan.org/modules/by-module/Net/Net-BGP-%{V_net_bgp}.tar.gz
|
|
|
Patch0: perl-net.patch
|
|
Patch0: perl-net.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
@@ -98,7 +96,6 @@ AutoReqProv: no
|
|
|
- Net::SNMP (%{V_net_snmp})
|
|
- Net::SNMP (%{V_net_snmp})
|
|
|
- Net::SNPP (%{V_libnet})
|
|
- Net::SNPP (%{V_libnet})
|
|
|
- Net::Server (%{V_net_server})
|
|
- Net::Server (%{V_net_server})
|
|
|
- - Net::Services (%{V_net_services})
|
|
|
|
|
- Net::TCP (%{V_net_ext})
|
|
- Net::TCP (%{V_net_ext})
|
|
|
- Net::TCP::Server (%{V_net_ext})
|
|
- Net::TCP::Server (%{V_net_ext})
|
|
|
- Net::TFTP (%{V_net_tftp})
|
|
- Net::TFTP (%{V_net_tftp})
|
|
@@ -131,7 +128,6 @@ AutoReqProv: no
|
|
|
%setup11 -q -T -D -a 11
|
|
%setup11 -q -T -D -a 11
|
|
|
%setup12 -q -T -D -a 12
|
|
%setup12 -q -T -D -a 12
|
|
|
%setup13 -q -T -D -a 13
|
|
%setup13 -q -T -D -a 13
|
|
|
- %setup14 -q -T -D -a 14
|
|
|
|
|
%patch0 -p0
|
|
%patch0 -p0
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -152,12 +148,11 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE8}
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE8}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE9}
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE9}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE10}
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE10}
|
|
|
- %{l_prefix}/bin/perl-openpkg install -d %{SOURCE11}
|
|
|
|
|
%if "%{with_curl}" == "yes"
|
|
%if "%{with_curl}" == "yes"
|
|
|
- %{l_prefix}/bin/perl-openpkg install -d %{SOURCE12}
|
|
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg install -d %{SOURCE11}
|
|
|
%endif
|
|
%endif
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg install -d %{SOURCE12}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE13}
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE13}
|
|
|
- %{l_prefix}/bin/perl-openpkg install -d %{SOURCE14}
|
|
|
|
|
|
|
|
|
|
# perform common epilog operations
|
|
# perform common epilog operations
|
|
|
%{l_prefix}/bin/perl-openpkg epilog
|
|
%{l_prefix}/bin/perl-openpkg epilog
|