[Pkg-irc-commits] r178 - in /packages/inspircd/trunk/debian/patches: 01_remove_libIRCDfoo_stuff.dpatch 02_makeclean.dpatch 03_disable_chmod.dpatch
cate at users.alioth.debian.org
cate at users.alioth.debian.org
Thu Mar 6 07:35:23 UTC 2008
Author: cate
Date: Thu Mar 6 07:35:23 2008
New Revision: 178
URL: http://svn.debian.org/wsvn/pkg-irc/?sc=1&rev=178
Log:
oops, really add the patches: add 02_makeclean.dpatch and 03_disable_chmod.dpatch
Added:
packages/inspircd/trunk/debian/patches/02_makeclean.dpatch
packages/inspircd/trunk/debian/patches/03_disable_chmod.dpatch
Removed:
packages/inspircd/trunk/debian/patches/01_remove_libIRCDfoo_stuff.dpatch
Added: packages/inspircd/trunk/debian/patches/02_makeclean.dpatch
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/patches/02_makeclean.dpatch?rev=178&op=file
==============================================================================
--- packages/inspircd/trunk/debian/patches/02_makeclean.dpatch (added)
+++ packages/inspircd/trunk/debian/patches/02_makeclean.dpatch Thu Mar 6 07:35:23 2008
@@ -1,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## makeclean.dpatch by <cate at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: add -f flag, allowing to do twice make clean
+## DP: remove also ./inspircd file
+
+ at DPATCH@
+diff -urNad trunk~/.Makefile.inc trunk/.Makefile.inc
+--- trunk~/.Makefile.inc 2007-07-16 20:18:03.000000000 +0200
++++ trunk/.Makefile.inc 2008-03-05 08:54:54.000000000 +0100
+@@ -201,11 +201,12 @@
+
+ configureclean:
+ rm -f .config.cache
+- rm src/modules/Makefile
+- rm src/Makefile
+- rm Makefile
+- rm include/inspircd_config.h
+- rm include/inspircd_se_config.h
++ rm -f src/modules/Makefile
++ rm -f src/Makefile
++ rm -f Makefile
++ rm -f include/inspircd_config.h
++ rm -f include/inspircd_se_config.h
++ rm -f inspircd
+
+ distclean: modclean clean configureclean
+
Added: packages/inspircd/trunk/debian/patches/03_disable_chmod.dpatch
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/patches/03_disable_chmod.dpatch?rev=178&op=file
==============================================================================
--- packages/inspircd/trunk/debian/patches/03_disable_chmod.dpatch (added)
+++ packages/inspircd/trunk/debian/patches/03_disable_chmod.dpatch Thu Mar 6 07:35:23 2008
@@ -1,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_disable_chmod.dpatch by <cate at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Don't change permission of configuration file!
+## DP: we don't want to override sysadmin policies!
+
+ at DPATCH@
+diff -urNad trunk~/src/configreader.cpp trunk/src/configreader.cpp
+--- trunk~/src/configreader.cpp 2008-01-10 14:45:53.000000000 +0100
++++ trunk/src/configreader.cpp 2008-03-05 08:57:49.000000000 +0100
+@@ -967,7 +967,7 @@
+ }
+
+ /* Fix the chmod of the file to restrict it to the current user and group */
+- chmod(filename,0600);
++ //chmod(filename,0600);
+
+ for (unsigned int t = 0; t < include_stack.size(); t++)
+ {
More information about the Pkg-irc-commits
mailing list