rpms/snort/FC-3 README.fedora,NONE,1.1 snort.spec,1.5,1.6
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Thu Mar 30 04:54:54 UTC 2006
Author: ausil
Update of /cvs/extras/rpms/snort/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9953
Modified Files:
snort.spec
Added Files:
README.fedora
Log Message:
add readme file with rules and run a make clean so configure runs correctly
--- NEW FILE README.fedora ---
- Why is there no Rules in this package?
* sourcefire licenses the rules under a different license than snort.
Sourcefire VRT Certified Rules are the official rules of snort.org.
Each rule has been rigorously tested against the same standards the
VRT uses for Sourcefire customers.
* Subscribers receive real-time rules updates as they are available â get more subscription highlights here
* Registered users can access rule updates 5 days after release to subscription users.
* Unregistered users receive a static ruleset at the time of each major Snort Release
Index: snort.spec
===================================================================
RCS file: /cvs/extras/rpms/snort/FC-3/snort.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- snort.spec 9 Mar 2006 19:11:25 -0000 1.5
+++ snort.spec 30 Mar 2006 04:54:54 -0000 1.6
@@ -1,11 +1,12 @@
Summary: Intrusion detection system
Name: snort
Version: 2.4.4
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: Applications/Internet
Source0: http://www.snort.org/dl/current/snort-%{version}.tar.gz
Source1: snortd
+Source2: README.fedora
Patch: snort-2.4.3-configure64.patch
Url: http://www.snort.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -88,9 +89,6 @@
Snort has a real-time alerting capabilty, with alerts being sent to syslog,
a seperate "alert" file, or as a WinPopup message via Samba's smbclient
-This version is compiled without database support. Edit the spec file
-and rebuild the rpm to enable it.
-
Edit %{_sysconfdir}/snort.conf to configure snort and use snort.d to start snort
This rpm is different from previous rpms and while it will not clobber
@@ -152,6 +150,7 @@
%setup -q
%patch0 -p1 -b .config
+cp %{SOURCE2} doc/
%build
@@ -170,7 +169,7 @@
--with-odbc=no
make %{?_smp_mflags}
mv src/snort snort-plain
-
+make clean
}
# plain+flexresp
@@ -182,6 +181,7 @@
--enable-flexresp
make %{?_smp_mflags}
mv src/snort snort-plain+flexresp
+make clean
}
# mysql+flexresp
@@ -193,6 +193,7 @@
--enable-flexresp
make %{?_smp_mflags}
mv src/snort snort-mysql+flexresp
+make clean
}
# mysql
@@ -203,6 +204,7 @@
--with-odbc=no
make %{?_smp_mflags}
mv src/snort snort-mysql
+make clean
}
@@ -216,6 +218,7 @@
--enable-flexresp
make %{?_smp_mflags}
mv src/snort snort-postgresql+flexresp
+make clean
}
# postgresql
@@ -226,6 +229,7 @@
--with-odbc=no
make %{?_smp_mflags}
mv src/snort snort-postgresql
+make clean
}
# snmp
@@ -239,6 +243,7 @@
make %{?_smp_mflags}
mv src/snort snort-snmp
+make clean
}
@@ -253,7 +258,7 @@
--with-openssl
make %{?_smp_mflags}
mv src/snort snort-snmp+flexresp
-# make distclean
+ make clean
}
# bloat
@@ -267,9 +272,11 @@
--with-openssl
make %{?_smp_mflags}
mv src/snort snort-bloat
-# make distclean
+make clean
}
+#remove Makefile stuff from docs
+rm doc/Makefile*
%install
if [ -d %{buildroot} ]; then
@@ -295,7 +302,8 @@
}
install snort.8 %{buildroot}%{_mandir}/man8
-install etc/reference.config etc/classification.config etc/snort.conf %{buildroot}%{_sysconfdir}
+mkdir %{buildroot}%{_sysconfdir}/snort
+install etc/reference.config etc/classification.config etc/snort.conf %{buildroot}%{_sysconfdir}/snort
install %{SOURCE1} %{buildroot}/etc/rc.d/init.d
perl -pi -e 's!var RULE_PATH ../rules!var RULE_PATH %{_sysconfdir}!' %{buildroot}%{_sysconfdir}/snort.conf
@@ -355,7 +363,7 @@
%files
%defattr(-,root,root)
-%doc doc/*
+%doc doc/*
%attr(755,root,root) %{_sbindir}/snort-plain
# handle compressed man pages.
@@ -390,6 +398,10 @@
%changelog
+* Wed Mar 29 2006 Dennis Gilmore <dennis at ausil.us> - 2.4.4-2
+- Add fedora README
+- do make clean to make sure that each configure runs properly
+
* Thu Mar 09 2006 Dennis Gilmore <dennis at ausil.us> - 2.4.4-1
- Update to 2.4.4
- Fixes CVE-2006-0839
More information about the fedora-extras-commits
mailing list