pkgsrc/time/kronolith/Makefile

97 lines
3.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.28 2019/05/23 19:23:18 rillig Exp $
DISTNAME= kronolith-h3-${KRONOLITHVER}
PKGNAME= kronolith-${KRONOLITHVER}
PKGREVISION= 3
CATEGORIES= www time
MASTER_SITES= http://ftp.horde.org/pub/kronolith/
MASTER_SITES+= ftp://ftp.horde.org/pub/kronolith/
2009-07-17 20:00:13 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
2017-08-16 22:21:03 +02:00
HOMEPAGE= https://www.horde.org/kronolith/
COMMENT= Horde calendar application
Update kronolith to 2.3.6. (while here, set LICENSE=gnu-gpl-v2, fix unwanted empty directories creation) ------ v2.3.6 ------ [jan] Add upgrade scripts for next-generation SQL share driver. [jan] Export recurrence exceptions in a more portable way. ------ v2.3.5 ------ [gwr] Fix moving events between calendars for the Kolab driver (Bug #7932) [jan] Import and export the privacy field in CSV data (Request #9139). [mjr] Send an iTip REQUEST, not ADD, when updating an existing event (Bug #9131). [jan] Fix all-day events sometimes showing up an day early too (Bug #9012). [mjr] Sort exception list before displaying (Request #7688). [mjr] Do not remove history entries when removing user data (Bug #8755). ------ v2.3.4 ------ [jan] Delete Horde alarms when resetting an event alarm. [jan] Set an alarm to one minute, if users try to set an alarm without time. [gwr] Fix editing the start date of recurring events (kolab/issue3885). ------ v2.3.3 ------ [jan] Fix editing URLs of remote calendars. [gwr] Fix recurring weekly events with fixed number of occurences but multiple incidences per week (kolab/issue3846). [gwr] Fix recurring weekly events with intervals > 1 (Bug #8546). [jan] Optimize event link generation (patrick.abiven@apitech.fr). [jan] Fix Oracle SQL scripts. [jan] Fix charset of ajax responses. [jan] Add Croatian translation (Matej Vela <matej.vela@carnet.hr>). [jan] Speed up listing alarms (patrick.abiven@apitech.fr, Request #8638). [jan] Simplify and improve portability of listing events without date limits in the SQL driver (Bug #8590). [mjr] Fix issue that caused the default alarm time to be applied to listTimeObjects events (Bug #8588). ------ v2.3.2 ------ [mms] Upgrade prototype.js to v1.6.1. [jan] Allow to add address lists as attendees through the address book popup (Bug #7834). [jan] Fix exporting certain weekday recurrence rules to iCalendar (lst_hoe02@kwsoft.de, Bug #8501). [jan] Export recurrence end dates as date-time values in iCalendar data to improve compatibility with external clients (Bug #7846). [jan] Fix synchronization with output compression enabled (Bug #7769). [jan] Add configuration whether to show user drop down list or text field in permissions dialog (requires Horde 3.3.5). [jan] Propagate the 'modified' API method (Request #8274). [cjh] Fix the signature of the kronolith/import API method (rpolli@babel.it, Bug #8309). [jan] Correctly create all-day events if using the all-day link in the day view (stpierre@nebrwesleyan.edu, Bug #8220). [jan] Fix rendering of all-day events (Bug #8176). ------ v2.3.1 ------ [jan] Render contact autocompletion list on top of free/busy blocks (Bug #7273). [jan] Save recurrence exceptions when copying events (Bug #7689). [jan] Prevent warnings if trying to add address lists as attendees (Bug #7834). [jan] Fix start and end time calculation of multi-day events (Bug #7788). [jan] Wrap URL in calendar information in IE7 (almarin@um.es, Bug #8043). [jan] Fix "Date-string has wrong format" error with holidays (Bug #7961). [jan] Use improved translation support in Date_Holidays (requires 0.21.0 now, Bug #7272). [jan] Empty view cache when changing calendar selection (stpierre@nebrwesleyan.edu, Bug #7879). [mjr] Fix category CSS being included on embedded widgets. [cjh] Work around BC break with Horde versions before 3.2 (Bug #7820). [jan] Allow to manually change attendee responses (paul@carnie.com.au, Request #7443). [jan] Fix linking to last week across certain year boundaries (Bug #7827). [jan] Add script to import events from SquirrelMail database. [cjh] Add private-***.png graphics to Tango and Silver themes (Bug #7531). [cjh] Fix listing of users in the calendar/browse API call. [jan] Set timezone per user preference and fix recurring events when sending reminders through Kronolith (develop@kristov.de, Bug #7038). [cjh] Add a PostgreSQL-specific upgrade script for 2.2 to 2.3 (michael.menge@zdv.uni-tuebingen.de, Bug #7454). [mms] Upgrade prototype.js to v1.6.0.3.
2012-02-23 13:05:50 +01:00
LICENSE= gnu-gpl-v2
Kronolith version H3 (2.2) is a major upgrade in the 2.x release series, including these enhancements: * Support for the Horde_Alarm system (requires Horde 3.2) for email or inline alarms on any event. * Improved iCalendar and vCalendar support, including support for alarms, timezones, better integration with remote calendars, and better support for remote clients. * Improved event recurrence, including events that recur a specific number of times, recurrence by day of the year and by weekday of the year, the choice of editing or deleting a recurring event as either the full series or an individual exception, and the ability to remove recurrence exceptions. * More complete WebDAV support. * WCAG 1.0 Priority 2/Section 508 accessibility guidelines compliance. * Users can get a daily agenda email. * Holidays can be displayed using the Date_Holiday package. * Event delegation - users can have permissions to creat events on behalf of other users. * Events can be marked private. * More dynamic user interface, including dynamic page refreshes to update the main calendar view when switching between dates or month/day/week/ work week/year views, a collapsible panel that provides quick access to all calendars and allows searching of calendars, a dynamic event edit interface that puts less commonly used options out of site by default, quick switching between the view, edit, and delete interfaces, and autocompletion of attendees from the user's address book. * Full Kolab webclient support * Database access can be split between read and write databases. * More graceful operation if the calendar backend is not available. * and much, much more.
2008-05-26 14:58:49 +02:00
DEPENDS+= horde>=3.2:../../www/horde
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Date-[0-9]*:../../time/pear-Date
PHP_VERSIONS_ACCEPTED= 56
USE_TOOLS+= pax
.include "../../mk/bsd.prefs.mk"
DOCDIR= ${PREFIX}/share/doc/kronolith
EGDIR= ${PREFIX}/share/examples/kronolith
HORDEDIR= ${PREFIX}/share/horde
KRONOLITHDIR= ${HORDEDIR}/kronolith
Update kronolith to 2.3.6. (while here, set LICENSE=gnu-gpl-v2, fix unwanted empty directories creation) ------ v2.3.6 ------ [jan] Add upgrade scripts for next-generation SQL share driver. [jan] Export recurrence exceptions in a more portable way. ------ v2.3.5 ------ [gwr] Fix moving events between calendars for the Kolab driver (Bug #7932) [jan] Import and export the privacy field in CSV data (Request #9139). [mjr] Send an iTip REQUEST, not ADD, when updating an existing event (Bug #9131). [jan] Fix all-day events sometimes showing up an day early too (Bug #9012). [mjr] Sort exception list before displaying (Request #7688). [mjr] Do not remove history entries when removing user data (Bug #8755). ------ v2.3.4 ------ [jan] Delete Horde alarms when resetting an event alarm. [jan] Set an alarm to one minute, if users try to set an alarm without time. [gwr] Fix editing the start date of recurring events (kolab/issue3885). ------ v2.3.3 ------ [jan] Fix editing URLs of remote calendars. [gwr] Fix recurring weekly events with fixed number of occurences but multiple incidences per week (kolab/issue3846). [gwr] Fix recurring weekly events with intervals > 1 (Bug #8546). [jan] Optimize event link generation (patrick.abiven@apitech.fr). [jan] Fix Oracle SQL scripts. [jan] Fix charset of ajax responses. [jan] Add Croatian translation (Matej Vela <matej.vela@carnet.hr>). [jan] Speed up listing alarms (patrick.abiven@apitech.fr, Request #8638). [jan] Simplify and improve portability of listing events without date limits in the SQL driver (Bug #8590). [mjr] Fix issue that caused the default alarm time to be applied to listTimeObjects events (Bug #8588). ------ v2.3.2 ------ [mms] Upgrade prototype.js to v1.6.1. [jan] Allow to add address lists as attendees through the address book popup (Bug #7834). [jan] Fix exporting certain weekday recurrence rules to iCalendar (lst_hoe02@kwsoft.de, Bug #8501). [jan] Export recurrence end dates as date-time values in iCalendar data to improve compatibility with external clients (Bug #7846). [jan] Fix synchronization with output compression enabled (Bug #7769). [jan] Add configuration whether to show user drop down list or text field in permissions dialog (requires Horde 3.3.5). [jan] Propagate the 'modified' API method (Request #8274). [cjh] Fix the signature of the kronolith/import API method (rpolli@babel.it, Bug #8309). [jan] Correctly create all-day events if using the all-day link in the day view (stpierre@nebrwesleyan.edu, Bug #8220). [jan] Fix rendering of all-day events (Bug #8176). ------ v2.3.1 ------ [jan] Render contact autocompletion list on top of free/busy blocks (Bug #7273). [jan] Save recurrence exceptions when copying events (Bug #7689). [jan] Prevent warnings if trying to add address lists as attendees (Bug #7834). [jan] Fix start and end time calculation of multi-day events (Bug #7788). [jan] Wrap URL in calendar information in IE7 (almarin@um.es, Bug #8043). [jan] Fix "Date-string has wrong format" error with holidays (Bug #7961). [jan] Use improved translation support in Date_Holidays (requires 0.21.0 now, Bug #7272). [jan] Empty view cache when changing calendar selection (stpierre@nebrwesleyan.edu, Bug #7879). [mjr] Fix category CSS being included on embedded widgets. [cjh] Work around BC break with Horde versions before 3.2 (Bug #7820). [jan] Allow to manually change attendee responses (paul@carnie.com.au, Request #7443). [jan] Fix linking to last week across certain year boundaries (Bug #7827). [jan] Add script to import events from SquirrelMail database. [cjh] Add private-***.png graphics to Tango and Silver themes (Bug #7531). [cjh] Fix listing of users in the calendar/browse API call. [jan] Set timezone per user preference and fix recurring events when sending reminders through Kronolith (develop@kristov.de, Bug #7038). [cjh] Add a PostgreSQL-specific upgrade script for 2.2 to 2.3 (michael.menge@zdv.uni-tuebingen.de, Bug #7454). [mms] Upgrade prototype.js to v1.6.0.3.
2012-02-23 13:05:50 +01:00
KRONOLITHVER= 2.3.6
PAXDIRS= calendars feed js lib locale po scripts templates themes
2009-08-29 14:30:30 +02:00
INSTALLATION_DIRS+= ${DOCDIR}
INSTALLATION_DIRS+= ${EGDIR}
INSTALLATION_DIRS+= ${KRONOLITHDIR}/config
Update kronolith to 2.3.6. (while here, set LICENSE=gnu-gpl-v2, fix unwanted empty directories creation) ------ v2.3.6 ------ [jan] Add upgrade scripts for next-generation SQL share driver. [jan] Export recurrence exceptions in a more portable way. ------ v2.3.5 ------ [gwr] Fix moving events between calendars for the Kolab driver (Bug #7932) [jan] Import and export the privacy field in CSV data (Request #9139). [mjr] Send an iTip REQUEST, not ADD, when updating an existing event (Bug #9131). [jan] Fix all-day events sometimes showing up an day early too (Bug #9012). [mjr] Sort exception list before displaying (Request #7688). [mjr] Do not remove history entries when removing user data (Bug #8755). ------ v2.3.4 ------ [jan] Delete Horde alarms when resetting an event alarm. [jan] Set an alarm to one minute, if users try to set an alarm without time. [gwr] Fix editing the start date of recurring events (kolab/issue3885). ------ v2.3.3 ------ [jan] Fix editing URLs of remote calendars. [gwr] Fix recurring weekly events with fixed number of occurences but multiple incidences per week (kolab/issue3846). [gwr] Fix recurring weekly events with intervals > 1 (Bug #8546). [jan] Optimize event link generation (patrick.abiven@apitech.fr). [jan] Fix Oracle SQL scripts. [jan] Fix charset of ajax responses. [jan] Add Croatian translation (Matej Vela <matej.vela@carnet.hr>). [jan] Speed up listing alarms (patrick.abiven@apitech.fr, Request #8638). [jan] Simplify and improve portability of listing events without date limits in the SQL driver (Bug #8590). [mjr] Fix issue that caused the default alarm time to be applied to listTimeObjects events (Bug #8588). ------ v2.3.2 ------ [mms] Upgrade prototype.js to v1.6.1. [jan] Allow to add address lists as attendees through the address book popup (Bug #7834). [jan] Fix exporting certain weekday recurrence rules to iCalendar (lst_hoe02@kwsoft.de, Bug #8501). [jan] Export recurrence end dates as date-time values in iCalendar data to improve compatibility with external clients (Bug #7846). [jan] Fix synchronization with output compression enabled (Bug #7769). [jan] Add configuration whether to show user drop down list or text field in permissions dialog (requires Horde 3.3.5). [jan] Propagate the 'modified' API method (Request #8274). [cjh] Fix the signature of the kronolith/import API method (rpolli@babel.it, Bug #8309). [jan] Correctly create all-day events if using the all-day link in the day view (stpierre@nebrwesleyan.edu, Bug #8220). [jan] Fix rendering of all-day events (Bug #8176). ------ v2.3.1 ------ [jan] Render contact autocompletion list on top of free/busy blocks (Bug #7273). [jan] Save recurrence exceptions when copying events (Bug #7689). [jan] Prevent warnings if trying to add address lists as attendees (Bug #7834). [jan] Fix start and end time calculation of multi-day events (Bug #7788). [jan] Wrap URL in calendar information in IE7 (almarin@um.es, Bug #8043). [jan] Fix "Date-string has wrong format" error with holidays (Bug #7961). [jan] Use improved translation support in Date_Holidays (requires 0.21.0 now, Bug #7272). [jan] Empty view cache when changing calendar selection (stpierre@nebrwesleyan.edu, Bug #7879). [mjr] Fix category CSS being included on embedded widgets. [cjh] Work around BC break with Horde versions before 3.2 (Bug #7820). [jan] Allow to manually change attendee responses (paul@carnie.com.au, Request #7443). [jan] Fix linking to last week across certain year boundaries (Bug #7827). [jan] Add script to import events from SquirrelMail database. [cjh] Add private-***.png graphics to Tango and Silver themes (Bug #7531). [cjh] Fix listing of users in the calendar/browse API call. [jan] Set timezone per user preference and fix recurring events when sending reminders through Kronolith (develop@kristov.de, Bug #7038). [cjh] Add a PostgreSQL-specific upgrade script for 2.2 to 2.3 (michael.menge@zdv.uni-tuebingen.de, Bug #7454). [mms] Upgrade prototype.js to v1.6.0.3.
2012-02-23 13:05:50 +01:00
INSTALLATION_DIRS+= ${PAXDIRS:=${KRONOLITHDIR}/%}
2009-08-29 14:30:30 +02:00
REPLACE_INTERPRETER+= php
REPLACE.php.old= .*/bin.php
REPLACE.php.new= ${PREFIX}/bin/php
REPLACE_FILES.php= scripts/import_icals.php \
scripts/migrate_to_sql_driver.php \
Kronolith version H3 (2.2) is a major upgrade in the 2.x release series, including these enhancements: * Support for the Horde_Alarm system (requires Horde 3.2) for email or inline alarms on any event. * Improved iCalendar and vCalendar support, including support for alarms, timezones, better integration with remote calendars, and better support for remote clients. * Improved event recurrence, including events that recur a specific number of times, recurrence by day of the year and by weekday of the year, the choice of editing or deleting a recurring event as either the full series or an individual exception, and the ability to remove recurrence exceptions. * More complete WebDAV support. * WCAG 1.0 Priority 2/Section 508 accessibility guidelines compliance. * Users can get a daily agenda email. * Holidays can be displayed using the Date_Holiday package. * Event delegation - users can have permissions to creat events on behalf of other users. * Events can be marked private. * More dynamic user interface, including dynamic page refreshes to update the main calendar view when switching between dates or month/day/week/ work week/year views, a collapsible panel that provides quick access to all calendars and allows searching of calendars, a dynamic event edit interface that puts less commonly used options out of site by default, quick switching between the view, edit, and delete interfaces, and autocompletion of attendees from the user's address book. * Full Kolab webclient support * Database access can be split between read and write databases. * More graceful operation if the calendar backend is not available. * and much, much more.
2008-05-26 14:58:49 +02:00
scripts/reminders.php
MESSAGE_SUBST+= KRONOLITHDIR=${KRONOLITHDIR:Q}
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
PKG_SYSCONFSUBDIR?= httpd
USE_PKGINSTALL= YES
SUBST_CLASSES+= files
SUBST_STAGE.files= post-build
SUBST_FILES.files= kronolith.conf.dist
SUBST_VARS.files= KRONOLITHDIR
SUBST_MESSAGE.files= Fixing configuration files.
PKG_USERS_VARS+= APACHE_USER
CONF_FILES= ${EGDIR}/kronolith.conf ${PKG_SYSCONFDIR}/kronolith.conf
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/conf.xml.dist \
${KRONOLITHDIR}/config/conf.xml \
${APACHE_USER} ${REAL_ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/keywords.php.dist \
${KRONOLITHDIR}/config/keywords.php \
${APACHE_USER} ${REAL_ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/menu.php.dist \
${KRONOLITHDIR}/config/menu.php \
${APACHE_USER} ${REAL_ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/prefs.php.dist \
${KRONOLITHDIR}/config/prefs.php \
${APACHE_USER} ${REAL_ROOT_GROUP} 0440
2009-08-29 14:30:30 +02:00
SPECIAL_PERMS+= ${KRONOLITHDIR}/config ${APACHE_USER} ${SHAREGRP} 0750
do-build:
${CP} ${FILESDIR}/kronolith.conf.dist ${WRKSRC}/kronolith.conf.dist
${CP} ${WRKSRC}/config/conf.xml ${WRKSRC}/config/conf.xml.dist
${FIND} ${WRKSRC} -name .htaccess -print | ${XARGS} ${RM} -f
do-install:
2009-08-29 14:30:30 +02:00
${INSTALL_DATA} ${WRKSRC}/kronolith.conf.dist ${DESTDIR}${EGDIR}/kronolith.conf
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/RELEASE_NOTES ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/UPGRADING ${DESTDIR}${DOCDIR}
. for d in ${PAXDIRS}
2009-08-29 14:30:30 +02:00
cd ${WRKSRC}/${d} && pax -rwpma . ${DESTDIR}${KRONOLITHDIR}/${d}
. endfor
2009-08-29 14:30:30 +02:00
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${DESTDIR}${KRONOLITHDIR}/config
${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${KRONOLITHDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${KRONOLITHDIR}
${FIND} ${DESTDIR}${KRONOLITHDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${DESTDIR}${KRONOLITHDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"