OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Mar-2004 17:13:01
Branch: HEAD Handle: 2004031116130000
Modified files:
openpkg-src/perl-net perl-net.spec
Log:
add Net::Radius
Summary:
Revision Changes Path
1.58 +20 -10 openpkg-src/perl-net/perl-net.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-net/perl-net.spec
============================================================================
$ cvs diff -u -r1.57 -r1.58 perl-net.spec
--- openpkg-src/perl-net/perl-net.spec 28 Feb 2004 22:50:32 -0000 1.57
+++ openpkg-src/perl-net/perl-net.spec 11 Mar 2004 16:13:00 -0000 1.58
@@ -40,6 +40,7 @@
%define V_net_imap_simple 0.93
%define V_net_bgp 0.07
%define V_net_pcap 0.05
+%define V_net_radius 1.44
# package information
Name: perl-net
@@ -52,7 +53,7 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20040228
+Release: 20040311
# package options
%option with_curl no
@@ -69,11 +70,12 @@
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
-Source14:
http://www.cpan.org/authors/id/K/KC/KCARNUT/Net-Pcap-%{V_net_pcap}.tar.gz
+Source10:
http://www.cpan.org/modules/by-module/Net/Net-Radius-%{V_net_radius}.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
+Source15:
http://www.cpan.org/authors/id/K/KC/KCARNUT/Net-Pcap-%{V_net_pcap}.tar.gz
Patch0: perl-net.patch
# build information
@@ -110,12 +112,13 @@
- Net::TCP::Server (%{V_net_ext})
- Net::TFTP (%{V_net_tftp})
- Net::Telnet (%{V_net_telnet})
- - Net::Telnet:Cisco (%{V_net_telnet_cisco})
+ - Net::Telnet::Cisco (%{V_net_telnet_cisco})
- Net::Time (%{V_libnet})
- Net::Time (%{V_libnet})
- Net::UDP (%{V_net_ext})
- Net::UNIX (%{V_net_ext})
- Net::UNIX::Server (%{V_net_ext})
+ - Net::Radius (%{V_net_radius})
- RPC::PlServer, RPC::PlClient (%{V_plrpc})
%if "%{with_curl}" == "yes"
- Curl::easy (%{V_curl_easy})
@@ -192,6 +195,11 @@
url = http://www.cpan.org/authors/id/K/KC/KCARNUT/
regex = Net-Pcap-(__VER__)\.tar\.gz
}
+ prog perl-net:Net-Radius = {
+ version = %{V_net_radius}
+ url = http://www.cpan.org/modules/by-module/Net/
+ regex = Net-Radius-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
@@ -209,6 +217,7 @@
%setup -q -T -D -a 12
%setup -q -T -D -a 13
%setup -q -T -D -a 14
+ %setup -q -T -D -a 15
sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
%build
@@ -226,13 +235,14 @@
%{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
-%if "%{with_curl}" == "yes"
%{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
-%endif
+%if "%{with_curl}" == "yes"
%{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
+%endif
%{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
-%if "%{with_pcap}" == "yes"
%{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
+%if "%{with_pcap}" == "yes"
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
%endif
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat
perl-openpkg-files`
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]