OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 29-Apr-2005 08:17:13
Branch: HEAD Handle: 2005042907171300
Modified files:
openpkg-src/perl-net perl-net.spec
Log:
Fix dependencies of Net::Packet module. Submitted by: Bill Campbell
Summary:
Revision Changes Path
1.84 +17 -7 openpkg-src/perl-net/perl-net.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-net/perl-net.spec
============================================================================
$ cvs diff -u -r1.83 -r1.84 perl-net.spec
--- openpkg-src/perl-net/perl-net.spec 24 Mar 2005 11:19:56 -0000
1.83
+++ openpkg-src/perl-net/perl-net.spec 29 Apr 2005 06:17:13 -0000
1.84
@@ -44,6 +44,7 @@
%define V_net_pcap 0.05
%define V_net_radius 1.44
%define V_net_ip 1.21
+%define V_class_gomor_hash 0.21
%define V_net_packet 2.03
%define V_net_xmpp 1.0
%define V_net_jabber 2.0
@@ -86,11 +87,12 @@
Source16:
http://www.cpan.org/modules/by-module/Net/Net-IMAP-Simple-%{V_net_imap_simple}.tar.gz
Source17:
http://www.cpan.org/modules/by-module/Net/Net-BGP-%{V_net_bgp}.tar.gz
Source18:
http://www.cpan.org/authors/id/K/KC/KCARNUT/Net-Pcap-%{V_net_pcap}.tar.gz
-Source19:
http://www.cpan.org/modules/by-module/Net/Net-Packet-%{V_net_packet}.tar.gz
-Source20:
http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{V_net_ip}.tar.gz
-Source21:
http://www.cpan.org/modules/by-module/Net/Net-XMPP-%{V_net_xmpp}.tar.gz
-Source22:
http://www.cpan.org/modules/by-module/Net/Net-Jabber-%{V_net_jabber}.tar.gz
-Source23:
http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{V_net_patricia}.tar.gz
+Source19:
http://www.cpan.org/modules/by-module/Class/Class-Gomor-Hash-%{V_class_gomor_hash}.tar.gz
+Source20:
http://www.cpan.org/modules/by-module/Net/Net-Packet-%{V_net_packet}.tar.gz
+Source21:
http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{V_net_ip}.tar.gz
+Source22:
http://www.cpan.org/modules/by-module/Net/Net-XMPP-%{V_net_xmpp}.tar.gz
+Source23:
http://www.cpan.org/modules/by-module/Net/Net-Jabber-%{V_net_jabber}.tar.gz
+Source24:
http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{V_net_patricia}.tar.gz
Patch0: perl-net.patch
# build information
@@ -145,6 +147,7 @@
%if "%{with_pcap}" == "yes"
- Net::Pcap (%{V_net_pcap})
- Net::Packet (%{V_net_packet})
+ - Class:Gomor::Hash (%{V_class_gomor_hash})
%endif
- Net::XMPP (%{V_net_xmpp})
- Net::Jabber (%{V_net_jabber})
@@ -243,6 +246,11 @@
url = http://www.cpan.org/modules/by-module/Net/
regex = Net-Packet-(__VER__)\.tar\.gz
}
+ prog perl-net:Class-Gomor-Hash = {
+ version = %{V_class_gomor_hash}
+ url = http://www.cpan.org/modules/by-module/Class/
+ regex = Class-Gomor-Hash-(__VER__)\.tar\.gz
+ }
prog perl-net:Net-XMPP = {
version = %{V_net_xmpp}
url = http://www.cpan.org/modules/by-module/Net/
@@ -299,6 +307,7 @@
%setup -q -T -D -a 21
%setup -q -T -D -a 22
%setup -q -T -D -a 23
+ %setup -q -T -D -a 24
sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
%build
@@ -328,15 +337,16 @@
%{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
%if "%{with_pcap}" == "yes"
%{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} \
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} \
-A "INC='-I. %{l_cppflags}'" \
-A "LIBS='%{l_ldflags} -lpcap'" \
configure build install
%endif
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
%{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]