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