summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam>2001-02-12 15:26:04 +0000
committerjlam <jlam>2001-02-12 15:26:04 +0000
commit7c4efe043e53ca116fed5fa2a484a3ed684d90c4 (patch)
tree159a30e0d0cb0486d9f62866468c0b074abbcf0a /www
parentc82367f14405bf6c4bb6e5c106e09fb7866293a5 (diff)
downloadpkgsrc-7c4efe043e53ca116fed5fa2a484a3ed684d90c4.tar.gz
Horde PHP application framework
Diffstat (limited to 'www')
-rw-r--r--www/horde/Makefile98
-rw-r--r--www/horde/files/horde.conf.dist50
-rw-r--r--www/horde/files/horde_secure.sh33
-rw-r--r--www/horde/files/horde_setup.sh27
-rw-r--r--www/horde/files/md53
-rw-r--r--www/horde/files/patch-sum7
-rw-r--r--www/horde/patches/patch-aa45
-rw-r--r--www/horde/patches/patch-ab13
-rw-r--r--www/horde/patches/patch-ac22
-rw-r--r--www/horde/patches/patch-ad14
-rw-r--r--www/horde/patches/patch-ae13
-rw-r--r--www/horde/pkg/COMMENT1
-rw-r--r--www/horde/pkg/DEINSTALL100
-rw-r--r--www/horde/pkg/DESCR2
-rw-r--r--www/horde/pkg/INSTALL57
-rw-r--r--www/horde/pkg/MESSAGE38
-rw-r--r--www/horde/pkg/PLIST297
17 files changed, 820 insertions, 0 deletions
diff --git a/www/horde/Makefile b/www/horde/Makefile
new file mode 100644
index 00000000000..12a64a41ac4
--- /dev/null
+++ b/www/horde/Makefile
@@ -0,0 +1,98 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
+
+DISTNAME= horde-1.2.4
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.horde.org/pub/horde/tarballs/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.horde.org/
+
+DEPENDS+= php>3.0.17:../../www/php4
+
+NO_CONFIGURE= # defined
+
+DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
+INSTALL_FILE= ${WRKDIR}/INSTALL
+
+CONFDIR= ${PREFIX}/etc/httpd
+DOCDIR= ${PREFIX}/share/doc/horde
+HORDEDIR= ${PREFIX}/share/horde
+PHPLIBDIR= ${PREFIX}/share/horde-phplib
+
+MESSAGE_SUBST+= HORDEDIR=${HORDEDIR}
+MESSAGE_SUBST+= PHPLIBDIR=${PHPLIBDIR}
+
+post-extract:
+ cd ${WRKSRC}/phplib; \
+ for file in local.inc prepend.php3; do \
+ ${MV} $${file} $${file}.dist; \
+ done
+ cd ${WRKSRC}/config; \
+ for file in \
+ MOTD.html header.txt html.php3 lang.php3 menu.txt \
+ mime.php3; \
+ do \
+ ${MV} $${file} $${file}.dist; \
+ done
+
+
+post-patch:
+ cd ${WRKSRC}/scripts; \
+ for file in add_horde_string.pl add_lang_string.pl; do \
+ ${MV} -f $${file} $${file}.orig; \
+ ${SED} -e "s|/usr/bin/perl|${PERL5}|g" \
+ $${file}.orig > $${file}; \
+ done
+ cd ${WRKSRC}/scripts/database; \
+ for file in pgsql_cuser.sh; do \
+ ${MV} -f $${file} $${file}.orig; \
+ ${SED} -e "s|/usr/bin/psql|${LOCALBASE}/bin/psql|g" \
+ $${file}.orig > $${file}; \
+ done
+
+do-build:
+ ${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \;
+ ${FIND} ${WRKSRC} -name "*.pl" -exec ${CHMOD} +x {} \;
+ ${FIND} ${WRKSRC} -name "*.sh" -exec ${CHMOD} +x {} \;
+
+pre-install:
+ ${SED} -e "s|@HORDEDIR@|${HORDEDIR}|g" \
+ -e "s|@PHPLIBDIR@|${PHPLIBDIR}|g" \
+ ${FILESDIR}/horde.conf.dist > ${WRKDIR}/horde.conf.dist
+ ${SED} -e "s|@HORDEDIR@|${HORDEDIR}|g" \
+ ${FILESDIR}/horde_setup.sh > ${WRKDIR}/horde_setup.sh
+ ${SED} -e "s|@HORDEDIR@|${HORDEDIR}|g" \
+ ${FILESDIR}/horde_secure.sh > ${WRKDIR}/horde_secure.sh
+ ${SED} -e "s|@HORDEDIR@|${HORDEDIR:S/^${PREFIX}\///}|g" \
+ -e "s|@PHPLIBDIR@|${PHPLIBDIR:S/^${PREFIX}\///}|g" \
+ -e "s|@CAT@|${CAT}|g" \
+ -e "s|@RM@|${RM}|g" \
+ -e "s|@RMDIR@|${RMDIR}|g" \
+ -e "s|@TRUE@|${TRUE}|g" \
+ ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
+ ${SED} -e "s|@HORDEDIR@|${HORDEDIR:S/^${PREFIX}\///}|g" \
+ -e "s|@PHPLIBDIR@|${PHPLIBDIR:S/^${PREFIX}\///}|g" \
+ -e "s|@CAT@|${CAT}|g" \
+ -e "s|@CHMOD@|${CHMOD}|g" \
+ -e "s|@CP@|${CP}|g" \
+ ${PKGDIR}/INSTALL > ${INSTALL_FILE}
+ PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/horde_setup.sh ${PREFIX}/sbin/horde_setup
+ ${INSTALL_SCRIPT} ${WRKDIR}/horde_secure.sh ${PREFIX}/sbin/horde_secure
+ ${INSTALL_DATA_DIR} ${CONFDIR} ${DOCDIR} ${HORDEDIR} ${PHPLIBDIR}
+ cd ${WRKDIR}; ${INSTALL_DATA} horde.conf.dist ${CONFDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} COPYING README docs/* ${DOCDIR}
+ cd ${WRKSRC}/phplib; ${INSTALL_DATA} * ${PHPLIBDIR}
+ cd ${WRKSRC}; ${CP} -R graphics lib locale scripts templates ${HORDEDIR}
+ ${INSTALL_DATA_DIR} ${HORDEDIR}/config
+ cd ${WRKSRC}/config; ${INSTALL_DATA} * ${HORDEDIR}/config
+ cd ${WRKSRC}; ${INSTALL_DATA} *.php3 ${HORDEDIR}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HORDEDIR}
+ ${CHMOD} -R a-w ${HORDEDIR}
+
+post-install:
+ PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/horde/files/horde.conf.dist b/www/horde/files/horde.conf.dist
new file mode 100644
index 00000000000..d9993e908ae
--- /dev/null
+++ b/www/horde/files/horde.conf.dist
@@ -0,0 +1,50 @@
+# $NetBSD: horde.conf.dist,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
+#
+# Horde configuration file fragment for Apache
+
+<IfModule mod_alias.c>
+ Alias /horde/ "@HORDEDIR@/"
+</IfModule>
+
+<Directory "@HORDEDIR@">
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ <IfModule mod_php3.c>
+ php3_include_path '@PHPLIBDIR@:.'
+ php3_auto_prepend_file @PHPLIBDIR@/prepend.php3
+ php3_magic_quotes_gpc Off
+ php3_track_vars On
+ </IfModule>
+ <IfModule mod_php4.c>
+ php_value include_path '@PHPLIBDIR@:.'
+ php_value auto_prepend_file @PHPLIBDIR@/prepend.php3
+ php_flag magic_quotes_gpc Off
+ php_flag track_vars On
+ </IfModule>
+</Directory>
+#
+# For security, don't serve pages from the Horde configuration and library
+# directories.
+#
+<Directory "@HORDEDIR@/config">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@HORDEDIR@/lib">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@HORDEDIR@/locale">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@HORDEDIR@/scripts">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@HORDEDIR@/templates">
+ Order deny,allow
+ Deny from all
+</Directory>
diff --git a/www/horde/files/horde_secure.sh b/www/horde/files/horde_secure.sh
new file mode 100644
index 00000000000..f07b1f3bf5f
--- /dev/null
+++ b/www/horde/files/horde_secure.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# $NetBSD: horde_secure.sh,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
+
+HORDEDIR=@HORDEDIR@
+
+for file in config/horde.php3 imp/config/defaults.php3
+do
+ if [ ! -e ${HORDEDIR}/${file} ]
+ then
+ echo "${HORDEDIR}/${file} could not be found."
+ exit 1
+ fi
+ chmod 444 ${HORDEDIR}/${file}
+done
+
+for file in setup.php3 test.php3
+do
+ if [ ! -e ${HORDEDIR}/${file} ]
+ then
+ echo "${HORDEDIR}/${file} could not be found."
+ exit 1
+ fi
+ chmod 000 ${HORDEDIR}/${file}
+done
+
+cat << EOF
+
+The Horde/IMP configuration files have been set to read-only, and the
+setup and test pages have been set to no-access.
+
+EOF
+exit 0
diff --git a/www/horde/files/horde_setup.sh b/www/horde/files/horde_setup.sh
new file mode 100644
index 00000000000..fc093e9a0f7
--- /dev/null
+++ b/www/horde/files/horde_setup.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# $NetBSD: horde_setup.sh,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
+
+HORDEDIR=@HORDEDIR@
+
+for file in config/horde.php3 imp/config/defaults.php3
+do
+ if [ ! -e ${HORDEDIR}/${file} ]
+ then
+ echo "${HORDEDIR}/${file} could not be found."
+ exit 1
+ fi
+ chmod a+rw ${HORDEDIR}/${file}
+done
+
+cat << EOF
+
+Horde/IMP may now by configured by pointing a web browser at:
+
+ http://localhost/horde/setup.php3
+
+Please run 'horde_secure' after configuration is complete to re-protect
+the Horde configuration files.
+
+EOF
+exit 0
diff --git a/www/horde/files/md5 b/www/horde/files/md5
new file mode 100644
index 00000000000..a99bb5ff972
--- /dev/null
+++ b/www/horde/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
+
+MD5 (horde-1.2.4.tar.gz) = 34c4dad1b7d4f7043e5cd8fc0e1b8eba
diff --git a/www/horde/files/patch-sum b/www/horde/files/patch-sum
new file mode 100644
index 00000000000..ad85ef090f8
--- /dev/null
+++ b/www/horde/files/patch-sum
@@ -0,0 +1,7 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
+
+MD5 (patch-aa) = aab80b4b1a9f67a87abf8f504f89f0bb
+MD5 (patch-ab) = f5bff15008034456806bb5c79ddf7449
+MD5 (patch-ac) = c3a1aad859fdf3f17daaec47112082b2
+MD5 (patch-ad) = d577f04be478a979e75b6a91c0245ca7
+MD5 (patch-ae) = 792cd61c3726ee186426015a63a135c8
diff --git a/www/horde/patches/patch-aa b/www/horde/patches/patch-aa
new file mode 100644
index 00000000000..ff753f5b4cc
--- /dev/null
+++ b/www/horde/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/02/12 15:26:05 jlam Exp $
+
+--- phplib/local.inc.dist.orig Thu Sep 21 09:48:43 2000
++++ phplib/local.inc.dist
+@@ -27,23 +27,23 @@
+ */
+
+ /* To use an SQL database, uncomment and edit the following: */
+-#class HordeDB extends DB_Sql {
+-# var $Host = 'localhost';
+-# var $Database = 'horde';
+-# var $User = 'hordemgr';
+-# var $Password = 'hordemgr';
+-# var $Port = '';
+-#
+-# function halt($msg) {
+-# // Printing here causes race condition trouble, so don't.
+-# //printf("<b>Database error (HordeDB):</b> %s<br>\n", $msg);
+-# }
+-#}
+-#
+-#class HordeCT extends CT_Sql {
+-# var $database_class = 'HordeDB'; // Which database class to use...
+-# var $database_table = 'active_sessions'; // and find our data in this table.
+-#}
++class HordeDB extends DB_Sql {
++ var $Host = 'localhost';
++ var $Database = 'horde';
++ var $User = 'hordemgr';
++ var $Password = 'hordemgr';
++ var $Port = '';
++
++ function halt($msg) {
++ // Printing here causes race condition trouble, so don't.
++ //printf("<b>Database error (HordeDB):</b> %s<br>\n", $msg);
++ }
++}
++
++class HordeCT extends CT_Sql {
++ var $database_class = 'HordeDB'; // Which database class to use...
++ var $database_table = 'active_sessions'; // and find our data in this table.
++}
+
+ /* To use shared memory, uncomment and edit the following: */
+ /* NOTE: If you do this, you must edit prepend.php3 to include ct_shm.inc
diff --git a/www/horde/patches/patch-ab b/www/horde/patches/patch-ab
new file mode 100644
index 00000000000..fa587f1221e
--- /dev/null
+++ b/www/horde/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/02/12 15:26:05 jlam Exp $
+
+--- scripts/database/dbpasswd.sh.orig Fri Sep 29 15:13:55 2000
++++ scripts/database/dbpasswd.sh
+@@ -17,7 +17,7 @@
+ # Determine OS and its techniques.
+ #
+ case "`uname -s`" in
+-Linux|FreeBSD|OpenBSD)
++Linux|FreeBSD|NetBSD|OpenBSD)
+ N="-n"; C=""
+ ;;
+ *)
diff --git a/www/horde/patches/patch-ac b/www/horde/patches/patch-ac
new file mode 100644
index 00000000000..7ffa8022ec7
--- /dev/null
+++ b/www/horde/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/02/12 15:26:05 jlam Exp $
+
+--- setup.php3.orig Wed Sep 20 12:18:50 2000
++++ setup.php3
+@@ -634,7 +634,7 @@
+ */
+ $form_title = '';
+ include( './templates/setup/form_header.inc' );
+- echo '<p>Please go to the top level directory for your installation and run "sh ./install.sh"; this will enable the configuration manager.</p>';
++ echo '<p>Please run "horde_setup"; this will enable the configuration manager.</p>';
+
+ } else if (
+ ! is_writeable( './config/horde.php3' )
+@@ -642,7 +642,7 @@
+ ) {
+ $form_title = '';
+ include './templates/setup/form_header.inc';
+- echo '<p>Please go to the top level directory for your installation and run "sh ./install.sh"; this will enable the configuration manager.</p>';
++ echo '<p>Please run "horde_setup"; this will enable the configuration manager.</p>';
+ } else {
+
+
diff --git a/www/horde/patches/patch-ad b/www/horde/patches/patch-ad
new file mode 100644
index 00000000000..1e7039cb62f
--- /dev/null
+++ b/www/horde/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/02/12 15:26:05 jlam Exp $
+
+--- templates/index/horde_notconfigured.inc.orig Wed Oct 18 15:52:49 2000
++++ templates/index/horde_notconfigured.inc
+@@ -11,8 +11,7 @@
+ <p>You can also use the horde setup wizard. In order to use the setup wizard you will need to enable write privileges to your configuration files by running the following commands:
+ <ul>
+ <li>UN*X People: <br><br>
+-<code>cd &lt;your horde root&gt;</code><br>
+-<code>sh ./install.sh</code><br>
++<code>horde_setup</code><br>
+ Click here: <a href="setup.php3">setup.php3</a>
+ <br><br>
+ <li>win32: The best option at this time is to build the libs and defaults files on a unix machine, and transfer them over. If you're a win32 scripting wizard and want to provide win32 setup scripts, that'd be great! Let us know: <a href="mailto:dev@lists.horde.org">dev@lists.horde.org</a>.
diff --git a/www/horde/patches/patch-ae b/www/horde/patches/patch-ae
new file mode 100644
index 00000000000..26b9346bcf3
--- /dev/null
+++ b/www/horde/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/02/12 15:26:05 jlam Exp $
+
+--- templates/setup/imp/write_file.inc.orig Wed Sep 13 13:08:39 2000
++++ templates/setup/imp/write_file.inc
+@@ -26,7 +26,7 @@
+ <br>
+ <ul>
+ <?php echo $lang->go_run_unix ?><br>
+- sh ./secure.sh
++ horde_secure
+ </ul>
+ </td>
+ </tr>
diff --git a/www/horde/pkg/COMMENT b/www/horde/pkg/COMMENT
new file mode 100644
index 00000000000..831f558102e
--- /dev/null
+++ b/www/horde/pkg/COMMENT
@@ -0,0 +1 @@
+PHP application framework
diff --git a/www/horde/pkg/DEINSTALL b/www/horde/pkg/DEINSTALL
new file mode 100644
index 00000000000..2f8c664b4f0
--- /dev/null
+++ b/www/horde/pkg/DEINSTALL
@@ -0,0 +1,100 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2001/02/12 15:26:05 jlam Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+CAT="@CAT@"
+RM="@RM@"
+RMDIR="@RMDIR@"
+TRUE="@TRUE@"
+
+CONFDIR=${PKG_PREFIX}/etc/httpd
+HORDEDIR=${PKG_PREFIX}/@HORDEDIR@
+PHPLIBDIR=${PKG_PREFIX}/@PHPLIBDIR@
+
+CONFFILES="${CONFDIR}/horde.conf ${PHPLIBDIR}/local.inc ${PHPLIBDIR}/prepend.php3 ${HORDEDIR}/config/horde.php3"
+NONCONFFILES="${HORDEDIR}/config/MOTD.html ${HORDEDIR}/config/header.txt ${HORDEDIR}/config/html.php3 ${HORDEDIR}/config/lang.php3 ${HORDEDIR}/config/menu.txt ${HORDEDIR}/config/mime.php3"
+
+case ${STAGE} in
+DEINSTALL)
+ # Remove configuration files if they don't differ from the default
+ # config file.
+ #
+ for FILE in ${CONFFILES} ${NONCONFFILES}
+ do
+ SAMPLEFILE=${FILE}.dist
+ if diff -q ${FILE} ${SAMPLEFILE} >/dev/null
+ then
+ ${RM} -f ${FILE}
+ fi
+ done
+ ;;
+
+POST-DEINSTALL)
+ modified_files=''
+ for FILE in ${CONFFILES} ${NONCONFFILES}
+ do
+ if [ -f ${FILE} ]
+ then
+ modified_files="${modified_files} ${FILE}"
+ fi
+ done
+
+ ${RMDIR} ${PHPLIBDIR} 2>/dev/null || ${TRUE}
+ ${RMDIR} ${HORDEDIR}/config 2>/dev/null || ${TRUE}
+ ${RMDIR} ${HORDEDIR} 2>/dev/null || ${TRUE}
+ ${RMDIR} ${CONFDIR} 2>/dev/null || ${TRUE}
+
+ existing_dirs=''
+ for dir in ${PHPLIBDIR} ${HORDEDIR}
+ do
+ if [ -d ${dir} ]
+ then
+ existing_dirs="${existing_dirs} ${dir}"
+ fi
+ done
+
+ if [ -n "${modified_files}" -o -n "${existing_dirs}" ]
+ then
+ ${CAT} << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, you may want to remove:
+EOF
+ if [ -n "${modified_files}" ]
+ then
+ ${CAT} << EOF
+
+ * the following files:
+
+EOF
+ for file in ${modified_files}
+ do
+ echo " ${file}"
+ done
+ fi
+ if [ -n "${existing_dirs}" ]
+ then
+ ${CAT} << EOF
+
+ * the following directories:
+
+EOF
+ for dir in ${existing_dirs}
+ do
+ echo " ${dir}"
+ done
+ fi
+ ${CAT} << EOF
+===========================================================================
+EOF
+ fi
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/www/horde/pkg/DESCR b/www/horde/pkg/DESCR
new file mode 100644
index 00000000000..6fa6185d91b
--- /dev/null
+++ b/www/horde/pkg/DESCR
@@ -0,0 +1,2 @@
+The Horde Application Framework provides classes for dealing with preferences,
+compression, browser detection, connection tracking, MIME, and more.
diff --git a/www/horde/pkg/INSTALL b/www/horde/pkg/INSTALL
new file mode 100644
index 00000000000..09341c1f5d1
--- /dev/null
+++ b/www/horde/pkg/INSTALL
@@ -0,0 +1,57 @@
+#! /bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2001/02/12 15:26:05 jlam Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+CAT="@CAT@"
+CHMOD="@CHMOD@"
+CP="@CP@"
+
+CONFDIR=${PKG_PREFIX}/etc/httpd
+HORDEDIR=${PKG_PREFIX}/@HORDEDIR@
+PHPLIBDIR=${PKG_PREFIX}/@PHPLIBDIR@
+
+CONFFILES="${CONFDIR}/horde.conf ${PHPLIBDIR}/local.inc ${PHPLIBDIR}/prepend.php3 ${HORDEDIR}/config/horde.php3"
+NONCONFFILES="${HORDEDIR}/config/MOTD.html ${HORDEDIR}/config/header.txt ${HORDEDIR}/config/html.php3 ${HORDEDIR}/config/lang.php3 ${HORDEDIR}/config/menu.txt ${HORDEDIR}/config/mime.php3"
+
+case ${STAGE} in
+PRE-INSTALL)
+ ;;
+
+POST-INSTALL)
+ echo "Installing configuration files:"
+ for FILE in ${CONFFILES} ${NONCONFFILES}
+ do
+ SAMPLEFILE=${FILE}.dist
+ if [ -f ${FILE} ]
+ then
+ echo " ${FILE} already exists"
+ else
+ echo " ${FILE}"
+ ${CP} ${SAMPLEFILE} ${FILE}
+ ${CHMOD} 644 ${FILE}
+ fi
+ done
+ ${CAT} << EOF
+
+===========================================================================
+Some files you might need to customize include the following:
+
+EOF
+ for FILE in ${CONFFILES}
+ do
+ echo " ${FILE}"
+ done
+ ${CAT} << EOF
+===========================================================================
+EOF
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/www/horde/pkg/MESSAGE b/www/horde/pkg/MESSAGE
new file mode 100644
index 00000000000..7ad93612c74
--- /dev/null
+++ b/www/horde/pkg/MESSAGE
@@ -0,0 +1,38 @@
+==========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2001/02/12 15:26:05 jlam Exp $
+
+Please refer to the file:
+
+ ${PHPLIBDIR}/README
+
+to setup Horde to access it's database properly. The short summary is to
+edit:
+
+ ${PHPLIBDIR}/local.inc
+ ${PHPLIBDIR}/prepend.php3
+
+to specify the correct backend database, and run the appropriate scripts
+in:
+
+ ${HORDEDIR}/scripts/databases
+
+to setup the horde database. Horde is setup by default to access MySQL.
+It's recommended that you change the password of the 'hordemgr' user used
+to connect to the horde database. For localhost security, the file
+
+ ${PHPLIBDIR}/local.inc
+
+should be accessible only to the webserver process as it contains the
+horde database password.
+
+You will also need to make Horde accessible through your HTTP server. If
+you are running Apache and ap-php, then you can add the following line
+to httpd.conf:
+
+ Include ${PREFIX}/etc/httpd/horde.conf
+
+to make Horde accessible through:
+
+ http://www.domain.com/horde/
+
+==========================================================================
diff --git a/www/horde/pkg/PLIST b/www/horde/pkg/PLIST
new file mode 100644
index 00000000000..d1dede10bd6
--- /dev/null
+++ b/www/horde/pkg/PLIST
@@ -0,0 +1,297 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/12 15:26:04 jlam Exp $
+etc/httpd/horde.conf.dist
+sbin/horde_setup
+sbin/horde_secure
+share/doc/horde/CHANGES
+share/doc/horde/COPYING
+share/doc/horde/CREDITS
+share/doc/horde/DATABASE
+share/doc/horde/HELP
+share/doc/horde/INSTALL
+share/doc/horde/README
+share/doc/horde/SECURITY
+share/horde-phplib/README
+share/horde-phplib/ct_dba.inc
+share/horde-phplib/ct_dbm.inc
+share/horde-phplib/ct_file.inc
+share/horde-phplib/ct_informix.inc
+share/horde-phplib/ct_ldap.inc
+share/horde-phplib/ct_null.inc
+share/horde-phplib/ct_shm.inc
+share/horde-phplib/ct_split_sql.inc
+share/horde-phplib/ct_sql.inc
+share/horde-phplib/ct_sql_compat.inc
+share/horde-phplib/db_msql.inc
+share/horde-phplib/db_mssql.inc
+share/horde-phplib/db_mysql.inc
+share/horde-phplib/db_oci8.inc
+share/horde-phplib/db_odbc.inc
+share/horde-phplib/db_oracle.inc
+share/horde-phplib/db_pgsql.inc
+share/horde-phplib/db_sybase.inc
+share/horde-phplib/db_usql.inc
+share/horde-phplib/horde_loginform.ihtml
+share/horde-phplib/horde_perminvalid.ihtml
+share/horde-phplib/local.inc.dist
+share/horde-phplib/page.inc
+share/horde-phplib/prepend.php3.dist
+share/horde-phplib/session.inc
+share/horde/config/MOTD.html.dist
+share/horde/config/header.txt.dist
+share/horde/config/horde.php3.dist
+share/horde/config/html.php3.dist
+share/horde/config/lang.php3.dist
+share/horde/config/menu.txt.dist
+share/horde/config/mime.php3.dist
+share/horde/graphics/bottom_left_corner.gif
+share/horde/graphics/bottom_right_corner.gif
+share/horde/graphics/close.gif
+share/horde/graphics/edit.gif
+share/horde/graphics/exclamation.gif
+share/horde/graphics/filler_block.gif
+share/horde/graphics/help.gif
+share/horde/graphics/help1.gif
+share/horde/graphics/horde.small.gif
+share/horde/graphics/login.gif
+share/horde/graphics/logout.gif
+share/horde/graphics/search.gif
+share/horde/graphics/thumbsup.gif
+share/horde/graphics/top_left_corner.gif
+share/horde/graphics/top_right_corner.gif
+share/horde/graphics/trash.gif
+share/horde/help.php3
+share/horde/index.php3
+share/horde/lib/horde.lib
+share/horde/lib/js/browser_detect.js
+share/horde/lib/js/msie_generic_help.js
+share/horde/lib/js/ns_generic_help.js
+share/horde/lib/mime.lib
+share/horde/lib/version.php
+share/horde/locale/de/help.lang
+share/horde/locale/de/horde.lang
+share/horde/locale/de/login.lang
+share/horde/locale/de/logo.lang
+share/horde/locale/de/menu.lang
+share/horde/locale/de/modules.lang
+share/horde/locale/de/problem.lang
+share/horde/locale/de/setup.lang
+share/horde/locale/de/signup.help
+share/horde/locale/de/signup.lang
+share/horde/locale/de/status.lang
+share/horde/locale/defines/signup.help
+share/horde/locale/en/help.lang
+share/horde/locale/en/horde.lang
+share/horde/locale/en/login.lang
+share/horde/locale/en/logo.lang
+share/horde/locale/en/menu.lang
+share/horde/locale/en/modules.lang
+share/horde/locale/en/problem.lang
+share/horde/locale/en/setup.lang
+share/horde/locale/en/signup.help
+share/horde/locale/en/signup.lang
+share/horde/locale/en/status.lang
+share/horde/locale/es/help.lang
+share/horde/locale/es/horde.lang
+share/horde/locale/es/login.lang
+share/horde/locale/es/logo.lang
+share/horde/locale/es/menu.lang
+share/horde/locale/es/modules.lang
+share/horde/locale/es/problem.lang
+share/horde/locale/es/setup.lang
+share/horde/locale/es/signup.help
+share/horde/locale/es/signup.lang
+share/horde/locale/es/status.lang
+share/horde/locale/fi/help.lang
+share/horde/locale/fi/horde.lang
+share/horde/locale/fi/login.lang
+share/horde/locale/fi/logo.lang
+share/horde/locale/fi/menu.lang
+share/horde/locale/fi/modules.lang
+share/horde/locale/fi/problem.lang
+share/horde/locale/fi/setup.lang
+share/horde/locale/fi/signup.help
+share/horde/locale/fi/signup.lang
+share/horde/locale/fi/status.lang
+share/horde/locale/fr/help.lang
+share/horde/locale/fr/horde.lang
+share/horde/locale/fr/login.lang
+share/horde/locale/fr/logo.lang
+share/horde/locale/fr/menu.lang
+share/horde/locale/fr/modules.lang
+share/horde/locale/fr/problem.lang
+share/horde/locale/fr/setup.lang
+share/horde/locale/fr/signup.help
+share/horde/locale/fr/signup.lang
+share/horde/locale/fr/status.lang
+share/horde/locale/it/help.lang
+share/horde/locale/it/horde.lang
+share/horde/locale/it/login.lang
+share/horde/locale/it/logo.lang
+share/horde/locale/it/menu.lang
+share/horde/locale/it/modules.lang
+share/horde/locale/it/problem.lang
+share/horde/locale/it/setup.lang
+share/horde/locale/it/signup.help
+share/horde/locale/it/signup.lang
+share/horde/locale/it/status.lang
+share/horde/locale/kr/help.lang
+share/horde/locale/kr/horde.lang
+share/horde/locale/kr/login.lang
+share/horde/locale/kr/logo.lang
+share/horde/locale/kr/menu.lang
+share/horde/locale/kr/modules.lang
+share/horde/locale/kr/problem.lang
+share/horde/locale/kr/setup.lang
+share/horde/locale/kr/signup.help
+share/horde/locale/kr/signup.lang
+share/horde/locale/kr/status.lang
+share/horde/locale/local/help.lang
+share/horde/locale/local/horde.lang
+share/horde/locale/local/lang.lang
+share/horde/locale/local/login.lang
+share/horde/locale/local/logo.lang
+share/horde/locale/local/menu.lang
+share/horde/locale/local/modules.lang
+share/horde/locale/local/problem.lang
+share/horde/locale/local/setup.lang
+share/horde/locale/local/signup.help
+share/horde/locale/local/signup.lang
+share/horde/locale/local/status.lang
+share/horde/locale/nl/help.lang
+share/horde/locale/nl/horde.lang
+share/horde/locale/nl/login.lang
+share/horde/locale/nl/logo.lang
+share/horde/locale/nl/menu.lang
+share/horde/locale/nl/modules.lang
+share/horde/locale/nl/problem.lang
+share/horde/locale/nl/setup.lang
+share/horde/locale/nl/signup.help
+share/horde/locale/nl/signup.lang
+share/horde/locale/nl/status.lang
+share/horde/locale/pt-BR/help.lang
+share/horde/locale/pt-BR/horde.lang
+share/horde/locale/pt-BR/login.lang
+share/horde/locale/pt-BR/logo.lang
+share/horde/locale/pt-BR/menu.lang
+share/horde/locale/pt-BR/modules.lang
+share/horde/locale/pt-BR/problem.lang
+share/horde/locale/pt-BR/setup.lang
+share/horde/locale/pt-BR/signup.help
+share/horde/locale/pt-BR/signup.lang
+share/horde/locale/pt-BR/status.lang
+share/horde/locale/sk/help.lang
+share/horde/locale/sk/horde.lang
+share/horde/locale/sk/login.lang
+share/horde/locale/sk/logo.lang
+share/horde/locale/sk/menu.lang
+share/horde/locale/sk/modules.lang
+share/horde/locale/sk/problem.lang
+share/horde/locale/sk/setup.lang
+share/horde/locale/sk/signup.help
+share/horde/locale/sk/signup.lang
+share/horde/locale/sk/status.lang
+share/horde/login.php3
+share/horde/logo.php3
+share/horde/menu.php3
+share/horde/modules.php3
+share/horde/problem.php3
+share/horde/scripts/add_horde_string.pl
+share/horde/scripts/add_lang_string.pl
+share/horde/scripts/database/INFORMIX
+share/horde/scripts/database/MYSQL
+share/horde/scripts/database/ORACLE
+share/horde/scripts/database/POSTGRESQL
+share/horde/scripts/database/SYBASE
+share/horde/scripts/database/dbpasswd.sh
+share/horde/scripts/database/ifmx_create.sql
+share/horde/scripts/database/mysql_alter.sql
+share/horde/scripts/database/mysql_create.sql
+share/horde/scripts/database/mysql_drop.sql
+share/horde/scripts/database/oracle_create.sql
+share/horde/scripts/database/pgsql_create.sql
+share/horde/scripts/database/pgsql_cuser.sh
+share/horde/scripts/database/sybase_create.sql
+share/horde/scripts/horde-rsync.sh
+share/horde/setup.php3
+share/horde/signup.php3
+share/horde/status.php3
+share/horde/templates/doctype.inc
+share/horde/templates/form/form_hidden_elem.inc
+share/horde/templates/form/form_multiselect_elem.inc
+share/horde/templates/form/form_password_elem.inc
+share/horde/templates/form/form_section_title.inc
+share/horde/templates/form/form_text_elem.inc
+share/horde/templates/form/form_true_false_elem.inc
+share/horde/templates/generic-footer.inc
+share/horde/templates/generic-header.inc
+share/horde/templates/help/body.inc
+share/horde/templates/index/frames_index.inc
+share/horde/templates/index/horde_configurable.inc
+share/horde/templates/index/horde_notconfigured.inc
+share/horde/templates/index/imp_frames.inc
+share/horde/templates/index/sub_frames_index.inc
+share/horde/templates/index/unknown_browser.inc
+share/horde/templates/login/login.inc
+share/horde/templates/logo/horde_logo.inc
+share/horde/templates/logo/logo.inc
+share/horde/templates/menu/menu.inc
+share/horde/templates/modules/modules.inc
+share/horde/templates/problem/javascript.inc
+share/horde/templates/problem/lynx_problem.inc
+share/horde/templates/problem/problem.inc
+share/horde/templates/setup/form_elem_desc.inc
+share/horde/templates/setup/form_footer.inc
+share/horde/templates/setup/form_header.inc
+share/horde/templates/setup/form_hidden_elem.inc
+share/horde/templates/setup/form_multiselect_elem.inc
+share/horde/templates/setup/form_text_elem.inc
+share/horde/templates/setup/form_true_false_elem.inc
+share/horde/templates/setup/imp/database.inc
+share/horde/templates/setup/imp/external_binaries.inc
+share/horde/templates/setup/imp/language.inc
+share/horde/templates/setup/imp/mail_server.inc
+share/horde/templates/setup/imp/message_options.inc
+share/horde/templates/setup/imp/new_mail_popup.inc
+share/horde/templates/setup/imp/server_specific.inc
+share/horde/templates/setup/imp/user_abilites.inc
+share/horde/templates/setup/imp/verify_write_file.inc
+share/horde/templates/setup/imp/web_server.inc
+share/horde/templates/setup/imp/write_file.inc
+share/horde/templates/setup/session.lib
+share/horde/templates/setup/stub_form.inc
+share/horde/templates/signup/lynx_signup.inc
+share/horde/templates/signup/signup.inc
+share/horde/templates/status/status.inc
+share/horde/test.php3
+@dirrm share/horde/templates/status
+@dirrm share/horde/templates/signup
+@dirrm share/horde/templates/setup/imp
+@dirrm share/horde/templates/setup
+@dirrm share/horde/templates/problem
+@dirrm share/horde/templates/modules
+@dirrm share/horde/templates/menu
+@dirrm share/horde/templates/logo
+@dirrm share/horde/templates/login
+@dirrm share/horde/templates/index
+@dirrm share/horde/templates/help
+@dirrm share/horde/templates/form
+@dirrm share/horde/templates
+@dirrm share/horde/scripts/database
+@dirrm share/horde/scripts
+@dirrm share/horde/locale/sk
+@dirrm share/horde/locale/pt-BR
+@dirrm share/horde/locale/nl
+@dirrm share/horde/locale/local
+@dirrm share/horde/locale/kr
+@dirrm share/horde/locale/it
+@dirrm share/horde/locale/fr
+@dirrm share/horde/locale/fi
+@dirrm share/horde/locale/es
+@dirrm share/horde/locale/en
+@dirrm share/horde/locale/defines
+@dirrm share/horde/locale/de
+@dirrm share/horde/locale
+@dirrm share/horde/lib/js
+@dirrm share/horde/lib
+@dirrm share/horde/graphics
+@dirrm share/doc/horde