summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMads Randstoft (mazzachre) <mads_randstoft@yahoo.dk>2008-10-08 10:46:08 +0000
committerMads Randstoft (mazzachre) <mads_randstoft@yahoo.dk>2008-10-08 10:46:08 +0000
commit95272a58a2b1e1803c5773fee01a19abde6d0402 (patch)
tree16ffb6283c44afaa79b4d289fe5797b47ec2d899 /net-im
parentnet-im/tigase-server: New EBuild for Tigase Server (diff)
downloadsunrise-reviewed-95272a58a2b1e1803c5773fee01a19abde6d0402.tar.gz
sunrise-reviewed-95272a58a2b1e1803c5773fee01a19abde6d0402.tar.bz2
sunrise-reviewed-95272a58a2b1e1803c5773fee01a19abde6d0402.zip
net-im/tigase-server: Fixed logging problem with javalog rights
svn path=/sunrise/; revision=7197
Diffstat (limited to 'net-im')
-rw-r--r--net-im/tigase-server/Manifest4
-rw-r--r--net-im/tigase-server/files/default_config.patch2
-rw-r--r--net-im/tigase-server/tigase-server-9999_pre2.ebuild3
3 files changed, 6 insertions, 3 deletions
diff --git a/net-im/tigase-server/Manifest b/net-im/tigase-server/Manifest
index 5b63f41b3..d10b6dcda 100644
--- a/net-im/tigase-server/Manifest
+++ b/net-im/tigase-server/Manifest
@@ -1,7 +1,7 @@
AUX classpaths.patch 1353 RMD160 d4108e2629e309d0495e75a039d3084864b908dc SHA1 81d0f0c657af9f18a7e05b2eadff5833d54a599e SHA256 e44585d895a3d3759b4516ab6cc1808b985a270ab9668379f9ca61b591c9c99c
AUX conf_d_tigase 187 RMD160 ae8d29f67017506298ad19235555c0fe3a844ec3 SHA1 958e0dfb910f872e6e9f89491580c388d9af562d SHA256 228b292fd577c84870871b40a555b511685afd28e60901e9b215b98b6d74bc46
-AUX default_config.patch 2698 RMD160 b0fb7e9729b0d383ee2b028a75f8255b73d11438 SHA1 0664ee0d267be3d2aa521deb750f2c9c93146342 SHA256 bbcff0a405ea98212ecd18a4b4dbf0b1ec65e455aa1a5dcb1f1262ff08059c9c
+AUX default_config.patch 2705 RMD160 07809f7251bdc884230566829a9660740468b229 SHA1 a32b00deccb6f4edd1d4ac2f0835d1e8ad1e5378 SHA256 69bfd1509c83e95a1cbd28319924c9f0341c592f06eaaa943d73baa48eb5ce8b
AUX init_d_tigase 1109 RMD160 268e9f94c5472c82927e0251647eab1b8b38b0a0 SHA1 1f18338d5c9c4778659890d62644f3f7a22d62fd SHA256 55cdecc82b9d57ce776f53a0e358b2e8adf512acce2774adc6f738908647cba4
-EBUILD tigase-server-9999_pre2.ebuild 2027 RMD160 426210123e11cee7274f6d575ac2816430fb7655 SHA1 7223fd7d320b4adfec574f391a7216b8f609e2e4 SHA256 6aab5b425e6af1e4da4523fae53b39aa266cd5dcf010d685e620e2dfc3d1ad18
+EBUILD tigase-server-9999_pre2.ebuild 2093 RMD160 b9fb4e54b8cfed6c0a55acf51aa60003afbdd681 SHA1 5a66c71dddf48cf90d6201a419aa0fdabfc0cf88 SHA256 52bc2780e38cb35da49ca0b9f33c1f51bab8ea1ef890f6c30f3f51e9458732a7
MISC ChangeLog 373 RMD160 722e9fe62e2c844ec2e7612f68a547609c6fd770 SHA1 b54bd0deb66705487923a2088255e239b5c77df8 SHA256 4a2b2e251ab1e2a0e29913edee2b329a38cf9f15add19c1ebe168de433405790
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-im/tigase-server/files/default_config.patch b/net-im/tigase-server/files/default_config.patch
index 598c29f1a..5e0a0cb71 100644
--- a/net-im/tigase-server/files/default_config.patch
+++ b/net-im/tigase-server/files/default_config.patch
@@ -20,7 +20,7 @@ Index: src/main/java/tigase/conf/Configurator.java
defaults.put(LOGGING_KEY + "java.util.logging.FileHandler.limit", "10000000");
defaults.put(LOGGING_KEY + "java.util.logging.FileHandler.pattern",
- "logs/tigase.log");
-+ "/var/log/tigase.log");
++ "/var/log/tigase/tigase.log");
defaults.put(LOGGING_KEY + "tigase.useParentHandlers", "true");
if (params.get(GEN_DEBUG) != null) {
defaults.put(LOGGING_KEY + ".level", "INFO");
diff --git a/net-im/tigase-server/tigase-server-9999_pre2.ebuild b/net-im/tigase-server/tigase-server-9999_pre2.ebuild
index 4901264df..eb092446e 100644
--- a/net-im/tigase-server/tigase-server-9999_pre2.ebuild
+++ b/net-im/tigase-server/tigase-server-9999_pre2.ebuild
@@ -60,6 +60,8 @@ src_install() {
insinto /var/lib/tigase/certificates
insopts -m0600
doins certs/*
+
+ dodir /var/log/tigase
}
pkg_preinst() {
@@ -67,6 +69,7 @@ pkg_preinst() {
enewuser tigase -1 -1 /dev/null tigase
fowners -R tigase:tigase /var/lib/tigase
+ fowners -R tigase:tigase /var/log/tigase
}
pkg_postinst() {