net-mail/zarafa: bump

(Portage version: 2.1.9.24/svn/Linux x86_64, RepoMan options: --force)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2720 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-11-11 19:32:41 +00:00
parent 28c5f5563f
commit b4d6d94542
4 changed files with 254 additions and 1 deletions

View File

@ -2,6 +2,12 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*zarafa-6.40.3 (11 Nov 2010)
11 Nov 2010; Mario Fetka <mario.fetka@gmail.com> +zarafa-6.40.3.ebuild,
+files/zarafa-dagent.rc6:
bump
13 Oct 2010; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
move package to net mail as in dagger overlay

View File

@ -6,6 +6,7 @@ AUX patches/fix-zarafastats-uuid-linkage.patch 1051 RMD160 9713fa23bd16cb69111ec
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 patches/zarafa-6.40.2-sysconfig2confd-1.patch 8497 RMD160 1838567e668a32833d22e286defa73877cb515d2 SHA1 4ce13564cfc80598636b1c94028db3613feeb98c SHA256 cd1128ec66f18c887b6b304648e3a94b9aea782e363a303fc636b8f66b43fc5f
AUX zarafa-dagent.rc6 2016 RMD160 45cbcb81da30a34be4202f3d9b84f38b12ecf57b SHA1 aaccebd9658dc8da88a32f7300922557fd4c621c SHA256 696d0f7b0c41814ca15d775b0595eb46b95fc59e1cf2a30935eba2c717ff16d6
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
@ -17,6 +18,10 @@ AUX zarafa.logrotate 1857 RMD160 d295f5307be6577d3f8fdc89edc7995adae2fd47 SHA1 7
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
DIST zarafa-6.40.3-sles11-i586.tar.gz 33442154 RMD160 ce7df049fb212b780ffda7d760639055fa70837a SHA1 4fbff313b380b9f19a980c978fb0c8cb0df91db0 SHA256 20abea6680dc2b712627ca7ad6a31160cc119c0418aa47a4a7dee15b7d7450a4
DIST zarafa-6.40.3-sles11-x86_64.tar.gz 33498710 RMD160 a248f9c912f3278a80f31e3af3fcdd63de20dc1b SHA1 af2e9ca6dc0166290f0c2244c58ff62bf8e7846d SHA256 34898af3076f0a28e85b5319d548b136f0aa5a744b3776a1c045793fd5490863
DIST zarafa-6.40.3.tar.gz 4609906 RMD160 36cf0a26f57335b155483d91177a7450dba86162 SHA1 dc1b5df3fc817d2c382fae9e23b7799f22348e11 SHA256 f9fa001ebc912ec17e1cc68b0eceaa7872f735c65f4a9d11e054d1918bc41433
EBUILD zarafa-6.40.2.ebuild 5891 RMD160 df18e48c535664d6e6fdd12c317bf5cb7c9491ce SHA1 10a11963d0dc299b7408fe6381e2a72c83578f78 SHA256 85b6a58aef2533c2d4d07133e33940be519fee3958b63f0b59e3b65c1c4a63ea
MISC ChangeLog 1111 RMD160 5811030ac0610354602559c3b03742926794b105 SHA1 5c298a40b586f193a423e032bafd1a463cbbd779 SHA256 74d3ed9333d8eeefe80cbc832b96dc4d655f1878e905ab771f72938c77e0a6ac
EBUILD zarafa-6.40.3.ebuild 5946 RMD160 df73f86e7c925336f7aff6465ae6b371c3ac8074 SHA1 83d30f1f89bb9a4f070a323246fbe7188d6adbb4 SHA256 439a63403644f6dfed33263984ed181f3fb14b5d45eb46f469bd51af1d4361ed
MISC ChangeLog 1251 RMD160 e1148a1dc01768d4812139ec202d5cd19ce3b418 SHA1 a622636c5a1971cd6e7f2d6b4a40fefbde5e0d1a SHA256 8b531b81598430be1b34955ae7e28fde5bc2af8fa1cc017c5a3bb4b331af0140
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -0,0 +1,69 @@
#!/sbin/runscript
#
# zarafa-dagent Zarafa Outlook Sharing LMTP Delivery agent
#
# chkconfig: - 86 24
# description: The Zarafa Delivery agent in LMTP mode can be used to \
# run the zarafa-dagent in daemon mode and let your SMTP \
# server connect to it to deliver email to users using \
# the LMTP protocol. The Zarafa Delivery agent can also \
# be used as a standalone program.
# processname: /usr/bin/zarafa-dagent
# config: /etc/zarafa/dagent.cfg
# pidfile: /var/run/zarafa-dagent.pid
### BEGIN INIT INFO
# Provides: zarafa-dagent
# Required-Start: $local_fs $network $remote_fs $syslog
# Required-Stop: $local_fs $network $remote_fs $syslog
# Should-Start: zarafa-server
# Should-Stop: zarafa-server
# Short-Description: Zarafa Outlook Sharing LMTP Delivery agent
# Description: The Zarafa Delivery agent in LMTP mode can be used to run
# the zarafa-dagent in daemon mode and let your SMTP server
# connect to it to deliver email to users using the LMTP
# protocol. The Zarafa Delivery agent can also be used as a
# standalone program.
### END INIT INFO
DAGENTCONFIG=/etc/zarafa/dagent.cfg
DAGENTPROGRAM=/usr/bin/zarafa-dagent
# Sanity checks.
[ -x $DAGENTPROGRAM ] || exit 0
# the -d option is required to run LMTP mode deamonized
DAGENTCONFIG_OPT="-d"
[ ! -z $DAGENTCONFIG -a -f $DAGENTCONFIG ] && DAGENTCONFIG_OPT="$DAGENTCONFIG_OPT -c $DAGENTCONFIG"
PIDFILE=/var/run/"${SVCNAME}".pid
opts="${opts} reload"
depend() {
need mta
}
start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start \
--pidfile ${PIDFILE} \
--exec ${DAGENTPROGRAM} -- ${DAGENTCONFIG_OPT}
eend $?
}
stop() {
ebegin $"Stopping ${SVCNAME}"
start-stop-daemon --stop \
--pidfile ${PIDFILE} \
--exec ${DAGENTPROGRAM} -- ${DAGENTCONFIG_OPT}
eend $?
}
reload() {
ebegin $"Reloading ${SVCNAME}"
start-stop-daemon --stop --signal HUP --oknodo\
--pidfile ${PIDFILE} \
--exec ${DAGENTPROGRAM}
eend $?
}

View File

@ -0,0 +1,173 @@
# 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 perl kerberos"
RDEPEND=">=dev-libs/libical-0.44
dev-cpp/libvmime:0.7
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
kerberos? ( || ( app-crypt/mit-krb5 app-crypt/heimdal ) )
ldap? ( net-nds/openldap )
logrotate? ( app-admin/logrotate )
tcmalloc? ( dev-util/google-perftools )
perl? ( dev-lang/perl )
!arm? ( licensed? (
dev-libs/openssl:0.9.8
>=sys-libs/zlib-1.2.4
) )"
# sparsehash? ( dev-cpp/sparsehash )
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 arm; then
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
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 perl) \
$(use_enable static) \
$(use_enable tcmalloc) \
$(use_enable debug)
}
# $(use_enable sparsehash) \
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"
newinitd "${FILESDIR}"/zarafa-dagent.rc6 zarafa-dagent || die "Failed to install init.d files"
}