rpms/tor/devel tor-0.1.2.16-open.patch,NONE,1.1 tor.spec,1.12,1.13
Enrico Scholz (ensc)
fedora-extras-commits at redhat.com
Sat Aug 25 15:44:10 UTC 2007
- Previous message: rpms/pan/F-7 .cvsignore, 1.23, 1.24 pan.spec, 1.34, 1.35 sources, 1.23, 1.24
- Next message: rpms/pan/FC-6 .cvsignore, 1.23, 1.24 pan.spec, 1.34, 1.35 sources, 1.23, 1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ensc
Update of /cvs/extras/rpms/tor/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1633
Modified Files:
tor.spec
Added Files:
tor-0.1.2.16-open.patch
Log Message:
fixed open(2) issue
tor-0.1.2.16-open.patch:
--- NEW FILE tor-0.1.2.16-open.patch ---
--- tor-0.1.2.16/src/common/util.c.open
+++ tor-0.1.2.16/src/common/util.c
@@ -2071,7 +2071,7 @@ finish_daemon(const char *desired_cwd)
}
nullfd = open("/dev/null",
- O_CREAT | O_RDWR | O_APPEND);
+ O_RDWR | O_APPEND);
if (nullfd < 0) {
log_err(LD_GENERAL,"/dev/null can't be opened. Exiting.");
exit(1);
Index: tor.spec
===================================================================
RCS file: /cvs/extras/rpms/tor/devel/tor.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- tor.spec 2 Aug 2007 23:11:33 -0000 1.12
+++ tor.spec 25 Aug 2007 15:43:37 -0000 1.13
@@ -11,7 +11,7 @@
Name: tor
Version: 0.1.2.16
-Release: %release_func 1
+Release: %release_func 2
Group: System Environment/Daemons
License: BSD
Summary: Anonymizing overlay network for TCP (The onion router)
@@ -28,6 +28,7 @@
Source1: http://tor.eff.org/dist/%name-%version.tar.gz.asc
Source2: tor.logrotate
Patch0: tor-0.1.1.26-setgroups.patch
+Patch1: tor-0.1.2.16-open.patch
BuildRoot: %_tmppath/%name-%version-%release-root
BuildRequires: libevent-devel openssl-devel transfig tetex-latex ghostscript
@@ -88,6 +89,7 @@
%prep
%setup -q
%patch0 -p1 -b .setgroups
+%patch1 -p1 -b .open
sed -i -e 's!^\(\# *\)\?DataDirectory .*!DataDirectory %homedir/.tor!' src/config/torrc.sample.in
cat <<EOF >>src/config/torrc.sample.in
@@ -182,6 +184,9 @@
%changelog
+* Sat Aug 25 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.1.2.16-2
+- fixed open(2) issue
+
* Fri Aug 3 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.1.2.16-1
- updated to 0.1.2.16 (SECURITY)
- Previous message: rpms/pan/F-7 .cvsignore, 1.23, 1.24 pan.spec, 1.34, 1.35 sources, 1.23, 1.24
- Next message: rpms/pan/FC-6 .cvsignore, 1.23, 1.24 pan.spec, 1.34, 1.35 sources, 1.23, 1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list