SPECS: snort.spec - 2.4.5 - add bcond for vrt rules for registered...
havner
havner at pld-linux.org
Tue Sep 5 10:28:18 CEST 2006
Author: havner Date: Tue Sep 5 08:28:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 2.4.5
- add bcond for vrt rules for registered rules
- add comunity rules
---- Files affected:
SPECS:
snort.spec (1.131 -> 1.132)
---- Diffs:
================================================================
Index: SPECS/snort.spec
diff -u SPECS/snort.spec:1.131 SPECS/snort.spec:1.132
--- SPECS/snort.spec:1.131 Mon Jun 12 18:43:42 2006
+++ SPECS/snort.spec Tue Sep 5 10:28:13 2006
@@ -4,6 +4,7 @@
# - clamav support - cleanup, add some docs
# - snort_inline - prepare separate sets of config-files, rules
# and startup script, adds some docs
+# - snort 2.6
#
# Conditional build:
%bcond_without pgsql # build without PostgreSQL storage support
@@ -12,6 +13,7 @@
%bcond_without inline # build without inline support
%bcond_without prelude # build without prelude support
%bcond_without clamav # build w/o ClamAV preprocessor support (anti-vir)
+%bcond_with registered # build with rules available for registered users
#
Summary: Network intrusion detection system (IDS/IPS)
Summary(pl): System wykrywania intruzów w sieciach (IDS/IPS)
@@ -19,17 +21,24 @@
Summary(ru): Snort - ÓÉÓÔĹÍÁ ĎÂÎÁŇŐÖĹÎÉŃ ĐĎĐŮÔĎË ×ÔĎŇÖĹÎÉŃ × ÓĹÔŘ
Summary(uk): Snort - ÓÉÓÔĹÍÁ ×ÉŃ×ĚĹÎÎŃ ÓĐŇĎ ×ÔĎŇÇÎĹÎÎŃ × ÍĹŇĹÖŐ
Name: snort
-Version: 2.4.4
-Release: 2
-License: GPL v2
+Version: 2.4.5
+Release: 1
+License: GPL v2 (vrt rules on VRT-License)
Group: Networking
Source0: http://www.snort.org/dl/current/%{name}-%{version}.tar.gz
-# Source0-md5: 9dc9060d1f2e248663eceffadfc45e7e
+# Source0-md5: 108b3c20dcbaf3cdb17ea9203342eaaa
Source1: http://www.snort.org/pub-bin/downloads.cgi/Download/vrt_pr/%{name}rules-pr-2.4.tar.gz
# Source1-md5: 35d9a2486f8c0280bb493aa03c011927
-Source2: %{name}.init
-Source3: %{name}.logrotate
-Source4: %{name}.conf
+%if %{with registered}
+Source2: http://www.snort.org/pub-bin/downloads.cgi/Download/vrt_os/%{name}rules-snapshot-CURRENT.tar.gz
+# NoSource2-md5: aea4debd7bbb354905004a9730654655
+NoSource: 2
+%endif
+Source3: http://www.snort.org/pub-bin/downloads.cgi/Download/comm_rules/Community-Rules-2.4.tar.gz
+# Source3-md5: 639d98ed81314723f4dee0b3100f7a19
+Source4: %{name}.init
+Source5: %{name}.logrotate
+Source6: %{name}.conf
Patch0: %{name}-libnet1.patch
Patch1: %{name}-lib64.patch
# http://www.bleedingsnort.com/staticpages/index.php?page=snort-clamav
@@ -146,12 +155,12 @@
Regułki snorta.
%prep
-%setup -q -a1
+%setup -q %{!?with_registered:-a1} %{?with_registered:-a2} -a3
%patch0 -p1
%if "%{_lib}" == "lib64"
%patch1 -p1
%endif
-%{?with_clamav:%patch2 -p1 }
+%{?with_clamav:%patch2 -p1}
%build
%{__aclocal}
@@ -188,9 +197,9 @@
install rules/*.config $RPM_BUILD_ROOT%{_sysconfdir}
install etc/unicode.map $RPM_BUILD_ROOT%{_sysconfdir}
install rules/*.rules $RPM_BUILD_ROOT%{_sysconfdir}/rules
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
-install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
+install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}
mv schemas/create_mysql schemas/create_mysql.sql
mv schemas/create_postgresql schemas/create_postgresql.sql
@@ -251,6 +260,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.132 2006/09/05 08:28:13 havner
+- 2.4.5
+- add bcond for vrt rules for registered rules
+- add comunity rules
+
Revision 1.131 2006/06/12 16:43:42 mguevara
- 2.4.4 rel 2 adds clamav preprocessor support (bcond)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/snort.spec?r1=1.131&r2=1.132&f=u
More information about the pld-cvs-commit
mailing list