delete old
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2529 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
f308728157
commit
cccb795bda
@ -1,28 +0,0 @@
|
||||
# ChangeLog for www-apps/zarafa
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
13 Oct 2010; Mario Fetka <mario.fetka@gmail.com> zarafa-6.40.2.ebuild:
|
||||
finish arm support and mask licensed on arm
|
||||
|
||||
13 Oct 2010; Mario Fetka <mario.fetka@gmail.com> zarafa-6.40.2.ebuild:
|
||||
add arm keyword
|
||||
|
||||
12 Oct 2010; Mario Fetka <mario.fetka@gmail.com> zarafa-6.40.2.ebuild:
|
||||
repoman cleanup
|
||||
|
||||
12 Oct 2010; Mario Fetka <mario.fetka@gmail.com> zarafa-6.40.2.ebuild:
|
||||
add webaccess multiusercalendar
|
||||
|
||||
12 Oct 2010; Mario Fetka <mario.fetka@gmail.com> zarafa-6.40.2.ebuild:
|
||||
add QA_* workarounds and finisch licensed install
|
||||
|
||||
12 Oct 2010; Mario Fetka <mario.fetka@gmail.com> zarafa-6.40.2.ebuild:
|
||||
first step to integrate binary only licensed server
|
||||
|
||||
11 Oct 2010; Mario Fetka <mario.fetka@gmail.com> zarafa-6.40.2.ebuild:
|
||||
add support for direct download
|
||||
|
||||
11 Oct 2010; Mario Fetka <mario.fetka@gmail.com> +metadata.xml:
|
||||
initial checkin based on g.o bug #239514
|
||||
|
@ -1,21 +0,0 @@
|
||||
AUX 50_zarafa-webaccess-mobile.conf 298 RMD160 06cc5aed60486f78327aa20c0d03fd7ab10b52be SHA1 bef2feeb930d36403a48545045969b2556513dee SHA256 7019d90fae91e2efb54c2b002ff3ee40de5a684686a74753385514b6abbe8581
|
||||
AUX 50_zarafa-webaccess.conf 270 RMD160 226eb8c9661ff57347e2f917223a7823e666324a SHA1 fbd9efab7f9a1f85e55df142c0d553317eab1436 SHA256 ddf11e70107c2d6eaf40ba8253e2118822ee66eddaf471afebca248ba71e85a6
|
||||
AUX patches/fix-pthread.patch 1779 RMD160 48976038f579e5472395efdcec860b131e6be6da SHA1 ae10a342780d7699c30fb64d43f6c5c7795d89ab SHA256 8bfd5987ff8bf4d754b1ff69aa491ac56b3f12dafa3354566218c3f573f15160
|
||||
AUX patches/fix-zarafaserver-uuid-linkage.patch 1394 RMD160 f88c3d41e5af48713d5ba5a4f9a9add75724bb45 SHA1 59aadb0eb993c7a552018c37e715bee7caaa1a12 SHA256 c452efb1f6b4deec5f32471b3998d6b9a40a2eacba959b76b3abae7d82e80e22
|
||||
AUX patches/fix-zarafastats-uuid-linkage.patch 1051 RMD160 9713fa23bd16cb69111ecb39f840f8b7026d8f21 SHA1 ca04f80dce737ad10821c2e1bb84cd8f4ea5b9c5 SHA256 a1c0febb372dba9241cd87eded9d0e5940748cf01285a8eee0e43fa38a63fc03
|
||||
AUX patches/zarafa-6.40.0-package.patch 1938 RMD160 48ec724a787bd2b4db3b81b763fc1726a55eec3b SHA1 30aee89b4d186d2371568911ccfa245f1e39b4b7 SHA256 546ae930ee2f167987f336d873e68110394dad7573d9397c39f5c10166aa8eab
|
||||
AUX patches/zarafa-6.40.2-libtcmalloc_shared-1.patch 857 RMD160 7112bfd1b5c1bf628f33521138d76ebdc9e8fa84 SHA1 638f39aa252c644362952becd5eb28fe06db8743 SHA256 c66f888d89a07c2c962f60aae81dee5b97cc2f0c0d4b5f725309f9f7509bea55
|
||||
AUX zarafa-gateway.rc6 747 RMD160 c6094f036814bb289eade6f309b9c48ed6b683d5 SHA1 6182824447f9373badf2b2536d41190451fbceb0 SHA256 d08eb9eb5e548dca24e644aee4196aa135ef79d74d244675eeb9ea47594311b0
|
||||
AUX zarafa-ical.rc6 663 RMD160 db306a10e7777889e9460488575cbdd1ddc9037e SHA1 8fa807d0da22ab4fc1f3156c3a7dc0fe3cdab1ad SHA256 1eec0c538a0264eb2757b5687c8285394f899740bc4cba913115f82ccab703e2
|
||||
AUX zarafa-indexer.rc6 720 RMD160 93d56a3be2c13e98a4aed6b6cc930a500d297d37 SHA1 7626c82c7f76163ba440c893ef84748d128e46c4 SHA256 39db611a8f3f0952dfb72b00b77bd3dbe760d99c21551e5a6769c7011722ae5a
|
||||
AUX zarafa-licensed.rc6 719 RMD160 8c52c285698bdf307335fbd34b3cf745c4aa5f59 SHA1 ac6933fa631b57f81526a6da4242c5525f7d4882 SHA256 84d511f27ed2a024d670ce042359dc9489ce4041ca447fe98e006bd53345c25f
|
||||
AUX zarafa-monitor.rc6 705 RMD160 d1e524b7ed48ec5b53594595a35d4fb3c02b1a5a SHA1 d9cbd4df039ae95048bc53edcd4c1968166fdde4 SHA256 6d7cc1b2f0c7049f28dccf0d65530f1075e932898ab9b7d68cd73ffc2e4dd6e9
|
||||
AUX zarafa-server.rc6 706 RMD160 d3734a455367d93d316fca873e79467f624b97a2 SHA1 e819806ba99c5b5d4c195cfbace7b4027b053976 SHA256 5a8553127bc529350cf56ea35b558e1d276ca0d4bde92a32583d62d0d790fa4f
|
||||
AUX zarafa-spooler.rc6 705 RMD160 a2981b8e9b60df19d5adce5507ec51ac6d5b12e8 SHA1 09527095beb3891986656cb0e1c53414b7f038bf SHA256 4cf183daf6d86e2bb39073993af8f244bc28ee90feb4cf1ba34e5302894aa2fe
|
||||
AUX zarafa.logrotate 1857 RMD160 d295f5307be6577d3f8fdc89edc7995adae2fd47 SHA1 7188133da91ad6d453811ff5e67d84fde49b4fb9 SHA256 44e26d9ad5eff2e159388698a068df72d9626d91e9be478be00b3e3eaa15913f
|
||||
DIST zarafa-6.40.2-sles11-i586.tar.gz 33437198 RMD160 7fb143fe435a4bf08d1ce8b292388e6d21cb27e1 SHA1 4413d70a5a4d38cd982932caa339d840201ca56d SHA256 28f312275483ad69aa6dd4f120d1b0f96438f3096642d5611be59835e6f34d8e
|
||||
DIST zarafa-6.40.2-sles11-x86_64.tar.gz 33495754 RMD160 d13b1ba2ec8ac21605baac4fb473b6dfa7c33e92 SHA1 98b82ba0343b0eab734cb4c528c869f4133a878e SHA256 b8a0c09c44b22bdfedd146cf79cc2327c95f6c13d3d08bcdfbf25409e363d2a9
|
||||
DIST zarafa-6.40.2.tar.gz 4605538 RMD160 9da243c0d7f5b9e86a5606482a1728b1056dde89 SHA1 3554a6f6cc2f32ee30f628598eb2d5de09fe5f1d SHA256 3ad4598cc6943e7e99d3d8340916dc425db1c54ed76c66a309183cb53b838350
|
||||
EBUILD zarafa-6.40.2.ebuild 5729 RMD160 edb5d50452f67a2ed9754bbc8494bfd0ac7f07c2 SHA1 ca19b11f6e987e3de9158fbe42b633b49bfb5d2b SHA256 08d250449df01b0234bfc75dbf98a1a20449412062c9ffc5e60ffb91e4416974
|
||||
MISC ChangeLog 1000 RMD160 89bf625127fa3d86582175b7b669001324d8107a SHA1 cd2d2fdd16e0c78839fe968e9923c9615b1e754d SHA256 a633601278fd3ab820639c8fc848729f4b6c070645002af9f1b4342aa7bdb914
|
||||
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
@ -1,12 +0,0 @@
|
||||
<IfDefine ZARAFA-WEBACCESS-MOBILE>
|
||||
Alias /webaccess-mobile /usr/share/zarafa-webaccess-mobile
|
||||
|
||||
<Directory /usr/share/zarafa-webaccess-mobile/>
|
||||
DirectoryIndex index.php
|
||||
Options -Indexes +FollowSymLinks
|
||||
AllowOverride Options
|
||||
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
</IfDefine>
|
@ -1,12 +0,0 @@
|
||||
<IfDefine ZARAFA-WEBACCESS>
|
||||
Alias /webaccess /usr/share/zarafa-webaccess
|
||||
|
||||
<Directory /usr/share/zarafa-webaccess/>
|
||||
DirectoryIndex index.php
|
||||
Options -Indexes +FollowSymLinks
|
||||
AllowOverride Options
|
||||
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
</IfDefine>
|
@ -1,44 +0,0 @@
|
||||
Index: zarafa-6.40.2/configure.ac
|
||||
===================================================================
|
||||
--- zarafa-6.40.2.orig/configure.ac
|
||||
+++ zarafa-6.40.2/configure.ac
|
||||
@@ -405,7 +405,7 @@ if test "x$CLUCENE_INCLUDE_PREFIX" != "x
|
||||
CPPFLAGS="$CPPFLAGS -I$CLUCENE_INCLUDE_PREFIX"
|
||||
fi
|
||||
# force add pthread in lucene test
|
||||
-CXXFLAGS="$CXXFLAGS -pthread"
|
||||
+CXXFLAGS="$CXXFLAGS -lpthread"
|
||||
if test -e "${CLUCENE_LIB_PREFIX}/libclucene.a"; then
|
||||
AC_CHECK_LIB(clucene, [open],
|
||||
[ CLUCENE_LIBS="${CLUCENE_LIB_PREFIX}/libclucene.a"
|
||||
@@ -555,7 +555,7 @@ libs_keep=$LIBS
|
||||
AC_CHECK_LIB([pthread], [pthread_create],, AC_MSG_ERROR([required library libpthread missing or unusable]))
|
||||
LIBS=$libs_keep
|
||||
# because it seems this is better... (gnu c/c++ only?)
|
||||
-CXXFLAGS="$CXXFLAGS -pthread"
|
||||
+CXXFLAGS="$CXXFLAGS -lpthread"
|
||||
|
||||
# Only specific links with uuid and dl, clients only with crypto and ssl for ssl connections
|
||||
libs_keep=$LIBS
|
||||
Index: zarafa-6.40.2/ltmain.sh
|
||||
===================================================================
|
||||
--- zarafa-6.40.2.orig/ltmain.sh
|
||||
+++ zarafa-6.40.2/ltmain.sh
|
||||
@@ -1647,7 +1647,7 @@ EOF
|
||||
continue
|
||||
;;
|
||||
|
||||
- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
|
||||
+ -mt|-mthreads|-kthread|-Kthread|-lpthread|-pthreads|--thread-safe|-threads)
|
||||
compiler_flags="$compiler_flags $arg"
|
||||
compile_command="$compile_command $arg"
|
||||
finalize_command="$finalize_command $arg"
|
||||
@@ -2150,7 +2150,7 @@ EOF
|
||||
lib=
|
||||
found=no
|
||||
case $deplib in
|
||||
- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
|
||||
+ -mt|-mthreads|-kthread|-Kthread|-lpthread|-pthreads|--thread-safe|-threads)
|
||||
if test "$linkmode,$pass" = "prog,link"; then
|
||||
compile_deplibs="$deplib $compile_deplibs"
|
||||
finalize_deplibs="$deplib $finalize_deplibs"
|
@ -1,26 +0,0 @@
|
||||
Index: zarafa-6.40.0/provider/server/Makefile.in
|
||||
===================================================================
|
||||
--- zarafa-6.40.0.orig/provider/server/Makefile.in
|
||||
+++ zarafa-6.40.0/provider/server/Makefile.in
|
||||
@@ -274,7 +274,7 @@ zarafa_server_LDADD = $(UUID_LIBS) $(INT
|
||||
${top_builddir}/common/libcommon_util.la \
|
||||
${top_builddir}/common/libcommon_mapi.la \
|
||||
${top_builddir}/common/libcommon_ssl.la \
|
||||
- $(MYSQL_LIBS) $(SSL_LIBS) $(PAM_LIBS) $(KRB5_LIBS) $(TCMALLOC_LIBS) -lrt
|
||||
+ $(MYSQL_LIBS) $(UUID_LIBS) $(SSL_LIBS) $(PAM_LIBS) $(KRB5_LIBS) $(TCMALLOC_LIBS) -lrt
|
||||
|
||||
zarafa_server_SOURCES = ECServer.cpp \
|
||||
ECSoapServerConnection.h ECSoapServerConnection.cpp \
|
||||
Index: zarafa-6.40.0/provider/server/Makefile.am
|
||||
===================================================================
|
||||
--- zarafa-6.40.0.orig/provider/server/Makefile.am
|
||||
+++ zarafa-6.40.0/provider/server/Makefile.am
|
||||
@@ -18,7 +18,7 @@ zarafa_server_LDADD = $(UUID_LIBS) $(INT
|
||||
${top_builddir}/common/libcommon_util.la \
|
||||
${top_builddir}/common/libcommon_mapi.la \
|
||||
${top_builddir}/common/libcommon_ssl.la \
|
||||
- $(MYSQL_LIBS) $(SSL_LIBS) $(PAM_LIBS) $(KRB5_LIBS) $(TCMALLOC_LIBS) -lrt
|
||||
+ $(MYSQL_LIBS) $(UUID_LIBS) $(SSL_LIBS) $(PAM_LIBS) $(KRB5_LIBS) $(TCMALLOC_LIBS) -lrt
|
||||
|
||||
zarafa_server_SOURCES = ECServer.cpp \
|
||||
ECSoapServerConnection.h ECSoapServerConnection.cpp \
|
@ -1,24 +0,0 @@
|
||||
diff -Nuar zarafa-6.40.0.orig/ECtools/zarafa-stats/Makefile.am zarafa-6.40.0/ECtools/zarafa-stats/Makefile.am
|
||||
--- zarafa-6.40.0.orig/ECtools/zarafa-stats/Makefile.am 2010-04-26 11:37:49.561680215 +0300
|
||||
+++ zarafa-6.40.0/ECtools/zarafa-stats/Makefile.am 2010-04-26 11:38:31.435806562 +0300
|
||||
@@ -13,7 +13,7 @@
|
||||
${top_builddir}/mapi4linux/src/libmapi.la \
|
||||
${top_builddir}/common/libcommon_mapi.la \
|
||||
${top_builddir}/common/libcommon_util.la \
|
||||
- -lncurses
|
||||
+ -lncurses -luuid
|
||||
|
||||
zarafa_stats_SOURCES = zarafa-stats.cpp
|
||||
|
||||
diff -Nuar zarafa-6.40.0.orig/ECtools/zarafa-stats/Makefile.in zarafa-6.40.0/ECtools/zarafa-stats/Makefile.in
|
||||
--- zarafa-6.40.0.orig/ECtools/zarafa-stats/Makefile.in 2010-04-26 11:37:49.561680215 +0300
|
||||
+++ zarafa-6.40.0/ECtools/zarafa-stats/Makefile.in 2010-04-26 11:38:22.475687815 +0300
|
||||
@@ -250,7 +250,7 @@
|
||||
${top_builddir}/mapi4linux/src/libmapi.la \
|
||||
${top_builddir}/common/libcommon_mapi.la \
|
||||
${top_builddir}/common/libcommon_util.la \
|
||||
- -lncurses
|
||||
+ -lncurses -luuid
|
||||
|
||||
zarafa_stats_SOURCES = zarafa-stats.cpp
|
||||
all: all-am
|
@ -1,61 +0,0 @@
|
||||
Patch by Robert Scheck <robert@fedoraproject.org> 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.
|
||||
|
||||
--- zarafa-6.40.0/configure.ac 2010-05-31 15:45:19.000000000 +0200
|
||||
+++ zarafa-6.40.0/configure.ac.package 2010-06-06 02:48:22.000000000 +0200
|
||||
@@ -772,19 +772,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/libarchiver/Makefile
|
||||
- ECtools/zarafa-archiver/Makefile
|
||||
- debian/zarafa.install
|
||||
-])
|
||||
-fi
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
--- zarafa-6.40.0/Makefile.am 2010-05-31 15:45:19.000000000 +0200
|
||||
+++ zarafa-6.40.0/Makefile.am.package 2010-06-06 02:51:29.000000000 +0200
|
||||
@@ -1,9 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = 1.9 foreign
|
||||
|
||||
-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
|
||||
|
||||
if WITH_PERL
|
||||
@@ -17,10 +13,6 @@
|
||||
common/ecversion.h: versionheader.sh
|
||||
sh ${top_srcdir}/versionheader.sh > common/ecversion.h
|
||||
|
||||
-if ! OSS_ONLY
|
||||
-CLEANFILES=common/ecversion.h
|
||||
-endif
|
||||
-
|
||||
dist-hook:
|
||||
find $(distdir) -type d -name .svn -exec rm -rf {} \; 2>/dev/null || true
|
||||
if OSS_ONLY
|
||||
--- zarafa-6.40.0/ECtools/Makefile.am 2010-05-31 15:45:18.000000000 +0200
|
||||
+++ zarafa-6.40.0/ECtools/Makefile.am.package 2010-06-06 02:48:37.000000000 +0200
|
||||
@@ -1,7 +1,3 @@
|
||||
-if ! OSS_ONLY
|
||||
-PROSUBS = zarafa-backup zarafa-report libarchiver zarafa-archiver
|
||||
-endif
|
||||
-
|
||||
if WITH_TESTTOOLS
|
||||
TESTSUBS = ECTestTools
|
||||
endif
|
@ -1,19 +0,0 @@
|
||||
Submitted By: Your Name (your at email dot address)
|
||||
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
|
@ -1,30 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
GATEWAYCONFIG=/etc/zarafa/gateway.cfg
|
||||
GATEWAYPROGRAM=/usr/bin/zarafa-gateway
|
||||
|
||||
[ -x $GATEWAYPROGRAM ] || exit 0
|
||||
|
||||
GATEWAYCONFIG_OPT=""
|
||||
[ ! -z $GATEWAYCONFIG -a -f $GATEWAYCONFIG ] && GATEWAYCONFIG_OPT="-c $GATEWAYCONFIG"
|
||||
|
||||
PIDFILE=/var/run/"${SVCNAME}".pid
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${GATEWAYPROGRAM} -- ${GATEWAYCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${GATEWAYPROGRAM} -- ${GATEWAYCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
ICALCONFIG=/etc/zarafa/ical.cfg
|
||||
ICALPROGRAM=/usr/bin/zarafa-ical
|
||||
|
||||
[ -x $ICALPROGRAM ] || exit 0
|
||||
|
||||
ICALCONFIG_OPT=""
|
||||
[ ! -z $ICALCONFIG -a -f $ICALCONFIG ] && ICALCONFIG_OPT="-c $ICALCONFIG"
|
||||
|
||||
PIDFILE=/var/run/"${SVCNAME}".pid
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${ICALPROGRAM} -- ${ICALCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${ICALPROGRAM} -- ${ICALCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
INDEXERCONFIG=/etc/zarafa/indexer.cfg
|
||||
INDEXERPROGRAM=/usr/bin/zarafa-indexer
|
||||
|
||||
[ -x $INDEXERPROGRAM ] || exit 0
|
||||
|
||||
INDEXERCONFIG_OPT=""
|
||||
[ ! -z $INDEXERCONFIG -a -f $INDEXERCONFIG ] && INDEXERCONFIG_OPT="-c $INDEXERCONFIG"
|
||||
|
||||
PIDFILE=/var/run/"${SVCNAME}".pid
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${INDEXERPROGRAM} -- ${INDEXERCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop \
|
||||
--pidfile ${PIDFILE} \
|
||||
--retry 65 \
|
||||
--exec ${INDEXERPROGRAM} -- ${INDEXERCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
LICENSEDCONFIG=/etc/zarafa/licensed.cfg
|
||||
LICENSEDPROGRAM=/usr/bin/zarafa-licensed
|
||||
|
||||
[ -x $LICENSEDPROGRAM ] || exit 0
|
||||
|
||||
LICENSEDCONFIG_OPT=""
|
||||
[ ! -z $LICENSEDCONFIG -a -f $LICENSEDCONFIG ] && LICENSEDCONFIG_OPT="-c $LICENSEDCONFIG"
|
||||
|
||||
PIDFILE=/var/run/"${SVCNAME}".pid
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${LICENSEDPROGRAM} -- ${LICENSEDCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${LICENSEDPROGRAM} -- ${LICENSEDCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
MONITORCONFIG=/etc/zarafa/monitor.cfg
|
||||
MONITORPROGRAM=/usr/bin/zarafa-monitor
|
||||
|
||||
[ -x $MONITORPROGRAM ] || exit 0
|
||||
|
||||
MONITORCONFIG_OPT=""
|
||||
[ ! -z $MONITORCONFIG -a -f $MONITORCONFIG ] && MONITORCONFIG_OPT="-c $MONITORCONFIG"
|
||||
|
||||
PIDFILE=/var/run/"${SVCNAME}".pid
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${MONITORPROGRAM} -- ${MONITORCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${MONITORPROGRAM} -- ${MONITORCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
SERVERCONFIG=/etc/zarafa/server.cfg
|
||||
SERVERPROGRAM=/usr/bin/zarafa-server
|
||||
|
||||
[ -x $SERVERPROGRAM ] || exit 0
|
||||
|
||||
SERVERCONFIG_OPT=""
|
||||
[ ! -z $SERVERCONFIG -a -f $SERVERCONFIG ] && SERVERCONFIG_OPT="-c $SERVERCONFIG"
|
||||
|
||||
PIDFILE=/var/run/"${SVCNAME}".pid
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${SERVERPROGRAM} -- ${SERVERCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop \
|
||||
--pidfile ${PIDFILE} \
|
||||
--retry 65 \
|
||||
--exec ${SERVERPROGRAM} -- ${SERVERCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
SPOOLERCONFIG=/etc/zarafa/spooler.cfg
|
||||
SPOOLERPROGRAM=/usr/bin/zarafa-spooler
|
||||
|
||||
[ -x $SPOOLERPROGRAM ] || exit 0
|
||||
|
||||
SPOOLERCONFIG_OPT=""
|
||||
[ ! -z $SPOOLERCONFIG -a -f $SPOOLERCONFIG ] && SPOOLERCONFIG_OPT="-c $SPOOLERCONFIG"
|
||||
|
||||
PIDFILE=/var/run/"${SVCNAME}".pid
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${SPOOLERPROGRAM} -- ${SPOOLERCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${SPOOLERPROGRAM} -- ${SPOOLERCONFIG_OPT}
|
||||
eend $?
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
#
|
||||
# This is an example for the common logrotate system.
|
||||
# Copy this file to /etc/logrotate.d/zarafa to activate it.
|
||||
# Also, check the location of the logfiles, and replace if needed.
|
||||
#
|
||||
|
||||
/var/log/zarafa/dagent.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
killall -HUP zarafa-dagent
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/zarafa/indexer.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
killall -HUP zarafa-indexer
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/zarafa/licensed.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
killall -HUP zarafa-licensed
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/zarafa/server.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
killall -HUP zarafa-server
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/zarafa/spooler.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
killall -HUP zarafa-spooler
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/zarafa/monitor.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
killall -HUP zarafa-monitor
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/zarafa/gateway.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
killall -HUP zarafa-gateway
|
||||
endscript
|
||||
}
|
||||
|
||||
/var/log/zarafa/ical.log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
killall -HUP zarafa-ical
|
||||
endscript
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!--
|
||||
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
|
||||
|
||||
This is the example metadata file.
|
||||
The root element of this file is <pkgmetadata>. Within this element a
|
||||
number of subelements are allowed: herd, maintainer, and
|
||||
longdescription. herd is a required subelement.
|
||||
|
||||
For a full description look at:
|
||||
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
|
||||
|
||||
|
||||
Before committing, please remove the comments from this file. They are
|
||||
not relevant for general metadata.xml files.
|
||||
-->
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>@gentoo.org</email>
|
||||
<!-- <description>Description of the maintainership</description> -->
|
||||
</maintainer>
|
||||
<!-- <longdescription>Long description of the package</longdescription> -->
|
||||
<!--
|
||||
<use>
|
||||
<flag name='flag'>Description of how USE='flag' affects this package</flag>
|
||||
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
|
||||
package</flag>
|
||||
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
|
||||
Requires an installed dictionary from <cat>app-dicts</cat></flag>
|
||||
</use>
|
||||
-->
|
||||
</pkgmetadata>
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2010 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"
|
||||
|
||||
inherit eutils php-ext-base-r1 autotools rpm5
|
||||
|
||||
DESCRIPTION="Open Source Groupware Solution"
|
||||
HOMEPAGE="http://zarafa.com/"
|
||||
SRC_URI="http://download.zarafa.com/zarafa/drupal/ondemand.php?version=${PV}&src=zarafa-${PV} -> ${P}.tar.gz
|
||||
!arm? ( licensed? (
|
||||
amd64? ( http://download.zarafa.com/zarafa/drupal/ondemand.php?version=${PV}&distro=sles&distroversion=11&arch=x86_64&type=1 -> zarafa-${PV}-sles11-x86_64.tar.gz )
|
||||
x86? ( http://download.zarafa.com/zarafa/drupal/ondemand.php?version=${PV}&distro=sles&distroversion=11&arch=i586&type=1 -> zarafa-${PV}-sles11-i586.tar.gz ) ) )"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
RESTRICT=""
|
||||
IUSE="debug ldap logrotate licensed static tcmalloc kerberos"
|
||||
|
||||
RDEPEND=">=dev-libs/libical-0.44
|
||||
dev-cpp/libvmime:0.7
|
||||
>=dev-lang/php-5.2.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
|
||||
virtual/httpd-php
|
||||
kerberos? ( || ( app-crypt/mit-krb5 app-crypt/heimdal ) )
|
||||
ldap? ( net-nds/openldap )
|
||||
logrotate? ( app-admin/logrotate )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
!arm? ( licensed? (
|
||||
dev-libs/openssl:0.9.8
|
||||
>=sys-libs/zlib-1.2.4
|
||||
) )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
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
|
||||
if use x86; then
|
||||
rpm5_unpack $(find ./../zarafa-${PV}-sles11-i586 -name "zarafa-licensed*")
|
||||
rpm5_unpack $(find ./../zarafa-${PV}-sles11-i586 -name "zarafa-webaccess-muc*")
|
||||
fi
|
||||
if use amd64; then
|
||||
rpm5_unpack $(find ./../zarafa-${PV}-sles11-x86_64 -name "zarafa-licensed*")
|
||||
rpm5_unpack $(find ./../zarafa-${PV}-sles11-x86_64 -name "zarafa-webaccess-muc*")
|
||||
fi
|
||||
cd "${S}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SOURCE="${FILESDIR}/patches" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" epatch
|
||||
edos2unix php-webclient-ajax/config.php.dist
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-oss \
|
||||
--disable-perl \
|
||||
--disable-testtools \
|
||||
--enable-release \
|
||||
--with-userscript-prefix=/etc/zarafa/userscripts \
|
||||
--with-quotatemplate-prefix=/etc/zarafa/quotamails \
|
||||
--with-indexerscripts-prefix=/etc/zarafa/indexerscripts \
|
||||
$(use_enable static) \
|
||||
$(use_enable tcmalloc) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
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"
|
||||
|
||||
php-ext-base-r1_src_install
|
||||
|
||||
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"
|
||||
|
||||
dodir /var/log/zarafa
|
||||
keepdir /var/log/zarafa
|
||||
|
||||
if ! use arm; 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/packages/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"
|
||||
newinitd "${FILESDIR}"/zarafa-licensed.rc6 zarafa-licensed || die "Failed to install init.d files"
|
||||
fi
|
||||
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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user