SPECS: snort.spec - 2.4.4 rel 2 adds clamav preprocessor support (...

mguevara mguevara at pld-linux.org
Mon Jun 12 18:43:47 CEST 2006


Author: mguevara                     Date: Mon Jun 12 16:43:47 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 2.4.4 rel 2 adds clamav preprocessor support (bcond)

---- Files affected:
SPECS:
   snort.spec (1.130 -> 1.131) 

---- Diffs:

================================================================
Index: SPECS/snort.spec
diff -u SPECS/snort.spec:1.130 SPECS/snort.spec:1.131
--- SPECS/snort.spec:1.130	Tue Apr 11 16:58:18 2006
+++ SPECS/snort.spec	Mon Jun 12 18:43:42 2006
@@ -1,6 +1,9 @@
 # $Revision$, $Date$
 #
 # TODO: - snort rules - fix description
+#	- clamav support - cleanup, add some docs
+#	- snort_inline - prepare separate sets of config-files, rules 
+#	  and startup script, adds some docs
 #
 # Conditional build:
 %bcond_without	pgsql	# build without PostgreSQL storage support
@@ -8,6 +11,7 @@
 %bcond_without	snmp	# build without SNMP support
 %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)
 #
 Summary:	Network intrusion detection system (IDS/IPS)
 Summary(pl):	System wykrywania intruzów w sieciach (IDS/IPS)
@@ -16,7 +20,7 @@
 Summary(uk):	Snort - ÓÉÓÔĹÍÁ ×ÉŃ×ĚĹÎÎŃ ÓĐŇĎ ×ÔĎŇÇÎĹÎÎŃ × ÍĹŇĹÖŐ
 Name:		snort
 Version:	2.4.4
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Networking
 Source0:	http://www.snort.org/dl/current/%{name}-%{version}.tar.gz
@@ -28,6 +32,8 @@
 Source4:	%{name}.conf
 Patch0:		%{name}-libnet1.patch
 Patch1:		%{name}-lib64.patch
+# http://www.bleedingsnort.com/staticpages/index.php?page=snort-clamav
+Patch2:		%{name}-2.4.3-clamonly.diff
 URL:		http://www.snort.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -43,6 +49,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.202
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	zlib-devel
+%{?with_clamav:BuildRequires:	clamav-devel}
 Requires(post,preun):	/sbin/chkconfig
 Requires(postun):	/usr/sbin/groupdel
 Requires(postun):	/usr/sbin/userdel
@@ -144,6 +151,7 @@
 %if "%{_lib}" == "lib64"
 %patch1 -p1
 %endif
+%{?with_clamav:%patch2 -p1 }
 
 %build
 %{__aclocal}
@@ -162,7 +170,8 @@
 	--enable-perfmonitor \
 	--with%{!?with_pgsql:out}-postgresql \
 	--with%{!?with_mysql:out}-mysql \
-	%{?with_prelude:--enable-prelude }
+	%{?with_prelude:--enable-prelude } \
+	%{?with_clamav:--enable-clamav --with-clamav-defdir=/var/lib/clamav}
 
 %{__make}
 
@@ -242,6 +251,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.131  2006/06/12 16:43:42  mguevara
+- 2.4.4 rel 2 adds clamav preprocessor support (bcond)
+
 Revision 1.130  2006/04/11 14:58:18  mguevara
 - 2.4.4 rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/snort.spec?r1=1.130&r2=1.131&f=u



More information about the pld-cvs-commit mailing list