cvs UMASK_DFLT is now 022 instead of 002
authorshort <>
Wed, 26 Sep 2001 14:43:39 +0000 (14:43 +0000)
committershort <>
Wed, 26 Sep 2001 14:43:39 +0000 (14:43 +0000)
 - required as I'm in primary common group "users" on paulina.vellum.cz

src/rpm/SOURCES/cvs-1.11-umask022.patch [new file with mode: 0644]
src/rpm/SPECS/cvs.spec

diff --git a/src/rpm/SOURCES/cvs-1.11-umask022.patch b/src/rpm/SOURCES/cvs-1.11-umask022.patch
new file mode 100644 (file)
index 0000000..4fc96ec
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ru cvs-1.11-prep/src/options.h.in cvs-1.11/src/options.h.in
+--- cvs-1.11-prep/src/options.h.in     Wed Jan 27 23:58:14 1999
++++ cvs-1.11/src/options.h.in  Wed Sep 26 16:34:25 2001
+@@ -63,7 +63,7 @@
+  * octal number.
+  */
+ #ifndef UMASK_DFLT
+-#define       UMASK_DFLT      002
++#define       UMASK_DFLT      022
+ #endif
+ /*
index 4f4d811..04765dd 100644 (file)
@@ -15,6 +15,7 @@ Patch4: cvs-1.10.8-zlib.patch
 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
 Prereq: /sbin/install-info
 Prefix: %{_prefix}
 Buildroot: %{_tmppath}/%{name}-root
@@ -50,6 +51,7 @@ Install the cvs package if you need to use a version control system.
 %patch6 -p1 -b .errno
 %patch7 -p1 -b .security
 %patch8 -p1 -b .existence
+%patch100 -p1 -b .umask022
 
 %build
 autoheader