diff options
author | jym <jym@pkgsrc.org> | 2010-05-23 21:36:30 +0000 |
---|---|---|
committer | jym <jym@pkgsrc.org> | 2010-05-23 21:36:30 +0000 |
commit | 61d28337867ee5de14bef5237d2d12b8dccc967d (patch) | |
tree | 373dc807b31e803728f6e0ce740b1664c07fcbd7 | |
parent | e2c864bf6525d5bf0ad29129cf062178b707d178 (diff) | |
download | pkgsrc-61d28337867ee5de14bef5237d2d12b8dccc967d.tar.gz |
Add davical.
DAViCal is a server for calendar sharing. It is an implementation of the
CalDAV protocol which is designed for storing calendaring resources (in
iCalendar format) on a remote shared server.
DAViCal supports basic delegation of read/write access among calendar users,
multiple users (or clients) reading and writing the same calendar entries over
time, and scheduling of meetings with free/busy time displayed.
An increasing number of calendar clients support the maintenance of shared
remote calendars through CalDAV, including Evolution, Mulberry, Chandler,
Mozilla Calendar (Sunbird/Lightning), and various other closed-source
products such as Apple's iCal and iPhone.
-rw-r--r-- | www/davical/DESCR | 12 | ||||
-rw-r--r-- | www/davical/MESSAGE | 63 | ||||
-rw-r--r-- | www/davical/Makefile | 130 | ||||
-rw-r--r-- | www/davical/PLIST | 346 | ||||
-rw-r--r-- | www/davical/distinfo | 10 | ||||
-rw-r--r-- | www/davical/files/davical.conf | 24 | ||||
-rw-r--r-- | www/davical/patches/patch-aa | 22 | ||||
-rw-r--r-- | www/davical/patches/patch-ab | 29 | ||||
-rw-r--r-- | www/davical/patches/patch-ac | 13 | ||||
-rw-r--r-- | www/davical/patches/patch-ad | 13 | ||||
-rw-r--r-- | www/davical/patches/patch-ae | 13 |
11 files changed, 675 insertions, 0 deletions
diff --git a/www/davical/DESCR b/www/davical/DESCR new file mode 100644 index 00000000000..25243191623 --- /dev/null +++ b/www/davical/DESCR @@ -0,0 +1,12 @@ +DAViCal is a server for calendar sharing. It is an implementation of the +CalDAV protocol which is designed for storing calendaring resources (in +iCalendar format) on a remote shared server. + +DAViCal supports basic delegation of read/write access among calendar users, +multiple users (or clients) reading and writing the same calendar entries over +time, and scheduling of meetings with free/busy time displayed. + +An increasing number of calendar clients support the maintenance of shared +remote calendars through CalDAV, including Evolution, Mulberry, Chandler, +Mozilla Calendar (Sunbird/Lightning), and various other closed-source +products such as Apple's iCal and iPhone. diff --git a/www/davical/MESSAGE b/www/davical/MESSAGE new file mode 100644 index 00000000000..d81f5d3cfeb --- /dev/null +++ b/www/davical/MESSAGE @@ -0,0 +1,63 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ + +For pkgsrc installations, DAViCal's package is installed in non-default +locations: + + Document root: ${DAVICALDIR}/htdocs + Configuration file: ${PKG_SYSCONFDIR}/config.php + +To complete the installation of DAViCal, follow these steps: + +1. Create DAViCal's app (application) and dba (database admin) acounts: + + $ su pgsql + $ createuser -D -R -S --pwprompt davical_app + <enter davical_app passwd> + $ createuser -D -R -S --pwprompt davical_dba + <enter davical_dba passwd> + +2. Edit pg_hba.conf file to add the davical_dba and davical_app users + + local davical davical_app md5 + local davical davical_dba md5 + + then restart pgsql. + +3. Create DAViCal's database + + su pgsql ${DAVICALDIR}/dba/create-database.sh + + The script will output the password of 'admin' account for DAViCal. + Keep it in mind, it will be used at step 6. + +4. Adapt DAViCal configuration file to your setup: + + ${PKG_SYSCONFDIR}/config.php + + Look for 'pg_connect', 'system_name', 'admin_email', and 'default_locale'. + +5. You will need to make DAViCal accessible through your HTTP server. + If you are running Apache and ap-php, you can use the following file: + + ${PKG_SYSCONFDIR}/davical.conf + + and add an Include directive directly within Apache configuration: + + Include ${PKG_SYSCONFDIR}/davical.conf + + then restart Apache. + +6. You should now be able to access DAViCal through the URL configured + within DAViCal's configuration file. At login page, enter the following + credentials: + + Login: admin + Password: <the one obtained in step 3.> + + Validate, then follow the steps to create user accounts. See DAViCal + online documentation for further information: + + http://www.davical.org/ + +=========================================================================== diff --git a/www/davical/Makefile b/www/davical/Makefile new file mode 100644 index 00000000000..768f7f09459 --- /dev/null +++ b/www/davical/Makefile @@ -0,0 +1,130 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ +# + +DISTNAME= davical-${DAVICAL_VERSION} +DAVICAL_VERSION=0.9.9 +CATEGORIES= www +MASTER_SITES= http://debian.mcmillan.net.nz/packages/davical/ + +MAINTAINER= jym@NetBSD.org +HOMEPAGE= http://www.davical.org/ +COMMENT= Simple CalDAV server using a PostgreSQL backend + +LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +DAVICALDIR= ${PREFIX}/share/davical +EGDIR= ${PREFIX}/share/examples/davical +DOCDIR= ${PREFIX}/share/doc/davical + +BUILD_DEFS= APACHE_USER APACHE_GROUP + +DAVICAL_USER?= ${APACHE_USER} +DAVICAL_GROUP?= ${APACHE_GROUP} + +USE_TOOLS= pax msgfmt perl:build + +PAXDIRS= htdocs inc dba po scripts + +INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}/config + +.include "../../lang/php/phpversion.mk" + +DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=4.3.1:../../databases/php-pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_pgsql>=${PHP_BASE_VERS}:../../databases/php-pdo_pgsql +DEPENDS+= ${PHP_PKG_PREFIX}-libawl>=0.42:../../devel/php-libawl +DEPENDS+= p5-DBD-postgresql>=2.16.1:../../databases/p5-DBD-postgresql +DEPENDS+= p5-Class-DBI-Pg>=0.09:../../databases/p5-Class-DBI-Pg +DEPENDS+= p5-YAML>=0.71:../../textproc/p5-YAML +DEPENDS+= pwgen>=2.06:../../sysutils/pwgen +DEPENDS+= postgresql${PGSQL_VERSION}-client-[0-9]*:../../databases/postgresql${PGSQL_VERSION}-client + +PKG_SYSCONFSUBDIR= davical +PKG_SYSCONFDIR_PERMS= ${DAVICAL_USER} ${DAVICAL_GROUP} 0700 + +MESSAGE_SUBST+= DAVICALDIR=${DAVICALDIR:Q} DOCDIR=${DOCDIR:Q} +MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q} + +CONF_FILES= ${EGDIR}/davical.conf \ + ${PKG_SYSCONFDIR}/davical.conf + +CONF_FILES+= ${EGDIR}/config/example-administration.yml \ + ${PKG_SYSCONFDIR}/administration.yml + +CONF_FILES_PERMS+= ${EGDIR}/config/example-config.php \ + ${PKG_SYSCONFDIR}/config.php \ + ${DAVICAL_USER} ${DAVICAL_GROUP} 0640 + +REPLACE_INTERPRETER+= perl +REPLACE.perl.old= .*/bin/perl +REPLACE.perl.new= ${PREFIX}/bin/perl +REPLACE_FILES.perl= scripts/po/extract.pl + +REPLACE_INTERPRETER+= php +REPLACE.php.old= .*/bin/php +REPLACE.php.new= ${PREFIX}/bin/php +REPLACE_FILES.php= scripts/sync-remote-caldav.php + +SUBST_CLASSES+= conf-path +SUBST_STAGE.conf-path= pre-configure +SUBST_FILES.conf-path= inc/always.php.in dba/update-davical-database +SUBST_FILES.conf-path+= inc/davical_configuration_missing.php +SUBST_SED.conf-path+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" +SUBST_MESSAGE.conf-path=Fixing configuration path. + +# See ../../devel/php-libawl/Makefile.common for the LIBAWLDIR value +SUBST_CLASSES+= inc-path +SUBST_STAGE.inc-path= pre-configure +SUBST_FILES.inc-path= davical.conf inc/always.php.in +SUBST_FILES.inc-path+= scripts/po/rebuild-translations.sh +SUBST_FILES.inc-path+= dba/create-database.sh +SUBST_SED.inc-path+= -e "s|@LIBAWLPATH@|${PREFIX}/${LIBAWLDIR}|g" +SUBST_MESSAGE.inc-path= Fixing AWL include path. + +SUBST_CLASSES+= examples +SUBST_STAGE.examples= pre-configure +SUBST_FILES.examples= dba/create-database.sh +SUBST_SED.examples+= -e "s|@EGDIRCONFIG@|${EGDIR}/config|g" +SUBST_MESSAGE.examples= Fixing config examples path. + +SUBST_CLASSES+= files +SUBST_STAGE.files= pre-configure +SUBST_FILES.files= davical.conf +SUBST_SED.files+= -e "s|@DAVICALDIR@|${DAVICALDIR}|g" +SUBST_MESSAGE.files= Fixing DAViCal configuration file for Apache. + +post-extract: + ${CP} ${FILESDIR}/davical.conf ${WRKSRC}/davical.conf + +pre-install: + ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC}/po -name "*~" -print | ${XARGS} ${RM} -f + +do-install: + ${INSTALL_DATA} ${WRKSRC}/davical.conf \ + ${DESTDIR}${EGDIR}/davical.conf + + cd ${WRKSRC}/docs && pax -rwpam . ${DESTDIR}${DOCDIR} + +. for f in COPYING CREDITS ChangeLog INSTALL README TODO VERSION + cd ${WRKSRC} && \ + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR} +. endfor + +. for d in ${PAXDIRS} + ${INSTALL_DATA_DIR} ${DESTDIR}${DAVICALDIR}/${d} +. endfor + +. for d in ${PAXDIRS} + cd ${WRKSRC}/${d} && pax -rwpam . ${DESTDIR}${DAVICALDIR}/${d} +. endfor + + cd ${WRKSRC}/config && for f in *; do \ + ${INSTALL_DATA} $$f ${DESTDIR}${EGDIR}/config/$$f; \ + done + +.include "../../mk/pgsql.buildlink3.mk" +.include "../../devel/php-libawl/Makefile.common" +.include "../../mk/apache.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/davical/PLIST b/www/davical/PLIST new file mode 100644 index 00000000000..4a3b97287e4 --- /dev/null +++ b/www/davical/PLIST @@ -0,0 +1,346 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ +share/davical/dba/appuser_permissions.txt +share/davical/dba/base-data.sql +share/davical/dba/better_perms.sql +share/davical/dba/caldav_functions.sql +share/davical/dba/create-database.sh +share/davical/dba/davical.sql +share/davical/dba/patches/1.1.10.sql +share/davical/dba/patches/1.1.11.sql +share/davical/dba/patches/1.1.11a.sql +share/davical/dba/patches/1.1.12.sql +share/davical/dba/patches/1.1.12a.sql +share/davical/dba/patches/1.1.2.sql +share/davical/dba/patches/1.1.3.sql +share/davical/dba/patches/1.1.4.sql +share/davical/dba/patches/1.1.5.sql +share/davical/dba/patches/1.1.6.sql +share/davical/dba/patches/1.1.7.sql +share/davical/dba/patches/1.1.8.sql +share/davical/dba/patches/1.1.9.sql +share/davical/dba/patches/1.2.1.sql +share/davical/dba/patches/1.2.1a.sql +share/davical/dba/patches/1.2.1b.sql +share/davical/dba/patches/1.2.2.sql +share/davical/dba/patches/1.2.3.sql +share/davical/dba/patches/1.2.3a.sql +share/davical/dba/patches/1.2.4.sql +share/davical/dba/patches/1.2.5.sql +share/davical/dba/patches/1.2.6.sql +share/davical/dba/patches/1.2.7.sql +share/davical/dba/patches/1.2.8.sql +share/davical/dba/rrule_functions-8.1.sql +share/davical/dba/rrule_functions.sql +share/davical/dba/rrule_tests.sql +share/davical/dba/sample-data.sql +share/davical/dba/supported_locales.sql +share/davical/dba/update-davical-database +share/davical/dba/views/dav_principal.sql +share/davical/dba/windows/awl-tables.sql +share/davical/dba/windows/create-database.bat +share/davical/dba/windows/rscds.sql +share/davical/dba/windows/schema-management.sql +share/davical/htdocs/.htaccess +share/davical/htdocs/admin.php +share/davical/htdocs/always.php +share/davical/htdocs/caldav.php +share/davical/htdocs/css/browse.css +share/davical/htdocs/css/edit.css +share/davical/htdocs/davical.css +share/davical/htdocs/freebusy.php +share/davical/htdocs/help.php +share/davical/htdocs/images/down.gif +share/davical/htdocs/images/up.gif +share/davical/htdocs/index.php +share/davical/htdocs/js/browse.js +share/davical/htdocs/public.php +share/davical/htdocs/setup.php +share/davical/htdocs/tools.php +share/davical/htdocs/upgrade.php +share/davical/inc/AwlDBDialect.php +share/davical/inc/AwlDatabase.php +share/davical/inc/AwlQuery.php +share/davical/inc/CalDAVPrincipal.php +share/davical/inc/CalDAVRequest.php +share/davical/inc/DAVResource.php +share/davical/inc/DAViCalSession.php +share/davical/inc/HTTPAuthSession.php +share/davical/inc/PublicSession.php +share/davical/inc/RRule-v2.php +share/davical/inc/RRule.php +share/davical/inc/always.php.in +share/davical/inc/auth-functions.php +share/davical/inc/caldav-ACL.php +share/davical/inc/caldav-DELETE.php +share/davical/inc/caldav-GET.php +share/davical/inc/caldav-LOCK.php +share/davical/inc/caldav-MKCOL.php +share/davical/inc/caldav-MOVE.php +share/davical/inc/caldav-OPTIONS.php +share/davical/inc/caldav-POST.php +share/davical/inc/caldav-PROPFIND.php +share/davical/inc/caldav-PROPPATCH.php +share/davical/inc/caldav-PUT-functions.php +share/davical/inc/caldav-PUT.php +share/davical/inc/caldav-REPORT-calquery.php +share/davical/inc/caldav-REPORT-expand-property.php +share/davical/inc/caldav-REPORT-freebusy.php +share/davical/inc/caldav-REPORT-multiget.php +share/davical/inc/caldav-REPORT-pps-set.php +share/davical/inc/caldav-REPORT-principal.php +share/davical/inc/caldav-REPORT-sync-collection.php +share/davical/inc/caldav-REPORT.php +share/davical/inc/caldav-client-v2.php +share/davical/inc/caldav-client.php +share/davical/inc/check_UTF8.php +share/davical/inc/davical_configuration_missing.php +share/davical/inc/drivers_ldap.php +share/davical/inc/drivers_squid_pam.php +share/davical/inc/freebusy-GET.php +share/davical/inc/interactive-page.php +share/davical/inc/log_caldav_action.php +share/davical/inc/other_translated_strings.php +share/davical/inc/page-footer.php +share/davical/inc/page-header.php +share/davical/inc/pubsub.php +share/davical/inc/test-RRULE.php +share/davical/inc/ui/collection-edit.php +share/davical/inc/ui/principal-browse.php +share/davical/inc/ui/principal-edit.php +share/davical/inc/AwlUpgrader.php +share/davical/inc/DAVTicket.php +share/davical/inc/caldav-BIND.php +share/davical/inc/caldav-DELTICKET.php +share/davical/inc/caldav-MKTICKET.php +share/davical/inc/caldav-PUT-default.php +share/davical/po/messages.pot +share/davical/po/strings.raw +share/davical/po/de.po +share/davical/po/es.po +share/davical/po/fr.po +share/davical/po/hu.po +share/davical/po/it.po +share/davical/po/ja.po +share/davical/po/nl.po +share/davical/po/pl.po +share/davical/po/ru.po +share/davical/po/sv.po +share/davical/scripts/build-always.sh +share/davical/scripts/sync-remote-caldav.php +share/davical/scripts/po/extract.pl +share/davical/scripts/po/rebuild-translations.sh +share/doc/davical/COPYING +share/doc/davical/CREDITS +share/doc/davical/ChangeLog +share/doc/davical/INSTALL +share/doc/davical/README +share/doc/davical/TODO +share/doc/davical/VERSION +share/doc/davical/api/awl/AWLDB/AwlQuery.html +share/doc/davical/api/awl/AWLDB/_inc---AwlQuery.php.html +share/doc/davical/api/awl/AwlDatabase/AwlDBDialect.html +share/doc/davical/api/awl/AwlDatabase/AwlDatabase.html +share/doc/davical/api/awl/AwlDatabase/_inc---AwlDBDialect.php.html +share/doc/davical/api/awl/AwlDatabase/_inc---AwlDatabase.php.html +share/doc/davical/api/awl/caldav/CalDAVClient.html +share/doc/davical/api/awl/caldav/CalendarInfo.html +share/doc/davical/api/awl/caldav/RRule.html +share/doc/davical/api/awl/caldav/RepeatRule.html +share/doc/davical/api/awl/caldav/RepeatRuleDateTime.html +share/doc/davical/api/awl/caldav/_inc---RRule-v2.php.html +share/doc/davical/api/awl/caldav/_inc---RRule.php.html +share/doc/davical/api/awl/caldav/_inc---caldav-client-v2.php.html +share/doc/davical/api/awl/caldav/_inc---caldav-client.php.html +share/doc/davical/api/awl/caldav/iCalDate.html +share/doc/davical/api/blank.html +share/doc/davical/api/classtrees_awl.html +share/doc/davical/api/classtrees_davical.html +share/doc/davical/api/davical/Admin/_htdocs---users.php.html +share/doc/davical/api/davical/DAViCalSession/DAViCalSession.html +share/doc/davical/api/davical/DAViCalSession/Tools.html +share/doc/davical/api/davical/DAViCalSession/_htdocs---tools.php.html +share/doc/davical/api/davical/DAViCalSession/_inc---DAViCalSession.php.html +share/doc/davical/api/davical/DAViCalUser/DAViCalUser.html +share/doc/davical/api/davical/DAViCalUser/_inc---DAViCalUser.php.html +share/doc/davical/api/davical/HTTPAuthSession/HTTPAuthSession.html +share/doc/davical/api/davical/HTTPAuthSession/_inc---HTTPAuthSession.php.html +share/doc/davical/api/davical/Principal/CalDAVPrincipal.html +share/doc/davical/api/davical/Principal/_inc---CalDAVPrincipal.php.html +share/doc/davical/api/davical/PublicSession/PublicSession.html +share/doc/davical/api/davical/PublicSession/_inc---PublicSession.php.html +share/doc/davical/api/davical/RRuleTest.html +share/doc/davical/api/davical/Request/CalDAVRequest.html +share/doc/davical/api/davical/Request/_inc---CalDAVRequest.php.html +share/doc/davical/api/davical/Resource/DAVResource.html +share/doc/davical/api/davical/Resource/_inc---DAVResource.php.html +share/doc/davical/api/davical/_htdocs---admin.php.html +share/doc/davical/api/davical/_htdocs---collection.php.html +share/doc/davical/api/davical/_htdocs---freebusy.php.html +share/doc/davical/api/davical/_htdocs---help.php.html +share/doc/davical/api/davical/_htdocs---index.php.html +share/doc/davical/api/davical/_htdocs---relationship_types.php.html +share/doc/davical/api/davical/_htdocs---roles.php.html +share/doc/davical/api/davical/_htdocs---setup.php.html +share/doc/davical/api/davical/_htdocs---test.php.html +share/doc/davical/api/davical/_htdocs---testpdo.php.html +share/doc/davical/api/davical/_htdocs---upgrade.php.html +share/doc/davical/api/davical/_htdocs---usr.php.html +share/doc/davical/api/davical/_inc---always.php.html +share/doc/davical/api/davical/_inc---caldav-LOCK.php.html +share/doc/davical/api/davical/_inc---caldav-REPORT-calquery.php.html +share/doc/davical/api/davical/_inc---caldav-REPORT-expand-property.php.html +share/doc/davical/api/davical/_inc---caldav-REPORT-freebusy.php.html +share/doc/davical/api/davical/_inc---caldav-REPORT-multiget.php.html +share/doc/davical/api/davical/_inc---caldav-REPORT-principal.php.html +share/doc/davical/api/davical/_inc---check_UTF8.php.html +share/doc/davical/api/davical/_inc---davical_configuration_missing.php.html +share/doc/davical/api/davical/_inc---freebusy-GET.php.html +share/doc/davical/api/davical/_inc---interactive-page.php.html +share/doc/davical/api/davical/_inc---other_translated_strings.php.html +share/doc/davical/api/davical/_inc---page-footer.php.html +share/doc/davical/api/davical/_inc---page-header.php.html +share/doc/davical/api/davical/_inc---pubsub.php.html +share/doc/davical/api/davical/_inc---test-RRULE-v2.php.html +share/doc/davical/api/davical/_inc---test-RRULE.php.html +share/doc/davical/api/davical/_inc---ui---collection-edit.php.html +share/doc/davical/api/davical/_inc---ui---principal-browse.php.html +share/doc/davical/api/davical/_inc---ui---principal-edit.php.html +share/doc/davical/api/davical/authentication/_inc---auth-functions.php.html +share/doc/davical/api/davical/caldav/_htdocs---caldav.php.html +share/doc/davical/api/davical/caldav/_htdocs---public.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-ACL.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-DELETE.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-GET.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-MKCOL.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-MOVE.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-OPTIONS.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-POST.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-PROPPATCH.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-PUT-functions.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-PUT.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-REPORT-pps-set.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-REPORT-sync-collection.php.html +share/doc/davical/api/davical/caldav/_inc---caldav-REPORT.php.html +share/doc/davical/api/davical/ldap/_inc---drivers_ldap.php.html +share/doc/davical/api/davical/ldap/_inc---drivers_squid_pam.php.html +share/doc/davical/api/davical/ldap/ldapDrivers.html +share/doc/davical/api/davical/ldap/squidPamDrivers.html +share/doc/davical/api/davical/logging/_inc---log_caldav_action.php.html +share/doc/davical/api/davical/propfind/_inc---caldav-PROPFIND.php.html +share/doc/davical/api/davical/xmpp.html +share/doc/davical/api/elementindex.html +share/doc/davical/api/elementindex_awl.html +share/doc/davical/api/elementindex_davical.html +share/doc/davical/api/errors.html +share/doc/davical/api/index.html +share/doc/davical/api/li_awl.html +share/doc/davical/api/li_davical.html +share/doc/davical/api/media/banner.css +share/doc/davical/api/media/images/AbstractClass.png +share/doc/davical/api/media/images/AbstractClass_logo.png +share/doc/davical/api/media/images/AbstractMethod.png +share/doc/davical/api/media/images/AbstractPrivateClass.png +share/doc/davical/api/media/images/AbstractPrivateClass_logo.png +share/doc/davical/api/media/images/AbstractPrivateMethod.png +share/doc/davical/api/media/images/Class.png +share/doc/davical/api/media/images/Class_logo.png +share/doc/davical/api/media/images/Constant.png +share/doc/davical/api/media/images/Constructor.png +share/doc/davical/api/media/images/Destructor.png +share/doc/davical/api/media/images/Function.png +share/doc/davical/api/media/images/Global.png +share/doc/davical/api/media/images/I.png +share/doc/davical/api/media/images/Index.png +share/doc/davical/api/media/images/Interface.png +share/doc/davical/api/media/images/Interface_logo.png +share/doc/davical/api/media/images/L.png +share/doc/davical/api/media/images/Lminus.png +share/doc/davical/api/media/images/Lplus.png +share/doc/davical/api/media/images/Method.png +share/doc/davical/api/media/images/Page.png +share/doc/davical/api/media/images/Page_logo.png +share/doc/davical/api/media/images/PrivateClass.png +share/doc/davical/api/media/images/PrivateClass_logo.png +share/doc/davical/api/media/images/PrivateMethod.png +share/doc/davical/api/media/images/PrivateVariable.png +share/doc/davical/api/media/images/StaticMethod.png +share/doc/davical/api/media/images/StaticVariable.png +share/doc/davical/api/media/images/T.png +share/doc/davical/api/media/images/Tminus.png +share/doc/davical/api/media/images/Tplus.png +share/doc/davical/api/media/images/Variable.png +share/doc/davical/api/media/images/blank.png +share/doc/davical/api/media/images/class_folder.png +share/doc/davical/api/media/images/empty.png +share/doc/davical/api/media/images/file.png +share/doc/davical/api/media/images/folder.png +share/doc/davical/api/media/images/function_folder.png +share/doc/davical/api/media/images/next_button.png +share/doc/davical/api/media/images/next_button_disabled.png +share/doc/davical/api/media/images/package.png +share/doc/davical/api/media/images/package_folder.png +share/doc/davical/api/media/images/previous_button.png +share/doc/davical/api/media/images/previous_button_disabled.png +share/doc/davical/api/media/images/private_class_logo.png +share/doc/davical/api/media/images/tutorial.png +share/doc/davical/api/media/images/tutorial_folder.png +share/doc/davical/api/media/images/up_button.png +share/doc/davical/api/media/stylesheet.css +share/doc/davical/api/packages.html +share/doc/davical/api/phpdoc.ini +share/doc/davical/api/todolist.html +share/doc/davical/davical_en_user_guide.odt +share/doc/davical/website/administration.php +share/doc/davical/website/background.php +share/doc/davical/website/clients.php +share/doc/davical/website/clients/Chandler-details.php +share/doc/davical/website/clients/Chandler-dialog1.png +share/doc/davical/website/clients/Chandler-dialog2.png +share/doc/davical/website/clients/Chandler-dialog3.png +share/doc/davical/website/clients/Chandler-icon.png +share/doc/davical/website/clients/Chandler-screenshot.png +share/doc/davical/website/clients/Evolution-details.php +share/doc/davical/website/clients/Evolution-dialog1.png +share/doc/davical/website/clients/Evolution-icon.png +share/doc/davical/website/clients/Evolution-screenshot.png +share/doc/davical/website/clients/Interoperability-details.php +share/doc/davical/website/clients/Mozilla-details.php +share/doc/davical/website/clients/Mozilla-dialog1.png +share/doc/davical/website/clients/Mozilla-dialog2.png +share/doc/davical/website/clients/Mozilla-dialog3.png +share/doc/davical/website/clients/Mozilla-icon.png +share/doc/davical/website/clients/Mozilla-screenshot.png +share/doc/davical/website/clients/Mulberry-details.php +share/doc/davical/website/clients/Mulberry-dialog1.png +share/doc/davical/website/clients/Mulberry-dialog2.png +share/doc/davical/website/clients/Mulberry-icon.png +share/doc/davical/website/clients/Mulberry-screenshot.png +share/doc/davical/website/clients/Other-details.php +share/doc/davical/website/clients/iCal-details.php +share/doc/davical/website/clients/iCal-dialog.png +share/doc/davical/website/clients/iCal-icon.png +share/doc/davical/website/clients/iCal-screenshot.png +share/doc/davical/website/clients/iPhone-1.jpg +share/doc/davical/website/clients/iPhone-2.jpg +share/doc/davical/website/clients/iPhone-3.jpg +share/doc/davical/website/clients/iPhone-4.jpg +share/doc/davical/website/clients/iPhone-5.jpg +share/doc/davical/website/clients/iPhone-6.jpg +share/doc/davical/website/clients/iPhone-details.php +share/doc/davical/website/images/davical_logo.ico +share/doc/davical/website/images/davical_logo.svg +share/doc/davical/website/images/icon.png +share/doc/davical/website/images/larger.png +share/doc/davical/website/images/logo.gif +share/doc/davical/website/inc/page-footer.php +share/doc/davical/website/inc/page-header.php +share/doc/davical/website/inc/page-middle.php +share/doc/davical/website/index.php +share/doc/davical/website/installation.php +share/doc/davical/website/style.css +share/doc/davical/website/wikiheader.css +share/examples/davical/config/debug-config.php +share/examples/davical/config/example-administration.yml +share/examples/davical/config/example-config.php +share/examples/davical/config/other-config.php +share/examples/davical/davical.conf diff --git a/www/davical/distinfo b/www/davical/distinfo new file mode 100644 index 00000000000..d9cb12609f5 --- /dev/null +++ b/www/davical/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ + +SHA1 (davical-0.9.9.tar.gz) = c1ec44757a769a5c999c8348958a8a6ad59379fc +RMD160 (davical-0.9.9.tar.gz) = 74a4abecd7527b09e425dbff4b5c1cf845670205 +Size (davical-0.9.9.tar.gz) = 1949981 bytes +SHA1 (patch-aa) = d28795768c97a49ea667a68867e6318110253975 +SHA1 (patch-ab) = 4a30513cac522527fb9f658e410ed9930111ecc3 +SHA1 (patch-ac) = 74e9b103d502886736dff4fa659fb3e50bae5032 +SHA1 (patch-ad) = 607fb6d6aaeb9476d449196914b1627130390482 +SHA1 (patch-ae) = 9c3d730e3a4166d7fabafe89d2d69dc36ff181b6 diff --git a/www/davical/files/davical.conf b/www/davical/files/davical.conf new file mode 100644 index 00000000000..05fa8326564 --- /dev/null +++ b/www/davical/files/davical.conf @@ -0,0 +1,24 @@ +# This configuration puts DAViCal under /davical. The user accounts +# will be accessible through /davical/caldav.php/<username> +Alias /davical "@DAVICALDIR@/htdocs" + +<Directory "@DAVICALDIR@/htdocs"> + AllowOverride All + DirectoryIndex index.php + Order Allow,Deny + Allow from All + php_value include_path "@LIBAWLPATH@" +</Directory> + +# This configuration puts DAViCal in its own VirtualHost. The user +# accounts will be accessible through +# http(s)://davical.example.net/caldav.php/<username> +#<VirtualHost *> +# DocumentRoot "@DAVICALDIR@/htdocs" +# AllowOverride All +# DirectoryIndex index.php +# ServerName davical.example.net +# ServerAlias calendar.example.net +# Alias /images/ "@DAVICALDIR@/htdocs/images/" +# php_value include_path "@LIBAWLPATH@" +#</VirtualHost> diff --git a/www/davical/patches/patch-aa b/www/davical/patches/patch-aa new file mode 100644 index 00000000000..cad67b50c2e --- /dev/null +++ b/www/davical/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ + +--- dba/create-database.sh.orig 2010-03-11 11:12:07.000000000 +0000 ++++ dba/create-database.sh +@@ -16,7 +16,7 @@ testawldir() { + + # + # Attempt to locate the AWL directory +-AWLDIR="${DBADIR}/../../awl" ++AWLDIR="@LIBAWLPATH@" + if ! testawldir "${AWLDIR}"; then + AWLDIR="/usr/share/awl" + if ! testawldir "${AWLDIR}"; then +@@ -168,7 +168,7 @@ rm "${INSTALL_NOTE_FN}" + cat <<FRIENDLY + * The password for the 'admin' user has been set to '${ADMINPW}'" + +-Thanks for trying DAViCal! Check in /usr/share/doc/davical/examples/ for ++Thanks for trying DAViCal! Check in @EGDIRCONFIG@/ for + some configuration examples. For help, visit #davical on irc.oftc.net. + + FRIENDLY diff --git a/www/davical/patches/patch-ab b/www/davical/patches/patch-ab new file mode 100644 index 00000000000..5ff5ab95361 --- /dev/null +++ b/www/davical/patches/patch-ab @@ -0,0 +1,29 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ + +--- inc/always.php.in.orig 2010-04-01 09:21:58.000000000 +0000 ++++ inc/always.php.in +@@ -72,7 +72,7 @@ if ( ! @include_once('AWLUtilities.php') + $try_paths = array( + '../../awl/inc' + , '/usr/share/awl/inc' +- , '/usr/local/share/awl/inc' ++ , '@LIBAWLPATH@/inc' + ); + foreach( $try_paths AS $awl_include_path ) { + if ( @file_exists($awl_include_path.'/AWLUtilities.php') ) { +@@ -121,11 +121,11 @@ if ( @file_exists('/etc/davical/'.$_SERV + else if ( @file_exists('/etc/davical/config.php') ) { + include('/etc/davical/config.php'); + } +-else if ( @file_exists('/usr/local/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php') ) { +- include('/usr/local/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php'); ++else if ( @file_exists('@PKG_SYSCONFDIR@'.$_SERVER['SERVER_NAME'].'-conf.php') ) { ++ include('@PKG_SYSCONFDIR@'.$_SERVER['SERVER_NAME'].'-conf.php'); + } +-else if ( @file_exists('/usr/local/etc/davical/config.php') ) { +- include('/usr/local/etc/davical/config.php'); ++else if ( @file_exists('@PKG_SYSCONFDIR@/config.php') ) { ++ include('@PKG_SYSCONFDIR@/config.php'); + } + else if ( @file_exists('../config/config.php') ) { + include('../config/config.php'); diff --git a/www/davical/patches/patch-ac b/www/davical/patches/patch-ac new file mode 100644 index 00000000000..0bb4a0e1cdb --- /dev/null +++ b/www/davical/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ + +--- dba/update-davical-database.orig 2010-03-09 02:51:21.000000000 +0000 ++++ dba/update-davical-database +@@ -23,7 +23,7 @@ my $helpmeplease = 0; + my $apply_patches = 1; + my $revoke_list = ""; + my $force_owner = ""; +-my $config_file = "config/administration.yml"; ++my $config_file = "@PKG_SYSCONFDIR@/administration.yml"; + + my $dbadir = $0; + $dbadir =~ s#/[^/]*$##; diff --git a/www/davical/patches/patch-ad b/www/davical/patches/patch-ad new file mode 100644 index 00000000000..c11a7bebae2 --- /dev/null +++ b/www/davical/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ + +--- scripts/po/rebuild-translations.sh.orig 2010-03-09 02:51:21.000000000 +0000 ++++ scripts/po/rebuild-translations.sh +@@ -11,7 +11,7 @@ POTOOLS="scripts/po" + PODIR="po" + LOCALEDIR="locale" + APPLICATION="davical" +-AWL_LOCATION="../awl" ++AWL_LOCATION="@LIBAWLPATH@" + + if [ ! -d "${AWL_LOCATION}" ]; then + AWL_LOCATION=/usr/share/awl diff --git a/www/davical/patches/patch-ae b/www/davical/patches/patch-ae new file mode 100644 index 00000000000..8885fa6b0e5 --- /dev/null +++ b/www/davical/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1.1.1 2010/05/23 21:36:30 jym Exp $ + +--- inc/davical_configuration_missing.php.orig 2010-03-09 02:51:21.000000000 +0000 ++++ inc/davical_configuration_missing.php +@@ -4,7 +4,7 @@ include("page-header.php"); + echo <<<EOBODY + <h1>DAViCal Not Configured</h1> + <h2>The Bad News</h2> +-<p>There is no configuration file present in <b>/etc/davical/$_SERVER[SERVER_NAME]-conf.php</b> so ++<p>There is no configuration file present in <b>@PKG_SYSCONFDIR@/$_SERVER[SERVER_NAME]-conf.php</b> so + your installation is not fully set up.</p> + <h2>The Good News</h2> + <p>Well, you're seeing this! At least you have DAViCal <i>installed</i> :-) You also have Apache and PHP working |