- add debian patch to correct bad checksums

This commit is contained in:
pertusus 2007-01-15 23:49:53 +00:00
parent bf09b21ccb
commit 7594a86cf7

View File

@ -1,11 +1,14 @@
Summary: C library for portable packet creation and injection Summary: C library for portable packet creation and injection
Name: libnet Name: libnet
Version: 1.1.2.1 Version: 1.1.2.1
Release: 9%{?dist} Release: 10%{?dist}
License: BSD License: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.packetfactory.net/libnet/ URL: http://www.packetfactory.net/libnet/
Source0: http://www.packetfactory.net/libnet/dist/libnet-%{version}.tar.gz Source0: http://www.packetfactory.net/libnet/dist/libnet-%{version}.tar.gz
# excerpted from debian patcheset
Patch0: libnet-1.1.2.1-odd_chksum.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description %description
@ -34,6 +37,7 @@ See the manpage and sample test code for more detailed information.
%prep %prep
%setup -q -n libnet %setup -q -n libnet
%patch0 -p1 -b odd_chksum
sed -i -e 's/\r$//' doc/CHANGELOG doc/CONTRIB sed -i -e 's/\r$//' doc/CHANGELOG doc/CONTRIB
find . -depth -type d -name CVS -exec rm -rf {} ';' find . -depth -type d -name CVS -exec rm -rf {} ';'
rm -rf sample/win32 rm -rf sample/win32
@ -71,34 +75,37 @@ rm -rf %{buildroot}
%{_mandir}/man3/libnet* %{_mandir}/man3/libnet*
%changelog %changelog
* Tue Aug 29 2006 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-9 * Fri Jan 12 2007 Patrice Dumas <pertusus@free.fr> 1.1.2.1-10
- add debian patch to correct bad checksums
* Tue Aug 29 2006 Patrice Dumas <pertusus@free.fr> 1.1.2.1-9
- rebuild for FC6 - rebuild for FC6
* Fri Feb 17 2006 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-8 * Fri Feb 17 2006 Patrice Dumas <pertusus@free.fr> 1.1.2.1-8
- rebuild for fc5 - rebuild for fc5
* Thu Dec 22 2005 Patrice Dumas <dumas@centre-cired.fr> - 1.1.2.1-7 * Thu Dec 22 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-7
- rebuild - rebuild
* Mon Sep 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-6 * Mon Sep 12 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-6
- bump release and add dist tag - bump release and add dist tag
* Tue Aug 30 2005 Paul Howarth <paul@city-fan.org> 1.1.2.1-5 * Tue Aug 30 2005 Paul Howarth <paul@city-fan.org> 1.1.2.1-5
- spec file cleanup - spec file cleanup
* Fri Aug 26 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-4 * Fri Aug 26 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-4
- use pushd and popd (from Oliver Falk) - use pushd and popd (from Oliver Falk)
* Mon Aug 22 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-3 * Mon Aug 22 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-3
- Correct dos end of lines - Correct dos end of lines
- add in devel: Provides: %%{name} = %%{version}-%%{release} - add in devel: Provides: %%{name} = %%{version}-%%{release}
* Fri Aug 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-2 * Fri Aug 12 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-2
- put everything in a devel subpackage - put everything in a devel subpackage
- add smpflags - add smpflags
- clean in sample - clean in sample
* Fri Aug 12 2005 Patrice Dumas <dumas@centre-cired.fr> 1.1.2.1-1 * Fri Aug 12 2005 Patrice Dumas <pertusus@free.fr> 1.1.2.1-1
- rebuild changing only name - rebuild changing only name
* Wed Jun 02 2004 Marcin Garski <garski@poczta.onet.pl> 1.1.2.1-2.fc2 * Wed Jun 02 2004 Marcin Garski <garski@poczta.onet.pl> 1.1.2.1-2.fc2