aboutsummaryrefslogtreecommitdiff
path: root/net/tucan/files
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-07-01 01:10:20 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-07-01 01:10:20 +0000
commit728e982e48d868bd59955770be70b479415cd715 (patch)
treed84ae16c65ac95322b88cdad1ae3e3cadb7d106c /net/tucan/files
parent87d76cf2797926b759267725ca3958c4bdc59a83 (diff)
Notes
Diffstat (limited to 'net/tucan/files')
-rw-r--r--net/tucan/files/patch-core__service_config.py6
-rw-r--r--net/tucan/files/patch-core_config.py20
2 files changed, 23 insertions, 3 deletions
diff --git a/net/tucan/files/patch-core__service_config.py b/net/tucan/files/patch-core__service_config.py
index 28ed918b3ad0..1f036e4cb8fb 100644
--- a/net/tucan/files/patch-core__service_config.py
+++ b/net/tucan/files/patch-core__service_config.py
@@ -1,5 +1,5 @@
---- ./core/service_config.py.orig 2009-10-07 01:02:28.000000000 +0200
-+++ ./core/service_config.py 2011-05-22 19:41:52.000000000 +0200
+--- core/service_config.py.orig 2011-06-29 20:00:20.785827385 +0200
++++ core/service_config.py 2011-06-29 20:00:44.438339926 +0200
@@ -18,7 +18,7 @@
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
###############################################################################
@@ -9,7 +9,7 @@
import pickle
import base64
import logging
-@@ -157,6 +157,7 @@
+@@ -184,6 +184,7 @@
def save(self):
""""""
diff --git a/net/tucan/files/patch-core_config.py b/net/tucan/files/patch-core_config.py
new file mode 100644
index 000000000000..9493c12a9bc4
--- /dev/null
+++ b/net/tucan/files/patch-core_config.py
@@ -0,0 +1,20 @@
+--- core/config.py.orig 2011-01-03 20:00:07.000000000 +0100
++++ core/config.py 2011-06-30 01:58:31.000000000 +0200
+@@ -18,7 +18,7 @@
+ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ ###############################################################################
+
+-import os
++import os,stat
+ import uuid
+ import shutil
+ import __builtin__
+@@ -91,6 +91,8 @@
+ package, icon, name, enabled, config = self.service(path)
+ if name:
+ self.set(SECTION_SERVICES, name, path.encode("utf-8"))
++ for service_file in os.listdir(path):
++ os.chmod(path + service_file, stat.S_IRUSR|stat.S_IWUSR)
+ self.save()
+
+ def check_config(self):