From owner-freebsd-ports Sat Dec 15 14:40:26 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BEE4237B416 for ; Sat, 15 Dec 2001 14:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBFMe1055196; Sat, 15 Dec 2001 14:40:01 -0800 (PST) (envelope-from gnats) Received: from postfix1-2.free.fr (postfix1-2.free.fr [213.228.0.130]) by hub.freebsd.org (Postfix) with ESMTP id A05A237B419 for ; Sat, 15 Dec 2001 14:39:49 -0800 (PST) Received: from graf.pompo.net (lyon-1-a7-16-179.dial.proxad.net [62.147.16.179]) by postfix1-2.free.fr (Postfix) with ESMTP id 4608BAB510 for ; Sat, 15 Dec 2001 23:39:45 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 09E4C751D; Sat, 15 Dec 2001 23:37:54 +0100 (CET) Message-Id: <20011215223754.09E4C751D@graf.pompo.net> Date: Sat, 15 Dec 2001 23:37:54 +0100 (CET) From: Thierry Thomas Reply-To: Thierry Thomas To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32883: New port: deskutils/nag - Horde's task list manager. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32883 >Category: ports >Synopsis: New port: deskutils/nag - Horde's task list manager. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 15 14:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.4-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Nov 25 07:49:02 CET 2001 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386 >Description: Nag is the Horde task list manager. >How-To-Repeat: N/A >Fix: Execute the following shar file: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/deskutils/nag # /usr/ports/deskutils/nag/files # /usr/ports/deskutils/nag/files/patch-aa # /usr/ports/deskutils/nag/files/httpd.conf.nag # /usr/ports/deskutils/nag/files/patch-ab # /usr/ports/deskutils/nag/pkg-plist # /usr/ports/deskutils/nag/pkg-message # /usr/ports/deskutils/nag/pkg-descr # /usr/ports/deskutils/nag/pkg-comment # /usr/ports/deskutils/nag/distinfo # /usr/ports/deskutils/nag/Makefile # echo c - /usr/ports/deskutils/nag mkdir -p /usr/ports/deskutils/nag > /dev/null 2>&1 echo c - /usr/ports/deskutils/nag/files mkdir -p /usr/ports/deskutils/nag/files > /dev/null 2>&1 echo x - /usr/ports/deskutils/nag/files/patch-aa sed 's/^X//' >/usr/ports/deskutils/nag/files/patch-aa << 'END-of-/usr/ports/deskutils/nag/files/patch-aa' X--- scripts/drivers/nag_tasks.sql.orig Tue Dec 11 14:47:41 2001 X+++ scripts/drivers/nag_tasks.sql Sat Dec 15 00:42:13 2001 X@@ -13,4 +13,4 @@ X primary key (task_owner, task_id) X ); X X-grant select, insert, update, delete on nag_tasks to horde; X+grant select, insert, update, delete on nag_tasks to hordemgr; END-of-/usr/ports/deskutils/nag/files/patch-aa echo x - /usr/ports/deskutils/nag/files/httpd.conf.nag sed 's/^X//' >/usr/ports/deskutils/nag/files/httpd.conf.nag << 'END-of-/usr/ports/deskutils/nag/files/httpd.conf.nag' X# This is included in Apache's httpd.conf for Nag X# X# For security, don't serve pages from the Nag configuration and X# library directories. X# X X order deny,allow X deny from all X X X order deny,allow X deny from all X X X order deny,allow X deny from all X X X order deny,allow X deny from all X X X order deny,allow X deny from all X X X order deny,allow X deny from all X X# End of Nag configuration ================ X END-of-/usr/ports/deskutils/nag/files/httpd.conf.nag echo x - /usr/ports/deskutils/nag/files/patch-ab sed 's/^X//' >/usr/ports/deskutils/nag/files/patch-ab << 'END-of-/usr/ports/deskutils/nag/files/patch-ab' X--- config/conf.php.dist.orig Thu Nov 15 19:48:58 2001 X+++ config/conf.php.dist Sat Dec 15 00:53:04 2001 X@@ -40,6 +40,14 @@ X // Any parameters that the storage driver needs. This includes X // database or ldap server, username/password to connect with, etc. X $conf['storage']['params'] = array(); X+// Replace mysql by pgsql for PostgreSQL X+$conf['storage']['params']['phptype'] = 'mysql'; X+$conf['storage']['params']['hostspec'] = 'localhost'; X+$conf['storage']['params']['username'] = 'hordemgr'; X+$conf['storage']['params']['password'] = 'hordemgr'; X+$conf['storage']['params']['database'] = 'horde'; X+$conf['storage']['params']['table'] = 'nag_tasks'; X+// $conf['storage']['params']['protocol'] = 'unix'; X X X /** END-of-/usr/ports/deskutils/nag/files/patch-ab echo x - /usr/ports/deskutils/nag/pkg-plist sed 's/^X//' >/usr/ports/deskutils/nag/pkg-plist << 'END-of-/usr/ports/deskutils/nag/pkg-plist' X%%PORTDOCS%%share/doc/nag/CHANGES X%%PORTDOCS%%share/doc/nag/COPYING X%%PORTDOCS%%share/doc/nag/CREDITS X%%PORTDOCS%%share/doc/nag/INSTALL X%%PORTDOCS%%share/doc/nag/README X%%PORTDOCS%%share/doc/nag/ROADMAP X%%PORTDOCS%%share/doc/nag/TODO X%%NAGDIR%%/config/conf.php X%%NAGDIR%%/config/conf.php.dist X%%NAGDIR%%/config/conf.php.dist.orig X%%NAGDIR%%/config/html.php X%%NAGDIR%%/config/html.php.dist X%%NAGDIR%%/config/menu.php X%%NAGDIR%%/config/menu.php.dist X%%NAGDIR%%/config/motd.php X%%NAGDIR%%/config/motd.php.dist X%%NAGDIR%%/config/prefs.php X%%NAGDIR%%/config/prefs.php.dist X%%NAGDIR%%/graphics/add.gif X%%NAGDIR%%/graphics/checkbox.gif X%%NAGDIR%%/graphics/down.gif X%%NAGDIR%%/graphics/high.gif X%%NAGDIR%%/graphics/list.gif X%%NAGDIR%%/graphics/low.gif X%%NAGDIR%%/graphics/nag.gif X%%NAGDIR%%/graphics/note.gif X%%NAGDIR%%/graphics/refresh.gif X%%NAGDIR%%/graphics/search.gif X%%NAGDIR%%/graphics/up.gif X%%NAGDIR%%/index.php X%%NAGDIR%%/lib/Driver.php X%%NAGDIR%%/lib/Driver/sql.php X%%NAGDIR%%/lib/Nag.php X%%NAGDIR%%/lib/api.php X%%NAGDIR%%/lib/base.php X%%NAGDIR%%/lib/constants.php X%%NAGDIR%%/lib/version.php X%%NAGDIR%%/list.php X%%NAGDIR%%/locale/cs_CZ/LC_MESSAGES/nag.mo X%%NAGDIR%%/locale/de_DE/LC_MESSAGES/nag.mo X%%NAGDIR%%/locale/en_US/help.xml X%%NAGDIR%%/locale/es_ES/LC_MESSAGES/nag.mo X%%NAGDIR%%/locale/fr_FR/LC_MESSAGES/nag.mo X%%NAGDIR%%/locale/it_IT/LC_MESSAGES/nag.mo X%%NAGDIR%%/locale/nl_NL/LC_MESSAGES/nag.mo X%%NAGDIR%%/locale/ru_koi/LC_MESSAGES/nag.mo X%%NAGDIR%%/locale/ru_win/LC_MESSAGES/nag.mo X%%NAGDIR%%/menu.php X%%NAGDIR%%/po/Makefile X%%NAGDIR%%/po/README X%%NAGDIR%%/po/cs_CZ.po X%%NAGDIR%%/po/de_DE.po X%%NAGDIR%%/po/es_ES.po X%%NAGDIR%%/po/extract.pl X%%NAGDIR%%/po/fr_FR.po X%%NAGDIR%%/po/it_IT.po X%%NAGDIR%%/po/nl_NL.po X%%NAGDIR%%/po/ru_koi.po X%%NAGDIR%%/po/ru_win.po X%%NAGDIR%%/po/shtool X%%NAGDIR%%/po/xgettext.sh X%%NAGDIR%%/prefs.php X%%NAGDIR%%/scripts/drivers/nag_tasks.sql X%%NAGDIR%%/scripts/drivers/nag_tasks.sql.orig X%%NAGDIR%%/search.php X%%NAGDIR%%/status.php X%%NAGDIR%%/task.php X%%NAGDIR%%/templates/common-footer.inc X%%NAGDIR%%/templates/common-header.inc X%%NAGDIR%%/templates/index/css.inc X%%NAGDIR%%/templates/index/notconfigured.inc X%%NAGDIR%%/templates/list/actions.inc X%%NAGDIR%%/templates/list/empty.inc X%%NAGDIR%%/templates/list/footer.inc X%%NAGDIR%%/templates/list/header.inc X%%NAGDIR%%/templates/list/javascript.inc X%%NAGDIR%%/templates/list/task_footers.inc X%%NAGDIR%%/templates/list/task_headers.inc X%%NAGDIR%%/templates/list/task_summaries.inc X%%NAGDIR%%/templates/menu/menu.inc X%%NAGDIR%%/templates/search/begin.inc X%%NAGDIR%%/templates/search/end.inc X%%NAGDIR%%/templates/search/search.inc X%%NAGDIR%%/templates/task/begin.inc X%%NAGDIR%%/templates/task/end.inc X%%NAGDIR%%/templates/task/task.inc X%%NAGDIR%%/templates/view/description.inc X%%NAGDIR%%/templates/view/headers.inc X%%NAGDIR%%/templates/view/navbar.inc X%%NAGDIR%%/templates/view/no-task.inc X%%NAGDIR%%/view.php X@dirrm %%NAGDIR%%/config X@dirrm %%NAGDIR%%/graphics X@dirrm %%NAGDIR%%/lib/Driver X@dirrm %%NAGDIR%%/lib X@dirrm %%NAGDIR%%/locale/cs_CZ/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/cs_CZ X@dirrm %%NAGDIR%%/locale/de/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/de X@dirrm %%NAGDIR%%/locale/de_DE/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/de_DE X@dirrm %%NAGDIR%%/locale/en_EN X@dirrm %%NAGDIR%%/locale/en X@dirrm %%NAGDIR%%/locale/en_US X@dirrm %%NAGDIR%%/locale/es_ES/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/es_ES X@dirrm %%NAGDIR%%/locale/fr_FR/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/fr_FR X@dirrm %%NAGDIR%%/locale/it_IT/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/it_IT X@dirrm %%NAGDIR%%/locale/nl/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/nl X@dirrm %%NAGDIR%%/locale/nl_NL/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/nl_NL X@dirrm %%NAGDIR%%/locale/ru_koi/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/ru_koi X@dirrm %%NAGDIR%%/locale/ru_win/LC_MESSAGES X@dirrm %%NAGDIR%%/locale/ru_win X@dirrm %%NAGDIR%%/locale X@dirrm %%NAGDIR%%/po X@dirrm %%NAGDIR%%/scripts/drivers X@dirrm %%NAGDIR%%/scripts X@dirrm %%NAGDIR%%/templates/errors X@dirrm %%NAGDIR%%/templates/index X@dirrm %%NAGDIR%%/templates/list X@dirrm %%NAGDIR%%/templates/menu X@dirrm %%NAGDIR%%/templates/prefs X@dirrm %%NAGDIR%%/templates/search X@dirrm %%NAGDIR%%/templates/task X@dirrm %%NAGDIR%%/templates/view X@dirrm %%NAGDIR%%/templates X@dirrm %%NAGDIR%% Xetc/horde/httpd.conf.nag X%%PORTDOCS%%@dirrm share/doc/nag END-of-/usr/ports/deskutils/nag/pkg-plist echo x - /usr/ports/deskutils/nag/pkg-message sed 's/^X//' >/usr/ports/deskutils/nag/pkg-message << 'END-of-/usr/ports/deskutils/nag/pkg-message' X************************************************************************ XNag has been installed in %%NAGDIR%% with your blank Xconfiguration files. X XHorde and Kronolith must be configured; if not, see: X- %%PORTSDIR%%/www/horde-devel/pkg-message X- %%PORTSDIR%%/deskutils/kronolith/pkg-message X XThen, you have to create the table nag_tasks, from the SQL script X%%NAGDIR%%/scripts/drivers/nag_tasks.sql. XFor example, if your database is MySQL, you may run Xmysql --user=hordemgr --password=yourpass horde < nag_tasks.sql X(If you run another database server, see X %%HORDEDIR%%/scripts/db/README X for more explanations.) X XFinally, you may have to tune the configuration files located in X%%CONFDIR%%/, specially the files conf.php. X XTo protect your configuration files, you have to restart Apache. X************************************************************************ END-of-/usr/ports/deskutils/nag/pkg-message echo x - /usr/ports/deskutils/nag/pkg-descr sed 's/^X//' >/usr/ports/deskutils/nag/pkg-descr << 'END-of-/usr/ports/deskutils/nag/pkg-descr' XNag is the Horde task list manager. X XWWW: http://horde.org/nag/ END-of-/usr/ports/deskutils/nag/pkg-descr echo x - /usr/ports/deskutils/nag/pkg-comment sed 's/^X//' >/usr/ports/deskutils/nag/pkg-comment << 'END-of-/usr/ports/deskutils/nag/pkg-comment' XNag is a simple, multiuser task list manager END-of-/usr/ports/deskutils/nag/pkg-comment echo x - /usr/ports/deskutils/nag/distinfo sed 's/^X//' >/usr/ports/deskutils/nag/distinfo << 'END-of-/usr/ports/deskutils/nag/distinfo' XMD5 (nag-0.0.2.011214.tar.gz) = 558c2d117bd7a8d42263a48ec1933447 END-of-/usr/ports/deskutils/nag/distinfo echo x - /usr/ports/deskutils/nag/Makefile sed 's/^X//' >/usr/ports/deskutils/nag/Makefile << 'END-of-/usr/ports/deskutils/nag/Makefile' X# Ports collection makefile for: Nag X# Date created: Sun Dec 14, 2001 X# Whom: Thierry Thomas () X# X# $FreeBSD$ X# X XPORTNAME= nag XPORTVERSION= 0.0.2.011214 XCATEGORIES= deskutils www XMASTER_SITES= http://pompo.net/horde/nag/ X XMAINTAINER= thierry@thomas.as X XRUN_DEPENDS= ${LOCALBASE}/www/horde/kronolith/index.php:${PORTSDIR}/deskutils/kronolith X XNO_BUILD= yes X XDOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL \ X docs/ROADMAP docs/TODO XCONFFILE= conf.php html.php menu.php motd.php prefs.php X XLHORDEDIR?= www/horde XLNAGDIR?= ${LHORDEDIR}/nag X XPLIST_SUB= HORDEDIR=${LHORDEDIR} NAGDIR=${LNAGDIR} X XHORDEDIR= ${PREFIX}/${LHORDEDIR} XNAGDIR= ${PREFIX}/${LNAGDIR} XCONFDIR= ${NAGDIR}/config X XHORDE_INC= ${LOCALBASE}/etc/horde X Xdo-install: X @${MKDIR} ${NAGDIR} X @${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${NAGDIR} X @${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/po ${WRKSRC}/scripts ${NAGDIR} X @${CP} -Rp ${WRKSRC}/templates ${NAGDIR} X @${CP} -p ${WRKSRC}/*.php ${NAGDIR} X @${MKDIR} ${NAGDIR}/scripts X.for FILE in ${CONFFILE} X @if [ ! -f ${CONFDIR}/${FILE} ]; then \ X ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ X fi X.endfor X @${CHOWN} -R www:www ${NAGDIR} X @${CHMOD} -R o-rwx ${CONFDIR} X @${CP} -p ${FILESDIR}/httpd.conf.nag ${HORDE_INC} X @${PERL} -pi -e "s:/home/httpd/html/horde/nag:${NAGDIR}:g" \ X ${HORDE_INC}/httpd.conf.nag X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for FILE in ${DOCS} X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} X.endfor X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." X.endif X Xpost-install: X @${ECHO_MSG} X @${CAT} ${PKGMESSAGE} | \ X ${SED} -e "s:%%NAGDIR%%:${NAGDIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%HORDEDIR%%:${HORDEDIR}:" X @${ECHO_MSG} X X.include END-of-/usr/ports/deskutils/nag/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message