CVS_BADROOT defined to enable use of cvs by "root" user
authorshort <>
Sun, 7 Oct 2001 11:33:26 +0000 (11:33 +0000)
committershort <>
Sun, 7 Oct 2001 11:33:26 +0000 (11:33 +0000)
src/rpm/SOURCES/cvs-1.11-badroot.patch [new file with mode: 0644]
src/rpm/SPECS/cvs.spec

diff --git a/src/rpm/SOURCES/cvs-1.11-badroot.patch b/src/rpm/SOURCES/cvs-1.11-badroot.patch
new file mode 100644 (file)
index 0000000..f8761c4
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ru cvs-1.11-orig/src/options.h.in cvs-1.11/src/options.h.in
+--- cvs-1.11-orig/src/options.h.in     Wed Jan 27 23:58:14 1999
++++ cvs-1.11/src/options.h.in  Fri Aug 31 10:31:37 2001
+@@ -136,7 +136,7 @@
+  * the lines below.
+  */
+ #ifndef CVS_BADROOT
+-#define       CVS_BADROOT
++/*#define     CVS_BADROOT*/
+ #endif
+ /* Define this to enable the SETXID support.  The way to use this is
index 04765dd..d6cee6d 100644 (file)
@@ -2,7 +2,7 @@
 Summary: A version control system.
 Name: cvs
 Version: 1.11
-Release: 3_nokerberos_static
+Release: 3_nokerberos_static_badroot
 Copyright: GPL
 Group: Development/Tools
 Source: ftp://ftp.cvshome.org/pub/cvs-%{version}/cvs-%{version}.tar.gz
@@ -16,6 +16,7 @@ Patch6: cvs-1.10.8-errno.patch
 Patch7: cvs-1.11-security.patch
 Patch8: cvs-1.11-existence.patch
 Patch100: cvs-1.11-umask022.patch
+Patch101: cvs-1.11-badroot.patch
 Prereq: /sbin/install-info
 Prefix: %{_prefix}
 Buildroot: %{_tmppath}/%{name}-root
@@ -52,6 +53,7 @@ Install the cvs package if you need to use a version control system.
 %patch7 -p1 -b .security
 %patch8 -p1 -b .existence
 %patch100 -p1 -b .umask022
+%patch101 -p1 -b .badroot
 
 %build
 autoheader