diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-02 03:34:49 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-02 03:41:04 +0100 |
commit | b477a3f4d3c2aea591684ee880b0deb414070244 (patch) | |
tree | 85e6e5779ad0f485d4ed5e233336e2f047404ffe /www-apps/davical/files | |
parent | 3413b3adaf242a639bdcae7bb0c8afbc4b5187a0 (diff) | |
download | overlay-b477a3f4d3c2aea591684ee880b0deb414070244.tar.gz overlay-b477a3f4d3c2aea591684ee880b0deb414070244.tar.xz overlay-b477a3f4d3c2aea591684ee880b0deb414070244.zip |
davical: forked from sunrise
changed php library path, the php-lib-r1.eclass now installs the libraries to
/usr/share/php instead of /usr/share/php5
Diffstat (limited to 'www-apps/davical/files')
-rw-r--r-- | www-apps/davical/files/awl_location.patch | 21 | ||||
-rw-r--r-- | www-apps/davical/files/inc_path.patch | 20 | ||||
-rw-r--r-- | www-apps/davical/files/postinstall-en.txt | 18 | ||||
-rw-r--r-- | www-apps/davical/files/vhost-example | 16 |
4 files changed, 75 insertions, 0 deletions
diff --git a/www-apps/davical/files/awl_location.patch b/www-apps/davical/files/awl_location.patch new file mode 100644 index 0000000..7eee3d8 --- /dev/null +++ b/www-apps/davical/files/awl_location.patch @@ -0,0 +1,21 @@ +--- scripts/po/rebuild-translations.sh.orig 2011-09-29 21:23:48.122625252 +0200 ++++ scripts/po/rebuild-translations.sh 2011-09-29 21:49:55.642929743 +0200 +@@ -10,7 +10,7 @@ + PODIR="po" + LOCALEDIR="locale" + APPLICATION="davical" +-AWL_LOCATION="../awl" ++AWL_LOCATION="/usr/share/php/awl/inc" + + if [ ! -d "${AWL_LOCATION}" ]; then + AWL_LOCATION="`find .. -type d -name 'awl-*.*'`" +@@ -25,7 +25,8 @@ + + egrep -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1 + sed "s:../awl:${AWL_LOCATION}:" ${PODIR}/pofilelist.txt >> ${PODIR}/pofilelist.tmp1 +-sort ${PODIR}/pofilelist.tmp1 | uniq > ${PODIR}/pofilelist.tmp ++sed "s:/awl/inc/:/awl/:" ${PODIR}/pofilelist.tmp1 >> ${PODIR}/pofilelist.tmp2 ++sort ${PODIR}/pofilelist.tmp2 | uniq > ${PODIR}/pofilelist.tmp + xgettext --no-location --add-comments=Translators --keyword=translate --keyword=i18n --output=${PODIR}/messages.tmp -s -f ${PODIR}/pofilelist.tmp + sed 's.^"Content-Type: text/plain; charset=CHARSET\\n"."Content-Type: text/plain; charset=UTF-8\\n".' ${PODIR}/messages.tmp > ${PODIR}/messages.pot + rm ${PODIR}/messages.tmp ${PODIR}/pofilelist.tmp ${PODIR}/pofilelist.tmp1 diff --git a/www-apps/davical/files/inc_path.patch b/www-apps/davical/files/inc_path.patch new file mode 100644 index 0000000..bc646f1 --- /dev/null +++ b/www-apps/davical/files/inc_path.patch @@ -0,0 +1,20 @@ +--- htdocs/always.php.orig 2012-01-05 21:28:16.382878446 +0100 ++++ htdocs/always.php 2012-01-05 21:30:06.828431957 +0100 +@@ -48,7 +48,7 @@ + // $c->default_locale = array('es_MX', 'es_AR', 'es', 'pt'); // An array of locales to try, or just a single locale + // $c->local_tzid = 'Pacific/Auckland'; // Perhaps we should read from /etc/timezone - I wonder how standard that is? + $c->default_locale = 'en'; +-$c->locale_path = '../locale'; ++$c->locale_path = '../../davical/locale'; + $c->base_url = preg_replace('#/[^/]+\.php.*$#', '', $_SERVER['SCRIPT_NAME']); + $c->base_directory = preg_replace('#/[^/]*$#', '', $_SERVER['DOCUMENT_ROOT']); + $c->default_privileges = array('read-free-busy', 'schedule-deliver'); +@@ -95,7 +96,7 @@ + } + + // Ensure that ../inc is in our included paths as early as possible +-set_include_path( '../inc'. PATH_SEPARATOR. get_include_path()); ++set_include_path( '../../davical/inc'. PATH_SEPARATOR. get_include_path()); + + + /** We actually discovered this and worked around it earlier, but we can't log it until the utilties are loaded */ diff --git a/www-apps/davical/files/postinstall-en.txt b/www-apps/davical/files/postinstall-en.txt new file mode 100644 index 0000000..5a88a2b --- /dev/null +++ b/www-apps/davical/files/postinstall-en.txt @@ -0,0 +1,18 @@ +You will need access to postgresql database to use davical. + +Read /usr/share/doc/www-apps/davical-${PVR}/INSTALL.gz for installation +instructions. +Release notes are available at +http://wiki.davical.org/w/Release_Notes/${PVR}. +Full documentation and wiki on http://davical.org + +If you are upgrading from a previous version of davical, don't forget to +upgrade the database structure with + cd /usr/share/webapps/davical/${PVR}/sqlscripts/ + ./update-davical-database -dbuser xxxxxxx -appuser xxxxxx + +You can safely ignore any message about missing time_zone table. + +If you are upgrading from a version <= 0.9.8.4 please note inc/ and locale/ +have been moved away from the htdocs directory and placed into hostroot for +safety reasons. diff --git a/www-apps/davical/files/vhost-example b/www-apps/davical/files/vhost-example new file mode 100644 index 0000000..d6f0da2 --- /dev/null +++ b/www-apps/davical/files/vhost-example @@ -0,0 +1,16 @@ +<VirtualHost 123.4.56.78 > + ServerName davical.example.net + + DocumentRoot /var/www/myvhost/htdocs + + <Directory /var/www/myvhost/htdocs/> + AllowOverride None + Order allow,deny + Allow from all + </Directory> + + php_value magic_quotes_gpc 0 + php_value register_globals 0 + php_value error_reporting "E_ALL & ~E_NOTICE" + php_value default_charset "utf-8" +</VirtualHost> |