www-apps/zarafa: add QA_* workarounds and finisch licensed install

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2519 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-10-12 13:48:49 +00:00
parent db1347a25d
commit 3239edb3bb
3 changed files with 39 additions and 7 deletions

View File

@ -2,6 +2,9 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
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: 12 Oct 2010; Mario Fetka <mario.fetka@gmail.com> zarafa-6.40.2.ebuild:
first step to integrate binary only licensed server first step to integrate binary only licensed server

View File

@ -16,6 +16,6 @@ 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-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-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.2.tar.gz 4605538 RMD160 9da243c0d7f5b9e86a5606482a1728b1056dde89 SHA1 3554a6f6cc2f32ee30f628598eb2d5de09fe5f1d SHA256 3ad4598cc6943e7e99d3d8340916dc425db1c54ed76c66a309183cb53b838350
EBUILD zarafa-6.40.2.ebuild 4027 RMD160 3b5b9faba59cb6a94896be48184c50d0a402d2ab SHA1 0a72334dab8b4c7b8ddaa5b5b09fcb9959dffe3a SHA256 1d39d13f0f64225e29ed8f790335779df2195540cf736b4849fdcc53bbb18906 EBUILD zarafa-6.40.2.ebuild 4551 RMD160 be21275f2f1c4fc6f04199276b0f8194a5ea99b1 SHA1 b0b67cd1e3af7580c56c4d349216156ed5cbc7e5 SHA256 d1f3608ed387879173d09ae86f6188e0f44f713bbb2b9c68456131d94cbfd958
MISC ChangeLog 462 RMD160 679b139915ff212ecd25cc408eb091b8703dcd59 SHA1 e655896faf5f7a31915e99cdaf8e8763997939a9 SHA256 ba3c15083b4d654f4631319c575b1a80172ae4e209b4ee86674f822b0ddd213e MISC ChangeLog 588 RMD160 0fe64eba4d8bd4038cf3e5918479e195df934e71 SHA1 763c188c254ff06782280a772c90ee7631b21c9d SHA256 fe7d214e9385a595d5923d4ec7a80b0af6a495ce0dd6ec4592263d617a2a89d5
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -35,15 +35,38 @@ RDEPEND=">=dev-libs/libical-0.44
net-misc/curl net-misc/curl
sys-libs/e2fsprogs-libs sys-libs/e2fsprogs-libs
sys-libs/zlib sys-libs/zlib
sys-libs/ncurses
sys-libs/pam
virtual/httpd-php virtual/httpd-php
kerberos? ( || ( app-crypt/mit-krb5 app-crypt/heimdal ) ) kerberos? ( || ( app-crypt/mit-krb5 app-crypt/heimdal ) )
ldap? ( net-nds/openldap ) ldap? ( net-nds/openldap )
logrotate? ( app-admin/logrotate ) logrotate? ( app-admin/logrotate )
tcmalloc? ( dev-util/google-perftools )" tcmalloc? ( dev-util/google-perftools )
licensed? (
dev-libs/openssl:0.9.8
>=sys-libs/zlib-1.2.4
)"
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
dev-util/pkgconfig dev-util/pkgconfig
sys-devel/gettext" 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() { src_unpack() {
unpack ${A} unpack ${A}
if use licensed; then if use licensed; then
@ -87,7 +110,6 @@ src_install() {
make DESTDIR="${D}" install-mobile-webaccess || die "make install-mobile-webaccess failed" make DESTDIR="${D}" install-mobile-webaccess || die "make install-mobile-webaccess failed"
insinto /etc/apache2/modules.d insinto /etc/apache2/modules.d
newins "${FILESDIR}/50_mailman.conf-r1" 50_mailman.conf
newins "${FILESDIR}/50_zarafa-webaccess-mobile.conf" 50_zarafa-webaccess-mobile.conf newins "${FILESDIR}/50_zarafa-webaccess-mobile.conf" 50_zarafa-webaccess-mobile.conf
newins "${FILESDIR}/50_zarafa-webaccess.conf" 50_zarafa-webaccess.conf newins "${FILESDIR}/50_zarafa-webaccess.conf" 50_zarafa-webaccess.conf
@ -101,8 +123,15 @@ src_install() {
newins "${FILESDIR}"/zarafa.logrotate zarafa || die "Failed to install logrotate" newins "${FILESDIR}"/zarafa.logrotate zarafa || die "Failed to install logrotate"
fi fi
# install ldap files
if use ldap; then
insinto /etc/openldap/schema
doins installer/ldap/zarafa.*
fi
insinto /etc/zarafa insinto /etc/zarafa
doins "${S}"/installer/linux/*.cfg || die "Failed to install config files" doins installer/linux/*.cfg || die "Failed to install config files"
dodir /var/log/zarafa dodir /var/log/zarafa
keepdir /var/log/zarafa keepdir /var/log/zarafa
@ -110,11 +139,11 @@ src_install() {
if use licensed; then if use licensed; then
dobin ${WORKDIR}/licensed/usr/bin/* dobin ${WORKDIR}/licensed/usr/bin/*
exeinto /usr/$(get_libdir)/zarafa/ exeinto /usr/$(get_libdir)/zarafa/
doexe ${WORKDIR}/licensed/usr/lib/zarafa/*.so doexe ${WORKDIR}/licensed/usr/$(get_libdir)/zarafa/*.so
doman ${WORKDIR}/licensed/usr/share/man/*/*.gz doman ${WORKDIR}/licensed/usr/share/man/*/*.gz
exeinto /usr/share/zarafa/zarafa-backup-helpers/ exeinto /usr/share/zarafa/zarafa-backup-helpers/
doexe ${WORKDIR}/licensed/usr/share/zarafa/zarafa-backup-helpers/* doexe ${WORKDIR}/licensed/usr/share/zarafa/zarafa-backup-helpers/*
dodoc ${WORKDIR}/licensed/usr/share/doc/zarafa-licensed/* dodoc ${WORKDIR}/licensed/usr/share/doc/packages/zarafa-licensed/*
insinto /etc/zarafa insinto /etc/zarafa
doins -r ${WORKDIR}/licensed/etc/zarafa/* doins -r ${WORKDIR}/licensed/etc/zarafa/*
insinto /etc/cron.d insinto /etc/cron.d