diff --git a/www-apps/z-push/ChangeLog b/www-apps/z-push/ChangeLog new file mode 100644 index 0000000..2ea1959 --- /dev/null +++ b/www-apps/z-push/ChangeLog @@ -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 +z-push-1.5.2.ebuild, + +files/postinstall-en.txt, +files/postupgrade-en.txt, +metadata.xml: + initial commit + diff --git a/www-apps/z-push/Manifest b/www-apps/z-push/Manifest new file mode 100644 index 0000000..bbbf8c3 --- /dev/null +++ b/www-apps/z-push/Manifest @@ -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 diff --git a/www-apps/z-push/files/postinstall-en.txt b/www-apps/z-push/files/postinstall-en.txt new file mode 100644 index 0000000..d35d885 --- /dev/null +++ b/www-apps/z-push/files/postinstall-en.txt @@ -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 diff --git a/www-apps/z-push/files/postupgrade-en.txt b/www-apps/z-push/files/postupgrade-en.txt new file mode 100644 index 0000000..fa114ec --- /dev/null +++ b/www-apps/z-push/files/postupgrade-en.txt @@ -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. diff --git a/www-apps/z-push/metadata.xml b/www-apps/z-push/metadata.xml new file mode 100644 index 0000000..8106142 --- /dev/null +++ b/www-apps/z-push/metadata.xml @@ -0,0 +1,8 @@ + + + + web-apps + + mario.fetka@gmail.com + + diff --git a/www-apps/z-push/z-push-1.5.2.ebuild b/www-apps/z-push/z-push-1.5.2.ebuild new file mode 100644 index 0000000..2739ec8 --- /dev/null +++ b/www-apps/z-push/z-push-1.5.2.ebuild @@ -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 )" + +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 +}