From 66319f9f861b5e225f612525b2704c3f9dae7f77 Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 7 Oct 2001 11:33:26 +0000 Subject: [PATCH] CVS_BADROOT defined to enable use of cvs by "root" user --- src/rpm/SOURCES/cvs-1.11-badroot.patch | 12 ++++++++++++ src/rpm/SPECS/cvs.spec | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/rpm/SOURCES/cvs-1.11-badroot.patch diff --git a/src/rpm/SOURCES/cvs-1.11-badroot.patch b/src/rpm/SOURCES/cvs-1.11-badroot.patch new file mode 100644 index 0000000..f8761c4 --- /dev/null +++ b/src/rpm/SOURCES/cvs-1.11-badroot.patch @@ -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 diff --git a/src/rpm/SPECS/cvs.spec b/src/rpm/SPECS/cvs.spec index 04765dd..d6cee6d 100644 --- a/src/rpm/SPECS/cvs.spec +++ b/src/rpm/SPECS/cvs.spec @@ -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 -- 1.8.3.1