The attached patch to the perl-net.spec file from CURRENT fixes a
problem when building with_pcap=yes. The current Net::Packet
modules requires Class:Gomor::Hash.
Bill
--
INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``Most people, sometime in their lives, stumble across truth. Most jump
up, brush themselves off, and hurry on about their business as if
nothing had happened.'' - Sir Winston Churchill
Index: perl-net.spec
===================================================================
RCS file: /v/openpkg/cvs/openpkg-src/perl-net/perl-net.spec,v
retrieving revision 1.83
diff -u -d -a -u -r1.83 perl-net.spec
--- perl-net.spec 24 Mar 2005 11:19:56 -0000 1.83
+++ perl-net.spec 29 Apr 2005 05:35:43 -0000
@@ -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
@@ -60,7 +61,7 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20050210
+Release: 20050428
# package options
%option with_curl no
@@ -91,6 +92,7 @@
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
+Source24:
http://www.cpan.org/modules/by-module/Class/Class-Gomor-Hash-%{V_class_gomor_hash}.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,6 +337,7 @@
%{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 %{SOURCE24} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE19} \
-A "INC='-I. %{l_cppflags}'" \
-A "LIBS='%{l_ldflags} -lpcap'" \