LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File project.diff of Package snort (Project home:frispete:tools)

--- snort.changes.orig
+++ snort.changes
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri May  9 16:05:47 UTC 2014 - hpj@urpla.net
+
+- Update to 2.9.4:
+  + see /usr/share/doc/packages/ChangeLog for details
+- don't attempt to install schemas in documentation
+
+-------------------------------------------------------------------
 Mon Mar 24 13:27:22 UTC 2014 - avvissu@yandex.ru
 
 - Fix unresolvable dependencies for openSUSE:
--- snort.spec.orig
+++ snort.spec
@@ -12,18 +12,20 @@
 
 
 Name:           snort
-Version:        2.9.2
+Version:        2.9.4
 Release:        0
 License:        GPLv2
 Group:          Productivity/Networking/Security
 URL:            http://www.snort.org/
-Source:         %{name}-%{version}.tar.bz2
+Source:         %{name}-%{version}.tar.gz
 Source1:	    snort.init.d
 Source2:        snort.logrotate
 Source3:        snort-rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  automake
 BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:	bison
 BuildRequires:  findutils 
 %if 0%{?suse_version} > 1020
@@ -43,6 +45,7 @@ BuildRequires:  postgresql-devel
 BuildRequires:  zlib-devel
 #to solve conflict raised by libpcap-mmap
 BuildRequires:	libpcap
+BuildRequires:	daq-modules
 #to fix the libdaq check which fails with cannot find -lipq & -lnetfilter_queue
 %if 0%{?suse_version} > 1140
 BuildRequires:  -iptables-devel
@@ -203,8 +206,9 @@ InstallSnort() {
 		%__ln_s %{_initrddir}/snortd %{buildroot}%{_sbindir}/rcsnortd
 		%__install -D -p -m 0644 rpm/snort.sysconfig %{buildroot}%{_var}/adm/fillup-templates/sysconfig.snort
 		%__install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/snort
-		%__mkdir_p %{buildroot}%{_docdir}/snort/schemas
-		%__install -D -p -m 0644 schemas/create_* %{buildroot}%{_docdir}/snort/schemas
+		# no schemas available anymore
+		#%%__mkdir_p %{buildroot}%{_docdir}/snort/schemas
+		#%%__install -D -p -m 0644 schemas/create_* %{buildroot}%{_docdir}/snort/schemas
 		#fix paths in snort.conf
 		%__sed -i -e 's;var RULE_PATH ../rules;var RULE_PATH %{SnortRulesDir};' etc/snort.conf
 		%__sed -i -e 's;\/usr\/local\/lib;%{_libdir}\/snort;' etc/snort.conf
@@ -306,6 +310,7 @@ test "%{buildroot}" != "/" && %__rm -rf
 %{_includedir}/snort
 %{_libdir}/pkgconfig/snort.pc
 %{_libdir}/pkgconfig/snort_preproc.pc
+%{_libdir}/pkgconfig/snort_output.pc
 
 %if %{mysql}
 %files mysql