initial import of gnats 4.0

GNATS was designed as a tool for software maintainers. It consists of several
utilities which, when used in concert, formulate and administer a database of
Problem Reports grouped by site-defined problem categories. It allows a
support organization to keep track of problems (hence the term Problem Report)
in an organized fashion. Essentially, GNATS acts as an active archive for
field-separated textual data.
This commit is contained in:
recht 2004-03-06 18:33:21 +00:00
parent 8175aa6a4a
commit 53682691cc
7 changed files with 159 additions and 0 deletions

6
databases/gnats4/DESCR Normal file
View file

@ -0,0 +1,6 @@
GNATS was designed as a tool for software maintainers. It consists of several
utilities which, when used in concert, formulate and administer a database of
Problem Reports grouped by site-defined problem categories. It allows a
support organization to keep track of problems (hence the term Problem Report)
in an organized fashion. Essentially, GNATS acts as an active archive for
field-separated textual data.

18
databases/gnats4/MESSAGE Normal file
View file

@ -0,0 +1,18 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2004/03/06 18:33:22 recht Exp $
See http://www.gnu.org/software/gnats/ for the official web page
and don't forget to run ${PREFIX}/libexec/gnats/mkcat as gnats.
Add the following line to /etc/inetd.conf to activate GNATS:
support stream tcp nowait gnats ${PREFIX}/libexec/gnats/gnatsd gnatsd
Add something like this into the crontab to process incoming bug reports:
*/5 * * * * ${PREFIX}/libexec/gnats/queue-pr -r
To accept PRs by mail you'll need some new mail aliases too, e.g.
gnats-admin: postmaster
bugs: "| ${PREFIX}/libexec/gnats/queue-pr -q"
query-pr: "| ${PREFIX}/libexec/gnats/mail-query"
===========================================================================

37
databases/gnats4/Makefile Normal file
View file

@ -0,0 +1,37 @@
# $NetBSD: Makefile,v 1.1.1.1 2004/03/06 18:33:21 recht Exp $
#
DISTNAME= gnats-4.0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gnats/
COMMENT= GNATS bug tracking system
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_GNU_TOOLS+= m4 make
USE_BISON= yes
USE_MAKEINFO= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
INFO_FILES= gnats.info gnats-faq.info
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/share/emacs/site-lisp
GNATS_HOME= ${PREFIX}/share/gnats/gnats-db
PKG_USERS= gnats:daemon::GNATS\\ database\\ owner:${GNATS_HOME}:${SH}
MAKE_DIRS= ${PREFIX}/share/gnats
MAKE_DIRS+= ${PREFIX}/libexec/gnats
OWN_DIRS_PERMS= ${GNATS_HOME} gnats daemon 755
OWN_DIRS_PERMS+= ${GNATS_HOME}/gnats-queue gnats daemon 755
OWN_DIRS_PERMS+= ${GNATS_HOME}/pending gnats daemon 755
OWN_DIRS_PERMS+= ${GNATS_HOME}/gnats-adm gnats daemon 755
OWN_DIRS_PERMS+= ${GNATS_HOME}/gnats-adm/locks gnats daemon 755
MESSAGE_SUBST+= PREFIX="${PREFIX}"
.include "../../mk/bsd.pkg.mk"

57
databases/gnats4/PLIST Normal file
View file

@ -0,0 +1,57 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/06 18:33:21 recht Exp $
bin/edit-pr
bin/getclose
bin/install-sid
bin/query-pr
bin/send-pr
etc/gnats/databases
etc/gnats/defaults/addresses
etc/gnats/defaults/categories
etc/gnats/defaults/classes
etc/gnats/defaults/dbconfig
etc/gnats/defaults/gnatsd.user_access
etc/gnats/defaults/responsible
etc/gnats/defaults/states
etc/gnats/defaults/submitters
etc/gnats/gnatsd.host_access
info/gnats-faq.info
info/gnats.info
info/gnats.info-1
info/gnats.info-2
info/gnats.info-3
info/gnats.info-4
info/gnats.info-5
info/gnats.info-6
libexec/gnats/at-pr
libexec/gnats/check-db
libexec/gnats/delete-pr
libexec/gnats/diff-prs
libexec/gnats/file-pr
libexec/gnats/gen-index
libexec/gnats/gnats-pwconv
libexec/gnats/gnatsd
libexec/gnats/mail-agent
libexec/gnats/mail-query
libexec/gnats/mkcat
libexec/gnats/mkdb
libexec/gnats/pr-age
libexec/gnats/pr-edit
libexec/gnats/queue-pr
libexec/gnats/rmcat
man/man1/edit-pr.1
man/man1/query-pr.1
man/man1/send-pr.1
man/man5/databases.5
man/man5/dbconfig.5
man/man7/gnats.7
man/man8/delete-pr.8
man/man8/file-pr.8
man/man8/gen-index.8
man/man8/gnatsd.8
man/man8/mkcat.8
man/man8/mkdb.8
man/man8/pr-edit.8
man/man8/queue-pr.8
man/man8/rmcat.8
@dirrm etc/gnats/defaults
@dirrm etc/gnats

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2004/03/06 18:33:22 recht Exp $
SHA1 (gnats-4.0.tar.gz) = 910c87aa4fa95277f96e3277b225a196bf235684
Size (gnats-4.0.tar.gz) = 1561192 bytes
SHA1 (patch-aa) = e7a000501277041a61475b5ad0df587e7a9d018d
SHA1 (patch-ab) = 8f1b4c35629e70ed1a7c6e6ea0b9bb610cfd7d70

View file

@ -0,0 +1,22 @@
$NetBSD: patch-aa,v 1.1.1.1 2004/03/06 18:33:22 recht Exp $
--- gnats/Makefile.in.orig 2003-07-27 01:23:17.000000000 +0200
+++ gnats/Makefile.in 2003-10-16 15:46:10.000000000 +0200
@@ -91,7 +91,7 @@
INSTALL = $(srcdir)/../install-sh -c
INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
SUB_INSTALL = `echo $(INSTALL) | sed 's,^\([^/]\),../\1,'`
@@ -386,7 +386,7 @@
$(INSTALL_SCRIPT) edit-pr $(bindir)/edit-pr
$(INSTALL_SCRIPT) $(srcdir)/diff-prs $(libexecdir)/gnats/diff-prs
$(INSTALL_SCRIPT) mail-agent $(libexecdir)/gnats/mail-agent
- $(INSTALL_PROGRAM) file-pr $(libexecdir)/gnats/file-pr
+ $(INSTALL_SCRIPT) file-pr $(libexecdir)/gnats/file-pr
$(INSTALL_PROGRAM) pr-age $(libexecdir)/gnats/pr-age
$(INSTALL_PROGRAM) pr-edit $(libexecdir)/gnats/pr-edit
@if [ `whoami` = root -o `whoami` = $(GNATS_USER) ] ; then \

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1.1.1 2004/03/06 18:33:22 recht Exp $
--- send-pr/Makefile.in.orig 2003-10-16 15:36:52.000000000 +0200
+++ send-pr/Makefile.in 2003-10-16 15:37:04.000000000 +0200
@@ -59,7 +59,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
CFLAGS = -g
LDFLAGS = -g