diff options
Diffstat (limited to 'deskutils/horde-nag')
-rw-r--r-- | deskutils/horde-nag/Makefile | 74 | ||||
-rw-r--r-- | deskutils/horde-nag/distinfo | 1 | ||||
-rw-r--r-- | deskutils/horde-nag/files/httpd.conf.nag | 31 | ||||
-rw-r--r-- | deskutils/horde-nag/files/patch-aa | 8 | ||||
-rw-r--r-- | deskutils/horde-nag/files/patch-ab | 21 | ||||
-rw-r--r-- | deskutils/horde-nag/pkg-deinstall | 27 | ||||
-rw-r--r-- | deskutils/horde-nag/pkg-descr | 3 | ||||
-rw-r--r-- | deskutils/horde-nag/pkg-message | 21 | ||||
-rw-r--r-- | deskutils/horde-nag/pkg-plist | 188 |
9 files changed, 0 insertions, 374 deletions
diff --git a/deskutils/horde-nag/Makefile b/deskutils/horde-nag/Makefile deleted file mode 100644 index f35ab8fc8231..000000000000 --- a/deskutils/horde-nag/Makefile +++ /dev/null @@ -1,74 +0,0 @@ -# Ports collection makefile for: Nag -# Date created: Sun Dec 14, 2001 -# Whom: Thierry Thomas (<thierry@pompo.net>) -# -# $FreeBSD$ -# - -PORTNAME= nag -PORTVERSION= 1.1 -CATEGORIES= deskutils www -MASTER_SITES= ftp://ftp.horde.org/pub/nag/tarballs/%SUBDIR%/ -MASTER_SITE_SUBDIR= . old - -MAINTAINER= thierry@pompo.net -COMMENT= Nag is a simple, multiuser task list manager - -RUN_DEPENDS= ${LOCALBASE}/www/horde/imp/index.php:${PORTSDIR}/mail/imp3 - -NO_BUILD= yes -USE_REINPLACE= yes - -REINPLACE_ARGS= -i.beforeNag - -PLIST_SUB= HORDEDIR=${LHORDEDIR} NAGDIR=${LNAGDIR} - -DOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL \ - docs/TODO -CONFFILE= conf.php html.php menu.php motd.php prefs.php -SUB_DIRS= config graphics lib locale po scripts templates - -LHORDEDIR?= www/horde -LNAGDIR?= ${LHORDEDIR}/nag - -HORDEDIR= ${PREFIX}/${LHORDEDIR} -NAGDIR= ${PREFIX}/${LNAGDIR} -CONFDIR= ${NAGDIR}/config - -HORDE_INC= ${LOCALBASE}/etc/horde - -do-install: - @${MKDIR} ${NAGDIR} -.for REP in ${SUB_DIRS} - @${CP} -Rp ${WRKSRC}/${REP} ${NAGDIR} -.endfor - @${CP} -p ${WRKSRC}/*.php ${NAGDIR} -.for FILE in ${CONFFILE} - @if [ ! -f ${CONFDIR}/${FILE} ]; then \ - ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ - fi -.endfor - @${CHOWN} -R www:www ${NAGDIR} - @${CHMOD} -R o-rwx ${CONFDIR} - @${CP} -p ${FILESDIR}/httpd.conf.nag ${HORDE_INC} - @${REINPLACE_CMD} -e "s:/home/httpd/html/horde/nag:${NAGDIR}:g" \ - ${HORDE_INC}/httpd.conf.nag - @${RM} ${HORDE_INC}/httpd.conf.nag.beforeNag - @${REINPLACE_CMD} -e "s://UNCOMMENTWHENINSTNAG::" ${HORDEDIR}/config/registry.php - @${CP} -p ${HORDEDIR}/config/registry.php \ - ${HORDEDIR}/config/registry.php.afterNag -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for FILE in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -.endfor - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif - -post-install: - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} | \ - ${SED} -e "s:%%NAGDIR%%:${NAGDIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%HORDEDIR%%:${HORDEDIR}:" - @${ECHO_MSG} - -.include <bsd.port.mk> diff --git a/deskutils/horde-nag/distinfo b/deskutils/horde-nag/distinfo deleted file mode 100644 index a88ccc717beb..000000000000 --- a/deskutils/horde-nag/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (nag-1.1.tar.gz) = c435586a62a7e9d85eb4cc8ef92afbe1 diff --git a/deskutils/horde-nag/files/httpd.conf.nag b/deskutils/horde-nag/files/httpd.conf.nag deleted file mode 100644 index c5279c8245fa..000000000000 --- a/deskutils/horde-nag/files/httpd.conf.nag +++ /dev/null @@ -1,31 +0,0 @@ -# This is included in Apache's httpd.conf for Nag -# -# For security, don't serve pages from the Nag configuration and -# library directories. -# -<Directory "/home/httpd/html/horde/nag/config"> - order deny,allow - deny from all -</Directory> -<Directory "/home/httpd/html/horde/nag/lib"> - order deny,allow - deny from all -</Directory> -<Directory "/home/httpd/html/horde/nag/locale"> - order deny,allow - deny from all -</Directory> -<Directory "/home/httpd/html/horde/nag/po"> - order deny,allow - deny from all -</Directory> -<Directory "/home/httpd/html/horde/nag/scripts"> - order deny,allow - deny from all -</Directory> -<Directory "/home/httpd/html/horde/nag/templates"> - order deny,allow - deny from all -</Directory> -# End of Nag configuration ================ - diff --git a/deskutils/horde-nag/files/patch-aa b/deskutils/horde-nag/files/patch-aa deleted file mode 100644 index 2ee4d373ca48..000000000000 --- a/deskutils/horde-nag/files/patch-aa +++ /dev/null @@ -1,8 +0,0 @@ ---- scripts/drivers/nag_tasks.sql.orig Tue Dec 11 14:47:41 2001 -+++ scripts/drivers/nag_tasks.sql Sat Dec 15 00:42:13 2001 -@@ -13,4 +13,4 @@ - primary key (task_owner, task_id) - ); - --grant select, insert, update, delete on nag_tasks to horde; -+grant select, insert, update, delete on nag_tasks to hordemgr; diff --git a/deskutils/horde-nag/files/patch-ab b/deskutils/horde-nag/files/patch-ab deleted file mode 100644 index 26192dede93d..000000000000 --- a/deskutils/horde-nag/files/patch-ab +++ /dev/null @@ -1,21 +0,0 @@ ---- config/conf.php.dist.orig Tue Mar 12 18:07:16 2002 -+++ config/conf.php.dist Mon Apr 8 23:08:04 2002 -@@ -42,12 +42,12 @@ - // Below is an example configuration for an sql driver, in this case - // MySQL. - $conf['storage']['params'] = array(); --// $conf['storage']['params']['phptype'] = 'mysql'; --// $conf['storage']['params']['hostspec'] = 'localhost'; --// $conf['storage']['params']['username'] = 'horde'; --// $conf['storage']['params']['password'] = '*****'; --// $conf['storage']['params']['database'] = 'horde'; --// $conf['storage']['params']['table'] = 'nag_tasks'; -+$conf['storage']['params']['phptype'] = 'mysql'; -+$conf['storage']['params']['hostspec'] = 'localhost'; -+$conf['storage']['params']['username'] = 'hordemgr'; -+$conf['storage']['params']['password'] = 'hordemgr'; -+$conf['storage']['params']['database'] = 'horde'; -+$conf['storage']['params']['table'] = 'nag_tasks'; - - - /** diff --git a/deskutils/horde-nag/pkg-deinstall b/deskutils/horde-nag/pkg-deinstall deleted file mode 100644 index 266600fc1a29..000000000000 --- a/deskutils/horde-nag/pkg-deinstall +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Backup Nag config files, if needed. - -if [ x$2 != xDEINSTALL ]; then - exit -fi - -if [ -z "${PACKAGE_BUILDING}" ]; then - for cf in `ls ${PKG_PREFIX}/www/horde/nag/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 diff --git a/deskutils/horde-nag/pkg-descr b/deskutils/horde-nag/pkg-descr deleted file mode 100644 index 6eeeb953967c..000000000000 --- a/deskutils/horde-nag/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Nag is the Horde task list manager. - -WWW: http://horde.org/nag/ diff --git a/deskutils/horde-nag/pkg-message b/deskutils/horde-nag/pkg-message deleted file mode 100644 index 82fde213db7b..000000000000 --- a/deskutils/horde-nag/pkg-message +++ /dev/null @@ -1,21 +0,0 @@ -************************************************************************ -Nag has been installed in %%NAGDIR%% with your blank -configuration files. - -Horde and IMP must be configured; if not, see: -- %%PORTSDIR%%/www/horde2/pkg-message -- %%PORTSDIR%%/mail/imp3/pkg-message - -Then, you have to create the table nag_tasks, from the SQL script -%%NAGDIR%%/scripts/drivers/nag_tasks.sql. -For example, if your database is MySQL, you may run -mysql --user=hordemgr --password=yourpass horde < nag_tasks.sql -(If you run another database server, see - %%HORDEDIR%%/scripts/db/README - for more explanations.) - -Finally, you may have to tune the configuration files located in -%%CONFDIR%%/, specially the files conf.php. - -To protect your configuration files, you have to restart Apache. -************************************************************************ diff --git a/deskutils/horde-nag/pkg-plist b/deskutils/horde-nag/pkg-plist deleted file mode 100644 index d9f57ddd0f34..000000000000 --- a/deskutils/horde-nag/pkg-plist +++ /dev/null @@ -1,188 +0,0 @@ -%%PORTDOCS%%share/doc/nag/CHANGES -%%PORTDOCS%%share/doc/nag/COPYING -%%PORTDOCS%%share/doc/nag/CREDITS -%%PORTDOCS%%share/doc/nag/INSTALL -%%PORTDOCS%%share/doc/nag/README -%%PORTDOCS%%share/doc/nag/TODO -%%NAGDIR%%/config/conf.php -%%NAGDIR%%/config/conf.php.dist -%%NAGDIR%%/config/conf.php.dist.orig -%%NAGDIR%%/config/html.php -%%NAGDIR%%/config/html.php.dist -%%NAGDIR%%/config/menu.php -%%NAGDIR%%/config/menu.php.dist -%%NAGDIR%%/config/motd.php -%%NAGDIR%%/config/motd.php.dist -%%NAGDIR%%/config/prefs.php -%%NAGDIR%%/config/prefs.php.dist -%%NAGDIR%%/graphics/add.gif -%%NAGDIR%%/graphics/checkbox.gif -%%NAGDIR%%/graphics/complete.gif -%%NAGDIR%%/graphics/down.gif -%%NAGDIR%%/graphics/list.gif -%%NAGDIR%%/graphics/nag.gif -%%NAGDIR%%/graphics/note.gif -%%NAGDIR%%/graphics/print.gif -%%NAGDIR%%/graphics/refresh.gif -%%NAGDIR%%/graphics/search.gif -%%NAGDIR%%/graphics/up.gif -%%NAGDIR%%/index.php -%%NAGDIR%%/lib/Driver.php -%%NAGDIR%%/lib/Driver/sql.php -%%NAGDIR%%/lib/Nag.php -%%NAGDIR%%/lib/api.php -%%NAGDIR%%/lib/base.php -%%NAGDIR%%/lib/constants.php -%%NAGDIR%%/lib/version.php -%%NAGDIR%%/list.php -%%NAGDIR%%/locale/bg_BG/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/cs_CZ/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/da_DK/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/de_DE/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/el_GR/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/en_US/help.xml -%%NAGDIR%%/locale/es_ES/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/fi_FI/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/fi_FI/help.xml -%%NAGDIR%%/locale/fr_FR/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/hu_HU/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/it_IT/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/ko_KR/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/lt_LT/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/nb_NO/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/nl_NL/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/nn_NO/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/pt_BR/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/ru_RU/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/ru_RU.KOI8-R/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/sk_SK/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/sv_SE/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/zh_CN/LC_MESSAGES/nag.mo -%%NAGDIR%%/locale/zh_TW/LC_MESSAGES/nag.mo -%%NAGDIR%%/menu.php -%%NAGDIR%%/po/Makefile -%%NAGDIR%%/po/README -%%NAGDIR%%/po/bg_BG.po -%%NAGDIR%%/po/cs_CZ.po -%%NAGDIR%%/po/da_DK.po -%%NAGDIR%%/po/de_DE.po -%%NAGDIR%%/po/el_GR.po -%%NAGDIR%%/po/es_ES.po -%%NAGDIR%%/po/extract.pl -%%NAGDIR%%/po/fi_FI.po -%%NAGDIR%%/po/fr_FR.po -%%NAGDIR%%/po/hu_HU.po -%%NAGDIR%%/po/it_IT.po -%%NAGDIR%%/po/ko_KR.po -%%NAGDIR%%/po/lt_LT.po -%%NAGDIR%%/po/nag.pot -%%NAGDIR%%/po/nb_NO.po -%%NAGDIR%%/po/nl_NL.po -%%NAGDIR%%/po/nn_NO.po -%%NAGDIR%%/po/pt_BR.po -%%NAGDIR%%/po/ru_RU.po -%%NAGDIR%%/po/ru_RU.KOI8-R.po -%%NAGDIR%%/po/sk_SK.po -%%NAGDIR%%/po/sv_SE.po -%%NAGDIR%%/po/zh_CN.po -%%NAGDIR%%/po/zh_TW.po -%%NAGDIR%%/po/shtool -%%NAGDIR%%/po/xgettext.sh -%%NAGDIR%%/prefs.php -%%NAGDIR%%/scripts/drivers/nag_tasks.sql -%%NAGDIR%%/scripts/drivers/nag_tasks.sql.orig -%%NAGDIR%%/search.php -%%NAGDIR%%/task.php -%%NAGDIR%%/templates/common-footer.inc -%%NAGDIR%%/templates/common-header.inc -%%NAGDIR%%/templates/index/css.inc -%%NAGDIR%%/templates/index/notconfigured.inc -%%NAGDIR%%/templates/javascript/open_print_win.js -%%NAGDIR%%/templates/javascript/print.js -%%NAGDIR%%/templates/list/actions.inc -%%NAGDIR%%/templates/list/empty.inc -%%NAGDIR%%/templates/list/footer.inc -%%NAGDIR%%/templates/list/header.inc -%%NAGDIR%%/templates/list/javascript.inc -%%NAGDIR%%/templates/list/task_footers.inc -%%NAGDIR%%/templates/list/task_headers.inc -%%NAGDIR%%/templates/list/task_summaries.inc -%%NAGDIR%%/templates/menu/menu.inc -%%NAGDIR%%/templates/prefs/category_management.inc -%%NAGDIR%%/templates/search/begin.inc -%%NAGDIR%%/templates/search/end.inc -%%NAGDIR%%/templates/search/search.inc -%%NAGDIR%%/templates/task/begin.inc -%%NAGDIR%%/templates/task/end.inc -%%NAGDIR%%/templates/task/task.inc -%%NAGDIR%%/templates/view/description.inc -%%NAGDIR%%/templates/view/headers.inc -%%NAGDIR%%/templates/view/navbar.inc -%%NAGDIR%%/templates/view/no-task.inc -%%NAGDIR%%/view.php -@dirrm %%NAGDIR%%/config -@dirrm %%NAGDIR%%/graphics -@dirrm %%NAGDIR%%/lib/Driver -@dirrm %%NAGDIR%%/lib -@dirrm %%NAGDIR%%/locale/bg_BG/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/bg_BG -@dirrm %%NAGDIR%%/locale/cs_CZ/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/cs_CZ -@dirrm %%NAGDIR%%/locale/da_DK/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/da_DK -@dirrm %%NAGDIR%%/locale/de_DE/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/de_DE -@dirrm %%NAGDIR%%/locale/el_GR/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/el_GR -@dirrm %%NAGDIR%%/locale/en_US -@dirrm %%NAGDIR%%/locale/es_ES/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/es_ES -@dirrm %%NAGDIR%%/locale/fi_FI/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/fi_FI -@dirrm %%NAGDIR%%/locale/fr_FR/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/fr_FR -@dirrm %%NAGDIR%%/locale/hu_HU/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/hu_HU -@dirrm %%NAGDIR%%/locale/it_IT/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/it_IT -@dirrm %%NAGDIR%%/locale/ko_KR/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/ko_KR -@dirrm %%NAGDIR%%/locale/lt_LT/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/lt_LT -@dirrm %%NAGDIR%%/locale/nb_NO/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/nb_NO -@dirrm %%NAGDIR%%/locale/nl_NL/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/nl_NL -@dirrm %%NAGDIR%%/locale/nn_NO/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/nn_NO -@dirrm %%NAGDIR%%/locale/pt_BR/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/pt_BR -@dirrm %%NAGDIR%%/locale/ru_RU/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/ru_RU -@dirrm %%NAGDIR%%/locale/ru_RU.KOI8-R/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/ru_RU.KOI8-R -@dirrm %%NAGDIR%%/locale/sk_SK/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/sk_SK -@dirrm %%NAGDIR%%/locale/sv_SE/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/sv_SE -@dirrm %%NAGDIR%%/locale/zh_CN/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/zh_CN -@dirrm %%NAGDIR%%/locale/zh_TW/LC_MESSAGES -@dirrm %%NAGDIR%%/locale/zh_TW -@dirrm %%NAGDIR%%/locale -@dirrm %%NAGDIR%%/po -@dirrm %%NAGDIR%%/scripts/drivers -@dirrm %%NAGDIR%%/scripts -@dirrm %%NAGDIR%%/templates/index -@dirrm %%NAGDIR%%/templates/javascript -@dirrm %%NAGDIR%%/templates/list -@dirrm %%NAGDIR%%/templates/menu -@dirrm %%NAGDIR%%/templates/prefs -@dirrm %%NAGDIR%%/templates/search -@dirrm %%NAGDIR%%/templates/task -@dirrm %%NAGDIR%%/templates/view -@dirrm %%NAGDIR%%/templates -@dirrm %%NAGDIR%% -etc/horde/httpd.conf.nag -%%PORTDOCS%%@dirrm share/doc/nag -@unexec if cmp -s %D/www/horde/config/registry.php %D/www/horde/config/registry.php.afterNag; then rm -f %D/www/horde/config/registry.php.afterNag; mv %D/www/horde/config/registry.php.beforeNag %D/www/horde/config/registry.php; fi |