]> git.pld-linux.org Git - packages/libnids.git/blame - libnids.spec
- License is GPLv2 since v1.1; release 4
[packages/libnids.git] / libnids.spec
CommitLineData
412ab953 1# note: there is some fork at https://github.com/MITRECND/libnids with 1.25
09b5c30c 2Summary: Implementation of E-component of Network Intrusion Detection System
fef6daae 3Summary(pl.UTF-8): Implementacja E-komponentu NIDS (sieciowego systemu wykrywania intruzów)
7e76e049 4Name: libnids
18070bd1 5Version: 1.24
b78da941 6Release: 4
7e76e049 7Epoch: 1
b78da941
JB
8# contains modified Linux 2.0.36 sources, so v2 only
9License: GPL v2
7e76e049 10Group: Libraries
412ab953 11Source0: http://downloads.sourceforge.net/libnids/%{name}-%{version}.tar.gz
18070bd1 12# Source0-md5: 72d37c79c85615ffe158aa524d649610
412ab953
JB
13Patch0: %{name}-nolibs.patch
14Patch1: gcc5.patch
9215ba27 15URL: http://libnids.sourceforge.net/
1003d8e3 16BuildRequires: autoconf
6dc93f3b 17BuildRequires: automake
dbe966c7 18BuildRequires: glib2-devel >= 1:2.2.0
412ab953 19BuildRequires: libnet-devel
dda67f3b 20BuildRequires: libpcap-devel
dbe966c7 21BuildRequires: pkgconfig
412ab953 22Requires: glib2 >= 1:2.2.0
7e76e049
AM
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
b01e2cdb 26Libnids is an implementation of an E-component of Network Intrusion
27Detection System. It emulates the IP stack of Linux 2.0.x. Libnids
28offers IP defragmentation, TCP stream assembly and TCP port scan
29detection.
7e76e049 30
725d5df2
JR
31%description -l pl.UTF-8
32Libnids jest implementacją E-komponentu Systemu Wykrywania Intruzów w
b01e2cdb 33Sieci (NIDS). Emuluje ona stos IP Linuksa 2.0.x. Libnids oferuje
725d5df2
JR
34defragmentację IP, asemblację strumienia TCP oraz wykrywanie
35skanowania portów TCP.
7e76e049
AM
36
37%package devel
d7b89e39 38Summary: Header files and development documentation for libnids
fef6daae 39Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do libnids
7e76e049 40Group: Development/Libraries
6dc93f3b 41Requires: %{name} = %{epoch}:%{version}-%{release}
412ab953 42Requires: libpcap-devel
7e76e049
AM
43
44%description devel
d7b89e39 45Header files and development documentation for libnids.
7e76e049 46
725d5df2
JR
47%description devel -l pl.UTF-8
48Pliki nagłówkowe i dokumetacja do libnids.
7e76e049
AM
49
50%package static
51Summary: Static libnids library
fef6daae 52Summary(pl.UTF-8): Biblioteka statyczna libnids
7e76e049 53Group: Development/Libraries
6dc93f3b 54Requires: %{name}-devel = %{epoch}:%{version}-%{release}
7e76e049
AM
55
56%description static
57Static libnids library.
58
725d5df2 59%description static -l pl.UTF-8
7e76e049
AM
60Biblioteka statyczna libnids.
61
62%prep
63%setup -q
64%patch0 -p1
c62029d6 65%patch1 -p1
7e76e049
AM
66
67%build
6dc93f3b 68cp -f /usr/share/automake/config.sub .
a163dac2 69%{__autoconf}
c62029d6 70%{__autoheader}
9215ba27
JB
71%configure \
72 --enable-shared
7897d56c 73
7e76e049
AM
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
1003d8e3 79%{__make} install \
80 install_prefix=$RPM_BUILD_ROOT
7e76e049 81
7e76e049
AM
82%clean
83rm -rf $RPM_BUILD_ROOT
84
c62029d6
JB
85%post -p /sbin/ldconfig
86%postun -p /sbin/ldconfig
87
7e76e049
AM
88%files
89%defattr(644,root,root,755)
412ab953
JB
90%doc CHANGES README CREDITS MISC doc/{API.html,LINUX,PERFORMANCE,TESTS,bugtraq_post}
91%attr(755,root,root) %{_libdir}/libnids.so.%{version}
7e76e049
AM
92
93%files devel
94%defattr(644,root,root,755)
412ab953
JB
95%attr(755,root,root) %{_libdir}/libnids.so
96%{_includedir}/nids.h
97%{_mandir}/man3/libnids.3*
7e76e049
AM
98
99%files static
100%defattr(644,root,root,755)
412ab953 101%{_libdir}/libnids.a
This page took 0.141717 seconds and 4 git commands to generate.