From cdfddfb21c7be2d20fa5a553f6765e5244a274ca Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Fri, 3 Feb 2012 12:27:17 +0100 Subject: [PATCH] net-mail/zarafa: Bump (Portage version: 2.2.0_alpha84/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit) --- net-mail/zarafa/ChangeLog | 13 + net-mail/zarafa/Manifest | 21 +- .../files/7.0.5.31880/Datux-sendas.patch | 25 ++ .../files/7.0.5.31880/Datux-spamhook.patch | 199 +++++++++++++ .../zarafa-6.40.1-no-php-conf.patch | 44 +++ .../zarafa-6.40.2-libtcmalloc_shared-1.patch | 19 ++ .../7.0.5.31880/zarafa-7.0.0-package.patch | 62 ++++ .../7.0.5.31880/zarafa-7.0.3-php54.patch | 123 ++++++++ .../zarafa-7.0.3-sysconfig2confd-1.patch | 103 +++++++ net-mail/zarafa/zarafa-7.0.5.31880.ebuild | 273 ++++++++++++++++++ 10 files changed, 881 insertions(+), 1 deletion(-) create mode 100644 net-mail/zarafa/files/7.0.5.31880/Datux-sendas.patch create mode 100644 net-mail/zarafa/files/7.0.5.31880/Datux-spamhook.patch create mode 100644 net-mail/zarafa/files/7.0.5.31880/zarafa-6.40.1-no-php-conf.patch create mode 100644 net-mail/zarafa/files/7.0.5.31880/zarafa-6.40.2-libtcmalloc_shared-1.patch create mode 100644 net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.0-package.patch create mode 100644 net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.3-php54.patch create mode 100644 net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.3-sysconfig2confd-1.patch create mode 100644 net-mail/zarafa/zarafa-7.0.5.31880.ebuild diff --git a/net-mail/zarafa/ChangeLog b/net-mail/zarafa/ChangeLog index 247f0ec..5ce89ec 100644 --- a/net-mail/zarafa/ChangeLog +++ b/net-mail/zarafa/ChangeLog @@ -2,6 +2,19 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*zarafa-7.0.5.31880 (03 Feb 2012) + + 03 Feb 2012; Mario Fetka + +files/7.0.5.31880/Datux-sendas.patch, + +files/7.0.5.31880/zarafa-6.40.1-no-php-conf.patch, + +files/7.0.5.31880/zarafa-6.40.2-libtcmalloc_shared-1.patch, + +files/7.0.5.31880/zarafa-7.0.0-package.patch, + +files/7.0.5.31880/zarafa-7.0.3-php54.patch, + +files/7.0.5.31880/Datux-spamhook.patch, + +files/7.0.5.31880/zarafa-7.0.3-sysconfig2confd-1.patch, + +zarafa-7.0.5.31880.ebuild: + Bump + 01 Feb 2012; Mario Fetka +files/7.0.4.31235/zarafa-7.0.3-php54.patch: add php 5.4 support diff --git a/net-mail/zarafa/Manifest b/net-mail/zarafa/Manifest index 845449a..ad519e0 100644 --- a/net-mail/zarafa/Manifest +++ b/net-mail/zarafa/Manifest @@ -83,6 +83,13 @@ AUX 7.0.4.31235/zarafa-6.40.2-libtcmalloc_shared-1.patch 857 RMD160 c9b89cad232b AUX 7.0.4.31235/zarafa-7.0.0-package.patch 2285 RMD160 ad3f385e60a3d4b52ee831bb7c47739d7324569b SHA1 1bb2a88bd8c25be566f169688b41d583eae4d0a8 SHA256 01a0b3a7acc54273bfdd6d84b67e6fd90d85b63f981f687035897d0516ef86fb AUX 7.0.4.31235/zarafa-7.0.3-php54.patch 4019 RMD160 3432ef42cd7c315a6c2d4c9aafa3fec04a77de5a SHA1 269c7c76e8859c9a2367262e314b8ae220d73902 SHA256 1929e734001df9b8514097c242dd7bb07c54ef7a3423505a7b748532f506a371 AUX 7.0.4.31235/zarafa-7.0.3-sysconfig2confd-1.patch 4759 RMD160 662deed2e46ccc8e35b8e1c52560637a71342919 SHA1 5615c66fdb1bdf83eb691a8051f4e05d0b930e29 SHA256 8de14eb05d7ae145583a6e07fded24c3b4e2d272cc75845f6bcd3a4e4a47b967 +AUX 7.0.5.31880/Datux-sendas.patch 1429 RMD160 bd2b502775fb84bd6899bb3892d36d19ee3d5b8d SHA1 07a5887d02d0ddbd368c46e50eb4267f73aac9f7 SHA256 852e7fc30df15fc534ff6697f8735ee02fe013f2fcb2c7dcd0b4b5f79b9b1032 +AUX 7.0.5.31880/Datux-spamhook.patch 9895 RMD160 b1143f3e2057ee8d1b0a03e757086501769645a6 SHA1 a108a95087ba83f9c1fb0da42ffc5eef1d3755da SHA256 57d4fe122acc168b508b06a0a99ee9dc093080116918d2043fca02bc7022ed2b +AUX 7.0.5.31880/zarafa-6.40.1-no-php-conf.patch 1634 RMD160 1bb4d4357aeeec0b005cd090beb96cb73905f58d SHA1 3da975c330bf09eca894db87aa1888536ee1e206 SHA256 ec79e127c30aeb93fe455bbebbd426645d4d8aa3e1031005ff9177d7f7b9685f +AUX 7.0.5.31880/zarafa-6.40.2-libtcmalloc_shared-1.patch 857 RMD160 c9b89cad232b513db8dad25dba9a7a3b6cdcf007 SHA1 c4d332881ab985f817c8d5c4848f4ec2be91d050 SHA256 82b9e69f6fdb00dea3cdbbc4bdfa94b61303fa022891e1ef0763f019cbe0f350 +AUX 7.0.5.31880/zarafa-7.0.0-package.patch 2285 RMD160 ad3f385e60a3d4b52ee831bb7c47739d7324569b SHA1 1bb2a88bd8c25be566f169688b41d583eae4d0a8 SHA256 01a0b3a7acc54273bfdd6d84b67e6fd90d85b63f981f687035897d0516ef86fb +AUX 7.0.5.31880/zarafa-7.0.3-php54.patch 4019 RMD160 3432ef42cd7c315a6c2d4c9aafa3fec04a77de5a SHA1 269c7c76e8859c9a2367262e314b8ae220d73902 SHA256 1929e734001df9b8514097c242dd7bb07c54ef7a3423505a7b748532f506a371 +AUX 7.0.5.31880/zarafa-7.0.3-sysconfig2confd-1.patch 4759 RMD160 662deed2e46ccc8e35b8e1c52560637a71342919 SHA1 5615c66fdb1bdf83eb691a8051f4e05d0b930e29 SHA256 8de14eb05d7ae145583a6e07fded24c3b4e2d272cc75845f6bcd3a4e4a47b967 AUX junklearn.dspam 924 RMD160 84a39d3297c075f3e4906b40cd84be8e47b90690 SHA1 cfd81182aaec691e7f415709d0db3189bbf9366c SHA256 5060aa1c0fd3e103c0243f5372ec4a393d4aebc7ed7c69a9475adead50d6b37e AUX zarafa-dagent.rc6 2016 RMD160 45cbcb81da30a34be4202f3d9b84f38b12ecf57b SHA1 aaccebd9658dc8da88a32f7300922557fd4c621c SHA256 696d0f7b0c41814ca15d775b0595eb46b95fc59e1cf2a30935eba2c717ff16d6 AUX zarafa-gateway.rc6 747 RMD160 c6094f036814bb289eade6f309b9c48ed6b683d5 SHA1 6182824447f9373badf2b2536d41190451fbceb0 SHA256 d08eb9eb5e548dca24e644aee4196aa135ef79d74d244675eeb9ea47594311b0 @@ -101,6 +108,7 @@ DIST zarafa-bash-completion-6.40.14.31537.zip 2156 RMD160 7f00d115e0abd0d7707e8c DIST zarafa-bash-completion-6.40.9.27553.zip 2156 RMD160 7f00d115e0abd0d7707e8c0815a2beedeb29b28f SHA1 705d6a1dc7e55afdf2c8693de22dbd985842beec SHA256 1343b8d279761f6aaf2263c6d7ba97d1ec21d7436a6f0277a34250fe587f28e5 DIST zarafa-bash-completion-7.0.3.30515.zip 2156 RMD160 7f00d115e0abd0d7707e8c0815a2beedeb29b28f SHA1 705d6a1dc7e55afdf2c8693de22dbd985842beec SHA256 1343b8d279761f6aaf2263c6d7ba97d1ec21d7436a6f0277a34250fe587f28e5 DIST zarafa-bash-completion-7.0.4.31235.zip 2156 RMD160 7f00d115e0abd0d7707e8c0815a2beedeb29b28f SHA1 705d6a1dc7e55afdf2c8693de22dbd985842beec SHA256 1343b8d279761f6aaf2263c6d7ba97d1ec21d7436a6f0277a34250fe587f28e5 +DIST zarafa-bash-completion-7.0.5.31880.zip 2156 RMD160 7f00d115e0abd0d7707e8c0815a2beedeb29b28f SHA1 705d6a1dc7e55afdf2c8693de22dbd985842beec SHA256 1343b8d279761f6aaf2263c6d7ba97d1ec21d7436a6f0277a34250fe587f28e5 DIST zarafa-webaccess-plugin-dspam-6.40.10.28214.tar.gz 5308 RMD160 57f6ce09049067892c48cd411aea848a4586fa1b SHA1 7134477b89efcdc3c7abada75df9a840b5cc90c0 SHA256 04a550a60aa6b5eee4875be6d5f3161752223fd278c4b87d62a31e3a486c5d99 DIST zarafa-webaccess-plugin-dspam-6.40.11.28965.tar.gz 5308 RMD160 57f6ce09049067892c48cd411aea848a4586fa1b SHA1 7134477b89efcdc3c7abada75df9a840b5cc90c0 SHA256 04a550a60aa6b5eee4875be6d5f3161752223fd278c4b87d62a31e3a486c5d99 DIST zarafa-webaccess-plugin-dspam-6.40.12.29942.tar.gz 5308 RMD160 57f6ce09049067892c48cd411aea848a4586fa1b SHA1 7134477b89efcdc3c7abada75df9a840b5cc90c0 SHA256 04a550a60aa6b5eee4875be6d5f3161752223fd278c4b87d62a31e3a486c5d99 @@ -109,6 +117,7 @@ DIST zarafa-webaccess-plugin-dspam-6.40.14.31537.tar.gz 5308 RMD160 57f6ce090490 DIST zarafa-webaccess-plugin-dspam-6.40.9.27553.tar.gz 5308 RMD160 57f6ce09049067892c48cd411aea848a4586fa1b SHA1 7134477b89efcdc3c7abada75df9a840b5cc90c0 SHA256 04a550a60aa6b5eee4875be6d5f3161752223fd278c4b87d62a31e3a486c5d99 DIST zarafa-webaccess-plugin-dspam-7.0.3.30515.tar.gz 5308 RMD160 57f6ce09049067892c48cd411aea848a4586fa1b SHA1 7134477b89efcdc3c7abada75df9a840b5cc90c0 SHA256 04a550a60aa6b5eee4875be6d5f3161752223fd278c4b87d62a31e3a486c5d99 DIST zarafa-webaccess-plugin-dspam-7.0.4.31235.tar.gz 5308 RMD160 57f6ce09049067892c48cd411aea848a4586fa1b SHA1 7134477b89efcdc3c7abada75df9a840b5cc90c0 SHA256 04a550a60aa6b5eee4875be6d5f3161752223fd278c4b87d62a31e3a486c5d99 +DIST zarafa-webaccess-plugin-dspam-7.0.5.31880.tar.gz 5308 RMD160 57f6ce09049067892c48cd411aea848a4586fa1b SHA1 7134477b89efcdc3c7abada75df9a840b5cc90c0 SHA256 04a550a60aa6b5eee4875be6d5f3161752223fd278c4b87d62a31e3a486c5d99 DIST zarafa-webaccess-plugin-google-maps-6.40.10.28214.zip 100943 RMD160 5f2598f678d206fae94230cb7ceb150e8026cf82 SHA1 2d1cf0d5cf415ab1b4cc85ad8b4bc57f7eb34b0b SHA256 0fd861ac242d6937cdc1bc8d53edd9dce5f6348342d4e71bf06c5f5ebea1031e DIST zarafa-webaccess-plugin-google-maps-6.40.11.28965.zip 100943 RMD160 5f2598f678d206fae94230cb7ceb150e8026cf82 SHA1 2d1cf0d5cf415ab1b4cc85ad8b4bc57f7eb34b0b SHA256 0fd861ac242d6937cdc1bc8d53edd9dce5f6348342d4e71bf06c5f5ebea1031e DIST zarafa-webaccess-plugin-google-maps-6.40.12.29942.zip 100943 RMD160 5f2598f678d206fae94230cb7ceb150e8026cf82 SHA1 2d1cf0d5cf415ab1b4cc85ad8b4bc57f7eb34b0b SHA256 0fd861ac242d6937cdc1bc8d53edd9dce5f6348342d4e71bf06c5f5ebea1031e @@ -117,6 +126,7 @@ DIST zarafa-webaccess-plugin-google-maps-6.40.14.31537.zip 100943 RMD160 5f2598f DIST zarafa-webaccess-plugin-google-maps-6.40.9.27553.zip 100943 RMD160 5f2598f678d206fae94230cb7ceb150e8026cf82 SHA1 2d1cf0d5cf415ab1b4cc85ad8b4bc57f7eb34b0b SHA256 0fd861ac242d6937cdc1bc8d53edd9dce5f6348342d4e71bf06c5f5ebea1031e DIST zarafa-webaccess-plugin-google-maps-7.0.3.30515.zip 100943 RMD160 5f2598f678d206fae94230cb7ceb150e8026cf82 SHA1 2d1cf0d5cf415ab1b4cc85ad8b4bc57f7eb34b0b SHA256 0fd861ac242d6937cdc1bc8d53edd9dce5f6348342d4e71bf06c5f5ebea1031e DIST zarafa-webaccess-plugin-google-maps-7.0.4.31235.zip 100943 RMD160 5f2598f678d206fae94230cb7ceb150e8026cf82 SHA1 2d1cf0d5cf415ab1b4cc85ad8b4bc57f7eb34b0b SHA256 0fd861ac242d6937cdc1bc8d53edd9dce5f6348342d4e71bf06c5f5ebea1031e +DIST zarafa-webaccess-plugin-google-maps-7.0.5.31880.zip 100943 RMD160 5f2598f678d206fae94230cb7ceb150e8026cf82 SHA1 2d1cf0d5cf415ab1b4cc85ad8b4bc57f7eb34b0b SHA256 0fd861ac242d6937cdc1bc8d53edd9dce5f6348342d4e71bf06c5f5ebea1031e DIST zarafa-webaccess-plugin-mobile-device-6.40.10.28214.zip 26916 RMD160 ee331c6b01ff3d5360de833eaa4a8f0107613574 SHA1 92a9f572aa510e469290da05e421fab01546688f SHA256 0a641f3e521e4c3b29a8ab54972d7000059c84d37c50e32722cf8e09a5582ee4 DIST zarafa-webaccess-plugin-mobile-device-6.40.11.28965.zip 26916 RMD160 ee331c6b01ff3d5360de833eaa4a8f0107613574 SHA1 92a9f572aa510e469290da05e421fab01546688f SHA256 0a641f3e521e4c3b29a8ab54972d7000059c84d37c50e32722cf8e09a5582ee4 DIST zarafa-webaccess-plugin-mobile-device-6.40.12.29942.zip 26916 RMD160 ee331c6b01ff3d5360de833eaa4a8f0107613574 SHA1 92a9f572aa510e469290da05e421fab01546688f SHA256 0a641f3e521e4c3b29a8ab54972d7000059c84d37c50e32722cf8e09a5582ee4 @@ -125,6 +135,7 @@ DIST zarafa-webaccess-plugin-mobile-device-6.40.14.31537.zip 26916 RMD160 ee331c DIST zarafa-webaccess-plugin-mobile-device-6.40.9.27553.zip 26916 RMD160 ee331c6b01ff3d5360de833eaa4a8f0107613574 SHA1 92a9f572aa510e469290da05e421fab01546688f SHA256 0a641f3e521e4c3b29a8ab54972d7000059c84d37c50e32722cf8e09a5582ee4 DIST zarafa-webaccess-plugin-mobile-device-7.0.3.30515.zip 26916 RMD160 ee331c6b01ff3d5360de833eaa4a8f0107613574 SHA1 92a9f572aa510e469290da05e421fab01546688f SHA256 0a641f3e521e4c3b29a8ab54972d7000059c84d37c50e32722cf8e09a5582ee4 DIST zarafa-webaccess-plugin-mobile-device-7.0.4.31235.zip 26916 RMD160 ee331c6b01ff3d5360de833eaa4a8f0107613574 SHA1 92a9f572aa510e469290da05e421fab01546688f SHA256 0a641f3e521e4c3b29a8ab54972d7000059c84d37c50e32722cf8e09a5582ee4 +DIST zarafa-webaccess-plugin-mobile-device-7.0.5.31880.zip 26916 RMD160 ee331c6b01ff3d5360de833eaa4a8f0107613574 SHA1 92a9f572aa510e469290da05e421fab01546688f SHA256 0a641f3e521e4c3b29a8ab54972d7000059c84d37c50e32722cf8e09a5582ee4 DIST zarafa-webaccess-plugin-smime-6.40.10.28214.zip 3678929 RMD160 3c704ef7b0b0b41ae068c898fbab757d5c507582 SHA1 5e20346ae0f6777526d2d688f0a2eafbaa1f3d73 SHA256 5c9b4c73cf3a649b7b5c3adb17f562490dba21102d8e4c64ccc58327b75b998a DIST zarafa-webaccess-plugin-smime-6.40.11.28965.zip 3678929 RMD160 3c704ef7b0b0b41ae068c898fbab757d5c507582 SHA1 5e20346ae0f6777526d2d688f0a2eafbaa1f3d73 SHA256 5c9b4c73cf3a649b7b5c3adb17f562490dba21102d8e4c64ccc58327b75b998a DIST zarafa-webaccess-plugin-smime-6.40.12.29942.zip 3678929 RMD160 3c704ef7b0b0b41ae068c898fbab757d5c507582 SHA1 5e20346ae0f6777526d2d688f0a2eafbaa1f3d73 SHA256 5c9b4c73cf3a649b7b5c3adb17f562490dba21102d8e4c64ccc58327b75b998a @@ -133,6 +144,7 @@ DIST zarafa-webaccess-plugin-smime-6.40.14.31537.zip 3678929 RMD160 3c704ef7b0b0 DIST zarafa-webaccess-plugin-smime-6.40.9.27553.zip 3678929 RMD160 3c704ef7b0b0b41ae068c898fbab757d5c507582 SHA1 5e20346ae0f6777526d2d688f0a2eafbaa1f3d73 SHA256 5c9b4c73cf3a649b7b5c3adb17f562490dba21102d8e4c64ccc58327b75b998a DIST zarafa-webaccess-plugin-smime-7.0.3.30515.zip 3678929 RMD160 3c704ef7b0b0b41ae068c898fbab757d5c507582 SHA1 5e20346ae0f6777526d2d688f0a2eafbaa1f3d73 SHA256 5c9b4c73cf3a649b7b5c3adb17f562490dba21102d8e4c64ccc58327b75b998a DIST zarafa-webaccess-plugin-smime-7.0.4.31235.zip 3678929 RMD160 3c704ef7b0b0b41ae068c898fbab757d5c507582 SHA1 5e20346ae0f6777526d2d688f0a2eafbaa1f3d73 SHA256 5c9b4c73cf3a649b7b5c3adb17f562490dba21102d8e4c64ccc58327b75b998a +DIST zarafa-webaccess-plugin-smime-7.0.5.31880.zip 3678929 RMD160 3c704ef7b0b0b41ae068c898fbab757d5c507582 SHA1 5e20346ae0f6777526d2d688f0a2eafbaa1f3d73 SHA256 5c9b4c73cf3a649b7b5c3adb17f562490dba21102d8e4c64ccc58327b75b998a DIST zarafa-webaccess-plugin-z-merge-archive-6.40.10.28214.zip 25852 RMD160 61cbb0e75a243f65370c60ed7040a9804174685a SHA1 8c3c0b62f89fe09c0e4867a22995f64b22216b4f SHA256 5b7884c9c19b1428fc5024ed9e674993366665358e0f1ca88610a4bcf534563a DIST zarafa-webaccess-plugin-z-merge-archive-6.40.11.28965.zip 25852 RMD160 61cbb0e75a243f65370c60ed7040a9804174685a SHA1 8c3c0b62f89fe09c0e4867a22995f64b22216b4f SHA256 5b7884c9c19b1428fc5024ed9e674993366665358e0f1ca88610a4bcf534563a DIST zarafa-webaccess-plugin-z-merge-archive-6.40.12.29942.zip 25852 RMD160 61cbb0e75a243f65370c60ed7040a9804174685a SHA1 8c3c0b62f89fe09c0e4867a22995f64b22216b4f SHA256 5b7884c9c19b1428fc5024ed9e674993366665358e0f1ca88610a4bcf534563a @@ -141,6 +153,7 @@ DIST zarafa-webaccess-plugin-z-merge-archive-6.40.14.31537.zip 25852 RMD160 61cb DIST zarafa-webaccess-plugin-z-merge-archive-6.40.9.27553.zip 25852 RMD160 61cbb0e75a243f65370c60ed7040a9804174685a SHA1 8c3c0b62f89fe09c0e4867a22995f64b22216b4f SHA256 5b7884c9c19b1428fc5024ed9e674993366665358e0f1ca88610a4bcf534563a DIST zarafa-webaccess-plugin-z-merge-archive-7.0.3.30515.zip 25852 RMD160 61cbb0e75a243f65370c60ed7040a9804174685a SHA1 8c3c0b62f89fe09c0e4867a22995f64b22216b4f SHA256 5b7884c9c19b1428fc5024ed9e674993366665358e0f1ca88610a4bcf534563a DIST zarafa-webaccess-plugin-z-merge-archive-7.0.4.31235.zip 25852 RMD160 61cbb0e75a243f65370c60ed7040a9804174685a SHA1 8c3c0b62f89fe09c0e4867a22995f64b22216b4f SHA256 5b7884c9c19b1428fc5024ed9e674993366665358e0f1ca88610a4bcf534563a +DIST zarafa-webaccess-plugin-z-merge-archive-7.0.5.31880.zip 25852 RMD160 61cbb0e75a243f65370c60ed7040a9804174685a SHA1 8c3c0b62f89fe09c0e4867a22995f64b22216b4f SHA256 5b7884c9c19b1428fc5024ed9e674993366665358e0f1ca88610a4bcf534563a DIST zarafa-webaccess-theme-dark-6.40.10.28214.tar.gz 12902 RMD160 e749eb36f607144ef3fb6edc1101f2ca6c143586 SHA1 9701c4bdd5be4f1a3b58bbf6f9ca5fb6987d538c SHA256 3ea4d26676c5be8b0ea862fd261600375fe00b1350985b222caa232c28c02b58 DIST zarafa-webaccess-theme-dark-6.40.11.28965.tar.gz 12902 RMD160 e749eb36f607144ef3fb6edc1101f2ca6c143586 SHA1 9701c4bdd5be4f1a3b58bbf6f9ca5fb6987d538c SHA256 3ea4d26676c5be8b0ea862fd261600375fe00b1350985b222caa232c28c02b58 DIST zarafa-webaccess-theme-dark-6.40.12.29942.tar.gz 12902 RMD160 e749eb36f607144ef3fb6edc1101f2ca6c143586 SHA1 9701c4bdd5be4f1a3b58bbf6f9ca5fb6987d538c SHA256 3ea4d26676c5be8b0ea862fd261600375fe00b1350985b222caa232c28c02b58 @@ -149,6 +162,7 @@ DIST zarafa-webaccess-theme-dark-6.40.14.31537.tar.gz 12902 RMD160 e749eb36f6071 DIST zarafa-webaccess-theme-dark-6.40.9.27553.tar.gz 12902 RMD160 e749eb36f607144ef3fb6edc1101f2ca6c143586 SHA1 9701c4bdd5be4f1a3b58bbf6f9ca5fb6987d538c SHA256 3ea4d26676c5be8b0ea862fd261600375fe00b1350985b222caa232c28c02b58 DIST zarafa-webaccess-theme-dark-7.0.3.30515.tar.gz 12902 RMD160 e749eb36f607144ef3fb6edc1101f2ca6c143586 SHA1 9701c4bdd5be4f1a3b58bbf6f9ca5fb6987d538c SHA256 3ea4d26676c5be8b0ea862fd261600375fe00b1350985b222caa232c28c02b58 DIST zarafa-webaccess-theme-dark-7.0.4.31235.tar.gz 12902 RMD160 e749eb36f607144ef3fb6edc1101f2ca6c143586 SHA1 9701c4bdd5be4f1a3b58bbf6f9ca5fb6987d538c SHA256 3ea4d26676c5be8b0ea862fd261600375fe00b1350985b222caa232c28c02b58 +DIST zarafa-webaccess-theme-dark-7.0.5.31880.tar.gz 12902 RMD160 e749eb36f607144ef3fb6edc1101f2ca6c143586 SHA1 9701c4bdd5be4f1a3b58bbf6f9ca5fb6987d538c SHA256 3ea4d26676c5be8b0ea862fd261600375fe00b1350985b222caa232c28c02b58 DIST zarafa-webaccess-theme-orange-6.40.10.28214.tar.gz 12828 RMD160 dbbf3dba6dce99fd94111635076f4abf65f0cbf3 SHA1 1a55492c99bf1f62b56c17394227b2308385b08e SHA256 6ee1c07a77efd38dc4f8ca292df4e0c2645de82d3f9454cf1cd8c119c0fdb532 DIST zarafa-webaccess-theme-orange-6.40.11.28965.tar.gz 12828 RMD160 dbbf3dba6dce99fd94111635076f4abf65f0cbf3 SHA1 1a55492c99bf1f62b56c17394227b2308385b08e SHA256 6ee1c07a77efd38dc4f8ca292df4e0c2645de82d3f9454cf1cd8c119c0fdb532 DIST zarafa-webaccess-theme-orange-6.40.12.29942.tar.gz 12828 RMD160 dbbf3dba6dce99fd94111635076f4abf65f0cbf3 SHA1 1a55492c99bf1f62b56c17394227b2308385b08e SHA256 6ee1c07a77efd38dc4f8ca292df4e0c2645de82d3f9454cf1cd8c119c0fdb532 @@ -157,6 +171,7 @@ DIST zarafa-webaccess-theme-orange-6.40.14.31537.tar.gz 12828 RMD160 dbbf3dba6dc DIST zarafa-webaccess-theme-orange-6.40.9.27553.tar.gz 12828 RMD160 dbbf3dba6dce99fd94111635076f4abf65f0cbf3 SHA1 1a55492c99bf1f62b56c17394227b2308385b08e SHA256 6ee1c07a77efd38dc4f8ca292df4e0c2645de82d3f9454cf1cd8c119c0fdb532 DIST zarafa-webaccess-theme-orange-7.0.3.30515.tar.gz 12828 RMD160 dbbf3dba6dce99fd94111635076f4abf65f0cbf3 SHA1 1a55492c99bf1f62b56c17394227b2308385b08e SHA256 6ee1c07a77efd38dc4f8ca292df4e0c2645de82d3f9454cf1cd8c119c0fdb532 DIST zarafa-webaccess-theme-orange-7.0.4.31235.tar.gz 12828 RMD160 dbbf3dba6dce99fd94111635076f4abf65f0cbf3 SHA1 1a55492c99bf1f62b56c17394227b2308385b08e SHA256 6ee1c07a77efd38dc4f8ca292df4e0c2645de82d3f9454cf1cd8c119c0fdb532 +DIST zarafa-webaccess-theme-orange-7.0.5.31880.tar.gz 12828 RMD160 dbbf3dba6dce99fd94111635076f4abf65f0cbf3 SHA1 1a55492c99bf1f62b56c17394227b2308385b08e SHA256 6ee1c07a77efd38dc4f8ca292df4e0c2645de82d3f9454cf1cd8c119c0fdb532 DIST zcp-6.40.10-28214-sles-11-i586-free.tar.gz 24512897 RMD160 af1f2819f1494d5cf53ddfd02b2842a3489e5737 SHA1 e567bd051b010319cb045f6b90ddc645cf304fa9 SHA256 f8f2813a3ed511fa305cb12c30232e7ede94be67c981f2624ea7517565fe35c6 DIST zcp-6.40.10-28214-sles-11-x86_64-free.tar.gz 24445806 RMD160 26b1a8e5372591625a030d94603fbd03ffadf807 SHA1 a2d8635034f245bde22c78ee7a5e3aa7792a10ca SHA256 cba3334b76e82f2555b6209285889799fc0e4593d360c43a35f2dcf2c0e0315e DIST zcp-6.40.10.tar.gz 5452296 RMD160 8ed6388e7ff310edff30a75dc3758eedd7911d1b SHA1 d35502d8ac4dba962c0bf8449c4b9e7cd9fba0f7 SHA256 50eef47cb354b9eca4bd4e2af6e0422aac5db5fdb35486197312f5f96b34abfc @@ -184,6 +199,9 @@ DIST zcp-7.0.3.tar.gz 6137777 RMD160 bf0885470488cced567f6c9a519cdea51c57b317 SH DIST zcp-7.0.4-31235-sles-11-i586-free.tar.gz 27192843 RMD160 fa6010cbc99fa9de175944ee379c2c931ef443b0 SHA1 1c8062694893442605b5e750994cd2ba65cd50cc SHA256 759c1a27bd15339ff7a0df4e2350a27199ad087f03dfc0e00aa3e92729356b23 DIST zcp-7.0.4-31235-sles-11-x86_64-free.tar.gz 27076140 RMD160 d1501950518470bfa26184fd233361faba1fa469 SHA1 90d36e17a76a29fb05e25644beb5e8fd47ed1580 SHA256 03d1202a8ddec969f2a123cf6729bed7a5e1ebb837476c6343ae6679307f654b DIST zcp-7.0.4.tar.gz 6116000 RMD160 10fe2e070f6ae9278a8fe60f3fd71216790fada7 SHA1 ebfc7dbf09cbbffec982f4e9796be9b8cfee265f SHA256 b4be7f08a027a4ac7daa986fdb2791e069bdf23c155675181c117874dc4302cd +DIST zcp-7.0.5-31880-sles-11-i586-free.tar.gz 27407194 RMD160 1ce268baa8045236c69aea0c70accf28f94f2d7b SHA1 09de3f5f3443d980529ec12759edaa3068dce0d9 SHA256 add1591fa9302cebadd9121331d3d1947f5eb840aa540c8ea158dd5a73263119 +DIST zcp-7.0.5-31880-sles-11-x86_64-free.tar.gz 27292908 RMD160 f1435c88a6f48ca9b8735005e5255323b2199c9d SHA1 e57edfbf878b7fd8bc0e6d2ce9b19ed0fecebd99 SHA256 039199f629dcc059f30c8de2f7d98fee890f002fd957fe6886b076f763739f65 +DIST zcp-7.0.5.tar.gz 6165679 RMD160 6da612d83413d6194798b72cfab4bd14231375fc SHA1 11018d3f42bfe5310dc94c45c248c29059c4df1d SHA256 235a2bfa452f3c013d9b58127cb557690dfcb65bc6510d9d68e4d53f01c21df0 EBUILD zarafa-6.40.10.28214.ebuild 9054 RMD160 84c3d9d212f1582bd6bb1ce3b055f30f8f173496 SHA1 f2e92a8c214884b0e6d6a5da56ac3174629696b6 SHA256 e6addb81a27872cd0242a6c115e4d84be1c8acaf7cb5d947db791b23e7b8f2b0 EBUILD zarafa-6.40.11.28965.ebuild 9054 RMD160 84c3d9d212f1582bd6bb1ce3b055f30f8f173496 SHA1 f2e92a8c214884b0e6d6a5da56ac3174629696b6 SHA256 e6addb81a27872cd0242a6c115e4d84be1c8acaf7cb5d947db791b23e7b8f2b0 EBUILD zarafa-6.40.12.29942.ebuild 9061 RMD160 a1a36a7de8682190f341e150891bb0705edc0670 SHA1 f9e2c087750e95078b8b20e7e793fe1472178fc6 SHA256 66a9aea68004e599f46e3b0b4f9a09e1c238504c1c11db8185af7f97d71229f2 @@ -193,5 +211,6 @@ EBUILD zarafa-6.40.8.27223.ebuild 6567 RMD160 83e20fc877c6d5f50d4b85f7b9d6b957c9 EBUILD zarafa-6.40.9.27553.ebuild 9033 RMD160 bc86e8eadf58d619774ea62aaf869d00b477df5d SHA1 23d7461f0614ccabe5fe7377ee1590291937d5b7 SHA256 bcf13aaaeb85e536a6aed59ae670bef33c562c5d7efc6a38d79fd04b0bba8716 EBUILD zarafa-7.0.3.30515.ebuild 9864 RMD160 6906d05b84d9ddfcd44e7b4059317db111f1c349 SHA1 a87f520414186045eb8b1bbae1fb3823306aeb07 SHA256 84d3ceeb8d4ded58a0074037e307af5a593a39f15e686ba8f262e5425e3728aa EBUILD zarafa-7.0.4.31235.ebuild 9864 RMD160 6906d05b84d9ddfcd44e7b4059317db111f1c349 SHA1 a87f520414186045eb8b1bbae1fb3823306aeb07 SHA256 84d3ceeb8d4ded58a0074037e307af5a593a39f15e686ba8f262e5425e3728aa -MISC ChangeLog 10759 RMD160 229abbb92ca85c518cccc560abe24af39a04cd05 SHA1 5c641c2a597412ed8882029004c3606860a46247 SHA256 4e94ff44ab44d850c13b522e1cc7fcc811eeda161e69feb1660785f9f24045e2 +EBUILD zarafa-7.0.5.31880.ebuild 9864 RMD160 6906d05b84d9ddfcd44e7b4059317db111f1c349 SHA1 a87f520414186045eb8b1bbae1fb3823306aeb07 SHA256 84d3ceeb8d4ded58a0074037e307af5a593a39f15e686ba8f262e5425e3728aa +MISC ChangeLog 11239 RMD160 26a08f35275e5c2bba8713f75da30fe92b895c16 SHA1 a8aba2e30189d5414c39f9b54526d2fde4c1a277 SHA256 60b3eb2381421228cbb7f95a5b2754fb2cf8e2ccff2509bedb888ff51a462b4d MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/net-mail/zarafa/files/7.0.5.31880/Datux-sendas.patch b/net-mail/zarafa/files/7.0.5.31880/Datux-sendas.patch new file mode 100644 index 0000000..d42326f --- /dev/null +++ b/net-mail/zarafa/files/7.0.5.31880/Datux-sendas.patch @@ -0,0 +1,25 @@ +diff -u -r zarafa-6.40.3/spooler/Spooler.cpp zarafa-6.40.3.new/spooler/Spooler.cpp +--- zarafa-6.40.3/spooler/Spooler.cpp 2010-10-20 14:16:24.000000000 +0000 ++++ zarafa-6.40.3.new/spooler/Spooler.cpp 2010-11-10 15:58:43.000000000 +0000 +@@ -935,6 +935,7 @@ + { "fax_domain", "", CONFIGSETTING_RELOADABLE }, + { "fax_international", "+", CONFIGSETTING_RELOADABLE }, + { "always_send_delegates", "no", CONFIGSETTING_RELOADABLE }, ++ { "always_send_as", "no", CONFIGSETTING_RELOADABLE }, + { "always_send_tnef", "no", CONFIGSETTING_RELOADABLE }, + { "allow_redirect_spoofing", "yes", CONFIGSETTING_RELOADABLE }, + { "allow_delegate_meeting_request", "yes", CONFIGSETTING_RELOADABLE }, +diff -u -r zarafa-6.40.3/spooler/mailer.cpp zarafa-6.40.3.new/spooler/mailer.cpp +--- zarafa-6.40.3/spooler/mailer.cpp 2010-10-20 14:16:24.000000000 +0000 ++++ zarafa-6.40.3.new/spooler/mailer.cpp 2010-11-10 15:58:09.000000000 +0000 +@@ -1949,6 +1949,10 @@ + HrGetOneProp(lpMessage, PR_AUTO_FORWARDED, &lpAutoForward) == hrSuccess && lpAutoForward->Value.b) + { + bAllowSendAs = true; ++ } else if (strcmp(g_lpConfig->GetSetting("always_send_as"), "yes") == 0) { ++ //use always_send_as to allow everybody to send as someone else. ++ //(some users hate the 'on behalf of' text, and dont want to do the extra configuration) ++ bAllowSendAs = true; + } else { + + hr = HrGetOneProp(lpUserStore, PR_MAILBOX_OWNER_ENTRYID, &lpPropOwner); diff --git a/net-mail/zarafa/files/7.0.5.31880/Datux-spamhook.patch b/net-mail/zarafa/files/7.0.5.31880/Datux-spamhook.patch new file mode 100644 index 0000000..c35d6d2 --- /dev/null +++ b/net-mail/zarafa/files/7.0.5.31880/Datux-spamhook.patch @@ -0,0 +1,199 @@ +diff -rupN zarafa-6.40.0-orig/provider/libserver/ZarafaCmd.cpp zarafa-6.40.0/provider/libserver/ZarafaCmd.cpp +--- zarafa-6.40.0-orig/provider/libserver/ZarafaCmd.cpp 2010-05-31 19:28:59.000000000 +0200 ++++ zarafa-6.40.0/provider/libserver/ZarafaCmd.cpp 2010-07-20 17:22:07.995625072 +0200 +@@ -7244,6 +7244,166 @@ typedef struct{ + SOURCEKEY sSourceKey; + SOURCEKEY sParentSourceKey; + }COPYITEM; ++//SPAM HOOK ++//This function parses an e-mail to the /etc/zarafa/userscripts/junklearn script. With 2 arguments: ++//ham or spam ++//message id ++//and pipes the mail header to the script. ++//This script wil be inhaled by MoveObjects(); ++///////////////////////////////////////////////////////////////////////////////////////////////// ++int SpamHook(ECDatabase *lpDatabase,int ulId,int ulDestFolderId) ++{ ++ ++ ALLOC_DBRESULT(); ++ ECRESULT er = erSuccess; ++ std::string shScriptPath = g_lpSessionManager->GetConfig()->GetSetting("junklearn_script"); ++ ++ //If shScriptPath doesn't exist skip spam hook. ++ if(fopen(shScriptPath.c_str(),"r")) { ++ ++ //Get store object ID via message object id ++ unsigned int storeId; ++ er = g_lpSessionManager->GetCacheManager()->GetStore(ulId,&storeId,NULL); ++ if(er != erSuccess) ++ { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error while retrieve source folder."); ++ goto exit; ++ } ++ ++ //get deleted items folder entry id ++ strQuery="SELECT val_binary FROM properties WHERE hierarchyid="+stringify(storeId)+" AND tag="+stringify(PROP_ID(PR_IPM_WASTEBASKET_ENTRYID)); ++ er = lpDatabase->DoSelect(strQuery, &lpDBResult); ++ if(er != erSuccess) { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error while retrieve wastebasket entryid from DB."); ++ goto exit; ++ } ++ lpDBRow = lpDatabase->FetchRow(lpDBResult); ++ lpDBLen = lpDatabase->FetchRowLengths(lpDBResult); ++ int shNumRows=lpDatabase->GetNumRows(lpDBResult); ++ if(shNumRows<1) ++ { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error while retrieve wastebasket entryid, empty DB result."); ++ goto exit; ++ } ++ ++ //Convert 'deleted items' entryid to objectid. ++ entryId* wasteBucketEntryId = new entryId[0]; ++ wasteBucketEntryId->__ptr=(unsigned char*)lpDBRow[0]; ++ wasteBucketEntryId->__size=lpDBLen[0]; ++ unsigned int wasteBucketFolderId; ++ er=g_lpSessionManager->GetCacheManager()->GetObjectFromEntryId(wasteBucketEntryId,&wasteBucketFolderId); ++ delete wasteBucketEntryId; ++ if(er!=erSuccess) ++ { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error while retrieve wastebasket entryid, converting to objectID."); ++ goto exit; ++ } ++ FREE_DBRESULT(); ++ ++ //Get 'junk folder' entryId. ++ strQuery="SELECT val_binary FROM receivefolder LEFT JOIN mvproperties ON receivefolder.objid=mvproperties.hierarchyid WHERE receivefolder.storeid="+stringify(storeId)+" AND receivefolder.messageclass='IPC' AND mvproperties.tag="+stringify(PROP_ID(PR_ADDITIONAL_REN_ENTRYIDS))+" AND mvproperties.orderid=4"; ++ er = lpDatabase->DoSelect(strQuery, &lpDBResult); ++ if(er != erSuccess) { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error while retrieve junkfolder entryids from DB."); ++ goto exit; ++ } ++ lpDBRow = lpDatabase->FetchRow(lpDBResult); ++ lpDBLen = lpDatabase->FetchRowLengths(lpDBResult); ++ shNumRows=lpDatabase->GetNumRows(lpDBResult); ++ if(shNumRows<1) ++ { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error while retrieve junkfolder entryid, empty DB result."); ++ goto exit; ++ } ++ ++ //Convert 'junk folder' entryid to objectid. ++ entryId* junkFolderEntryId = new entryId[0]; ++ junkFolderEntryId->__ptr=(unsigned char*)lpDBRow[0]; ++ junkFolderEntryId->__size=lpDBLen[0]; ++ unsigned int junkFolderId; ++ er=g_lpSessionManager->GetCacheManager()->GetObjectFromEntryId(junkFolderEntryId,&junkFolderId); ++ delete junkFolderEntryId; ++ if(er!=erSuccess) ++ { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error while retrieve junkfolder entryid, converting to objectID."); ++ goto exit; ++ } ++ FREE_DBRESULT(); ++ ++ //Get source folder object ID. (Actually we should check if mail came from subfolders in the 'deleted items folder', which I think never happens.) ++ unsigned int srcFolderId; ++ er=g_lpSessionManager->GetCacheManager()->GetParent(ulId,&srcFolderId); ++ if(er!=erSuccess) ++ { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error while retrieve src folder id."); ++ goto exit; ++ } ++ ++ //Check if object is ham or spam ++ string shMailStatus; ++ //if destination folder is junk, mark as spam ++ if(ulDestFolderId==junkFolderId) ++ shMailStatus="spam"; ++ else ++ { ++ //if destination folder is not TRASH and de source folder is JUNK, mark as ham ++ if(ulDestFolderId!=wasteBucketFolderId && srcFolderId==junkFolderId) ++ shMailStatus="ham"; ++ } ++ ++ //Only call hook script if the mail is marked as ham or spam. ++ if(!shMailStatus.empty()) { ++ ++ //Get the mail from the DB. ++ strQuery="SELECT val_string FROM properties WHERE tag="+stringify(PROP_ID(PR_TRANSPORT_MESSAGE_HEADERS))+" AND hierarchyid= "+stringify(ulId); ++ er = lpDatabase->DoSelect(strQuery, &lpDBResult); ++ if(er != erSuccess) { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: db error while retrieve mail header."); ++ goto exit; ++ } ++ lpDBRow = lpDatabase->FetchRow(lpDBResult); ++ int shNumRows=lpDatabase->GetNumRows(lpDBResult); ++ ++ if(shNumRows>0) { ++ ++ // Execute the hook: ++ FILE *shFilePtr; ++ shScriptPath=shScriptPath+" "+shMailStatus+" "+stringify(ulId); ++ shFilePtr=popen(shScriptPath.c_str(),"w"); ++ fputs(lpDBRow[0],shFilePtr); ++ int shExitCode=pclose(shFilePtr); ++ if(!WIFEXITED(shExitCode)) { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: "+shScriptPath+" was terminated abnormally."); ++ goto exit; ++ } ++ //If script exit with non 0, exit.. ++ if(WEXITSTATUS(shExitCode)!=0) { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: error "+shScriptPath+" exits with: "+stringify(shExitCode)); ++ er=ZARAFA_E_UNKNOWN; ++ goto exit; ++ } ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_INFO,"SpamHook: "+shScriptPath+" successfully executed."); ++ er=erSuccess; ++ } ++ else { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_WARNING,"SpamHook: warning mail header empty or this object is no e-mail"); ++ } ++ ++ // Free database results ++ FREE_DBRESULT(); ++ } ++ } ++ else { ++ g_lpSessionManager->GetLogger()->Log(EC_LOGLEVEL_INFO,"SpamHook: skipping, script "+shScriptPath+" not found"); ++ er=erSuccess; ++ } ++exit: ++ // Free database results ++ FREE_DBRESULT(); ++ ++ return er; ++} ++ + + // Move one or more messages and/or moved a softdeleted message to a normal message + ECRESULT MoveObjects(ECSession *lpSession, ECDatabase *lpDatabase, ECListInt* lplObjectIds, unsigned int ulDestFolderId, unsigned int ulSyncId) +@@ -8096,6 +8256,17 @@ SOAP_ENTRY_START5(copyObjects, *result, + + // @note The object type checking wille be done in MoveObjects or CopyObject + ++//SPAMHOOK ++///////////////////////////////////// ++ //Iterate over all mail ids and initiate spamhook. ++ for(iObjectId = lObjectIds.begin(); iObjectId != lObjectIds.end(); iObjectId++) ++ { ++ //Ignore the result ++ int shResult=SpamHook(lpDatabase,*iObjectId,ulDestFolderId); ++ } ++//SPAMHOOK END ++//////////////////////////////////// ++ + //check copy or a move + if(ulFlags & FOLDER_MOVE ) { // A move + er = MoveObjects(lpecSession, lpDatabase, &lObjectIds, ulDestFolderId, ulSyncId); +diff -rupN zarafa-6.40.0-orig/provider/server/ECServer.cpp zarafa-6.40.0/provider/server/ECServer.cpp +--- zarafa-6.40.0-orig/provider/server/ECServer.cpp 2010-05-31 19:28:59.000000000 +0200 ++++ zarafa-6.40.0/provider/server/ECServer.cpp 2010-07-20 17:26:25.119624516 +0200 +@@ -670,6 +670,7 @@ int running_server(char *szName, char *s + { "deletegroup_script", "/etc/zarafa/userscripts/deletegroup", CONFIGSETTING_RELOADABLE}, + { "createcompany_script", "/etc/zarafa/userscripts/createcompany", CONFIGSETTING_RELOADABLE }, + { "deletecompany_script", "/etc/zarafa/userscripts/deletecompany", CONFIGSETTING_RELOADABLE }, ++ { "junklearn_script", "/etc/zarafa/userscripts/junklearn", CONFIGSETTING_RELOADABLE }, + { "user_safe_mode", "no", CONFIGSETTING_RELOADABLE }, + + // Storename format diff --git a/net-mail/zarafa/files/7.0.5.31880/zarafa-6.40.1-no-php-conf.patch b/net-mail/zarafa/files/7.0.5.31880/zarafa-6.40.1-no-php-conf.patch new file mode 100644 index 0000000..9e51f09 --- /dev/null +++ b/net-mail/zarafa/files/7.0.5.31880/zarafa-6.40.1-no-php-conf.patch @@ -0,0 +1,44 @@ +--- php-ext/Makefile.in~ 2010-10-20 12:26:22.000000000 +0100 ++++ php-ext/Makefile.in 2010-10-28 13:40:48.830318647 +0100 +@@ -34,7 +34,7 @@ + build_triplet = @build@ + host_triplet = @host@ + subdir = php-ext +-DIST_COMMON = $(dist_data_DATA) $(dist_sysconf_DATA) \ ++DIST_COMMON = $(dist_data_DATA) \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/configure.ac +@@ -86,7 +86,7 @@ + DIST_SOURCES = $(mapi_la_SOURCES) + dist_dataDATA_INSTALL = $(INSTALL_DATA) + dist_sysconfDATA_INSTALL = $(INSTALL_DATA) +-DATA = $(dist_data_DATA) $(dist_sysconf_DATA) ++DATA = $(dist_data_DATA) + ETAGS = etags + CTAGS = ctags + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +@@ -406,23 +406,6 @@ + echo " rm -f '$(DESTDIR)$(datadir)/$$f'"; \ + rm -f "$(DESTDIR)$(datadir)/$$f"; \ + done +-install-dist_sysconfDATA: $(dist_sysconf_DATA) +- @$(NORMAL_INSTALL) +- test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" +- @list='$(dist_sysconf_DATA)'; for p in $$list; do \ +- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- f=$(am__strip_dir) \ +- echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ +- $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ +- done +- +-uninstall-dist_sysconfDATA: +- @$(NORMAL_UNINSTALL) +- @list='$(dist_sysconf_DATA)'; for p in $$list; do \ +- f=$(am__strip_dir) \ +- echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \ +- rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \ +- done + + ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ diff --git a/net-mail/zarafa/files/7.0.5.31880/zarafa-6.40.2-libtcmalloc_shared-1.patch b/net-mail/zarafa/files/7.0.5.31880/zarafa-6.40.2-libtcmalloc_shared-1.patch new file mode 100644 index 0000000..0c69fa7 --- /dev/null +++ b/net-mail/zarafa/files/7.0.5.31880/zarafa-6.40.2-libtcmalloc_shared-1.patch @@ -0,0 +1,19 @@ +Submitted By: Mario Fetka ( mario.fetka@gmaail.com) +Date: 2010-10-11 +Initial Package Version: 6.40.2 +Origin: me +Upstream Status: unknown +Description: on gentoo libtcmalloc_minimal is only provided as shared lib + +diff -Naur zarafa-6.40.2.orig/configure.ac zarafa-6.40.2/configure.ac +--- zarafa-6.40.2.orig/configure.ac 2010-10-11 18:39:35.000000000 +0000 ++++ zarafa-6.40.2/configure.ac 2010-10-11 18:40:03.000000000 +0000 +@@ -441,7 +441,7 @@ + AC_HELP_STRING([--with-tcmalloc-prefix=PATH],[path to tcmalloc lib, e.g. /usr/lib/]), + [TCMALLOC_PREFIX=${withval}],[TCMALLOC_PREFIX=/usr/lib]) + AC_CHECK_LIB(tcmalloc_minimal, [open], +- [ TCMALLOC_LIBS="${TCMALLOC_PREFIX}/libtcmalloc_minimal.a" ], ++ [ TCMALLOC_LIBS="${TCMALLOC_PREFIX}/libtcmalloc_minimal.so" ], + [ WITH_TCMALLOC=no ]) + AC_SUBST(TCMALLOC_LIBS) + AC_LANG_POP diff --git a/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.0-package.patch b/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.0-package.patch new file mode 100644 index 0000000..a205d5b --- /dev/null +++ b/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.0-package.patch @@ -0,0 +1,62 @@ +Patch by Robert Scheck for zarafa >= 6.40.0, which only +removes the paths from autoconf/automake related files, that don't exist in the OSS +version of Zarafa. Having these paths not removed causes autoreconf to fail, but a +re-run of autoreconf is needed in order to get the rpaths completely out of all the +libraries and binaries built during the make process. + +forward patch by Mario Fetka + +diff -uNr zarafa-7.0.0.orig//ECtools/Makefile.am zarafa-7.0.0/ECtools/Makefile.am +--- zarafa-7.0.0.orig//ECtools/Makefile.am 2011-07-26 02:33:33.778000103 +0200 ++++ zarafa-7.0.0/ECtools/Makefile.am 2011-07-26 02:34:25.198000081 +0200 +@@ -1,5 +1 @@ +-if ! OSS_ONLY +-PROSUBS = zarafa-backup zarafa-report zarafa-msr za-extra +-endif +- + SUBDIRS = $(PROSUBS) zarafa-archiver zarafa-admin zarafa-monitor zarafa-passwd zarafa-fsck zarafa-cfgchecker zarafa-stats zarafa-indexer +diff -uNr zarafa-7.0.0.orig//Makefile.am zarafa-7.0.0/Makefile.am +--- zarafa-7.0.0.orig//Makefile.am 2011-07-26 02:33:33.804000103 +0200 ++++ zarafa-7.0.0/Makefile.am 2011-07-26 02:34:14.491000119 +0200 +@@ -1,8 +1,5 @@ + ACLOCAL_AMFLAGS = -I autoconf + +-if ! OSS_ONLY +-PROSUBS = liblicense licensed +-endif + + SUBDIRS = common libfreebusy zarafa-libsync mapi4linux $(PROSUBS) provider libicalmapi inetmapi php-ext spooler gateway caldav ECtools installer po doc + +@@ -33,10 +30,6 @@ + # we force a clean, since if it's not clean, something will loop and eat up gigabytes of diskspace + (cd webapp && ant clean && ant && ant deploy) + +-if ! OSS_ONLY +-CLEANFILES=common/ecversion.h +-endif +- + dist-hook: webapp/deploy + find $(distdir) -type d -name .svn -exec rm -rf {} \; 2>/dev/null || true + if OSS_ONLY +diff -uNr zarafa-7.0.0.orig//configure.ac zarafa-7.0.0/configure.ac +--- zarafa-7.0.0.orig//configure.ac 2011-07-26 02:33:33.852000103 +0200 ++++ zarafa-7.0.0/configure.ac 2011-07-26 02:37:56.348000127 +0200 +@@ -748,18 +748,6 @@ + version + specialbuild + ]) +-dnl non-oss files +-if test -d `dirname $0`/licensed; then +-AC_CONFIG_FILES([ +- liblicense/Makefile +- licensed/Makefile +- ECtools/zarafa-backup/Makefile +- ECtools/zarafa-backup/helpers/Makefile +- ECtools/zarafa-report/Makefile +- ECtools/zarafa-msr/Makefile +- ECtools/za-extra/Makefile +-]) +-fi + + AC_OUTPUT + diff --git a/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.3-php54.patch b/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.3-php54.patch new file mode 100644 index 0000000..256c456 --- /dev/null +++ b/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.3-php54.patch @@ -0,0 +1,123 @@ +diff -up zarafa-7.0.3/php-ext/ECImportContentsChangesProxy.cpp.php54 zarafa-7.0.3/php-ext/ECImportContentsChangesProxy.cpp +--- zarafa-7.0.3/php-ext/ECImportContentsChangesProxy.cpp.php54 2011-12-29 07:57:08.047623136 +0100 ++++ zarafa-7.0.3/php-ext/ECImportContentsChangesProxy.cpp 2011-12-29 07:58:57.717628057 +0100 +@@ -150,9 +150,9 @@ HRESULT ECImportContentsChangesProxy::Ge + HRESULT ECImportContentsChangesProxy::Config(LPSTREAM lpStream, ULONG ulFlags) { + HRESULT hr = hrSuccess; + +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[2]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[2]; + + MAKE_STD_ZVAL(pvalFuncName); + MAKE_STD_ZVAL(pvalReturn); +@@ -192,9 +192,9 @@ exit: + HRESULT ECImportContentsChangesProxy::UpdateState(LPSTREAM lpStream) { + HRESULT hr = hrSuccess; + +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[1]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[1]; + + MAKE_STD_ZVAL(pvalFuncName); + MAKE_STD_ZVAL(pvalReturn); +@@ -228,9 +228,9 @@ exit: + } + + HRESULT ECImportContentsChangesProxy::ImportMessageChange(ULONG cValues, LPSPropValue lpPropArray, ULONG ulFlags, LPMESSAGE * lppMessage) { +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[3]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[3]; + IMessage *lpMessage = NULL; + HRESULT hr = hrSuccess; + +@@ -287,9 +287,9 @@ exit: + HRESULT ECImportContentsChangesProxy::ImportMessageDeletion(ULONG ulFlags, LPENTRYLIST lpSourceEntryList) { + HRESULT hr = hrSuccess; + +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[2]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[2]; + + MAKE_STD_ZVAL(pvalFuncName); + MAKE_STD_ZVAL(pvalReturn); +@@ -323,9 +323,9 @@ exit: + HRESULT ECImportContentsChangesProxy::ImportPerUserReadStateChange(ULONG cElements, LPREADSTATE lpReadState) { + HRESULT hr = hrSuccess; + +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[1]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[1]; + + MAKE_STD_ZVAL(pvalFuncName); + MAKE_STD_ZVAL(pvalReturn); +diff -up zarafa-7.0.3/php-ext/ECImportHierarchyChangesProxy.cpp.php54 zarafa-7.0.3/php-ext/ECImportHierarchyChangesProxy.cpp +--- zarafa-7.0.3/php-ext/ECImportHierarchyChangesProxy.cpp.php54 2011-12-29 07:59:13.901628896 +0100 ++++ zarafa-7.0.3/php-ext/ECImportHierarchyChangesProxy.cpp 2011-12-29 07:59:42.559630070 +0100 +@@ -147,9 +147,9 @@ HRESULT ECImportHierarchyChangesProxy::G + HRESULT ECImportHierarchyChangesProxy::Config(LPSTREAM lpStream, ULONG ulFlags) { + HRESULT hr = hrSuccess; + +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[2]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[2]; + + MAKE_STD_ZVAL(pvalFuncName); + MAKE_STD_ZVAL(pvalReturn); +@@ -189,9 +189,9 @@ exit: + HRESULT ECImportHierarchyChangesProxy::UpdateState(LPSTREAM lpStream) { + HRESULT hr = hrSuccess; + +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[1]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[1]; + + MAKE_STD_ZVAL(pvalFuncName); + MAKE_STD_ZVAL(pvalReturn); +@@ -225,9 +225,9 @@ exit: + } + + HRESULT ECImportHierarchyChangesProxy::ImportFolderChange(ULONG cValues, LPSPropValue lpPropArray) { +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[1]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[1]; + HRESULT hr = hrSuccess; + + MAKE_STD_ZVAL(pvalFuncName); +@@ -265,9 +265,9 @@ exit: + HRESULT ECImportHierarchyChangesProxy::ImportFolderDeletion(ULONG ulFlags, LPENTRYLIST lpSourceEntryList) { + HRESULT hr = hrSuccess; + +- pval *pvalFuncName; +- pval *pvalReturn; +- pval *pvalArgs[2]; ++ zval *pvalFuncName; ++ zval *pvalReturn; ++ zval *pvalArgs[2]; + + MAKE_STD_ZVAL(pvalFuncName); + MAKE_STD_ZVAL(pvalReturn); diff --git a/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.3-sysconfig2confd-1.patch b/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.3-sysconfig2confd-1.patch new file mode 100644 index 0000000..1e07789 --- /dev/null +++ b/net-mail/zarafa/files/7.0.5.31880/zarafa-7.0.3-sysconfig2confd-1.patch @@ -0,0 +1,103 @@ +Submitted By: Mario Fetka (mario.fetka@gmail.com) +Date: 2010-10-13 +Initial Package Version: 6.40.2 (7.0.3) +Origin: me +Upstream Status: gentoo specific +Description: this patch correct the install dir for the default install target from /etc/sysconfig to the gentoo equivalent /etc/conf.d + +diff -uNr zarafa-7.0.3.orig/installer/linux/Makefile.am zarafa-7.0.3/installer/linux/Makefile.am +--- zarafa-7.0.3.orig/installer/linux/Makefile.am 2011-11-20 18:45:15.661461795 +0100 ++++ zarafa-7.0.3/installer/linux/Makefile.am 2011-11-20 18:48:10.780508507 +0100 +@@ -26,7 +26,7 @@ + sysconf_initdir=${sysconfdir}/init.d + sysconf_init_SCRIPTS = ${@DISTRO@_initscript_files} + +-rhel_sysconfig_path = ${sysconfdir}/sysconfig ++rhel_sysconfig_path = ${sysconfdir}/conf.d + suse_sysconfig_path = ${localstatedir}/adm/fillup-templates + sles_sysconfig_path = ${localstatedir}/adm/fillup-templates + sysconf_sysconfigdir = ${@DISTRO@_sysconfig_path} +diff -uNr zarafa-7.0.3.orig/installer/userscripts/createcompany.in zarafa-7.0.3/installer/userscripts/createcompany.in +--- zarafa-7.0.3.orig/installer/userscripts/createcompany.in 2011-11-20 18:45:15.640628342 +0100 ++++ zarafa-7.0.3/installer/userscripts/createcompany.in 2011-11-20 18:47:09.706088759 +0100 +@@ -9,8 +9,8 @@ + # beware that this string can contain any characters, so take heed to + # correct quoting. + +-if [ -f @sysconfdir@/sysconfig/zarafa ]; then +- . @sysconfdir@/sysconfig/zarafa ++if [ -f @sysconfdir@/conf.d/zarafa ]; then ++ . @sysconfdir@/conf.d/zarafa + elif [ -f @sysconfdir@/default/zarafa ]; then + . @sysconfdir@/default/zarafa + fi +diff -uNr zarafa-7.0.3.orig/installer/userscripts/creategroup.in zarafa-7.0.3/installer/userscripts/creategroup.in +--- zarafa-7.0.3.orig/installer/userscripts/creategroup.in 2011-11-20 18:45:15.640628342 +0100 ++++ zarafa-7.0.3/installer/userscripts/creategroup.in 2011-11-20 18:46:48.060132907 +0100 +@@ -9,8 +9,8 @@ + # beware that this string can contain any characters, so take heed to + # correct quoting. + +-if [ -f @sysconfdir@/sysconfig/zarafa ]; then +- . @sysconfdir@/sysconfig/zarafa ++if [ -f @sysconfdir@/conf.d/zarafa ]; then ++ . @sysconfdir@/conf.d/zarafa + elif [ -f @sysconfdir@/default/zarafa ]; then + . @sysconfdir@/default/zarafa + fi +diff -uNr zarafa-7.0.3.orig/installer/userscripts/createuser.in zarafa-7.0.3/installer/userscripts/createuser.in +--- zarafa-7.0.3.orig/installer/userscripts/createuser.in 2011-11-20 18:45:15.640628342 +0100 ++++ zarafa-7.0.3/installer/userscripts/createuser.in 2011-11-20 18:47:04.215316936 +0100 +@@ -9,8 +9,8 @@ + # beware that this string can contain any characters, so take heed to + # correct quoting. + +-if [ -f @sysconfdir@/sysconfig/zarafa ]; then +- . @sysconfdir@/sysconfig/zarafa ++if [ -f @sysconfdir@/conf.d/zarafa ]; then ++ . @sysconfdir@/conf.d/zarafa + elif [ -f @sysconfdir@/default/zarafa ]; then + . @sysconfdir@/default/zarafa + fi +diff -uNr zarafa-7.0.3.orig/installer/userscripts/deletecompany.in zarafa-7.0.3/installer/userscripts/deletecompany.in +--- zarafa-7.0.3.orig/installer/userscripts/deletecompany.in 2011-11-20 18:45:15.638313511 +0100 ++++ zarafa-7.0.3/installer/userscripts/deletecompany.in 2011-11-20 18:46:16.113192833 +0100 +@@ -9,8 +9,8 @@ + # beware that this string can contain any characters, so take heed to + # correct quoting. + +-if [ -f @sysconfdir@/sysconfig/zarafa ]; then +- . @sysconfdir@/sysconfig/zarafa ++if [ -f @sysconfdir@/conf.d/zarafa ]; then ++ . @sysconfdir@/conf.d/zarafa + fi + + ZARAFA_COMPANY_SCRIPTS=@USERSCRIPTDIR@/deletecompany.d +diff -uNr zarafa-7.0.3.orig/installer/userscripts/deletegroup.in zarafa-7.0.3/installer/userscripts/deletegroup.in +--- zarafa-7.0.3.orig/installer/userscripts/deletegroup.in 2011-11-20 18:45:15.638313511 +0100 ++++ zarafa-7.0.3/installer/userscripts/deletegroup.in 2011-11-20 18:46:26.173434957 +0100 +@@ -9,8 +9,8 @@ + # beware that this string can contain any characters, so take heed to + # correct quoting. + +-if [ -f @sysconfdir@/sysconfig/zarafa ]; then +- . @sysconfdir@/sysconfig/zarafa ++if [ -f @sysconfdir@/conf.d/zarafa ]; then ++ . @sysconfdir@/conf.d/zarafa + fi + + ZARAFA_GROUP_SCRIPTS=@USERSCRIPTDIR@/deletegroup.d +diff -uNr zarafa-7.0.3.orig/installer/userscripts/deleteuser.in zarafa-7.0.3/installer/userscripts/deleteuser.in +--- zarafa-7.0.3.orig/installer/userscripts/deleteuser.in 2011-11-20 18:45:15.659146961 +0100 ++++ zarafa-7.0.3/installer/userscripts/deleteuser.in 2011-11-20 18:47:14.958433297 +0100 +@@ -9,8 +9,8 @@ + # that this string can contain any characters, so take heed to correct + # quoting. + +-if [ -f @sysconfdir@/sysconfig/zarafa ]; then +- . @sysconfdir@/sysconfig/zarafa ++if [ -f @sysconfdir@/conf.d/zarafa ]; then ++ . @sysconfdir@/conf.d/zarafa + fi + + ZARAFA_USER_SCRIPTS=@USERSCRIPTDIR@/deleteuser.d diff --git a/net-mail/zarafa/zarafa-7.0.5.31880.ebuild b/net-mail/zarafa/zarafa-7.0.5.31880.ebuild new file mode 100644 index 0000000..b003ce6 --- /dev/null +++ b/net-mail/zarafa/zarafa-7.0.5.31880.ebuild @@ -0,0 +1,273 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +PHP_EXT_NAME="mapi" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +USE_PHP="php5-3 php5-4" + +inherit php-ext-source-r2 eutils autotools versionator rpm5 + +MY_PV=$(replace_version_separator 3 '-' ) +MY_PVV=$(replace_version_separator 3 'beta' $MY_PV ) +MY_PVM=$(get_version_component_range 1-2 ) +MY_PVR=$(get_version_component_range 1-3 ) + +DESCRIPTION="Open Source Groupware Solution" +HOMEPAGE="http://zarafa.com/" +SRC_URI="http://download.zarafa.com/community/final/${MY_PVM}/${MY_PV}/sourcecode/zcp-${MY_PVR}.tar.gz + amd64? ( licensed? ( http://download.zarafa.com/community/final/${MY_PVM}/${MY_PV}/zcp-${MY_PV}-sles-11-x86_64-free.tar.gz ) ) + x86? ( licensed? ( http://download.zarafa.com/community/final/${MY_PVM}/${MY_PV}/zcp-${MY_PV}-sles-11-i586-free.tar.gz ) ) + bash-completion? ( http://community.zarafa.com/mod/community_plugins/download.php?release_guid=434 -> ${PN}-bash-completion-${PV}.zip ) + smime? ( http://community.zarafa.com/mod/community_plugins/download.php?release_guid=554 -> ${PN}-webaccess-plugin-smime-${PV}.zip ) + dspam? ( http://community.zarafa.com/mod/community_plugins/download.php?release_guid=125 -> ${PN}-webaccess-plugin-dspam-${PV}.tar.gz ) + google-maps? ( http://community.zarafa.com/mod/community_plugins/download.php?release_guid=123 -> ${PN}-webaccess-plugin-google-maps-${PV}.zip ) + mobile-device? ( http://community.zarafa.com/mod/community_plugins/download.php?release_guid=152 -> ${PN}-webaccess-plugin-mobile-device-${PV}.zip ) + archive? ( http://community.zarafa.com/mod/community_plugins/download.php?release_guid=140 -> ${PN}-webaccess-plugin-z-merge-archive-${PV}.zip ) + themes? ( + http://community.zarafa.com/mod/community_plugins/download.php?release_guid=164 -> ${PN}-webaccess-theme-dark-${PV}.tar.gz + http://community.zarafa.com/mod/community_plugins/download.php?release_guid=162 -> ${PN}-webaccess-theme-orange-${PV}.tar.gz + ) + " + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="" +RESTRICT="" +IUSE="debug epoll ldap logrotate licensed static swig tcmalloc testtools perl pic profiling python kerberos sparsehash bash-completion smime dspam google-maps themes mobile-device archive icu unicode" + +RDEPEND=">=dev-libs/libical-0.44 + dev-cpp/libvmime:0 + app-text/catdoc + app-text/poppler + dev-cpp/clucene + dev-db/mysql + dev-libs/libxml2 + dev-libs/openssl + net-misc/curl + sys-libs/e2fsprogs-libs + sys-libs/zlib + sys-libs/ncurses + sys-libs/pam + dev-libs/boost + sys-apps/util-linux + app-text/catdoc + kerberos? ( || ( app-crypt/mit-krb5 app-crypt/heimdal ) ) + ldap? ( net-nds/openldap ) + logrotate? ( app-admin/logrotate ) + tcmalloc? ( dev-util/google-perftools ) + sparsehash? ( dev-cpp/sparsehash ) + perl? ( dev-lang/perl ) + python? ( dev-lang/python ) + swig? ( dev-lang/swig ) + testtools? ( dev-python/testtools ) + licensed? ( + dev-libs/icu:4.0 + dev-libs/openssl:0.9.8 + dev-libs/boost:1.36 + >=sys-libs/zlib-1.2.4 ) + bash-completion? ( app-shells/bash-completion )" + +S="${WORKDIR}"/zarafa-${MY_PVR}/ + +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/gettext + dev-lang/php + app-arch/unzip" + +QA_PRESTRIPPED=" + usr/bin/zarafa-restore + usr/bin/zarafa-report + usr/bin/zarafa-backup + usr/bin/zarafa-licensed + usr/lib/zarafa/ldapmsplugin.so + usr/lib64/zarafa/ldapmsplugin.so" + +QA_DT_HASH=" + usr/bin/zarafa-restore + usr/bin/zarafa-report + usr/bin/zarafa-backup + usr/bin/zarafa-licensed + usr/lib/zarafa/ldapmsplugin.so + usr/lib64/zarafa/ldapmsplugin.so" + + +src_unpack() { + unpack ${A} + if use licensed; then + cd "${WORKDIR}" + mkdir licensed + cd licensed + rpm5_unpack $(find ./../ -name "zarafa-licensed*.rpm") + cd "${S}" + fi +} + +src_prepare() { + EPATCH_SOURCE="${FILESDIR}/${PV}" EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" epatch + edos2unix php-webclient-ajax/config.php.dist + AT_M4DIR="autoconf" eautoreconf + if use licensed; then + # binary crap ahhh... what a hack +# sed -i "s/libboost_filesystem.so.1.42.0/libboost_filesystem-1_42.so /g" "${WORKDIR}"/licensed/usr/bin/zarafa-licensed || die "sed failed" +# sed -i "s/libboost_system.so.1.42.0/libboost_system-1_42.so /g" "${WORKDIR}"/licensed/usr/bin/zarafa-licensed || die "sed failed" + # not a hack just correct a script + sed -i "s!/etc/default/zarafa-ssm!/etc/conf.d/zarafa-ssm!g" "${WORKDIR}"/licensed/usr/bin/zarafa-ssm || die "sed failed" + fi +} + +src_configure() { + if use licensed; then + myconf="--with-boost=/usr/include/boost-1_36/" + else + myconf="" + fi + + econf \ + --enable-oss \ + --disable-testtools \ + --enable-release \ + --with-userscript-prefix=/etc/zarafa/userscripts \ + --with-quotatemplate-prefix=/etc/zarafa/quotamails \ + --with-indexerscripts-prefix=/etc/zarafa/indexerscripts \ + $(use_with pic) \ + $(use_enable perl) \ + $(use_enable python) \ + $(use_enable profiling) \ + $(use_enable static) \ + $(use_enable swig) \ + $(use_enable sparsehash) \ + $(use_enable tcmalloc) \ + $(use_enable testtools) \ + $(use_enable debug) \ + $(use_enable icu) \ + $(use_enable unicode) \ + ${myconf} +} + + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + make DESTDIR="${D}" install-ajax-webaccess || die "make install-ajax-webaccess failed" + make DESTDIR="${D}" install-mobile-webaccess || die "make install-mobile-webaccess failed" + + insinto /etc/apache2/modules.d + newins "${FILESDIR}/50_zarafa-webaccess-mobile.conf" 50_zarafa-webaccess-mobile.conf || die "Failed to install apache config files" + newins "${FILESDIR}/50_zarafa-webaccess.conf" 50_zarafa-webaccess.conf || die "Failed to install apache config files" + + rm "${D}"/usr/share/zarafa-webaccess/*.conf || die "Failed to remove apache config files" + rm "${D}"/usr/share/zarafa-webaccess-mobile/*.conf || die "Failed to remove apache config files" + + # Use only some parts of PHP eclass + php-ext-source-r2_buildinilist php${slot} + php-ext-source-r2_addextension "${PHP_EXT_NAME}.so" + + # Symlink the .ini files from ext/ to ext-active/ + for inifile in ${PHPINIFILELIST} ; do + inidir="${inifile/${PHP_EXT_NAME}.ini/}" + inidir="${inidir/ext/ext-active}" + dodir "/${inidir}" + dosym "/${inifile}" "/${inifile/ext/ext-active}" + done + + # Install PHP module + php-ext-source-r2_addtoinifiles ";mapi.cache_max_sessions" "128" + php-ext-source-r2_addtoinifiles ";mapi.cache_lifetime" "300" + + if use logrotate; then + insinto /etc/logrotate.d + newins "${FILESDIR}"/zarafa.logrotate zarafa || die "Failed to install logrotate" + fi + + # install ldap files + if use ldap; then + insinto /etc/openldap/schema + doins installer/ldap/zarafa.* || die "Failed to install ldap schema files" + fi + + insinto /etc/zarafa + doins installer/linux/*.cfg || die "Failed to install config files" + + exeinto /etc/zarafa/userscripts/ + newexe "${FILESDIR}"/junklearn.dspam junklearn + + dodir /var/log/zarafa + keepdir /var/log/zarafa + + if [[ "${ARCH}" == "x86" || "${ARCH}" == "amd64" ]]; then + if use licensed; then + dobin "${WORKDIR}"/licensed/usr/bin/* || die "Failed to install licensed binaries" + # exeinto /usr/$(get_libdir)/zarafa/ + # doexe "${WORKDIR}"/licensed/usr/$(get_libdir)/zarafa/*.so || die "Failed to install licensed lib" + doman "${WORKDIR}"/licensed/usr/share/man/*/*.gz || die "Failed to install man files" + #exeinto /usr/share/zarafa/zarafa-backup-helpers/ + #doexe "${WORKDIR}"/licensed/usr/share/zarafa/zarafa-backup-helpers/* || die "Failed to install helper scripts" + dodoc "${WORKDIR}"/licensed/usr/share/doc/zarafa-licensed/* || die "Failed to install docs" + insinto /etc/zarafa + doins -r "${WORKDIR}"/licensed/etc/zarafa/* || die "Failed to install config files" + insinto /etc/cron.d + doins "${WORKDIR}"/licensed/etc/cron.d/* || die "Failed to install cron files" +# insinto /usr/share/zarafa-webaccess/ +# doins -r "${WORKDIR}"/licensed/usr/share/zarafa-webaccess/* || die "Failed to install webapp files" + doconfd "${WORKDIR}"/licensed/etc/default/zarafa-ssm || die "Failed to install sysconfig files" + newinitd "${FILESDIR}"/zarafa-licensed.rc6 zarafa-licensed || die "Failed to install init.d files" + fi + fi + + if use bash-completion; then + insinto /usr/share/bash-completion + doins "${WORKDIR}"/zarafa + fi + + if use smime; then + insinto /var/lib/zarafa-webaccess/plugins + doins -r "${WORKDIR}"/smime + dodoc "${WORKDIR}"/*.pdf + fi + + if use dspam; then + newdoc "${WORKDIR}"/dspam/README README.dspam + newdoc "${WORKDIR}"/dspam/INSTALL INSTALL.dspam + newdoc "${WORKDIR}"/dspam/CHANGELOG CHANGELOG.dspam + rm "${WORKDIR}"/dspam/README "${WORKDIR}"/dspam/INSTALL "${WORKDIR}"/dspam/CHANGELOG + + insinto /var/lib/zarafa-webaccess/plugins + doins -r "${WORKDIR}"/dspam + fi + + if use google-maps; then + insinto /var/lib/zarafa-webaccess/plugins + doins -r "${WORKDIR}"/contactgmap + doins -r "${WORKDIR}"/gmap + fi + + if use mobile-device; then + insinto /var/lib/zarafa-webaccess/plugins + doins -r "${WORKDIR}"/mdm + fi + + if use archive; then + insinto /var/lib/zarafa-webaccess/plugins + doins -r "${WORKDIR}"/zma + fi + + if use themes; then + insinto /usr/share/zarafa-webaccess/client/layout/themes + doins -r "${WORKDIR}"/dark + insinto /usr/share/zarafa-webaccess/client/layout/themes/orange + doins -r "${WORKDIR}"/zarafa-orange-theme/* + fi + + newinitd "${FILESDIR}"/zarafa-gateway.rc6 zarafa-gateway || die "Failed to install init.d files" + newinitd "${FILESDIR}"/zarafa-ical.rc6 zarafa-ical || die "Failed to install init.d files" + newinitd "${FILESDIR}"/zarafa-indexer.rc6 zarafa-indexer || die "Failed to install init.d files" + newinitd "${FILESDIR}"/zarafa-monitor.rc6 zarafa-monitor || die "Failed to install init.d files" + newinitd "${FILESDIR}"/zarafa-server.rc6 zarafa-server || die "Failed to install init.d files" + newinitd "${FILESDIR}"/zarafa-spooler.rc6 zarafa-spooler || die "Failed to install init.d files" + newinitd "${FILESDIR}"/zarafa-dagent.rc6 zarafa-dagent || die "Failed to install init.d files" +}