-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsnort-openappid.spec
44 lines (36 loc) · 1.25 KB
/
snort-openappid.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
%global debug_package %{nil}
Summary: Cisco OpenAppId
License: GNU General Public License
Group: Libraries/Network
Name: snort-openappid
Version: 308
Release: 1%{dist}
Source: snort-openappid.tar.gz
# Download from https://snort.org/downloads/openappid/9552
URL: http://www.snort.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: snort
%description
OpenAppId is an open, application-focused detection language and processing module for Snort that enables users to create, share, and implement application and service detection.
%prep
%setup -q -n odp
%build
%install
%{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/snort/apps/odp
%{__mv} appid.conf appMapping.data version.conf libs lua port $RPM_BUILD_ROOT%{_sysconfdir}/snort/apps/odp/
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%attr(0644,root,root) %config %{_sysconfdir}/snort/apps/odp/appid.conf
%{_sysconfdir}/snort/apps/odp/appMapping.data
%{_sysconfdir}/snort/apps/odp/version.conf
%{_sysconfdir}/snort/apps/odp/libs
%{_sysconfdir}/snort/apps/odp/lua
%dir %{_sysconfdir}/snort/apps/odp/port
%doc AUTHORS
%doc LICENSE
%doc README
%changelog
* Mon Mar 11 2019 Nobuyuki Ito <[email protected]> - 308-1
- Initial release