rpms/snort/devel snort-2.7.0.1-glibc.patch, NONE, 1.1 snort.spec, 1.27, 1.28
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Sat Sep 1 14:04:41 UTC 2007
- Previous message (by thread): rpms/eclipse-rpm-editor/F-7 eclipse-rpm-editor-remove-rpmlint-plugin.patch, NONE, 1.1 eclipse-rpm-editor.spec, NONE, 1.1 fetch-specfile-editor.sh, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/eclipse-rpm-editor/FC-6 eclipse-rpm-editor-remove-rpmlint-plugin.patch, NONE, 1.1 eclipse-rpm-editor.spec, NONE, 1.1 fetch-specfile-editor.sh, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ausil
Update of /cvs/extras/rpms/snort/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4613
Modified Files:
snort.spec
Added Files:
snort-2.7.0.1-glibc.patch
Log Message:
update for glibc open
snort-2.7.0.1-glibc.patch:
--- NEW FILE snort-2.7.0.1-glibc.patch ---
diff -ur snort-2.7.0.1-orig/src/preprocessors/flow/portscan/server_stats.c snort-2.7.0.1/src/preprocessors/flow/portscan/server_stats.c
--- snort-2.7.0.1-orig/src/preprocessors/flow/portscan/server_stats.c 2007-07-03 15:41:53.000000000 -0500
+++ snort-2.7.0.1/src/preprocessors/flow/portscan/server_stats.c 2007-08-31 23:37:33.000000000 -0500
@@ -346,7 +346,7 @@
/* open this description, create it if necessary, always wait on
* sync to disk w/ every write, only write */
- fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY);
+ fd = open(filename, O_CREAT, 0660|O_TRUNC|O_SYNC|O_WRONLY);
if(fd < 0)
{
diff -ur snort-2.7.0.1-orig/src/util.c snort-2.7.0.1/src/util.c
--- snort-2.7.0.1-orig/src/util.c 2007-07-03 15:41:31.000000000 -0500
+++ snort-2.7.0.1/src/util.c 2007-08-31 23:37:41.000000000 -0500
@@ -1841,7 +1841,7 @@
close(2);
#ifdef DEBUG
- open("/tmp/snort.debug", O_CREAT | O_RDWR);
+ open("/tmp/snort.debug", O_CREAT, 0660 | O_RDWR);
#else
open("/dev/null", O_RDWR);
#endif
Index: snort.spec
===================================================================
RCS file: /cvs/extras/rpms/snort/devel/snort.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- snort.spec 1 Sep 2007 03:50:29 -0000 1.27
+++ snort.spec 1 Sep 2007 14:04:08 -0000 1.28
@@ -1,12 +1,13 @@
Summary: Intrusion detection system
Name: snort
Version: 2.7.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2
Group: Applications/Internet
Source0: http://www.snort.org/dl/current/snort-%{version}.tar.gz
Source1: snortd
Source2: README.fedora
+Patch0: snort-2.7.0.1-glibc.patch
Url: http://www.snort.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: libpcap >= 0.4
@@ -142,6 +143,7 @@
%prep
%setup -q
+%patch0 -p1 -b .glibc
cp %{SOURCE2} doc/
sed -i -e 's|libnet-config|libnet-config-1.0|g' configure
sed -i -e 's|\-lnet|\-lnet-1.0|g' configure
@@ -477,6 +479,9 @@
%changelog
+* Fri Aug 31 2007 Dennis Gilmore <dennis at ausil.us> - 2.7.0.1-3
+- fix for glibc open
+
* Fri Aug 31 2007 Dennis Gilmore <dennis at ausil.us> - 2.7.0.1-2
- fix detection of mysql and libnet10
- Previous message (by thread): rpms/eclipse-rpm-editor/F-7 eclipse-rpm-editor-remove-rpmlint-plugin.patch, NONE, 1.1 eclipse-rpm-editor.spec, NONE, 1.1 fetch-specfile-editor.sh, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/eclipse-rpm-editor/FC-6 eclipse-rpm-editor-remove-rpmlint-plugin.patch, NONE, 1.1 eclipse-rpm-editor.spec, NONE, 1.1 fetch-specfile-editor.sh, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list