ports/56082: New port: flyspray-0.9.4 - a simple, easy-to-use web based bug tracking system

Nick Hilliard nick at foobar.org
Thu Aug 28 13:10:23 UTC 2003


>Number:         56082
>Category:       ports
>Synopsis:       New port: flyspray-0.9.4 - a simple, easy-to-use web based bug tracking system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 28 06:10:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hilliard
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
Network Ability Ltd
>Environment:
System: FreeBSD <> 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Wed Aug 27 18:54:57 IST 2003 nick@<>:/data/FreeBSD-src/current/src/sys/i386/compile/MUFFIN i386


>Description:

A simple, easy-to-use web based bug tracking system

>How-To-Repeat:

>Fix:

# 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:
#
#	flyspray
#	flyspray/Makefile
#	flyspray/distinfo
#	flyspray/pkg-descr
#	flyspray/pkg-message
#	flyspray/pkg-plist
#	flyspray/pkg-deinstall
#
echo c - flyspray
mkdir -p flyspray > /dev/null 2>&1
echo x - flyspray/Makefile
sed 's/^X//' >flyspray/Makefile << 'END-of-flyspray/Makefile'
X# New ports collection makefile for:	flyspray
X# Date created:			2003.08.28
X# Whom:				Nick Hilliard <nick at foobar.org>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	flyspray
XPORTVERSION=	0.9.4
XCATEGORIES=	devel
XMASTER_SITES=	http://flyspray.rocks.cc/
X
XMAINTAINER=	nick at foobar.org
XCOMMENT=	A simple, easy-to-use web based bug tracking system
X
X.if defined(WITH_APACHE2)
XRUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
X.else
XRUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
X.endif
X
XNO_BUILD=       yes
XFETCH_BEFORE_ARGS=	-o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
X
XDOC_FILES=	AUTHORS BUGS CHANGELOG COPYING INSTALL README TODO UPGRADING flyspray-${PORTVERSION}.sql
X
Xdo-fetch: ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
X	${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${MASTER_SITES}/?file=${DISTNAME}${EXTRACT_SUFX}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/share/${PORTNAME}
X	${CHMOD} 755 ${PREFIX}/share/${PORTNAME}
X	${INSTALL_DATA} ${WRKSRC}/config.inc.php ${PREFIX}/share/${PORTNAME}/config.inc.php-dist
X	cd ${WRKSRC} && \
X		tar cf - favicon.ico functions.inc.php functions.js header.php index.php lang scripts themes | \
X		(cd ${PREFIX}/share/${PORTNAME} && tar -xf -)
X	${LN} -s /var/db/${PORTNAME}/attachments ${PREFIX}/share/${PORTNAME}/attachments
X	${MKDIR} /var/db/${PORTNAME}/attachments
X	${CHMOD} 750 /var/db/${PORTNAME}/attachments
X	${CHOWN} www:www /var/db/${PORTNAME}/attachments
X
Xpost-install: install-doc
X	@${CAT} ${PKGMESSAGE}
X
Xinstall-doc:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for file in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-flyspray/Makefile
echo x - flyspray/distinfo
sed 's/^X//' >flyspray/distinfo << 'END-of-flyspray/distinfo'
XMD5 (flyspray-0.9.4.tar.gz) = c42e69dc6f3fac707ec9ddf900e7f62b
END-of-flyspray/distinfo
echo x - flyspray/pkg-descr
sed 's/^X//' >flyspray/pkg-descr << 'END-of-flyspray/pkg-descr'
XNeed a bug tracking system for your programming project? Having trouble
Xfinding something that suits your needs? Tried installing Bugzilla, but
Xfound it too complex?
X
XFlyspray is an easy to use bug tracking system for those who don't require
Xall the complexities of something like Bugzilla.
X
XInitially developed for the Psi project, Flyspray is now available for
Xeveryone to download and use for their own projects.
X
XWWW: http://flyspray.rocks.cc/
END-of-flyspray/pkg-descr
echo x - flyspray/pkg-message
sed 's/^X//' >flyspray/pkg-message << 'END-of-flyspray/pkg-message'
X##
X
XConfiguration Instructions for Flyspray
X=======================================
X
X1) Create a mysql database for Flyspray to use.  Here is one way to
Xdo that, from the command line, entering your mysql root password when
Xprompted:
X
X# mysqladmin -u root -p create flyspray
X
X2) Import the Flyspray database tables into your new empty
Xdatabase. Here is the command line method; be sure to enter your mysql root
Xpassword when prompted:
X
X# mysql -u root -p flyspray < flyspray-version.sql
X
X3) Copy the config.inc.php-dist file to config.inc.php and edit it to suit
Xyour database setup.  Examples are provided in the file.
X
X4) Insert the following configuration command into your httpd.conf:
X
X	Alias "/flyspray/" "/usr/local/share/flyspray/"
X
X5) Point your browser to http://yourserver.com/flyspray/ and you should
Xsee Flyspray!  Login as 'super', with the password 'super'.
X
X6) Create youself a new user, place them into the Admin group.
X
X7) CHANGE THE PASSWORD FOR THE super/super ACCOUNT by clicking the
X'Change Password' link near the top of the page.  You might like to disable
Xthe account entirely, or it will appear in the list of members to be assigned
Xtasks.
X
X8) Close the sample task, and begin adding your own.
X
X9) Report any bugs you find back to http://flyspray.rocks.cc/bts/
X
X##
END-of-flyspray/pkg-message
echo x - flyspray/pkg-plist
sed 's/^X//' >flyspray/pkg-plist << 'END-of-flyspray/pkg-plist'
Xshare/flyspray/attachments
Xshare/flyspray/config.inc.php-dist
Xshare/flyspray/favicon.ico
Xshare/flyspray/functions.inc.php
Xshare/flyspray/functions.js
Xshare/flyspray/header.php
Xshare/flyspray/index.php
Xshare/flyspray/lang/de/admin.php
Xshare/flyspray/lang/de/authenticate.php
Xshare/flyspray/lang/de/chpass.php
Xshare/flyspray/lang/de/details.php
Xshare/flyspray/lang/de/functions.inc.php
Xshare/flyspray/lang/de/index.php
Xshare/flyspray/lang/de/loginbox.php
Xshare/flyspray/lang/de/main.php
Xshare/flyspray/lang/de/modify.php
Xshare/flyspray/lang/de/newgroup.php
Xshare/flyspray/lang/de/newtask.php
Xshare/flyspray/lang/de/newuser.php
Xshare/flyspray/lang/de/register.php
Xshare/flyspray/lang/de/severity.php
Xshare/flyspray/lang/de/status.php
Xshare/flyspray/lang/en/admin.php
Xshare/flyspray/lang/en/authenticate.php
Xshare/flyspray/lang/en/chpass.php
Xshare/flyspray/lang/en/details.php
Xshare/flyspray/lang/en/functions.inc.php
Xshare/flyspray/lang/en/index.php
Xshare/flyspray/lang/en/loginbox.php
Xshare/flyspray/lang/en/main.php
Xshare/flyspray/lang/en/modify.php
Xshare/flyspray/lang/en/newgroup.php
Xshare/flyspray/lang/en/newtask.php
Xshare/flyspray/lang/en/newuser.php
Xshare/flyspray/lang/en/register.php
Xshare/flyspray/lang/en/severity.php
Xshare/flyspray/lang/en/status.php
Xshare/flyspray/lang/fr/admin.php
Xshare/flyspray/lang/fr/authenticate.php
Xshare/flyspray/lang/fr/chpass.php
Xshare/flyspray/lang/fr/details.php
Xshare/flyspray/lang/fr/functions.inc.php
Xshare/flyspray/lang/fr/index.php
Xshare/flyspray/lang/fr/loginbox.php
Xshare/flyspray/lang/fr/main.php
Xshare/flyspray/lang/fr/modify.php
Xshare/flyspray/lang/fr/newgroup.php
Xshare/flyspray/lang/fr/newtask.php
Xshare/flyspray/lang/fr/newuser.php
Xshare/flyspray/lang/fr/register.php
Xshare/flyspray/lang/fr/severity.php
Xshare/flyspray/lang/fr/status.php
Xshare/flyspray/lang/nl/admin.php
Xshare/flyspray/lang/nl/authenticate.php
Xshare/flyspray/lang/nl/chpass.php
Xshare/flyspray/lang/nl/details.php
Xshare/flyspray/lang/nl/functions.inc.php
Xshare/flyspray/lang/nl/index.php
Xshare/flyspray/lang/nl/loginbox.php
Xshare/flyspray/lang/nl/main.php
Xshare/flyspray/lang/nl/modify.php
Xshare/flyspray/lang/nl/newgroup.php
Xshare/flyspray/lang/nl/newtask.php
Xshare/flyspray/lang/nl/newuser.php
Xshare/flyspray/lang/nl/register.php
Xshare/flyspray/lang/nl/severity.php
Xshare/flyspray/lang/nl/status.php
Xshare/flyspray/scripts/admin.php
Xshare/flyspray/scripts/authenticate.php
Xshare/flyspray/scripts/chpass.php
Xshare/flyspray/scripts/details.php
Xshare/flyspray/scripts/index.php
Xshare/flyspray/scripts/loginbox.php
Xshare/flyspray/scripts/modify.php
Xshare/flyspray/scripts/newgroup.php
Xshare/flyspray/scripts/newtask.php
Xshare/flyspray/scripts/newuser.php
Xshare/flyspray/scripts/register.php
Xshare/flyspray/themes/Bluey/button.png
Xshare/flyspray/themes/Bluey/index.html
Xshare/flyspray/themes/Bluey/percent-0.png
Xshare/flyspray/themes/Bluey/percent-10.png
Xshare/flyspray/themes/Bluey/percent-100.png
Xshare/flyspray/themes/Bluey/percent-20.png
Xshare/flyspray/themes/Bluey/percent-30.png
Xshare/flyspray/themes/Bluey/percent-40.png
Xshare/flyspray/themes/Bluey/percent-50.png
Xshare/flyspray/themes/Bluey/percent-60.png
Xshare/flyspray/themes/Bluey/percent-70.png
Xshare/flyspray/themes/Bluey/percent-80.png
Xshare/flyspray/themes/Bluey/percent-90.png
Xshare/flyspray/themes/Bluey/tab-active.png
Xshare/flyspray/themes/Bluey/tab-notactive.png
Xshare/flyspray/themes/Bluey/theme.css
Xshare/flyspray/themes/Bluey/title.png
Xshare/flyspray/themes/Woodgrain/button.png
Xshare/flyspray/themes/Woodgrain/index.html
Xshare/flyspray/themes/Woodgrain/page-bg.png
Xshare/flyspray/themes/Woodgrain/page-fg.png
Xshare/flyspray/themes/Woodgrain/percent-0.png
Xshare/flyspray/themes/Woodgrain/percent-10.png
Xshare/flyspray/themes/Woodgrain/percent-100.png
Xshare/flyspray/themes/Woodgrain/percent-20.png
Xshare/flyspray/themes/Woodgrain/percent-30.png
Xshare/flyspray/themes/Woodgrain/percent-40.png
Xshare/flyspray/themes/Woodgrain/percent-50.png
Xshare/flyspray/themes/Woodgrain/percent-60.png
Xshare/flyspray/themes/Woodgrain/percent-70.png
Xshare/flyspray/themes/Woodgrain/percent-80.png
Xshare/flyspray/themes/Woodgrain/percent-90.png
Xshare/flyspray/themes/Woodgrain/theme.css
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/BUGS
X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
X%%PORTDOCS%%%%DOCSDIR%%/flyspray-0.9.4.sql
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at dirrm share/flyspray/lang/en
X at dirrm share/flyspray/lang/de
X at dirrm share/flyspray/lang/fr
X at dirrm share/flyspray/lang/nl
X at dirrm share/flyspray/lang
X at dirrm share/flyspray/themes/Bluey
X at dirrm share/flyspray/themes/Woodgrain
X at dirrm share/flyspray/themes
X at dirrm share/flyspray/scripts
X at dirrm share/flyspray
X at unexec rmdir /var/db/flyspray/attachments 2>/dev/null || true
X at unexec rmdir /var/db/flyspray 2>/dev/null || true
END-of-flyspray/pkg-plist
echo x - flyspray/pkg-deinstall
sed 's/^X//' >flyspray/pkg-deinstall << 'END-of-flyspray/pkg-deinstall'
X#!/bin/sh
X
Xcase $2 in
XDEINSTALL)
X	echo "--"
X	echo "The Flyspray program has been deleted but the bug tracking database has"
X	echo "not been touched. To delete all the bug tracking information, execute the"
X	echo "following commands:"
X	echo ""
X	echo "# rm -rf /var/db/flyspray"
X	echo "# mysqladmin -u root -p drop flyspray"
X	echo ""
X	echo "Thanks for using Flyspray!"
X	echo "--"
X;;
Xesac
END-of-flyspray/pkg-deinstall
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list