2019-05-23 21:22:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2019/05/23 19:23:18 rillig Exp $
|
2006-04-01 00:23:07 +02:00
|
|
|
|
|
|
|
DISTNAME= kronolith-h3-${KRONOLITHVER}
|
|
|
|
PKGNAME= kronolith-${KRONOLITHVER}
|
2016-05-17 12:32:06 +02:00
|
|
|
PKGREVISION= 3
|
2006-04-01 00:23:07 +02:00
|
|
|
CATEGORIES= www time
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= http://ftp.horde.org/pub/kronolith/
|
|
|
|
MASTER_SITES+= ftp://ftp.horde.org/pub/kronolith/
|
2006-04-01 00:23:07 +02:00
|
|
|
|
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/
|
2006-04-01 00:23:07 +02:00
|
|
|
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
|
2006-04-01 00:23:07 +02:00
|
|
|
|
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
|
2006-06-02 20:27:54 +02:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Date-[0-9]*:../../time/pear-Date
|
2006-04-01 00:23:07 +02:00
|
|
|
|
2016-09-11 19:03:25 +02:00
|
|
|
PHP_VERSIONS_ACCEPTED= 56
|
2015-12-06 13:13:12 +01:00
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2006-04-01 00:23:07 +02:00
|
|
|
.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
|
2013-08-07 21:19:58 +02:00
|
|
|
PAXDIRS= calendars feed js lib locale po scripts templates themes
|
2006-04-01 00:23:07 +02:00
|
|
|
|
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
|
|
|
|
2008-01-11 00:33:30 +01: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
|
2008-01-11 00:33:30 +01:00
|
|
|
|
2006-04-01 00:23:07 +02:00
|
|
|
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
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.files= KRONOLITHDIR
|
2006-04-01 00:23:07 +02:00
|
|
|
SUBST_MESSAGE.files= Fixing configuration files.
|
|
|
|
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_USERS_VARS+= APACHE_USER
|
|
|
|
|
2006-04-01 00:23:07 +02:00
|
|
|
CONF_FILES= ${EGDIR}/kronolith.conf ${PKG_SYSCONFDIR}/kronolith.conf
|
|
|
|
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/conf.xml.dist \
|
|
|
|
${KRONOLITHDIR}/config/conf.xml \
|
2016-05-17 12:32:06 +02:00
|
|
|
${APACHE_USER} ${REAL_ROOT_GROUP} 0440
|
2006-04-01 00:23:07 +02:00
|
|
|
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/keywords.php.dist \
|
|
|
|
${KRONOLITHDIR}/config/keywords.php \
|
2016-05-17 12:32:06 +02:00
|
|
|
${APACHE_USER} ${REAL_ROOT_GROUP} 0440
|
2006-04-01 00:23:07 +02:00
|
|
|
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/menu.php.dist \
|
|
|
|
${KRONOLITHDIR}/config/menu.php \
|
2016-05-17 12:32:06 +02:00
|
|
|
${APACHE_USER} ${REAL_ROOT_GROUP} 0440
|
2006-04-01 00:23:07 +02:00
|
|
|
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/prefs.php.dist \
|
|
|
|
${KRONOLITHDIR}/config/prefs.php \
|
2016-05-17 12:32:06 +02:00
|
|
|
${APACHE_USER} ${REAL_ROOT_GROUP} 0440
|
2009-08-29 14:30:30 +02:00
|
|
|
SPECIAL_PERMS+= ${KRONOLITHDIR}/config ${APACHE_USER} ${SHAREGRP} 0750
|
2006-04-01 00:23:07 +02:00
|
|
|
|
|
|
|
do-build:
|
2006-07-13 23:21:28 +02:00
|
|
|
${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
|
2006-04-01 00:23:07 +02:00
|
|
|
|
|
|
|
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}
|
2006-04-01 00:23:07 +02:00
|
|
|
|
|
|
|
. for d in ${PAXDIRS}
|
2009-08-29 14:30:30 +02:00
|
|
|
cd ${WRKSRC}/${d} && pax -rwpma . ${DESTDIR}${KRONOLITHDIR}/${d}
|
2006-04-01 00:23:07 +02:00
|
|
|
. 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}
|
2006-04-01 00:23:07 +02:00
|
|
|
|
2006-06-02 20:27:54 +02:00
|
|
|
.include "../../lang/php/phpversion.mk"
|
2006-04-01 00:23:07 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|