pkgsrc/www/horde/Makefile
adrianp a3300f2288 Update to 3.1.4
------
v3.1.4
------
[jan] SECURITY: Correctly quote file names in cleanup script for temporary
files.
[jan] Fix RPC authentication on CGI SAPIs.
[jan] Detect unencrypted PGP messages.

----------
v3.1.4-RC1
----------
[jan] SECURITY: Fix an XSS vulnerability in the language selection.
[jan] Complete Cyrus virtual domain support in cyrsql driver (Vilius Sumskas
<vilius@lnk.lt>, Request #4967).
[jan] Add option whether to strip domains from usernames in the account block
(Request #4955).
[jan] Fix email lists not being validated under certain conditions (Bug #4834).
[cjh] Add a REST-ful preferences interface.
[cjh] Faster DataTree-to-SQL History migration script
(josh@endries.org, Request #4732).
[cjh] Improved automatic webroot detection (Ben Klang, Request #4126).
[cjh] Rewrite and fix the OCI8 SessionHandler (Bug #3452).
[cjh] Allow signup hooks to override the user_name and password fields
(thomas@gelf.net, Request #2904).
[cjh] Fix creation of mailbox quotas by the Auth_cyrus driver
(pascal@vmfacility.fr, Bug #4678).
[cjh] Add "Save and Finish" to the share edit window (webmgr@muskingum.edu,
Request #4307).
[cjh] Let mailto: and anchor (#) links through Horde::externalUrl (Bug #3079).
[cjh] Add smbclient version of the SMB Auth class (larry@wimble.biz,
Request #4338).
[cjh] Remove problematic "data descriptor" segment from generated ZIP files
(reitsma@denison.edu, Bug #4670).
[cjh] Strip accesskeys from menu tooltips when only showing icons (Bug #4667).
[jan] Fix saving files in the root directory of an SQL VFS backend (Bug #4652,
Ben Klang <ben@alkaloid.net>).
[jan] Fix displaying all maintenance tasks to be confirmed at once (Bug #4377).
[cjh] Fix return format of DataTree_null::getByAttributes()
(thomas.jarosch@intra2net.com, Bug #4651).
[jan] Support departments in vCard's ORG properties (martin@matuska.org,
Request #4285).
[cjh] Rename Auth_sasl backend to Auth_peclsasl to avoid conflicts with PEAR's
Auth_SASL (Bug #4547).
[cjh] Implement handling of vTimezones in iCalendar data
(Carl Thompson <lists-horde@carlthompson.net>, Bug #4399).
[cjh] keybindings.js now works with Safari/KHTML.
[jan] Avoid recursive folder creation when sharing Kolab folders
(michael.sheldon@credativ.de, Bug #4325).
[jan] Add Kolab specific account block driver to support special Kolab users
(mzizka@hotmail.com, Request: #4119).
[mms] Only dim below the last signature line of input text in the dimsignature
Text_Filter driver.
2007-03-18 12:24:13 +00:00

132 lines
4.8 KiB
Makefile

# $NetBSD: Makefile,v 1.49 2007/03/18 12:24:13 adrianp Exp $
DISTNAME= horde-3.1.4
CATEGORIES= www
MASTER_SITES= http://ftp.horde.org/pub/horde/ \
ftp://ftp.horde.org/pub/horde/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.horde.org/
COMMENT= PHP application framework
CONFLICTS+= horde-2.*
.include "../../lang/php/phpversion.mk"
DEPENDS+= ${PHP_PKG_PREFIX}-gettext>=4.3.3:../../devel/php-gettext
DEPENDS+= ${PHP_PKG_PREFIX}-mcrypt>=4.3.3:../../security/php-mcrypt
DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=4.3.3:../../converters/php-iconv
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=4.3.3:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Log-[0-9]*:../../sysutils/pear-Log
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail_Mime-[0-9]*:../../mail/pear-Mail_Mime
DEPENDS+= ${PHP_PKG_PREFIX}-pear-DB-[0-9]*:../../databases/pear-DB
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.3.3:../../www/ap-php
.if ${PKG_PHP_VERSION} == "4"
DEPENDS+= ${PHP_PKG_PREFIX}-domxml>=4.3.3:../../textproc/php4-domxml
.elif ${PKG_PHP_VERSION} == "5"
DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php5-dom
.endif
DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=4.3.3:../../archivers/php-zlib
.include "../../mk/bsd.prefs.mk"
DOCDIR= ${PREFIX}/share/doc/horde
EGDIR= ${PREFIX}/share/examples/horde
HORDEDIR= ${PREFIX}/share/horde
PAXDIRS= js lib locale po scripts services templates themes util admin
SENDMAIL?= /usr/sbin/sendmail
BUILD_DEFS+= APACHE_USER
PKG_SYSCONFSUBDIR?= httpd
MESSAGE_SUBST+= HORDEDIR=${HORDEDIR:Q}
CONF_FILES+= ${EGDIR}/horde.conf ${PKG_SYSCONFDIR}/horde.conf
CONF_FILES_PERMS+= ${HORDEDIR}/config/conf.php.dist \
${HORDEDIR}/config/conf.php \
${APACHE_USER} ${ROOT_GROUP} 0640
CONF_FILES_PERMS+= ${HORDEDIR}/config/conf.xml.dist \
${HORDEDIR}/config/conf.xml \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${HORDEDIR}/config/mime_drivers.php.dist \
${HORDEDIR}/config/mime_drivers.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${HORDEDIR}/config/motd.php.dist \
${HORDEDIR}/config/motd.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${HORDEDIR}/config/nls.php.dist \
${HORDEDIR}/config/nls.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${HORDEDIR}/config/prefs.php.dist \
${HORDEDIR}/config/prefs.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${HORDEDIR}/config/registry.php.dist \
${HORDEDIR}/config/registry.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${HORDEDIR}/config/hooks.php.dist \
${HORDEDIR}/config/hooks.php \
${APACHE_USER} ${ROOT_GROUP} 0440
# Empty directories installed by install target
# that we need to create in the install script
# to get the same layout from a binary package installation
REQD_DIRS+= share/horde/lib/data
REQD_DIRS+= share/horde/lib/XML/tests
REQD_DIRS+= share/horde/lib/XML/docs/examples
REQD_DIRS+= share/horde/lib/XML/docs
REQD_DIRS+= share/horde/lib/VFS/tests
REQD_DIRS+= share/horde/lib/Text/tests
REQD_DIRS+= share/horde/lib/Text/docs/examples
REQD_DIRS+= share/horde/lib/Text/docs
REQD_DIRS+= share/horde/lib/Horde/tests
REQD_DIRS+= share/horde/lib/Horde/docs/examples
REQD_DIRS+= share/horde/lib/Horde/docs
REQD_DIRS+= share/horde/lib/Horde/Text/tests
REQD_DIRS+= share/horde/lib/File/tests
SUBST_CLASSES+= files
SUBST_STAGE.files= post-build
SUBST_FILES.files= horde.conf.dist config/conf.xml config/conf.xml.dist \
scripts/set_perms.sh
SUBST_SED.files= -e "s|@HORDEDIR@|${HORDEDIR}|g"
SUBST_SED.files+= -e "s|/usr/lib/sendmail|${SENDMAIL}|g"
SUBST_SED.files+= -e "s|/bin/sh|${SH}|g"
SUBST_MESSAGE.files= Fixing configuration files.
.include "options.mk"
.include "../../mk/apache.mk"
do-build:
${RM} ${WRKSRC}/lib/Horde/Auth/login.php.orig
${CP} ${FILESDIR}/horde.conf.dist ${WRKSRC}/horde.conf.dist
${CP} ${WRKSRC}/config/conf.xml ${WRKSRC}/config/conf.xml.dist
${FIND} ${WRKSRC} -name .htaccess -print | ${XARGS} ${RM} -f
${CHMOD} 0750 ${WRKSRC}/scripts/set_perms.sh
do-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA_DIR} ${HORDEDIR}
${INSTALL_DATA_DIR} ${HORDEDIR}/config
${INSTALL_DATA} ${WRKSRC}/horde.conf.dist ${EGDIR}/horde.conf
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCDIR}
. for d in ${PAXDIRS}
${INSTALL_DATA_DIR} ${HORDEDIR}/${d}
. endfor
. for d in ${PAXDIRS}
cd ${WRKSRC}/${d} && ${PAX} -rwpam . ${HORDEDIR}/${d}
. endfor
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${HORDEDIR}/config
${INSTALL_DATA} ${WRKSRC}/*.php ${HORDEDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HORDEDIR}
${FIND} ${HORDEDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${HORDEDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
${CHOWN} ${APACHE_USER}:${SHAREGRP} ${HORDEDIR}/config
${CHMOD} 0750 ${HORDEDIR}/config
.include "../../mk/apachever.mk"
.include "../../mk/bsd.pkg.mk"