Browse Source

* new packages (needed for snort)

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5903 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
33a9e0b4bd

+ 64 - 0
d/daq/daq-vl.spec

@@ -0,0 +1,64 @@
+%define version 0.6.2
+
+Summary: Data Acquisition Library
+License: GPLv2
+Group: Libraries/Network
+Name: daq
+Prefix: %{_prefix}
+Provides: daq
+Release: 1%{?_dist_release}
+Source: daq-%{version}.tar.gz
+URL: http://www.snort.org/
+Version: %{version}
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: autoconf, automake, flex, bison
+BuildRequires: libnetfilter_queue-devel
+BuildRequires: libdnet-devel
+BuildRequires: libpcap-devel >= 1.0.0
+BuildRequires: iptables-devel
+
+%description
+Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O.  The
+DAQ replaces direct calls to PCAP functions with an abstraction layer that
+facilitates operation on a variety of hardware and software interfaces without
+requiring changes to Snort.  It is possible to select the DAQ type and mode
+when invoking Snort to perform PCAP readback or inline operation, etc.  The
+DAQ library may be useful for other packet processing applications and the
+modular nature allows you to build new modules for other platforms.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+rm -f %{buildroot}%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/daq/*.la
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root)
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/*.so.*
+%{_libdir}/*.a
+%dir %{_libdir}/daq
+%{_libdir}/daq/*.so
+%{_bindir}/daq-modules-config
+
+
+%changelog
+* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-1
+- initial build for Vine Linux

+ 124 - 0
lib/libd/libdnet/libdnet-vl.spec

@@ -0,0 +1,124 @@
+Summary:	Simple portable interface to lowlevel networking routines
+Name:		libdnet
+
+Version:	1.12
+Release:	9%{?_dist_release}
+
+License:	BSD
+Group:		System Environment/Libraries
+URL:		http://code.google.com/p/%{name}/
+
+Source:		http://%{name}.googlecode.com/files/%{name}-%{version}.tgz
+Patch0:		%{name}-shrext.patch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+libdnet provides a simplified, portable interface to several
+low-level networking routines, including network address
+manipulation, kernel arp(4) cache and route(4) table lookup and
+manipulation, network firewalling (IP filter, ipfw, ipchains,
+pf, ...), network interface lookup and manipulation, raw IP
+packet and Ethernet frame, and data transmission.
+
+%package devel
+Summary:	Header files for libdnet library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%package progs
+Summary:	Sample applications to use with libdnet
+Group:		Applications/Internet
+Requires:	%{name} = %{version}-%{release}
+
+%description progs
+%{summary}.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure --disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR=%{buildroot}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README THANKS TODO
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_libdir}/*.so
+%exclude %{_libdir}/*.la
+%{_includedir}/*
+%{_mandir}/man3/*.3*
+
+%files progs
+%defattr(-,root,root,-)
+%{_sbindir}/*
+%{_mandir}/man8/*.8*
+
+%changelog
+* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.12-9
+- initial build for Vine Linux
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Feb 12 2010 Oliver Falk <oliver@linux-kernel.at> - 1.12-6
+- Disable build of static libs
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-3
+- Bump-n-build for GCC 4.3
+
+* Tue Aug 21 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-2
+- Rebuild for BuildID
+- Changed license tag to be more conformant
+
+* Thu Feb 15 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.12-1
+- New upstream version
+- New upstream web site (thanks JPO!)
+- Patch for inconsistent shrext variable
+- Minor edits for consistency
+
+* Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-5
+- Converted spec to UTF-8 to fix BZ#222794
+
+* Wed Oct 04 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.10-4
+- Bump-n-build
+- Reverted to 1.10; 1.11 has some serious issues
+
+* Tue Sep 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org>	- 1.10-3
+- Bump for FC6 rebuild
+
+* Thu Jul 14 2005 Oliver Falk <oliver@linux-kernel.at>		- 1.10-2
+- Integrate Josщ's patch after reviewing the pkg.
+
+* Fri Jul 08 2005 Oliver Falk <oliver@linux-kernel.at>		- 1.10-1
+- Build for FE

+ 129 - 0
lib/libn/libnetfilter_queue/libnetfilter_queue-vl.spec

@@ -0,0 +1,129 @@
+%define libnfnetlink 0.0.41
+
+Name:           libnetfilter_queue
+Version:        1.0.0
+Release:        4%{?_dist_release}
+Summary:        Netfilter queue userspace library
+Group:          System Environment/Libraries
+# Most files say GPLv2+, one says v2 only.
+License:        GPLv2
+URL:            http://netfilter.org
+Source0:        http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
+Patch0:		libnetfilter_queue-sysheader.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  libnfnetlink-devel >= %{libnfnetlink}, pkgconfig, kernel-headers
+BuildRequires:  autoconf, automake, libtool
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
+%description
+libnetfilter_queue is a userspace library providing an API to packets that have
+been queued by the kernel packet filter. It is is part of a system that
+deprecates the old ip_queue / libipq mechanism.
+
+libnetfilter_queue has been previously known as libnfnetlink_queue. 
+
+%package        devel
+Summary:        Netfilter queue userspace library
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}, pkgconfig
+Requires:	libnfnetlink-devel >= %{libnfnetlink}, kernel-headers
+
+%description    devel
+libnetfilter_queue is a userspace library providing an API to packets that have
+been queued by the kernel packet filter. It is is part of a system that
+deprecates the old ip_queue / libipq mechanism.
+
+libnetfilter_queue has been previously known as libnfnetlink_queue.
+
+%prep
+%setup -q
+%patch0 -p1
+
+mkdir m4
+autoreconf -i --force
+
+%build
+%configure --disable-static --disable-rpath
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/*.h
+%{_libdir}/pkgconfig/%{name}.pc
+
+%changelog
+* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.0-4
+- initial build for Vine Linux
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Aug  4 2010 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-1
+- new upstream version
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.17-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Sat Mar  7 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.17-1
+- upstream update
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Oct 26 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.16-3
+- fix patch/patch0
+- depend on specific libnfnetlink version
+
+* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.16-2
+- fix license tag
+
+* Wed Jul 16 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.16-1
+- new upstream version
+
+* Fri Feb 22 2008 Paul P Komkoff Jr <i@stingr.net> - 0.0.15-4
+- use system header instead of bundled one
+
+* Fri Feb 22 2008 Paul P Komkoff Jr <i@stingr.net> - 0.0.15-3
+- fix compilation with newer glibc/headers/whatever
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.15-2
+- Autorebuild for GCC 4.3
+
+* Tue Sep 18 2007 Paul P Komkoff Jr <i@stingr.net> - 0.0.15-1
+- new upstream version
+
+* Mon Mar 26 2007 Paul P Komkoff Jr <i@stingr.net> - 0.0.13-3
+- own some directories
+
+* Mon Mar 19 2007 Paul P Komkoff Jr <i@stingr.net> - 0.0.13-2
+- fix source url
+- add pkgconfig to -devel Requires
+
+* Sat Mar 17 2007 Paul P Komkoff Jr <i@stingr.net> - 0.0.13-1
+- Preparing for submission to fedora extras

+ 141 - 0
lib/libn/libnfnetlink/libnfnetlink-vl.spec

@@ -0,0 +1,141 @@
+Name:           libnfnetlink
+Version:        1.0.0
+Release:        5%{?_dist_release}
+Summary:        Netfilter netlink userspace library
+Group:          System Environment/Libraries
+License:        GPLv2+
+URL:            http://netfilter.org
+Source0:        http://netfilter.org/projects/libnfnetlink/files/%{name}-%{version}.tar.bz2
+Patch0:		libnfnetlink-sysheader.patch
+Patch1:         libnfnetlink-rollup.patch
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildRequires:	kernel-headers
+BuildRequires:  automake autoconf libtool pkgconfig
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
+
+%description
+libnfnetlink is a userspace library that provides some low-level
+nfnetlink handling functions.  It is used as a foundation for other, netfilter
+subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log
+and libnfnetlink_queue.
+
+%package        devel
+Summary:        Netfilter netlink userspace library
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:	kernel-headers
+
+%description    devel
+libnfnetlink is a userspace library that provides some low-level
+nfnetlink handling functions.  It is used as a foundation for other, netfilter
+subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log
+and libnfnetlink_queue.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+autoreconf -i --force
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc README COPYING
+%{_libdir}/*.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%dir %{_includedir}/libnfnetlink
+%{_includedir}/libnfnetlink/*.h
+
+%changelog
+* Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.0-5
+- initial build for Vine Linux
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Nov 28 2011 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-3
+- post-1.0 build fixes
+- switch to gplv2+
+- use packaged COPYING for license
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Sep 28 2009 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-1
+- upstream release
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.41-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri Mar  6 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.41-1
+- upstream release
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.40-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Jan 19 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.40-1
+- upstream release
+
+* Tue Jan 13 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.39-4
+- rebuild to get provides pkgconfig(libnfnetlink)
+
+* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.0.39-3
+- Fix Patch0:/%%patch mismatch.
+
+* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.39-2
+- fix license tag
+
+* Fri Jul  4 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.39
+- grab latest upstream release
+
+* Fri Feb 22 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.33-0.1.svn7211
+- grab latest upstream changes and fixes, along with new version number
+- do not mess with bundled nfnetlink.h, use <linux/netfilter/nfnetlink.h>
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.30-2
+- Autorebuild for GCC 4.3
+
+* Thu Aug 30 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.30-1
+- new upstream version
+
+* Sun Mar 25 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.25-2
+- grab ownership of some directories
+
+* Fri Feb  9 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.0.25-1
+- upstream version 0.0.25
+
+* Sun Sep 10 2006 Paul P. Komkoff Jr <i@stingr.net>
+- rebuilt
+
+* Wed Jul 12 2006 Felipe Kellermann <stdfk@terra.com.br> - 0.0.16-1
+- Adds pkgconfig to devel files.
+- Version 0.0.16.
+
+* Mon May  8 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.14-3
+- Include borrowed gpl.txt as LICENSE in %doc
+
+* Sun Mar 26 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.14-1
+- Preparing for submission to fedora extras
+