mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
New port devel/whups: a web-based bug tracking system
PR: ports/35520 Submitted by: Thierry Thomas <thierry@pompo.net>
This commit is contained in:
parent
224a8a72c3
commit
9dff545495
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73256
@ -862,6 +862,7 @@
|
||||
SUBDIR += veepee
|
||||
SUBDIR += viewcvs
|
||||
SUBDIR += vtcl
|
||||
SUBDIR += whups
|
||||
SUBDIR += wizard
|
||||
SUBDIR += xmake
|
||||
SUBDIR += xparam
|
||||
|
66
devel/whups/Makefile
Normal file
66
devel/whups/Makefile
Normal file
@ -0,0 +1,66 @@
|
||||
# Ports collection makefile for: WHUPS
|
||||
# Date created: Sun Mar 03, 2002
|
||||
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= whups
|
||||
PORTVERSION= 0.0.1.020303
|
||||
CATEGORIES= devel www
|
||||
MASTER_SITES= http://pompo.net/horde/whups/
|
||||
|
||||
MAINTAINER= thierry@pompo.net
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
DOCS= LICENSE docs/CHANGES
|
||||
CONFFILE= conf.php html.php prefs.php
|
||||
SUB_DIRS= config graphics lib locale po scripts templates
|
||||
|
||||
LHORDEDIR?= www/horde
|
||||
LWHUPSDIR?= ${LHORDEDIR}/whups
|
||||
|
||||
PLIST_SUB= HORDEDIR=${LHORDEDIR} WHUPSDIR=${LWHUPSDIR}
|
||||
|
||||
HORDEDIR= ${PREFIX}/${LHORDEDIR}
|
||||
WHUPSDIR= ${PREFIX}/${LWHUPSDIR}
|
||||
CONFDIR= ${WHUPSDIR}/config
|
||||
|
||||
HORDE_INC= ${LOCALBASE}/etc/horde
|
||||
|
||||
do-install:
|
||||
@${RM} -f ${WRKSRC}/config/conf.php.dist.orig
|
||||
@${MKDIR} ${WHUPSDIR}
|
||||
.for REP in ${SUB_DIRS}
|
||||
@${CP} -Rp ${WRKSRC}/${REP} ${WHUPSDIR}
|
||||
.endfor
|
||||
@${CP} -p ${WRKSRC}/*.php ${WHUPSDIR}
|
||||
.for FILE in ${CONFFILE}
|
||||
@if [ ! -f ${CONFDIR}/${FILE} ]; then \
|
||||
${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
|
||||
fi
|
||||
.endfor
|
||||
@${CHOWN} -R www:www ${WHUPSDIR}
|
||||
@${CHMOD} -R o-rwx ${CONFDIR}
|
||||
@${CP} -p ${FILESDIR}/httpd.conf.whups ${HORDE_INC}
|
||||
@${PERL} -pi -e "s:/home/httpd/html/horde/whups:${WHUPSDIR}:g" \
|
||||
${HORDE_INC}/httpd.conf.whups
|
||||
@${PERL} -pi -e "s://UNCOMMENTWHENINSTWHUPS::" ${HORDEDIR}/config/registry.php
|
||||
.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:%%WHUPSDIR%%:${WHUPSDIR}:g;s:%%PORTSDIR%%:${PORTSDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%HORDEDIR%%:${HORDEDIR}:"
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/whups/distinfo
Normal file
1
devel/whups/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (whups-0.0.1.020303.tar.gz) = 74f3267b93936b75e23530c982843051
|
31
devel/whups/files/httpd.conf.whups
Normal file
31
devel/whups/files/httpd.conf.whups
Normal file
@ -0,0 +1,31 @@
|
||||
# This is included in Apache's httpd.conf for WHUPS
|
||||
#
|
||||
# For security, don't serve pages from the WHUPS configuration and
|
||||
# library directories.
|
||||
#
|
||||
<Directory "/home/httpd/html/horde/whups/config">
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
<Directory "/home/httpd/html/horde/whups/lib">
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
<Directory "/home/httpd/html/horde/whups/locale">
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
<Directory "/home/httpd/html/horde/whups/po">
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
<Directory "/home/httpd/html/horde/whups/scripts">
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
<Directory "/home/httpd/html/horde/whups/templates">
|
||||
order deny,allow
|
||||
deny from all
|
||||
</Directory>
|
||||
# End of WHUPS configuration ================
|
||||
|
12
devel/whups/files/patch-config_conf.php.dist
Normal file
12
devel/whups/files/patch-config_conf.php.dist
Normal file
@ -0,0 +1,12 @@
|
||||
--- config/conf.php.dist.orig Sun Mar 3 17:50:25 2002
|
||||
+++ config/conf.php.dist Sun Mar 3 21:58:46 2002
|
||||
@@ -16,7 +16,8 @@
|
||||
$conf['driver']['type'] = 'sql';
|
||||
|
||||
//
|
||||
-$conf['driver']['dsn'] = 'mysql://user:pass@localhost/whups';
|
||||
+//$conf['driver']['dsn'] = 'mysql://user:pass@localhost/database';
|
||||
+$conf['driver']['dsn'] = 'mysql://hordemgr:hordemgr@localhost/horde';
|
||||
|
||||
//
|
||||
$conf['mail']['contact_addr'] = 'Whups Administrator <root@localhost>';
|
1
devel/whups/pkg-comment
Normal file
1
devel/whups/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
WHUPS is a web-based bug tracking system
|
8
devel/whups/pkg-descr
Normal file
8
devel/whups/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
WHUPS is the Web-based Horde Unified Project System, a PHP-based project
|
||||
management system and a component of the Horde Project.
|
||||
|
||||
WHUPS will integrate a bug-tracking system and a FAQ manager.
|
||||
|
||||
WHUPS is still in development.
|
||||
|
||||
WWW: http://horde.org/whups/
|
29
devel/whups/pkg-message
Normal file
29
devel/whups/pkg-message
Normal file
@ -0,0 +1,29 @@
|
||||
************************************************************************
|
||||
Whups has been installed in %%WHUPSDIR%% with your blank
|
||||
configuration files.
|
||||
|
||||
Horde must be configured; if not, see:
|
||||
- %%PORTSDIR%%/www/horde2/pkg-message
|
||||
|
||||
Then, you have to create the tables required by Whups, from the SQL script
|
||||
%%WHUPSDIR%%/scripts/drivers/whups.sql,
|
||||
in the horde database or in a special database.
|
||||
For example, if your database is MySQL, you may run
|
||||
mysql --user=hordemgr --password=yourpass horde < whups.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.
|
||||
In the file %%HORDEDIR%%/config/horde.php,
|
||||
at least one user should be defined as an admin:
|
||||
$conf['auth']['admins'] = array('admin', 'insert_user_login');
|
||||
|
||||
Go to the <URL:http://localhost/horde/>;, log in with this user,
|
||||
and click on "Administration" to define your parameters.
|
||||
|
||||
N.B.: permissions are not yet implemented!
|
||||
|
||||
To protect your configuration files, you have to restart Apache.
|
||||
************************************************************************
|
66
devel/whups/pkg-plist
Normal file
66
devel/whups/pkg-plist
Normal file
@ -0,0 +1,66 @@
|
||||
%%PORTDOCS%%share/doc/whups/LICENSE
|
||||
%%PORTDOCS%%share/doc/whups/CHANGES
|
||||
%%WHUPSDIR%%/config/conf.php.dist
|
||||
%%WHUPSDIR%%/config/html.php.dist
|
||||
%%WHUPSDIR%%/config/prefs.php.dist
|
||||
%%WHUPSDIR%%/config/conf.php
|
||||
%%WHUPSDIR%%/config/html.php
|
||||
%%WHUPSDIR%%/config/prefs.php
|
||||
%%WHUPSDIR%%/graphics/continue.gif
|
||||
%%WHUPSDIR%%/graphics/last.gif
|
||||
%%WHUPSDIR%%/graphics/middle.gif
|
||||
%%WHUPSDIR%%/graphics/spacer.gif
|
||||
%%WHUPSDIR%%/graphics/whups.gif
|
||||
%%WHUPSDIR%%/lib/Driver/sql.php
|
||||
%%WHUPSDIR%%/lib/Create.php
|
||||
%%WHUPSDIR%%/lib/Driver.php
|
||||
%%WHUPSDIR%%/lib/Forms.php
|
||||
%%WHUPSDIR%%/lib/Query.php
|
||||
%%WHUPSDIR%%/lib/Search.php
|
||||
%%WHUPSDIR%%/lib/Whups.php
|
||||
%%WHUPSDIR%%/lib/WhupsVars.php
|
||||
%%WHUPSDIR%%/lib/api.php
|
||||
%%WHUPSDIR%%/lib/base.php
|
||||
%%WHUPSDIR%%/lib/version.php
|
||||
%%WHUPSDIR%%/lib/Admin.php
|
||||
%%WHUPSDIR%%/locale/de_DE/LC_MESSAGES/whups.mo
|
||||
%%WHUPSDIR%%/po/Makefile
|
||||
%%WHUPSDIR%%/po/README
|
||||
%%WHUPSDIR%%/po/de_DE.po
|
||||
%%WHUPSDIR%%/po/extract.pl
|
||||
%%WHUPSDIR%%/po/shtool
|
||||
%%WHUPSDIR%%/po/xgettext.sh
|
||||
%%WHUPSDIR%%/scripts/drivers/whups.sql
|
||||
%%WHUPSDIR%%/templates/index/css.inc
|
||||
%%WHUPSDIR%%/templates/index/notconfigured.inc
|
||||
%%WHUPSDIR%%/templates/actions.inc
|
||||
%%WHUPSDIR%%/templates/comment.inc
|
||||
%%WHUPSDIR%%/templates/common.inc
|
||||
%%WHUPSDIR%%/templates/formrenderer.inc
|
||||
%%WHUPSDIR%%/templates/headerbar.inc
|
||||
%%WHUPSDIR%%/templates/page.inc
|
||||
%%WHUPSDIR%%/templates/queryrenderer.inc
|
||||
%%WHUPSDIR%%/templates/searchresults.inc
|
||||
%%WHUPSDIR%%/templates/useractions.inc
|
||||
%%WHUPSDIR%%/templates/actionresult.inc
|
||||
%%WHUPSDIR%%/search.php
|
||||
%%WHUPSDIR%%/query.php
|
||||
%%WHUPSDIR%%/index.php
|
||||
%%WHUPSDIR%%/details.php
|
||||
%%WHUPSDIR%%/create.php
|
||||
%%WHUPSDIR%%/admin.php
|
||||
%%PORTDOCS%%@dirrm share/doc/whups
|
||||
@dirrm %%WHUPSDIR%%/config
|
||||
@dirrm %%WHUPSDIR%%/graphics
|
||||
@dirrm %%WHUPSDIR%%/lib/Driver
|
||||
@dirrm %%WHUPSDIR%%/lib
|
||||
@dirrm %%WHUPSDIR%%/locale/de_DE/LC_MESSAGES
|
||||
@dirrm %%WHUPSDIR%%/locale/de_DE
|
||||
@dirrm %%WHUPSDIR%%/locale
|
||||
@dirrm %%WHUPSDIR%%/po
|
||||
@dirrm %%WHUPSDIR%%/scripts/backend
|
||||
@dirrm %%WHUPSDIR%%/scripts/drivers
|
||||
@dirrm %%WHUPSDIR%%/scripts
|
||||
@dirrm %%WHUPSDIR%%/templates/index
|
||||
@dirrm %%WHUPSDIR%%/templates
|
||||
@dirrm %%WHUPSDIR%%
|
Loading…
Reference in New Issue
Block a user