www-apps/z-push: initial commit

(Portage version: 2.1.10.3/svn/Linux x86_64)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/zarafa@2934 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-06-19 06:18:37 +00:00
parent 6b0f3add83
commit 51a384c5f8
6 changed files with 116 additions and 0 deletions

10
www-apps/z-push/ChangeLog Normal file
View File

@ -0,0 +1,10 @@
# ChangeLog for www-apps/z-push
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*z-push-1.5.2 (19 Jun 2011)
19 Jun 2011; Mario Fetka <mario.fetka@gmail.com> +z-push-1.5.2.ebuild,
+files/postinstall-en.txt, +files/postupgrade-en.txt, +metadata.xml:
initial commit

6
www-apps/z-push/Manifest Normal file
View File

@ -0,0 +1,6 @@
AUX postinstall-en.txt 1221 RMD160 f180070f3c0a05330041f57f58f61be377dd34a4 SHA1 9b10d58bed5b185649157f786e14ec3253437ee9 SHA256 e7b4e230a6aa4fe5d36ae0be9386a8dde99806c24459bd50f8e87e81bdb3a7a9
AUX postupgrade-en.txt 931 RMD160 f3fa592617e3936446dcec226d61bfec5bf94f6b SHA1 2bcb0b7601b809fa9ff7f2801e7255dc29d62a5c SHA256 b2327357aec4043a349314b31a40e2e2702d4898bcc1be34daf1567f1f28cca3
DIST z-push-1.5.2.tar.gz 161024 RMD160 69a48c8f236e72c95a233fb097b0715597544c9b SHA1 c551283ea6e03276fdff959fe60d9f0063830d10 SHA256 735097dc3e5872215cbe20f93cd4cb0d782e3730018130bbcfdb1aa0247ed65d
EBUILD z-push-1.5.2.ebuild 832 RMD160 acd458a7dd0fc5e304ecf5988c31430b81b002ee SHA1 ac3e218352d58aeb2cbf83b7f111720f150c6596 SHA256 21e50e9e4cbbdf1dacd1ac2525719c172af9d4031c9e78ce04674d34bd2ba804
MISC ChangeLog 307 RMD160 1e3e4e97fa27d3fec1f9536ab282119b9a486925 SHA1 6952106c2553e64eafa67e2b1bb4e3d747fbabc7 SHA256 7cf60d4cf2efe78e2bf4ee62a80fd27eeddfde7aef0d5ceb2b59682e94537b05
MISC metadata.xml 233 RMD160 3caf40e55fe36d4fed694c242d1497eb27a1b1f8 SHA1 b7b9db4ee37dfe2fd40cb4944c568ae5d512158e SHA256 4eb836fc2d96512595bf637662ecca90ff28d126415b9be2ac0e8292adb48850

View File

@ -0,0 +1,33 @@
------------------------------------------------------------------------
INSTALLATION
Now, you must configure Apache to redirect the URL
'Microsoft-Server-ActiveSync' to the index.php file in the Z-Push
directory. This can be done by adding the line
Alias /Microsoft-Server-ActiveSync ${MY_INSTALLDIR}/index.php
to your httpd.conf file. Make sure that you are adding the line to the
correct part of your Apache configuration, taking care of virtual hosts and
other Apache configurations.
*WARNING* You CANNOT simply rename the z-push directory to
Microsoft-Server-ActiveSync. This will cause Apache to send redirects to the
PDA, which will definitely break your PDA synchronisation.
Lastly, make sure that PHP has the following settings:
php_flag magic_quotes_gpc off
php_flag register_globals off
php_flag magic_quotes_runtime off
php_flag short_open_tag on
You can set this in the httpd.conf, in php.ini or in an .htaccess file in
the root of z-push. If you don't set this up correctly, you will not be
able to login correctly via z-push.
After doing this, you should be able to synchronize from your PDA.
Finally you should be able to log in to Z-Push at
http://${VHOST_HOSTNAME}/Microsoft-Server-ActiveSync

View File

@ -0,0 +1,19 @@
------------------------------------------------------------------------
UPGRADE
Upgrading to a newer Z-Push version follows the same path as the initial
installation.
When upgrading to a new minor version e.g. from Z-Push 1.4 to Z-Push 1.4.1,
the existing Z-Push directory can be overwritten when extracting the archive.
When installing a new major version it is recommended to extract the tarball
to another directory and to copy the state from the existing installation.
IMPORTANT: It is crucial to always keep the data of the state directory in
order to ensure data consistency on already synchronized mobiles.
Without the state information mobile devices, which already have an ActiveSync
profile, will receive duplicate items or the synchronization will break completely.
Please also observe the published release notes of the new Z-Push version.
For some releases it is necessary to e.g. resynchronize the mobile.

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>web-apps</herd>
<maintainer>
<email>mario.fetka@gmail.com</email>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,40 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit webapp depend.php
DESCRIPTION="Z-Push is an implementation of the ActiveSync protocol."
HOMEPAGE="http://z-push.sourceforge.net/"
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
LICENSE="AGPL-3"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )"
S="${WORKDIR}"/${PN}
need_php_httpd
src_install() {
webapp_src_preinst
dodoc INSTALL LICENSE
rm -f INSTALL LICENSE
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_serverowned "${MY_HTDOCSDIR}"/state
webapp_configfile "${MY_HTDOCSDIR}"/config.php
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
webapp_src_install
}