head	1.43;
access;
symbols
	RELEASE_5_3_0:1.40
	RELEASE_4_10_0:1.36
	RELEASE_5_2_1:1.34
	RELEASE_5_2_0:1.34
	RELEASE_4_9_0:1.33
	RELEASE_5_1_0:1.27
	RELEASE_4_8_0:1.23
	RELEASE_5_0_0:1.17
	RELEASE_4_7_0:1.16
	RELEASE_4_6_2:1.13
	RELEASE_4_6_1:1.13
	RELEASE_4_6_0:1.13
	old_RELEASE_5_0_DP1:1.8
	old_RELEASE_4_5_0:1.5;
locks; strict;
comment	@# @;


1.43
date	2004.12.26.10.33.21;	author thierry;	state dead;
branches;
next	1.42;

1.42
date	2004.10.26.19.38.56;	author thierry;	state Exp;
branches;
next	1.41;

1.41
date	2004.10.12.05.34.54;	author thierry;	state Exp;
branches;
next	1.40;

1.40
date	2004.08.31.18.53.45;	author thierry;	state Exp;
branches;
next	1.39;

1.39
date	2004.07.28.22.52.38;	author thierry;	state Exp;
branches;
next	1.38;

1.38
date	2004.07.19.09.42.01;	author ale;	state Exp;
branches;
next	1.37;

1.37
date	2004.06.16.19.39.54;	author thierry;	state Exp;
branches;
next	1.36;

1.36
date	2004.03.16.22.20.32;	author thierry;	state Exp;
branches;
next	1.35;

1.35
date	2004.02.04.05.09.28;	author marcus;	state Exp;
branches;
next	1.34;

1.34
date	2003.09.24.10.22.45;	author edwin;	state Exp;
branches;
next	1.33;

1.33
date	2003.08.28.23.15.39;	author edwin;	state Exp;
branches;
next	1.32;

1.32
date	2003.08.26.20.25.56;	author marcus;	state Exp;
branches;
next	1.31;

1.31
date	2003.08.25.05.41.36;	author marcus;	state Exp;
branches;
next	1.30;

1.30
date	2003.08.23.07.56.26;	author edwin;	state Exp;
branches;
next	1.29;

1.29
date	2003.06.12.01.54.05;	author lioux;	state Exp;
branches;
next	1.28;

1.28
date	2003.06.08.06.00.39;	author nork;	state Exp;
branches;
next	1.27;

1.27
date	2003.04.29.03.26.39;	author edwin;	state Exp;
branches;
next	1.26;

1.26
date	2003.04.29.03.18.35;	author edwin;	state Exp;
branches;
next	1.25;

1.25
date	2003.03.30.21.30.44;	author edwin;	state Exp;
branches;
next	1.24;

1.24
date	2003.03.30.01.50.03;	author edwin;	state Exp;
branches;
next	1.23;

1.23
date	2003.02.24.04.53.40;	author edwin;	state Exp;
branches;
next	1.22;

1.22
date	2003.02.21.14.01.17;	author knu;	state Exp;
branches;
next	1.21;

1.21
date	2003.02.16.04.55.55;	author will;	state Exp;
branches;
next	1.20;

1.20
date	2003.02.15.23.47.35;	author leeym;	state Exp;
branches;
next	1.19;

1.19
date	2003.01.30.09.57.58;	author dirk;	state Exp;
branches;
next	1.18;

1.18
date	2003.01.30.09.28.41;	author dirk;	state Exp;
branches;
next	1.17;

1.17
date	2002.11.17.05.32.11;	author sada;	state Exp;
branches;
next	1.16;

1.16
date	2002.08.01.16.22.37;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2002.06.26.03.54.08;	author ijliao;	state Exp;
branches;
next	1.14;

1.14
date	2002.06.18.07.37.35;	author pat;	state Exp;
branches;
next	1.13;

1.13
date	2002.05.23.11.37.58;	author sobomax;	state Exp;
branches;
next	1.12;

1.12
date	2002.05.22.07.44.31;	author sobomax;	state Exp;
branches;
next	1.11;

1.11
date	2002.05.16.07.36.10;	author sada;	state Exp;
branches;
next	1.10;

1.10
date	2002.05.15.10.32.19;	author sada;	state Exp;
branches;
next	1.9;

1.9
date	2002.04.12.17.10.06;	author ade;	state Exp;
branches;
next	1.8;

1.8
date	2002.04.01.13.26.35;	author ijliao;	state Exp;
branches;
next	1.7;

1.7
date	2002.03.15.19.44.22;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2002.01.29.12.08.27;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2002.01.20.22.32.44;	author lioux;	state Exp;
branches;
next	1.4;

1.4
date	2002.01.19.16.58.08;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2001.12.22.21.51.01;	author dwcjr;	state Exp;
branches;
next	1.2;

1.2
date	2001.12.12.20.08.28;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.03.02.36.06;	author steve;	state Exp;
branches;
next	;


desc
@@


1.43
log
@Remove www/horde2 & mail/imp3 and resurrect www/horde & mail/imp.

PR:		ports/75434
Submitted by:	/me.
@
text
@# Ports collection makefile for:  horde2
# Date created:			  Sun Oct 07, 2001
# Whom:				  Thierry Thomas (<thierry@@thomas.as>)
#
# $FreeBSD: ports/www/horde2/Makefile,v 1.42 2004/10/26 19:38:56 thierry Exp $
#

PORTNAME=	horde
PORTVERSION=	2.2.7
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.horde.org/pub/horde/				\
		ftp://ftp.planetmirror.com/pub/horde/horde/		\
		ftp://ftp.au.horde.org/pub/horde/horde/			\
		ftp://ftp.be.horde.org/horde/				\
		ftp://ftp.es.horde.org/pub/horde/			\
		ftp://ftp.it.horde.org/pub/mirror/horde.org/horde/	\
		ftp://ftp.nl.horde.org/mirror/horde-ftp/pub/horde/	\
		ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/horde/	\
		http://ftp.horde.org/pub/horde/

MAINTAINER=	thierry@@FreeBSD.org
COMMENT=	A common code-base used by Horde applications, written in PHP

#-----------------------------------------------------------------------
# You may define these options:
#
# - WITH_APACHE2: if you run Apache2;
#
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree.
#
# - WITHOUT_MYSQL:	this port is built with MySQL by default
#			but you might choose any other database
#			supported by PHP (e.g. WITH_POSTGRESQL).
#
# - WITHOUT_IMP:	this port is intended to build a default
#			package for IMP; use this knob if for
#			example you only need Chora.
#
# - WITHOUT_LDAP:	if you do not need OpenLDAP.
#
# - WITHOUT_MCAL:	if you don't plan to install Kronolith.
#
# - WITHOUT_FTP:	if you don't plan to install Gollem.
#
#-----------------------------------------------------------------------

RUN_DEPENDS=	${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date			\
		${PEARDIR}/HTML/Common.php:${PORTSDIR}/devel/pear-HTML_Common	\
		${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log		\
		${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime	\
		${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB

NO_BUILD=	yes
USE_PHP=	domxml gettext session
WANT_PHP_MOD=	yes
BROKEN_WITH_PHP=5
USE_REINPLACE=	yes

.if !defined(NOCRYPT)
USE_PHP+=	mcrypt
.endif
.if !defined(WITHOUT_MYSQL)
USE_PHP+=	mysql
.endif
.if !defined(WITHOUT_LDAP)
USE_PHP+=	ldap
.endif
.if !defined(WITHOUT_IMP)
USE_PHP+=	imap
.endif
.if !defined(WITHOUT_MCAL)
USE_PHP+=	mcal
.endif
.if !defined(WITHOUT_FTP)
USE_PHP+=	ftp
.endif

REINPLACE_ARGS=	-i.beforeHorde
DOCS=		COPYING README docs/CHANGES docs/CODING_STANDARDS \
		docs/CONTRIBUTING docs/CREDITS docs/HACKING docs/INSTALL \
		docs/RELEASE_NOTES docs/SECURITY docs/TRANSLATIONS
CONFFILE=	horde.php html.php lang.php mime_drivers.php mime_mapping.php \
		motd.php prefs.php registry.php
SUB_DIRS=	config graphics lib locale po scripts templates util

LHORDEDIR?=	www/horde
LHORDESBIN?=	sbin

PLIST_SUB=	HORDEDIR=${LHORDEDIR} HORDESBIN=${LHORDESBIN}

HORDEDIR=	${PREFIX}/${LHORDEDIR}
HORDESBIN=	${PREFIX}/${LHORDESBIN}
CONFDIR=	${HORDEDIR}/config

APACHE_CONF=	${APACHE_CNFDIR}/httpd.conf
PEARDIR?=	${LOCALBASE}/share/pear
.if defined(WITH_APACHE2)
APACHE_CNFDIR=	${LOCALBASE}/etc/apache2
.else
APACHE_CNFDIR=	${LOCALBASE}/etc/apache
.endif
HORDE_INC=	${PREFIX}/etc/horde
LOG_FILE?=	/var/log/horde.log

pre-everything::
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "If you plan to install IMP, it is better to configure"
	@@${ECHO_MSG} "PHP with IMAP / IMAP-SSL, OpenLDAP, OpenSSL, mcrypt, XML,"
	@@${ECHO_MSG} "FTP, gettext, zlib, MCAL and a database (like MySQL or"
	@@${ECHO_MSG} "PostgreSQL)."
	@@${ECHO_MSG} "For Japanese language, please enable mbstring."
	@@${ECHO_MSG} ""

pre-install:
	@@if [ -f ${HORDEDIR}/index.php3 ]; then \
	    ${ECHO_MSG} "" ; \
	    ${ECHO_MSG} "Please deinstall the port www/horde." ; \
	    ${ECHO_MSG} "" ; \
	    ${FALSE} ; \
	fi
# N.B.: database dependencies are binded with mod_php#, not with Horde
.if !defined(WITHOUT_SUPPORTED_DB)
	@@if ! php -m | ${GREP} -q -e "mysql" ; then \
	 if ! php -m | ${GREP} -q -e "pgsql" ; then \
	  if ! php -m | ${GREP} -q -e "sybase" ; then \
	   if ! php -m | ${GREP} -q -e "sybase_ct" ; then \
	    ${ECHO_MSG} "" ; \
	    ${ECHO_MSG} "Please configure PHP with a database support." ; \
	    ${ECHO_MSG} "MySQL, PostgreSQL and Sybase (CTLIB or DBLIB)" ; \
	    ${ECHO_MSG} "can be used with PHP AND Horde." ; \
	    ${ECHO_MSG} "" ; \
	    ${ECHO_MSG} "(If everything will run on this machine, do not" ; \
	    ${ECHO_MSG} " forget to install the database server-side!)" ; \
	    ${ECHO_MSG} "" ; \
	    ${FALSE} ; \
	   fi ; \
	  fi ; \
	 fi ; \
	fi
.endif

post-patch:
	@@${RM} ${WRKSRC}/po/translation.php.orig	\
		${WRKSRC}/scripts/db/README.orig	\
		${WRKSRC}/scripts/set_perms.sh.orig	\
		${WRKSRC}/config/horde.php.dist.orig	\
		${WRKSRC}/config/registry.php.dist.orig	\
		${WRKSRC}/config/mime_drivers.php.dist.orig

do-install:
	@@${MKDIR}  ${HORDEDIR}
.for REP in ${SUB_DIRS}
	@@${CP} -Rp ${WRKSRC}/${REP} ${HORDEDIR}
.endfor
	@@${CP} -p  ${WRKSRC}/*.php ${HORDEDIR}
	@@if [ ! -f ${CONFDIR}/horde.php ]; then \
		${CP} ${CONFDIR}/horde.php.dist ${CONFDIR}/horde.php ; \
		${REINPLACE_CMD} -e "s:/tmp/horde.log:${LOG_FILE}:g" ${CONFDIR}/horde.php ; \
		${RM} ${CONFDIR}/horde.php.beforeHorde ; \
	fi
	@@${REINPLACE_CMD} -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:g" \
		${HORDEDIR}/lib/Auth/mcal.php
	@@${RM} ${HORDEDIR}/lib/Auth/mcal.php.beforeHorde
.for FILE in ${CONFFILE}
	@@if [ ! -f ${CONFDIR}/${FILE} ]; then \
	  ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
	fi
.endfor
	@@${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" ${CONFDIR}/mime_drivers.php
	@@${RM} ${CONFDIR}/mime_drivers.php.beforeHorde
	@@${CP} ${WRKSRC}/scripts/set_perms.sh ${HORDESBIN}/horde_set_perms.sh
	@@${REINPLACE_CMD} -e "s:UPDATED_BY_THE_PORT:${HORDEDIR}/:g" \
		${HORDESBIN}/horde_set_perms.sh
	@@${RM} ${HORDESBIN}/horde_set_perms.sh.beforeHorde
	@@${CHMOD} u+x ${HORDESBIN}/horde_set_perms.sh
	@@(if [ -f ${APACHE_CONF} ] ; then \
		${MKDIR} ${HORDE_INC} ; \
		${CP} -p ${FILESDIR}/httpd.conf.horde ${HORDE_INC} ; \
		${REINPLACE_CMD} -e "s:/home/httpd/html/horde:${HORDEDIR}:g ; \
			s:/home/httpd/phplib:${PEARDIR}:g" ${HORDE_INC}/httpd.conf.horde ; \
		${RM} ${HORDE_INC}/httpd.conf.horde.beforeHorde ; \
		${ECHO_MSG} "===> Updating ${APACHE_CONF}..." ; \
		${REINPLACE_CMD} -e "s:php_value auto_prepend_file:# php_value auto_prepend_file:g ; \
			s:${HORDEDIR}/phplib:${PEARDIR}:g" ${APACHE_CONF} ; \
		${ECHO_CMD} "# Horde's include directory" >> ${APACHE_CONF} ; \
		${ECHO_CMD} "Include ${HORDE_INC}" >> ${APACHE_CONF} ; \
	fi)
	@@${CHOWN} -R www:www ${HORDEDIR}
	@@${CHMOD} -R o-rwx ${CONFDIR}
	@@${TOUCH} ${LOG_FILE}
	@@${CHOWN} www:www ${LOG_FILE}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
	@@${REINPLACE_CMD} -e "s:/usr/local/apache/htdocs:${PREFIX}/www:g" ${DOCSDIR}/INSTALL
	@@${RM} ${DOCSDIR}/INSTALL.beforeHorde
	@@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

post-install:
	@@${ECHO}
	@@${SED} -e "s:%%HORDEDIR%%:${HORDEDIR}:g;s:%%APACHE_CONF%%:${APACHE_CONF}:g"	\
		-e "s:%%HORDESBIN%%:${HORDESBIN}:g" ${PKGMESSAGE}
	@@${ECHO}

.include <bsd.port.mk>
@


1.42
log
@Upgrade to 2.2.7.

Changes in this release:
    - Fixed potential XSS vulnerability in the help window.
    - Restored compatibility with PHP 4.1.
    - Fixed charset for Latvian translation (Bug #656).
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.41
log
@Upgrade to 2.2.6.
@
text
@d9 1
a9 1
PORTVERSION=	2.2.6
@


1.40
log
@Add a dependency towards databases/pear-DB since it is no more
brought by sysutils/pear-Log.

No need to bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	2.2.5
PORTREVISION=	1
@


1.39
log
@Horde does not support PHP5. Use BROKEN_WITH_PHP=5.

Note: the next version, Horde 3, should support it.

PR:		69364
Submitted by:	Mit Rowe
@
text
@d51 2
a52 1
		${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime
@


1.38
log
@Switch to the new PHP infrastructure.

Submitted by:	maintainer
@
text
@d56 1
d143 6
a148 6
	@@${RM} ${WRKSRC}/po/translation.php.orig
	@@${RM} ${WRKSRC}/scripts/db/README.orig
	@@${RM} ${WRKSRC}/scripts/set_perms.sh.orig
	@@${RM} ${WRKSRC}/config/horde.php.dist.orig
	@@${RM} ${WRKSRC}/config/registry.php.dist.orig
	@@${RM} ${WRKSRC}/config/mime_drivers.php.dist.orig
@


1.37
log
@PEAR packages built on Bento have registered dependences towards
lang/php4; www/horde2 requires these packages and lang/php4-horde.

Set NO_PACKAGE until this conflict get cleanly fixed.
@
text
@d10 1
d22 1
a22 1
MAINTAINER=	thierry@@pompo.net
d32 14
d48 1
a48 3
BUILD_DEPENDS=	pear:${PORTSDIR}/lang/php4-horde
RUN_DEPENDS=	${BUILD_DEPENDS}						\
		${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date			\
a52 1
NO_PACKAGE=	Packaging problem due to dependences with pear
d54 2
d58 18
a75 1
LDD=		/usr/bin/ldd
a97 1
MOD_DIR=	libexec/apache2
a99 1
MOD_DIR=	libexec/apache
a100 1
PHPSO=		${LOCALBASE}/${MOD_DIR}/libphp4.so
a119 12
	@@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libxml2.so"; then \
	    ${ECHO_MSG} "" ; \
	    ${ECHO_MSG} "Please configure PHP with DOM XML support." ; \
	    ${ECHO_MSG} "" ; \
	    ${FALSE} ; \
	fi
	@@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libintl.so"; then \
	    ${ECHO_MSG} "" ; \
	    ${ECHO_MSG} "Please configure PHP with gettext support." ; \
	    ${ECHO_MSG} "" ; \
	    ${FALSE} ; \
	fi
d122 4
a125 4
	@@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libmysqlclient" ; then \
	 if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libpq.so" ; then \
	  if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libsybdb.so" ; then \
	   if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libct.so" ; then \
@


1.36
log
@Upgrading to Horde 2.2.5.

The full list of changes (from version 2.2.4) can be viewed here:
<http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.207.2.86&r2=1.207.2.91&ty=h>.

PR:		ports/63947.
Submitted by:	maintainer.
Approved by:	mat (mentor).
@
text
@d40 1
@


1.35
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d9 1
a9 2
PORTVERSION=	2.2.4
PORTREVISION=	2
d12 3
a14 1
		ftp://ftp.au.horde.org/pub/horde/			\
d18 2
a19 1
		ftp://ftp.pt.horde.org/pub/horde-ftp/horde/
a33 1
# Remark: pear-XML_sql2xml is included, but never used.
d48 1
a48 1
		docs/TRANSLATIONS docs/SECURITY
d186 2
a187 2
	@@${CAT} ${PKGMESSAGE} | ${SED} -e \
	"s:%%HORDEDIR%%:${HORDEDIR}:g;s:%%APACHE_CONF%%:${APACHE_CONF}:g;s:%%HORDESBIN%%:${HORDESBIN}:g"
@


1.34
log
@www/horde2: upgrading to 2.2.4 final & removing IS_INTERACTIVE.

	- upgrading to 2.2.4 final;
	- removing IS_INTERACTIVE.

PR:		ports/57112
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.33
log
@www/horde2: upgrading to 2.2.4-RC2 (includes a security fix).

	Note: I'm not waiting for the final release to submit this
	PR because it includes a security fix.

	The full list of changes (from 2.2.3) can be viewed here:
	http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.207.2.77&;r2=1.207.2.85&ty=h

PR:		ports/56098
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d10 1
a10 1
PORTREVISION=	0
a17 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-RC2
a21 2
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

d23 3
a25 1
# You may define this option:
d27 1
a27 1
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
d31 1
a31 4
LIB_DEPENDS+=	intl.5:${PORTSDIR}/devel/gettext
.if !defined(WITHOUT_MCAL)
LIB_DEPENDS+=	mcal.0:${PORTSDIR}/misc/libmcal
.endif
d33 2
a34 1
RUN_DEPENDS=	${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date			\
a38 1
IS_INTERACTIVE=	'need to build php4 with XML support.'
d47 1
a47 1
		docs/TRANSLATIONS
@


1.32
log
@Bump the PORTREVISION for the ports directly affected by the gettext upgrade.

Prodded by:	kris
@
text
@d9 2
a10 2
PORTVERSION=	2.2.3
PORTREVISION=	3
d18 1
d23 2
d26 1
a26 1
# You may define these options:
a128 1
	@@${RM} ${WRKSRC}/lib/Horde.php.orig
@


1.31
log
@Chase the libintl.so shared lib version.
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.30
log
@www/horde2: fixing Apache segfaults.

	There is a bug in Horde: the logger (PEAR::Log) is instanciated
	without a '&', and PHP does not handle this error, letting
	Apache childs segfaulting.

Also removed the *.orig files from the pkg-plist and let them be
removed via post-patch.

PR:		ports/55192
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d29 1
a29 1
LIB_DEPENDS+=	intl.4:${PORTSDIR}/devel/gettext
@


1.29
log
@o Add IS_INTERACTIVE='need to build php4 with XML support'
o Horde requires PHP to be built with XML (for online help) and
  gettext (for I18N), and this is not the default.

PR:		53166
Submitted by:	maintainer
Prompted by:    bento, kris
@
text
@d10 1
a10 1
PORTREVISION=	1
d123 9
@


1.28
log
@Fixing Horde to work with the new PEAR strcture.

PR:		ports/52642
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d39 1
@


1.27
log
@(remove commented-out lines)
@
text
@d10 1
d34 4
a37 4
RUN_DEPENDS=	${PHP_LIB}/Date.php:${PORTSDIR}/devel/pear-Date			\
		${PHP_LIB}/HTML/Select.php:${PORTSDIR}/devel/pear-HTML_Select_Common	\
		${PHP_LIB}/Log.php:${PORTSDIR}/sysutils/pear-Log		\
		${PHP_LIB}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime
d62 1
a62 1
PHP_LIB?=	${LOCALBASE}/lib/php
d153 1
a153 1
			s:/home/httpd/phplib:${PHP_LIB}:g" ${HORDE_INC}/httpd.conf.horde ; \
d157 1
a157 1
			s:${HORDEDIR}/phplib:${PHP_LIB}:g" ${APACHE_CONF} ; \
@


1.26
log
@www/horde2: upgrading to 2.2.3.

	Upgrading to the latest -stable release of Horde.
	Removing a dependency on security/pear-Crypt_CBC.
	The full list of changes can be viewed here:
	<http://cvs.horde.org/co.php/horde/docs/CHANGES?r=1.207.2.77>;.
	Note: this upgrade will be necessary to upgrade Kronolith to 1.1.

PR:		ports/51390
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d160 1
a160 1
#	@@${CHOWN} -R www:www ${HORDEDIR}
d162 2
a163 2
#	@@${TOUCH} ${LOG_FILE}
#	@@${CHOWN} www:www ${LOG_FILE}
@


1.25
log
@Fix typos submitted by Thierry.
@
text
@d9 1
a9 2
PORTVERSION=	2.2.1
PORTREVISION=	1
d33 1
a33 2
RUN_DEPENDS=	${PHP_LIB}/Crypt/CBC.php:${PORTSDIR}/security/pear-Crypt_CBC	\
		${PHP_LIB}/Date.php:${PORTSDIR}/devel/pear-Date			\
d47 1
a47 1
CONFFILE=	html.php lang.php mime_drivers.php mime_mapping.php \
d160 1
a160 1
	@@${CHOWN} -R www:www ${HORDEDIR}
d162 2
a163 2
	@@${TOUCH} ${LOG_FILE}
	@@${CHOWN} www:www ${LOG_FILE}
@


1.24
log
@www/horde2: adding support of Apache2

PR:		ports/48954
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d162 1
a162 1
	@@${CHOWN} -R edwin ${HORDEDIR}
d164 2
@


1.23
log
@devel/pear-HTML_Select: superseded by devel/pear-HTML_Select_Common

PR:		ports/47769
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@a61 1
APACHE_CNFDIR?=	${LOCALBASE}/etc/apache
d64 8
a71 1
PHPSO?=		${LOCALBASE}/libexec/apache/libphp4.so
d162 1
a162 1
	@@${CHOWN} -R www:www ${HORDEDIR}
a163 2
	@@${TOUCH} ${LOG_FILE}
	@@${CHOWN} www:www ${LOG_FILE}
@


1.22
log
@De-pkg-comment.
@
text
@d10 1
d36 1
a36 1
		${PHP_LIB}/HTML/Select.php:${PORTSDIR}/devel/pear-HTML_Select \
@


1.21
log
@Correct the dependency so INDEX builds.
@
text
@d19 1
@


1.20
log
@update to horde-2.2.1

PR:		47977
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d34 1
a34 1
		${PHP_LIB}/HTML/Select.php:${PORTSDIR}/devel/pear-HTML_Select_Common \
@


1.19
log
@Fix dependencies after adding new pear ports and upgrading mod_php4
to 4.3.0.

PR:		ports/47418
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d9 1
a9 1
PORTVERSION=	2.2
d33 3
a35 3
		${PHP_LIB}/Date.php:${PORTSDIR}/devel/pear-Date		\
		${PHP_LIB}/HTML/Select.php:${PORTSDIR}/devel/pear-HTML_Select	\
		${PHP_LIB}/Log.php:${PORTSDIR}/sysutils/pear-Log	\
d45 2
a46 1
		docs/CONTRIBUTING docs/CREDITS docs/HACKING docs/INSTALL
d80 6
@


1.18
log
@Upgrade to 2.2.

PR:		ports/47229
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d32 1
a32 2
RUN_DEPENDS=	${PHP_LIB}/Console/Getopt.php:${PORTSDIR}/devel/pear-Console_Getopt \
		${PHP_LIB}/Crypt/CBC.php:${PORTSDIR}/security/pear-Crypt_CBC	\
a33 1
		${PHP_LIB}/DB.php:${PORTSDIR}/databases/pear-DB		\
d36 1
a36 2
		${PHP_LIB}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime \
		${PHP_LIB}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
@


1.17
log
@fixing dependence with PEAR::Log.
PR:	ports/44474
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	2.1
PORTREVISION=	2
d11 6
a16 2
MASTER_SITES=	ftp://ftp.horde.org/pub/horde/tarballs/%SUBDIR%/
MASTER_SITE_SUBDIR=	. old
a19 2
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

d23 1
a23 1
# - WITHOUT_SSL		: if you do not need Apache with mod_ssl;
d31 9
a39 1
RUN_DEPENDS=	${LOCALBASE}/lib/php/Log.php:${PORTSDIR}/sysutils/pear-Log
d44 2
d65 1
a69 6
.if !defined(WITHOUT_SSL)
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Press CTRL-C and define WITHOUT_SSL"
	@@${ECHO_MSG} " if you do not want to use Apache with SSL."
	@@${ECHO_MSG} ""
.endif
d73 2
a74 2
	@@${ECHO_MSG} "FTP, gettext, pspell, zlib, MCAL and"
	@@${ECHO_MSG} "a database (like MySQL or PostgreSQL)."
d85 1
a85 1
	@@if ! ${LDCONFIG} -r | ${GREP} -q -e "lintl.4"; then \
d91 20
@


1.16
log
@Chase shlib rev of devel/gettext

Submitted by:	lots and lots
Pointy hat to:	ade
@
text
@d30 1
a30 5
.if !defined(WITHOUT_SSL)
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libssl.so:${PORTSDIR}/www/apache13-modssl
.endif
#RUN_DEPENDS+=	${LOCALBASE}/lib/php/Cache/DB.php:${PORTSDIR}/devel/pear
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
@


1.15
log
@${PERL} -> ${REINPLACE_CMD}

PR:		39856
Submitted by:	maintainer
@
text
@d26 1
a26 1
LIB_DEPENDS+=	intl.2:${PORTSDIR}/devel/gettext
d83 1
a83 1
	@@if ! ${LDCONFIG} -r | ${GREP} -q -e "lintl.2"; then \
@


1.14
log
@Update to 2.1 final, bump PORTREVISION.

PR:		39170
Submitted by:	maintainer
@
text
@d37 3
d98 2
a99 3
		${PERL} -pi -e "s:/var/www/htdocs/horde/templates:${HORDEDIR}/templates:g" \
			${CONFDIR}/horde.php ; \
		${PERL} -pi -e "s:/tmp/horde.log:${LOG_FILE}:g" ${CONFDIR}/horde.php ; \
d101 1
a101 1
	@@${PERL} -pi -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:g" \
d103 1
d109 2
a110 1
	@@${PERL} -pi -e "s:%%LOCALBASE%%:${LOCALBASE}:" ${CONFDIR}/mime_drivers.php
d112 1
a112 1
	@@${PERL} -pi -e "s:UPDATED_BY_THE_PORT:${HORDEDIR}/:g" \
d114 1
d117 10
a126 10
	    ${MKDIR} ${HORDE_INC} ; \
	    ${CP} -p ${FILESDIR}/httpd.conf.horde ${HORDE_INC} ; \
	    ${PERL} -pi -e "s:/home/httpd/html/horde:${HORDEDIR}:g" ${HORDE_INC}/httpd.conf.horde ; \
	    ${PERL} -pi -e "s:/home/httpd/phplib:${PHP_LIB}:g" ${HORDE_INC}/httpd.conf.horde ; \
	    ${ECHO_MSG} "===> Updating ${APACHE_CONF}..." ; \
	    ${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeHorde ; \
	    ${PERL} -pi -e "s:php_value auto_prepend_file:# php_value auto_prepend_file:g" ${APACHE_CONF} ; \
	    ${PERL} -pi -e "s:${HORDEDIR}/phplib:${PHP_LIB}:g" ${APACHE_CONF} ; \
	    ${ECHO_CMD} "# Horde's include directory" >> ${APACHE_CONF} ; \
	    ${ECHO_CMD} "Include ${HORDE_INC}" >> ${APACHE_CONF} ; \
d137 2
a138 1
	@@${PERL} -pi -e "s:/usr/local/apache/htdocs/horde:${DOCSDIR}:g" ${DOCSDIR}/INSTALL
@


1.13
log
@Update to RC3.

PR:		38261
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
a13 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-RC3
@


1.12
log
@Make distfile fetchable again.

Submitted by:	bento
@
text
@d10 1
d14 1
a14 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-RC2
@


1.11
log
@Upgrade to version 2.1 RC2.
PR:	ports/36903
Submitted by:	maintainer
@
text
@d11 2
a12 1
MASTER_SITES=	ftp://ftp.horde.org/pub/horde/tarballs/
@


1.10
log
@Move www/horde-devel -> www/horde2 & mail/imp-devel -> mail/imp3
From PR's description:
  IMP 3.0 is the stable release of IMP,
  and Horde 2.0 the stable release of Horde.
Note:	mail/imp3 and deskutils/kronolith are marked as IS_INTERACTIVE
	since they need depending port mod_php4 with its mcrypt option
	enabled by hand.

PR:		ports/35051
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	2.0
PORTREVISION=	3
d12 1
d39 2
a40 1
		motd.php registry.php
d69 1
d88 3
a90 3
	@@${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${HORDEDIR}
	@@${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${HORDEDIR}
	@@${CP} -Rp ${WRKSRC}/po ${WRKSRC}/admin ${WRKSRC}/util ${HORDEDIR}
@


1.9
log
@gettext upgrade uber-patch (stage 3)

- switch devel/gettext (0.11.1) on, installing full package
- flip devel/gettext-old (0.10.35) to installing only static binaries
  with a "-old" suffix -- gettext-old will have its deorbit burn
  sequence initiated just after 4.6-RELEASE
- fix up ports for the new world order

Reviewed by:	portmgr
@
text
@d1 1
a1 1
# Ports collection makefile for:  horde-devel
a12 1
PKGNAMESUFFIX=	-devel
@


1.8
log
@- adding support of enscript, for syntax highlighting in devel/chora;
- better handling of the MIME drivers used by mail/imp-devel.

PR:		35047
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	2
d26 1
a26 1
LIB_DEPENDS+=	intl.1:${PORTSDIR}/devel/gettext-old
d78 1
a78 1
	@@if ! ${LDCONFIG} -r | ${GREP} -q -e "lintl.1"; then \
@


1.7
log
@Stage 1 of gettext update.

Move gettext (0.10.35) with gettext-old
Update gettext from gettext-devel (0.10.40)
Remove gettext-devel
Fix dependencies

Stage 2 will involve upgraded gettext to 0.11 and fixing issues
Stage 3 involves a de-orbit burn sequence for gettext-old

Reviewed by:	portmgr
@
text
@d10 1
a10 1
PORTREVISION=	1
d104 1
@


1.6
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
@
text
@d26 1
a26 1
LIB_DEPENDS+=	intl.1:${PORTSDIR}/devel/gettext
@


1.5
log
@Update maintainer address

PR:		34095
Submitted by:	MAINTAINER
@
text
@d117 2
a118 2
	    ${ECHO} "# Horde's include directory" >> ${APACHE_CONF} ; \
	    ${ECHO} "Include ${HORDE_INC}" >> ${APACHE_CONF} ; \
@


1.4
log
@horde-devel from 2.0 RC3 to 2.0;
turba from 1.0 RC3 to 1.0;
imp-devel from 3.0 RC3 to 1.0
@
text
@d15 1
a15 1
MAINTAINER=	thierry@@thomas.as
@


1.3
log
@Pear is now included in mod_php4 v 4.1.0

PR:		33051
Submitted by:	maintainer
@
text
@d10 1
a13 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-RC3
d37 2
a38 2
DOCS=		COPYING README docs/CHANGES docs/CODING_STANDARDS docs/CREDITS \
		docs/HELP docs/INSTALL docs/LISTS docs/SOURCE
d97 2
d105 3
a107 1
	@@${PERL} -pi -e "s:UPDATED_BY_THE_PORT:${HORDEDIR}/:g" ${HORDESBIN}/horde_set_perms.sh
@


1.2
log
@upgrade to RC3

PR:		32516
Submitted by:	maintainer
@
text
@d33 2
a34 2
RUN_DEPENDS+=	${LOCALBASE}/lib/php/Cache/DB.php:${PORTSDIR}/devel/pear
#RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
@


1.1
log
@Adding horde version 2.0.
A common code-base used by Horde applications, written in PHP.

PR:		32088, 32145
Submitted by:	Thierry Thomas <thierry@@thomas.as>
@
text
@d13 1
a13 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-RC2
d37 4
a40 2
DOCS=		COPYING README docs/CHANGES docs/CREDITS docs/CODING_STANDARDS \
		docs/HELP docs/INSTALL docs/RELEASE
d49 1
d54 1
d66 2
a67 2
	@@${ECHO_MSG} "PHP with IMAP, OpenLDAP, OpenSSL, mcrypt, XML, FTP,"
	@@${ECHO_MSG} "gettext, pspell, zlib, MCAL and"
d86 7
a92 7
	${MKDIR}  ${HORDEDIR}
	${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${HORDEDIR}
	${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${HORDEDIR}
	${CP} -Rp ${WRKSRC}/po ${WRKSRC}/admin ${WRKSRC}/util ${HORDEDIR}
	${CP} -p  ${WRKSRC}/*.php ${HORDEDIR}
	@@if [ ! -f ${HORDEDIR}/config/horde.php ]; then \
		${CP} ${HORDEDIR}/config/horde.php.dist ${HORDEDIR}/config/horde.php ; \
d94 2
a95 2
			${HORDEDIR}/config/horde.php ; \
		${PERL} -pi -e "s:/tmp/horde.log:${LOG_FILE}:g" ${HORDEDIR}/config/horde.php ; \
d97 3
a99 2
	@@if [ ! -f ${HORDEDIR}/config/html.php ]; then \
		${CP} ${HORDEDIR}/config/html.php.dist ${HORDEDIR}/config/html.php ; \
d101 14
a114 31
	@@if [ ! -f ${HORDEDIR}/config/lang.php ]; then \
		${CP} ${HORDEDIR}/config/lang.php.dist ${HORDEDIR}/config/lang.php ; \
	fi
	@@if [ ! -f ${HORDEDIR}/config/mime_drivers.php ]; then \
		${CP} ${HORDEDIR}/config/mime_drivers.php.dist ${HORDEDIR}/config/mime_drivers.php ; \
	fi
	@@if [ ! -f ${HORDEDIR}/config/mime_mapping.php ]; then \
		${CP} ${HORDEDIR}/config/mime_mapping.php.dist ${HORDEDIR}/config/mime_mapping.php ; \
	fi
	@@if [ ! -f ${HORDEDIR}/config/motd.php ]; then \
		${CP} ${HORDEDIR}/config/motd.php.dist ${HORDEDIR}/config/motd.php ; \
	fi
	@@if [ ! -f ${HORDEDIR}/config/registry.php ]; then \
		${CP} ${HORDEDIR}/config/registry.php.dist ${HORDEDIR}/config/registry.php ; \
	fi
	${CP} ${WRKSRC}/scripts/set_perms.sh ${HORDESBIN}/horde_set_perms.sh
	${PERL} -pi -e "s:UPDATED_BY_THE_PORT:${HORDEDIR}/:g" ${HORDESBIN}/horde_set_perms.sh
	 (if [ -f ${APACHE_CONF} ] ; then \
	    (if [ ! -f ${APACHE_CONF}.beforeHorde ] ; then \
		${ECHO} "===> Updating ${APACHE_CONF}..." ; \
		${CP} -p ${FILESDIR}/httpd.conf.horde ${WRKDIR}/httpd.conf.horde ; \
		${PERL} -pi -e "s:/home/httpd/html/horde:${HORDEDIR}:g" ${WRKDIR}/httpd.conf.horde ; \
		${PERL} -pi -e "s:/home/httpd/phplib:${PHP_LIB}:g" ${WRKDIR}/httpd.conf.horde ; \
		${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeHorde ; \
		${GREP} -qw 'Added for Horde' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.horde >> ${APACHE_CONF} ; \
	    else \
		${ECHO} "===> Updating ${APACHE_CONF}..." ; \
		${CP} -p ${APACHE_CONF} ${APACHE_CONF}.reinstHorde ; \
		${PERL} -pi -e "s:php_value auto_prepend_file:# php_value auto_prepend_file:g" ${APACHE_CONF} ; \
		${PERL} -pi -e "s:${HORDEDIR}/phplib:${PHP_LIB}:g" ${APACHE_CONF} ; \
	    fi) ; \
d116 4
a119 4
	${CHOWN} -R www:www ${HORDEDIR}
	${CHMOD} -R o-rwx ${HORDEDIR}/config
	${TOUCH} ${LOG_FILE}
	${CHOWN} www:www ${LOG_FILE}
d121 1
a121 1
	${MKDIR} ${DOCSDIR}
d123 1
a123 1
	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
d125 2
a126 2
	${PERL} -pi -e "s:/usr/local/apache/htdocs/horde:${DOCSDIR}:g" ${DOCSDIR}/INSTALL
	@@${ECHO} "Documentation installed in ${DOCSDIR}."
@

