initial commit
Package-Manager: portage-2.2.0_alpha166 RepoMan-Options: --force
This commit is contained in:
parent
34c1b574b4
commit
65bf5088c4
9
www-apps/zarafa-sabre/ChangeLog
Normal file
9
www-apps/zarafa-sabre/ChangeLog
Normal file
@ -0,0 +1,9 @@
|
||||
# ChangeLog for www-apps/zarafa-sabre
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*zarafa-sabre-0.15.9 (16 Apr 2013)
|
||||
|
||||
16 Apr 2013; Mario Fetka <mario.fetka@gmail.com> +files/postinstall-en.txt,
|
||||
+files/postupgrade-en.txt, +zarafa-sabre-0.15.9.ebuild:
|
||||
initial commit
|
6
www-apps/zarafa-sabre/Manifest
Normal file
6
www-apps/zarafa-sabre/Manifest
Normal file
@ -0,0 +1,6 @@
|
||||
AUX postinstall-en.txt 1120 SHA256 c592347c7a10d719e1cdc00f091d6c097aba2daebeca296449dba30d8a531062 SHA512 da5cb2ee102602c73fb91ebd4ea03975b1aa95254249d461c29d409387bc91432a523ee0e73d8729e127c6919cd084618fffc5e5bd847661d87f4c97137d2658 WHIRLPOOL ab7140d2374ed3376819326e595a77d6a7dd9d6bd447d6bd051c62420847d9e8ec61eb3b5af87fd006fbb98921f3a40ba1fa642337c84a1bca713f18cf81816a
|
||||
AUX postupgrade-en.txt 657 SHA256 ab32b3accbcd072253b2b4d1768a5a23a94dd213779749ca389c402010d2c405 SHA512 878330a71a58df1aa1110942b747c4caa7f40965df9179f895e6f25a970eaa0b2f69167cefc5a1d3e6f6aaaad54bd66e96347460060cf5d9cb34703a6e3feadf WHIRLPOOL 87fd74d067f1a0d7c986ca3b52850e60b293b324d8df3bfd01566a579d6b6851df8c56bb9a53630225a83adf8e17a4c4795246211e1ffa90dbf87b1fd551c689
|
||||
DIST SabreDAV-1.6.9.zip 481119 SHA256 b17e2fddc8975156bf6bf4d6b5e02fe5ab335fce047d812f4749decae399b751 SHA512 c7f3aa632f42c8c8f8cc7592ebc5f0dd0eb00cab2e7a880766d39c154334b200992f929808c9c7c9d2b7d79772f90cc2678ef063032e13e0309c8be48d89ce7a WHIRLPOOL d3f32d2699b45274f1409e824115cfa0de0bc5832b2ae76ac65def5beb78f114ce220b0ddcc396eaf54399a5291e669fc94221f5bac5ffe1f979c397bcd8d097
|
||||
DIST sabre-zarafa-0.15.tar.gz 234888 SHA256 bbb71dfcc4b50a7dbebc071df64dbc250315f844f6a5c2b93e166c269aa27905 SHA512 382532b269a426cbafc8dda845dfdf355fa61061a24741651c5adf1b2fc56f6b03d224cac95b29284b517d08d52dd2c19759c776eda4823c9b1150b20d2aacf6 WHIRLPOOL d70627cedbaf91a5a1f33d5c9e26745cee8fcdf2ee3702685603f372fd1e12275b805a388c11966d33fdcb3f7fbb634b5144025e84f12c31add14c3348dc1c4e
|
||||
EBUILD zarafa-sabre-0.15.9.ebuild 1565 SHA256 a052dea29c3238dc3836edf68850b56790860f58af1fe9108f7953580dfbd3ab SHA512 c213b8f91d117e1e1a9a52142fc09c3593594e751eda4565da0d39bfbe4135d8b7b015fbdaaa0a31818331e10e56ececf227af674cf18c53000a19ddf76b2852 WHIRLPOOL 8ada5da50046a6eafc93df3308fabf206eaeec96d4c5a50e408927e2640970337e06fa26752ee48743d1466b752856f87d09b6d363080417c8a2f97b0a715e04
|
||||
MISC ChangeLog 311 SHA256 5d3962468d7d3c55732b68a302a25b47b35033c179e2fde9d1d38d091d157c86 SHA512 08c8c32702e1f3aef2e5921d5a75942370d7da64b9a935cc764dd30d76160ee256577a7cb66b3a5a14eaca96a182dd866410d008b7fc484b2c4a98db3b8d63c3 WHIRLPOOL 683f58c56ab573941010b936aec86ab35cd8fbb9f92c42cca868b3ae560bca297a9e5cca39834c684e5e8892c2d0f3f0512b84cba7d7633bac44ae8b9ee44aba
|
25
www-apps/zarafa-sabre/files/postinstall-en.txt
Normal file
25
www-apps/zarafa-sabre/files/postinstall-en.txt
Normal file
@ -0,0 +1,25 @@
|
||||
------------------------------------------------------------------------
|
||||
INSTALLATION
|
||||
|
||||
|
||||
Edit config.inc.php to setup your domain name. This should work without setting it but it is better for SabreDAV to work.
|
||||
You can also adjust other settings, some are highly experimentals (non utf8 vcards for instance) and should be used only for testing.
|
||||
|
||||
You then need to redirect all requets to server.php. To do this you can use mod_rewrite:
|
||||
|
||||
<Directory /var/www/${VHOST_HOSTNAME}/zarafa-sabre>
|
||||
DirectoryIndex server.php
|
||||
RewriteEngine On
|
||||
RewriteBase /zarafa-sabre
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^.*$ /zarafa-sabre/server.php
|
||||
</Directory>
|
||||
|
||||
Please note that the authentification backend use Basic auth. Some clients will only work with Basic auth if the host use SSL.
|
||||
|
||||
Some detailed information about SabreDAV setup are available in SabreDAV documentation. Do not hesitate to read it!
|
||||
|
||||
Finally you should be able to log in to Sabre-Zaraf at
|
||||
|
||||
http://${VHOST_HOSTNAME}/zarafa-sabre
|
13
www-apps/zarafa-sabre/files/postupgrade-en.txt
Normal file
13
www-apps/zarafa-sabre/files/postupgrade-en.txt
Normal file
@ -0,0 +1,13 @@
|
||||
------------------------------------------------------------------------
|
||||
UPGRADE
|
||||
|
||||
Upgrading to a newer Sabre-Zarafa version follows the same path as the initial
|
||||
installation.
|
||||
|
||||
When upgrading to a new minor version e.g. from Sabre-Zarafa 0.15.1 to Sabre-Zarafa 0.15.2,
|
||||
the existing Sabre-Zarafa 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.
|
||||
|
||||
Please also observe the published release notes of the new Sabre-Zarafa version.
|
||||
For some releases it is necessary to e.g. resynchronize the mobile.
|
53
www-apps/zarafa-sabre/zarafa-sabre-0.15.9.ebuild
Normal file
53
www-apps/zarafa-sabre/zarafa-sabre-0.15.9.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit webapp eutils rpm depend.php versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 3 '-' )
|
||||
MY_PVV=$(replace_version_separator 3 'beta' $MY_PV )
|
||||
MY_PVM=$(get_version_component_range 1-2 )
|
||||
MY_PVS=$(get_version_component_range 3 )
|
||||
|
||||
DESCRIPTION="A SabreDAV backend for Zarafa groupware"
|
||||
HOMEPAGE="https://code.google.com/p/sabre-zarafa/"
|
||||
|
||||
SRC_URI="https://sabre-zarafa.googlecode.com/files/sabre-zarafa-${MY_PVM}.tar.gz
|
||||
https://sabredav.googlecode.com/files/SabreDAV-1.6.${MY_PVS}.zip"
|
||||
|
||||
S="${WORKDIR}/sabre-zarafa-${MY_PVM}"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
RESTRICT="mirror"
|
||||
IUSE=""
|
||||
|
||||
need_php_httpd
|
||||
|
||||
pkg_setup () {
|
||||
webapp_pkg_setup
|
||||
require_php_with_use iconv session xml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
# rearrange files and remove unneeded ones
|
||||
rm lib/Sabre.includes.php || die "Unexpected source layout; ebuild needs update"
|
||||
rm -r lib/Sabre || die "Unexpected source layout; ebuild needs update"
|
||||
cp -r "${S}/../SabreDAV/lib/Sabre" "${S}/lib" || die "Unexpected source layout; ebuild needs update"
|
||||
cp -r "${S}/../SabreDAV/lib/Sabre.includes.php" "${S}/lib" || die "Unexpected source layout; ebuild needs update"
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r "${S}"/*
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}/config.inc.php"
|
||||
webapp_configfile "${MY_HTDOCSDIR}/config.inc.php"
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user