summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-03-06 18:33:21 +0000
committerrecht <recht@pkgsrc.org>2004-03-06 18:33:21 +0000
commit7352aa5b4920532c886ea0adf26d813d20898650 (patch)
treed3345ed6e3fd5b82322610063545298486ffb0ba /databases
parentac6748f330c0b9a0c86128e5d9f28bcbe65ea677 (diff)
downloadpkgsrc-7352aa5b4920532c886ea0adf26d813d20898650.tar.gz
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.
Diffstat (limited to 'databases')
-rw-r--r--databases/gnats4/DESCR6
-rw-r--r--databases/gnats4/MESSAGE18
-rw-r--r--databases/gnats4/Makefile37
-rw-r--r--databases/gnats4/PLIST57
-rw-r--r--databases/gnats4/distinfo6
-rw-r--r--databases/gnats4/patches/patch-aa22
-rw-r--r--databases/gnats4/patches/patch-ab13
7 files changed, 159 insertions, 0 deletions
diff --git a/databases/gnats4/DESCR b/databases/gnats4/DESCR
new file mode 100644
index 00000000000..5439e4f8fa1
--- /dev/null
+++ b/databases/gnats4/DESCR
@@ -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.
diff --git a/databases/gnats4/MESSAGE b/databases/gnats4/MESSAGE
new file mode 100644
index 00000000000..4575c140c5b
--- /dev/null
+++ b/databases/gnats4/MESSAGE
@@ -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"
+
+===========================================================================
diff --git a/databases/gnats4/Makefile b/databases/gnats4/Makefile
new file mode 100644
index 00000000000..f40b4038c7c
--- /dev/null
+++ b/databases/gnats4/Makefile
@@ -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"
diff --git a/databases/gnats4/PLIST b/databases/gnats4/PLIST
new file mode 100644
index 00000000000..bbacff80eaa
--- /dev/null
+++ b/databases/gnats4/PLIST
@@ -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
diff --git a/databases/gnats4/distinfo b/databases/gnats4/distinfo
new file mode 100644
index 00000000000..7933e031b3a
--- /dev/null
+++ b/databases/gnats4/distinfo
@@ -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
diff --git a/databases/gnats4/patches/patch-aa b/databases/gnats4/patches/patch-aa
new file mode 100644
index 00000000000..190de3c0328
--- /dev/null
+++ b/databases/gnats4/patches/patch-aa
@@ -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 \
diff --git a/databases/gnats4/patches/patch-ab b/databases/gnats4/patches/patch-ab
new file mode 100644
index 00000000000..9c9f2487a9c
--- /dev/null
+++ b/databases/gnats4/patches/patch-ab
@@ -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