rpms/perl-Net-RawIP/F-9 Net-RawIP-0.23-format.patch, NONE, 1.1 Net-RawIP-0.23-lib64.patch, NONE, 1.1 perl-Net-RawIP.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Miloslav Trmac (mitr)
fedora-extras-commits at redhat.com
Wed Aug 6 14:15:37 UTC 2008
- Previous message (by thread): rpms/lksctp-tools/devel .cvsignore, 1.6, 1.7 lksctp-tools.spec, 1.19, 1.20 sources, 1.6, 1.7
- Next message (by thread): rpms/condor/F-9 .cvsignore, 1.3, 1.4 condor.spec, 1.10, 1.11 condor_config.generic.patch, 1.1, 1.2 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mitr
Update of /cvs/pkgs/rpms/perl-Net-RawIP/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17154
Modified Files:
.cvsignore sources
Added Files:
Net-RawIP-0.23-format.patch Net-RawIP-0.23-lib64.patch
perl-Net-RawIP.spec
Log Message:
Import perl-Net-RawIP-0.23-2.
Net-RawIP-0.23-format.patch:
--- NEW FILE Net-RawIP-0.23-format.patch ---
diff -up Net-RawIP-0.23/RawIP.xs~ Net-RawIP-0.23/RawIP.xs
--- Net-RawIP-0.23/RawIP.xs~ 2007-07-19 07:58:24.000000000 +0200
+++ Net-RawIP-0.23/RawIP.xs 2008-07-30 05:28:09.000000000 +0200
@@ -611,7 +611,7 @@ CODE:
croak("gettimeofday()");
}
else {
- RETVAL = newSVpvf("%u.%06u",tv.tv_sec,tv.tv_usec);
+ RETVAL = newSVpvf("%lld.%06u",(long long)tv.tv_sec,(unsigned)tv.tv_usec);
}
OUTPUT:
RETVAL
Net-RawIP-0.23-lib64.patch:
--- NEW FILE Net-RawIP-0.23-lib64.patch ---
diff -up Net-RawIP-0.23/Makefile.PL~ Net-RawIP-0.23/Makefile.PL
--- Net-RawIP-0.23/Makefile.PL~ 2008-01-08 17:07:18.000000000 +0100
+++ Net-RawIP-0.23/Makefile.PL 2008-07-30 07:08:09.000000000 +0200
@@ -117,7 +117,7 @@ END_REPORT
print "The following libpcap.so files were found:\n\n";
- my @so_files = glob "/usr/lib/libpcap.so*";
+ my @so_files = glob "/usr/lib*/libpcap.so*";
die "No libpcap.so file found. Makefile.PL was not created.\n"
if not @so_files;
print map {"$_\n"} @so_files;
--- NEW FILE perl-Net-RawIP.spec ---
Name: perl-Net-RawIP
Version: 0.23
Release: 2%{?dist}
Summary: Perl extension for manipulating raw ip packets using libpcap
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-RawIP/
Source0: http://www.cpan.org/modules/by-module/Net/Net-RawIP-%{version}.tar.gz
Patch0: Net-RawIP-0.23-format.patch
Patch1: Net-RawIP-0.23-lib64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker), libpcap-devel,
BuildRequires: perl(Proc::ProcessTable), perl(Test::Perl::Critic)
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This package provides a class object which can be used for creating,
manipulating and sending raw ip packets with optional features for
manipulating ethernet headers.
%prep
%setup -q -n Net-RawIP-%{version}
%patch0 -p1 -b .format
%patch1 -p1 -b .lib64
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
chmod a-x examples/*
%check
%{?!_with_network_tests: rm t/iflist.t }
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README README.Devel TODO examples
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Net*
%{_mandir}/man3/*
%changelog
* Tue Aug 5 2008 Miloslav TrmaÄ <mitr at redhat.com> - 0.23-2
- Ship the examples
* Wed Jul 30 2008 Miloslav TrmaÄ <mitr at redhat.com> - 0.23-1
- Initial package.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-RawIP/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Aug 2008 16:27:45 -0000 1.1
+++ .cvsignore 6 Aug 2008 14:15:07 -0000 1.2
@@ -0,0 +1 @@
+Net-RawIP-0.23.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-RawIP/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Aug 2008 16:27:45 -0000 1.1
+++ sources 6 Aug 2008 14:15:07 -0000 1.2
@@ -0,0 +1 @@
+f3b365136ccf88c79167ac3b1292e5b3 Net-RawIP-0.23.tar.gz
- Previous message (by thread): rpms/lksctp-tools/devel .cvsignore, 1.6, 1.7 lksctp-tools.spec, 1.19, 1.20 sources, 1.6, 1.7
- Next message (by thread): rpms/condor/F-9 .cvsignore, 1.3, 1.4 condor.spec, 1.10, 1.11 condor_config.generic.patch, 1.1, 1.2 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list