From owner-freebsd-ports Sun Mar 3 13:50:34 2002 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 CEF2737B423 for ; Sun, 3 Mar 2002 13:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g23Lo2e60952; Sun, 3 Mar 2002 13:50:02 -0800 (PST) (envelope-from gnats) Received: from postfix2-2.free.fr (postfix2-2.free.fr [213.228.0.140]) by hub.freebsd.org (Postfix) with ESMTP id 250B837B416 for ; Sun, 3 Mar 2002 13:47:59 -0800 (PST) Received: from graf.pompo.net (lyon-4-a7-108-154.dial.proxad.net [62.147.108.154]) by postfix2-2.free.fr (Postfix) with ESMTP id 646F55FABE for ; Sun, 3 Mar 2002 22:47:55 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 2EB1E7511; Sun, 3 Mar 2002 22:44:54 +0100 (CET) Message-Id: <20020303214454.2EB1E7511@graf.pompo.net> Date: Sun, 3 Mar 2002 22:44:54 +0100 (CET) From: Thierry Thomas Reply-To: Thierry Thomas To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35520: New port devel/whups: a web-based bug tracking system 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: 35520 >Category: ports >Synopsis: New port devel/whups: a web-based bug tracking system >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: Sun Mar 03 13:50:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.5-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 3 16:21:08 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386 >Description: Whups is the Horde's bug tracking system. >How-To-Repeat: N/A. >Fix: Pre-requisite: PR ports/35051 should be committed. [if not, replace horde2 by horde-devel in Makefile:RUN_DEPENDS] 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/devel/whups # /usr/ports/devel/whups/files # /usr/ports/devel/whups/files/httpd.conf.whups # /usr/ports/devel/whups/files/patch-config_conf.php.dist # /usr/ports/devel/whups/pkg-plist # /usr/ports/devel/whups/pkg-message # /usr/ports/devel/whups/pkg-descr # /usr/ports/devel/whups/pkg-comment # /usr/ports/devel/whups/distinfo # /usr/ports/devel/whups/Makefile # echo c - /usr/ports/devel/whups mkdir -p /usr/ports/devel/whups > /dev/null 2>&1 echo c - /usr/ports/devel/whups/files mkdir -p /usr/ports/devel/whups/files > /dev/null 2>&1 echo x - /usr/ports/devel/whups/files/httpd.conf.whups sed 's/^X//' >/usr/ports/devel/whups/files/httpd.conf.whups << 'END-of-/usr/ports/devel/whups/files/httpd.conf.whups' X# This is included in Apache's httpd.conf for WHUPS X# X# For security, don't serve pages from the WHUPS 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 WHUPS configuration ================ X END-of-/usr/ports/devel/whups/files/httpd.conf.whups echo x - /usr/ports/devel/whups/files/patch-config_conf.php.dist sed 's/^X//' >/usr/ports/devel/whups/files/patch-config_conf.php.dist << 'END-of-/usr/ports/devel/whups/files/patch-config_conf.php.dist' X--- config/conf.php.dist.orig Sun Mar 3 17:50:25 2002 X+++ config/conf.php.dist Sun Mar 3 21:58:46 2002 X@@ -16,7 +16,8 @@ X $conf['driver']['type'] = 'sql'; X X // X-$conf['driver']['dsn'] = 'mysql://user:pass@localhost/whups'; X+//$conf['driver']['dsn'] = 'mysql://user:pass@localhost/database'; X+$conf['driver']['dsn'] = 'mysql://hordemgr:hordemgr@localhost/horde'; X X // X $conf['mail']['contact_addr'] = 'Whups Administrator '; END-of-/usr/ports/devel/whups/files/patch-config_conf.php.dist echo x - /usr/ports/devel/whups/pkg-plist sed 's/^X//' >/usr/ports/devel/whups/pkg-plist << 'END-of-/usr/ports/devel/whups/pkg-plist' X%%PORTDOCS%%share/doc/whups/LICENSE X%%PORTDOCS%%share/doc/whups/CHANGES X%%WHUPSDIR%%/config/conf.php.dist X%%WHUPSDIR%%/config/html.php.dist X%%WHUPSDIR%%/config/prefs.php.dist X%%WHUPSDIR%%/config/conf.php X%%WHUPSDIR%%/config/html.php X%%WHUPSDIR%%/config/prefs.php X%%WHUPSDIR%%/graphics/continue.gif X%%WHUPSDIR%%/graphics/last.gif X%%WHUPSDIR%%/graphics/middle.gif X%%WHUPSDIR%%/graphics/spacer.gif X%%WHUPSDIR%%/graphics/whups.gif X%%WHUPSDIR%%/lib/Driver/sql.php X%%WHUPSDIR%%/lib/Create.php X%%WHUPSDIR%%/lib/Driver.php X%%WHUPSDIR%%/lib/Forms.php X%%WHUPSDIR%%/lib/Query.php X%%WHUPSDIR%%/lib/Search.php X%%WHUPSDIR%%/lib/Whups.php X%%WHUPSDIR%%/lib/WhupsVars.php X%%WHUPSDIR%%/lib/api.php X%%WHUPSDIR%%/lib/base.php X%%WHUPSDIR%%/lib/version.php X%%WHUPSDIR%%/lib/Admin.php X%%WHUPSDIR%%/locale/de_DE/LC_MESSAGES/whups.mo X%%WHUPSDIR%%/po/Makefile X%%WHUPSDIR%%/po/README X%%WHUPSDIR%%/po/de_DE.po X%%WHUPSDIR%%/po/extract.pl X%%WHUPSDIR%%/po/shtool X%%WHUPSDIR%%/po/xgettext.sh X%%WHUPSDIR%%/scripts/drivers/whups.sql X%%WHUPSDIR%%/templates/index/css.inc X%%WHUPSDIR%%/templates/index/notconfigured.inc X%%WHUPSDIR%%/templates/actions.inc X%%WHUPSDIR%%/templates/comment.inc X%%WHUPSDIR%%/templates/common.inc X%%WHUPSDIR%%/templates/formrenderer.inc X%%WHUPSDIR%%/templates/headerbar.inc X%%WHUPSDIR%%/templates/page.inc X%%WHUPSDIR%%/templates/queryrenderer.inc X%%WHUPSDIR%%/templates/searchresults.inc X%%WHUPSDIR%%/templates/useractions.inc X%%WHUPSDIR%%/templates/actionresult.inc X%%WHUPSDIR%%/search.php X%%WHUPSDIR%%/query.php X%%WHUPSDIR%%/index.php X%%WHUPSDIR%%/details.php X%%WHUPSDIR%%/create.php X%%WHUPSDIR%%/admin.php X%%PORTDOCS%%@dirrm share/doc/whups X@dirrm %%WHUPSDIR%%/config X@dirrm %%WHUPSDIR%%/graphics X@dirrm %%WHUPSDIR%%/lib/Driver X@dirrm %%WHUPSDIR%%/lib X@dirrm %%WHUPSDIR%%/locale/de_DE/LC_MESSAGES X@dirrm %%WHUPSDIR%%/locale/de_DE X@dirrm %%WHUPSDIR%%/locale X@dirrm %%WHUPSDIR%%/po X@dirrm %%WHUPSDIR%%/scripts/backend X@dirrm %%WHUPSDIR%%/scripts/drivers X@dirrm %%WHUPSDIR%%/scripts X@dirrm %%WHUPSDIR%%/templates/index X@dirrm %%WHUPSDIR%%/templates X@dirrm %%WHUPSDIR%% END-of-/usr/ports/devel/whups/pkg-plist echo x - /usr/ports/devel/whups/pkg-message sed 's/^X//' >/usr/ports/devel/whups/pkg-message << 'END-of-/usr/ports/devel/whups/pkg-message' X************************************************************************ XWhups has been installed in %%WHUPSDIR%% with your blank Xconfiguration files. X XHorde must be configured; if not, see: X- %%PORTSDIR%%/www/horde2/pkg-message X XThen, you have to create the tables required by Whups, from the SQL script X%%WHUPSDIR%%/scripts/drivers/whups.sql, Xin the horde database or in a special database. XFor example, if your database is MySQL, you may run Xmysql --user=hordemgr --password=yourpass horde < whups.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. XIn the file %%HORDEDIR%%/config/horde.php, Xat least one user should be defined as an admin: X$conf['auth']['admins'] = array('admin', 'insert_user_login'); X XGo to the , log in with this user, Xand click on "Administration" to define your parameters. X XN.B.: permissions are not yet implemented! X XTo protect your configuration files, you have to restart Apache. X************************************************************************ END-of-/usr/ports/devel/whups/pkg-message echo x - /usr/ports/devel/whups/pkg-descr sed 's/^X//' >/usr/ports/devel/whups/pkg-descr << 'END-of-/usr/ports/devel/whups/pkg-descr' XWHUPS is the Web-based Horde Unified Project System, a PHP-based project Xmanagement system and a component of the Horde Project. X XWHUPS will integrate a bug-tracking system and a FAQ manager. X XWHUPS is still in development. X XWWW: http://horde.org/whups/ END-of-/usr/ports/devel/whups/pkg-descr echo x - /usr/ports/devel/whups/pkg-comment sed 's/^X//' >/usr/ports/devel/whups/pkg-comment << 'END-of-/usr/ports/devel/whups/pkg-comment' XWHUPS is a web-based bug tracking system END-of-/usr/ports/devel/whups/pkg-comment echo x - /usr/ports/devel/whups/distinfo sed 's/^X//' >/usr/ports/devel/whups/distinfo << 'END-of-/usr/ports/devel/whups/distinfo' XMD5 (whups-0.0.1.020303.tar.gz) = 74f3267b93936b75e23530c982843051 END-of-/usr/ports/devel/whups/distinfo echo x - /usr/ports/devel/whups/Makefile sed 's/^X//' >/usr/ports/devel/whups/Makefile << 'END-of-/usr/ports/devel/whups/Makefile' X# Ports collection makefile for: WHUPS X# Date created: Sun Mar 03, 2002 X# Whom: Thierry Thomas () X# X# $FreeBSD$ X# X XPORTNAME= whups XPORTVERSION= 0.0.1.020303 XCATEGORIES= devel www XMASTER_SITES= http://pompo.net/horde/whups/ X XMAINTAINER= thierry@pompo.net X XRUN_DEPENDS= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2 X XNO_BUILD= yes X XDOCS= LICENSE docs/CHANGES XCONFFILE= conf.php html.php prefs.php XSUB_DIRS= config graphics lib locale po scripts templates X XLHORDEDIR?= www/horde XLWHUPSDIR?= ${LHORDEDIR}/whups X XPLIST_SUB= HORDEDIR=${LHORDEDIR} WHUPSDIR=${LWHUPSDIR} X XHORDEDIR= ${PREFIX}/${LHORDEDIR} XWHUPSDIR= ${PREFIX}/${LWHUPSDIR} XCONFDIR= ${WHUPSDIR}/config X XHORDE_INC= ${LOCALBASE}/etc/horde X Xdo-install: X @${MKDIR} ${WHUPSDIR} X.for REP in ${SUB_DIRS} X @${CP} -Rp ${WRKSRC}/${REP} ${WHUPSDIR} X.endfor X @${CP} -p ${WRKSRC}/*.php ${WHUPSDIR} 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 ${WHUPSDIR} X @${CHMOD} -R o-rwx ${CONFDIR} X @${CP} -p ${FILESDIR}/httpd.conf.whups ${HORDE_INC} X @${PERL} -pi -e "s:/home/httpd/html/horde/whups:${WHUPSDIR}:g" \ X ${HORDE_INC}/httpd.conf.whups X @${PERL} -pi -e "s://UNCOMMENTWHENINSTWHUPS::" ${HORDEDIR}/config/registry.php 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:%%WHUPSDIR%%:${WHUPSDIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%HORDEDIR%%:${HORDEDIR}:" X @${ECHO_MSG} X X.include END-of-/usr/ports/devel/whups/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