[Pkg-voip-commits] r5651 - in /freepbx-modules/trunk/debian: changelog patches/fix_chmod patches/series
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Thu May 1 18:58:29 UTC 2008
Author: tzafrir-guest
Date: Thu May 1 18:58:29 2008
New Revision: 5651
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5651
Log:
Patch fix_chmod: leave chmod of conf files to the postinst script.
Added:
freepbx-modules/trunk/debian/patches/fix_chmod
Modified:
freepbx-modules/trunk/debian/changelog
freepbx-modules/trunk/debian/patches/series
Modified: freepbx-modules/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/freepbx-modules/trunk/debian/changelog?rev=5651&op=diff
==============================================================================
--- freepbx-modules/trunk/debian/changelog (original)
+++ freepbx-modules/trunk/debian/changelog Thu May 1 18:58:29 2008
@@ -20,5 +20,6 @@
* Patch system_phpsysinfo: use the system copy of phpsysinfo in the
dashboard.
* Patch directory_star411: use *411 as a directory feature code.
+ * Patch fix_chmod: leave chmod of conf files to the postinst script.
- -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Wed, 30 Apr 2008 15:18:49 +0300
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Thu, 01 May 2008 21:57:39 +0300
Added: freepbx-modules/trunk/debian/patches/fix_chmod
URL: http://svn.debian.org/wsvn/pkg-voip/freepbx-modules/trunk/debian/patches/fix_chmod?rev=5651&op=file
==============================================================================
--- freepbx-modules/trunk/debian/patches/fix_chmod (added)
+++ freepbx-modules/trunk/debian/patches/fix_chmod Thu May 1 18:58:29 2008
@@ -1,0 +1,36 @@
+A number of FreePBX modules tried to chmod extra include files that they
+potentially create to make sure that they are still readable to
+Asterisk. This creates unnecessary warnings.
+
+We take care of permissions in postinst script anyway.
+
+--- freepbx-modules-2.3.1.orig/modules/disa/functions.inc.php
++++ freepbx-modules-2.3.1/modules/disa/functions.inc.php
+@@ -37,7 +37,6 @@ function disa_get_config($engine) {
+ fwrite($fh, "$pin|".$item['context']."|".$item['cid']."\n");
+ }
+ fclose($fh);
+- chmod($filename, 0660);
+ } else {
+ $nopass = true;
+ }
+--- freepbx-modules-2.3.1.orig/modules/parking/functions.inc.php
++++ freepbx-modules-2.3.1/modules/parking/functions.inc.php
+@@ -70,7 +70,6 @@ function parking_get_config($engine) {
+ fwrite($fh, ";*** PARKING LOT HAS BEEN DISABLED ***\n");
+ }
+ fclose($fh);
+- chmod($filename, 0660);
+ break;
+ }
+ }
+--- freepbx-modules-2.3.1.orig/modules/parking/uninstall.php
++++ freepbx-modules-2.3.1/modules/parking/uninstall.php
+@@ -25,7 +25,6 @@ function parking_remove_config() {
+ fwrite($fh, ";*** The parking lot module has been removed! ***\n;\n");
+ fwrite($fh, ";*** Edits will be preserved unless the module is reinstalled. ***\n;\n");
+ fclose($fh);
+- chmod($filename, 0660);
+ }
+
+ ?>
Modified: freepbx-modules/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/freepbx-modules/trunk/debian/patches/series?rev=5651&op=diff
==============================================================================
--- freepbx-modules/trunk/debian/patches/series (original)
+++ freepbx-modules/trunk/debian/patches/series Thu May 1 18:58:29 2008
@@ -1,3 +1,4 @@
+fix_chmod
directory_star411
system_phpsysinfo
sqlite_trunk_query
More information about the Pkg-voip-commits
mailing list