rpms/libnet/FC-3 .cvsignore, 1.3, 1.4 Makefile, 1.3, 1.4 libnet.spec, 1.3, 1.4 sources, 1.3, 1.4

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Mon Sep 12 21:14:50 UTC 2005


Author: pertusus

Update of /cvs/extras/rpms/libnet/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9448

Added Files:
	.cvsignore Makefile libnet.spec sources 
Log Message:
Add libnet files for FC-3 branch



Index: .cvsignore
===================================================================
RCS file: .cvsignore
diff -N .cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .cvsignore	12 Sep 2005 21:14:48 -0000	1.4
@@ -0,0 +1 @@
+libnet-1.1.2.1.tar.gz


Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	12 Sep 2005 21:14:48 -0000	1.4
@@ -0,0 +1,21 @@
+# Makefile for source rpm: cppunit
+# $Id$
+NAME := libnet
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)


Index: libnet.spec
===================================================================
RCS file: libnet.spec
diff -N libnet.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libnet.spec	12 Sep 2005 21:14:48 -0000	1.4
@@ -0,0 +1,99 @@
+Summary:        C library for portable packet creation and injection
+Name:           libnet
+Version:        1.1.2.1
+Release:        6%{?dist}
+License:        BSD
+Group:          System Environment/Libraries
+URL:            http://www.packetfactory.net/libnet/
+Source0:        http://www.packetfactory.net/libnet/dist/libnet-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+Libnet is an API to help with the construction and handling of network packets.
+It provides a portable framework for low-level network packet writing and
+handling (use libnet in conjunction with libpcap and you can write some really
+cool stuff).  Libnet includes packet creation at the IP layer and at the link
+layer as well as a host of supplementary and complementary functionality.
+Libnet is very handy with which to write network tools and network test code.
+See the manpage and sample test code for more detailed information.
+
+%package devel
+Summary:        Development files for libnet
+Group:          Development/Libraries
+Provides:       %{name} = %{version}-%{release}
+
+%description devel
+Libnet is an API to help with the construction and handling of network packets.
+It provides a portable framework for low-level network packet writing and
+handling (use libnet in conjunction with libpcap and you can write some really
+cool stuff).  Libnet includes packet creation at the IP layer and at the link
+layer as well as a host of supplementary and complementary functionality.
+Libnet is very handy with which to write network tools and network test code.
+See the manpage and sample test code for more detailed information.
+
+
+%prep
+%setup -q -n libnet
+sed -i -e 's/\r$//' doc/CHANGELOG doc/CONTRIB
+find . -depth -type d -name CVS -exec rm -rf {} ';'
+rm -rf sample/win32
+rm -f sample/.\#* sample/.*.swp
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
+
+install -D --mode=0755 libnet-config %{buildroot}%{_bindir}/libnet-config
+
+install -d --mode=0755 %{buildroot}%{_mandir}/man3
+install -D --mode=0644 doc/man/man3/libnet*.3 %{buildroot}%{_mandir}/man3/
+
+make -C sample clean
+
+%clean
+rm -rf %{buildroot}
+
+%files devel
+%defattr(-,root,root,-)
+%doc README VERSION
+%doc doc/BUGS doc/CHANGELOG doc/CONTRIB doc/COPYING doc/DESIGN_NOTES
+%doc doc/MIGRATION doc/PACKET_BUILDING doc/PORTED doc/RAWSOCKET_NON_SEQUITUR
+%doc doc/TODO doc/html/ sample/
+
+%{_bindir}/libnet-config
+%{_includedir}/libnet/
+%{_includedir}/libnet.h
+%{_libdir}/libnet.a
+%{_mandir}/man3/libnet*
+
+%changelog
+* Mon Sep 12 2005 Patrice Dumas <dumas at centre-cired.fr> 1.1.2.1-6
+- bump release and add dist tag
+
+* Tue Aug 30 2005 Paul Howarth <paul at city-fan.org> 1.1.2.1-5
+- spec file cleanup
+
+* Fri Aug 26 2005 Patrice Dumas <dumas at centre-cired.fr> 1.1.2.1-4
+- use pushd and popd (from Oliver Falk) 
+
+* Mon Aug 22 2005 Patrice Dumas <dumas at centre-cired.fr> 1.1.2.1-3
+- Correct dos end of lines
+- add in devel: Provides: %{name} = %{version}-%{release} 
+
+* Fri Aug 12 2005 Patrice Dumas <dumas at centre-cired.fr> 1.1.2.1-2
+- put everything in a devel subpackage
+- add smpflags
+- clean in sample
+
+* Fri Aug 12 2005 Patrice Dumas <dumas at centre-cired.fr> 1.1.2.1-1
+- rebuild changing only name
+
+* Wed Jun 02 2004 Marcin Garski <garski at poczta.onet.pl> 1.1.2.1-2.fc2
+- Rebuild for Fedora Core 2
+
+* Sat May 08 2004 Marcin Garski <garski at poczta.onet.pl> 1.1.2.1-1
+- Initial specfile


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	12 Sep 2005 21:14:48 -0000	1.4
@@ -0,0 +1 @@
+be845c41170d72c7db524f3411b50256  libnet-1.1.2.1.tar.gz




More information about the fedora-extras-commits mailing list