28a3c46d81
(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.
95 lines
3.3 KiB
Makefile
95 lines
3.3 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2012/02/23 12:05:50 obache Exp $
|
|
|
|
DISTNAME= kronolith-h3-${KRONOLITHVER}
|
|
PKGNAME= kronolith-${KRONOLITHVER}
|
|
CATEGORIES= www time
|
|
MASTER_SITES= http://ftp.horde.org/pub/kronolith/ \
|
|
ftp://ftp.horde.org/pub/kronolith/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.horde.org/kronolith/
|
|
COMMENT= Horde calendar application
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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
|
|
KRONOLITHVER= 2.3.6
|
|
PAXDIRS= js lib locale po scripts templates themes
|
|
|
|
INSTALLATION_DIRS+= ${DOCDIR}
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
|
INSTALLATION_DIRS+= ${KRONOLITHDIR}/config
|
|
INSTALLATION_DIRS+= ${PAXDIRS:=${KRONOLITHDIR}/%}
|
|
|
|
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 \
|
|
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_SED.files= -e "s|@KRONOLITHDIR@|${KRONOLITHDIR}|g"
|
|
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} ${ROOT_GROUP} 0440
|
|
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/keywords.php.dist \
|
|
${KRONOLITHDIR}/config/keywords.php \
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/menu.php.dist \
|
|
${KRONOLITHDIR}/config/menu.php \
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/prefs.php.dist \
|
|
${KRONOLITHDIR}/config/prefs.php \
|
|
${APACHE_USER} ${ROOT_GROUP} 0440
|
|
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:
|
|
${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}
|
|
cd ${WRKSRC}/${d} && pax -rwpma . ${DESTDIR}${KRONOLITHDIR}/${d}
|
|
. endfor
|
|
|
|
${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"
|