head	1.4;
access;
symbols
	old_old_RELEASE_6_0_0:1.3
	old_old_RELEASE_5_4_0:1.3
	old_old_RELEASE_4_11_0:1.3
	old_old_RELEASE_5_0_0:1.1
	old_old_RELEASE_4_7_0:1.1
	old_old_RELEASE_4_6_2:1.1
	old_old_RELEASE_4_6_1:1.1
	old_old_RELEASE_4_6_0:1.1
	old_old_RELEASE_5_0_DP1:1.1
	old_old_RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2005.08.28.09.29.56;	author thierry;	state dead;
branches;
next	1.3;

1.3
date	2004.12.26.10.22.58;	author thierry;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.25.18.15.51;	author leeym;	state dead;
branches;
next	1.1;

1.1
date	2001.11.13.08.22.47;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- Upgrade to 3.0.5;

- Add support for suphp (requested and tested by Maxim Maximov
  <mcsi (at) mcsi.pp.ru>).
@
text
@#!/bin/sh
#
# $FreeBSD: ports/www/horde/pkg-deinstall,v 1.3 2004/12/26 10:22:58 thierry Exp $
#
# Try to restore httpd.conf when deinstalling Horde

if [ x$2 != xDEINSTALL ]; then
    exit
fi

if [ -d ${PKG_PREFIX}/etc/apache ] ; then
APACHEDIR=${PKG_PREFIX}/etc/apache
elif [ -d ${PKG_PREFIX}/etc/apache2 ] ; then
APACHEDIR=${PKG_PREFIX}/etc/apache2
fi

if [ -f ${APACHEDIR}/httpd.conf.beforeHorde ] ; then
	echo "Restoring httpd.conf..."
	cp ${APACHEDIR}/httpd.conf ${APACHEDIR}/httpd.conf.deinstHorde
	sed -i.tmp -e "s:Include ${PKG_PREFIX}/etc/horde:# Include ${PKG_PREFIX}/etc/horde:g" \
		${APACHEDIR}/httpd.conf
	rm ${APACHEDIR}/httpd.conf.tmp
fi

# Backup Horde config files, if needed.

if [ -z "${PACKAGE_BUILDING}" ]; then
  for cf in `ls ${PKG_PREFIX}/www/horde/config/*php`; do
    diff -bBqw $cf $cf.dist >/dev/null 2>&1
    case $? in
      0)  # original config file, will be deleted by pkg-plist
          ;;
      1)  # config file has been updated, must be backuped
          cp -p $cf $cf.previous
          echo "===> Backing-up..."
          echo "--->   $cf has been saved ***"
          echo "--->      as $cf.previous ***"
          ;;
      *)  # not found?
          ;;
    esac
  done
fi
@


1.3
log
@Upgrade to 3.0.

Horde Version 3 differs from the 2.x releases in many ways, including
the following:
	* Full support for groups and arbitrary permissions.
	* Completely rewritten, fully RFC-compliant MIME system with many
	  new MIME viewers.
	* Many i18n improvements, including full charset support for the whole
	  framework.
	* User customizable portal page.
	* Theme support.
	* Global personal categories and category colors.
	* Access (shortcut) keys.
	* Dynamically updating tree menu for applications, including Mozilla
	  sidebar support.
	* XML-based application configuration through a graphical user interface.
	* Forms creation and validation API.
	* Template engine.
	* Crypt API with support for PGP/GPG and S/MIME.
	* XML-RPC and SOAP server and client, experimental SyncML support.
	* Improved notification system.
	* Many new APIs like Compress, Image, PDF, History, iCalendar, SyncML,
	  CLI, Version control, NLS, Timer, and SVG.
	* and many more...

This is a resurrection of the previous www/horde, upgraded from www/horde2.

PR:		ports/75434
Submitted by:	/me
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.2
log
@www/horde is a framework, but it is only used by mail/imp, which was removed
for security reason; the other Horde's ports use www/horde2.

Requested by:	Thierry Thomas <thierry@@pompo.net> (MAINTAINER)
@
text
@d2 3
d11 7
a17 1
if [ -f ${PKG_PREFIX}/etc/apache/httpd.conf.beforeHorde ] ; then
d19 24
a42 2
	cp ${PKG_PREFIX}/etc/apache/httpd.conf ${PKG_PREFIX}/etc/apache/httpd.conf.deinstHorde
	mv ${PKG_PREFIX}/etc/apache/httpd.conf.beforeHorde ${PKG_PREFIX}/etc/apache/httpd.conf
@


1.1
log
@upgrade to 1.2.7

PR:		31937
Submitted by:	maintainer
@
text
@@

