pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/gnats Update using the databases/gnats4 pack...
details: https://anonhg.NetBSD.org/pkgsrc/rev/50f6b526f8f4
branches: trunk
changeset: 483345:50f6b526f8f4
user: soren <soren%pkgsrc.org@localhost>
date: Wed Nov 10 21:34:46 2004 +0000
description:
Update using the databases/gnats4 package. gnats3 has numerous security
problems and is no longer supported.
diffstat:
databases/gnats/DESCR | 13 +++----
databases/gnats/MESSAGE | 4 +-
databases/gnats/Makefile | 55 +++++++++++--------------------
databases/gnats/PLIST | 69 +++++++++++++++------------------------
databases/gnats/distinfo | 15 ++-----
databases/gnats/patches/patch-aa | 47 +++++++++++----------------
databases/gnats/patches/patch-ab | 39 ++++++----------------
databases/gnats/patches/patch-ac | 16 ---------
databases/gnats/patches/patch-ad | 12 ------
databases/gnats/patches/patch-ae | 24 -------------
databases/gnats/patches/patch-af | 13 -------
databases/gnats/patches/patch-ag | 17 ---------
12 files changed, 88 insertions(+), 236 deletions(-)
diffs (truncated from 424 to 300 lines):
diff -r 790b5e523d5a -r 50f6b526f8f4 databases/gnats/DESCR
--- a/databases/gnats/DESCR Wed Nov 10 21:08:11 2004 +0000
+++ b/databases/gnats/DESCR Wed Nov 10 21:34:46 2004 +0000
@@ -1,7 +1,6 @@
-GNATS is the GNU Problem Report Management System.
-
-GNATS is a problem tracking system written to help report on, and track,
-problem reports or bugs. GNATS is currently in use at Cygnus to help track
-all incoming bug reports. There are many concepts or approaches to GNATS
-which are only useful to organizations which track bugs related by
-customers as well as by bug type.
+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 -r 790b5e523d5a -r 50f6b526f8f4 databases/gnats/MESSAGE
--- a/databases/gnats/MESSAGE Wed Nov 10 21:08:11 2004 +0000
+++ b/databases/gnats/MESSAGE Wed Nov 10 21:34:46 2004 +0000
@@ -1,7 +1,7 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.5 2003/05/30 22:14:29 seb Exp $
+$NetBSD: MESSAGE,v 1.6 2004/11/10 21:34:46 soren Exp $
-See http://sourceware.cygnus.com/gnats/ for the official web page
+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:
diff -r 790b5e523d5a -r 50f6b526f8f4 databases/gnats/Makefile
--- a/databases/gnats/Makefile Wed Nov 10 21:08:11 2004 +0000
+++ b/databases/gnats/Makefile Wed Nov 10 21:34:46 2004 +0000
@@ -1,28 +1,32 @@
-# $NetBSD: Makefile,v 1.13 2004/03/06 18:27:47 recht Exp $
+# $NetBSD: Makefile,v 1.14 2004/11/10 21:34:46 soren Exp $
+#
-DISTNAME= gnats-3.113.1
-CATEGORIES= devel
+DISTNAME= gnats-4.0
+CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
-MAINTAINER= tech-pkg%NetBSD.org@localhost
+MAINTAINER= recht%NetBSD.org@localhost
HOMEPAGE= http://www.gnu.org/software/gnats/
-COMMENT= Cygnus GNATS bug tracking system
+COMMENT= GNATS bug tracking system
-USE_PKGINSTALL= YES
-GNU_CONFIGURE= YES
-USE_GNU_TOOLS+= m4 make
-USE_BISON= yes
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+USE_GNU_TOOLS+= m4 make
+USE_BISON= yes
+USE_MAKEINFO= yes
+TEXINFO_REQD= 4.6
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
-USE_MAKEINFO= YES
-INFO_FILES= gnats.info send-pr.info
+INFO_FILES= gnats.info gnats-faq.info
-CONFIGURE_ARGS= --with-lispdir=${PREFIX}/share/emacs/site-lisp \
- --with-full-gnats \
- --with-release-based
+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}:/bin/sh
+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
@@ -31,25 +35,4 @@
MESSAGE_SUBST+= PREFIX="${PREFIX}"
-# this stops the configuration program from pulling installation
-# information in from the standard NetBSD send-pr program
-CONFIGURE_ENV= SEND_PR=/dev/null
-
-# the gnats distribution comes with a lot of baggage we don't want to install
-# just install gnats
-INSTALL_TARGET= install-gnats install-send-pr
-
-PLIST_SRC= ${WRKSRC}/.PLIST
-
-post-build:
- (cd ${WRKSRC}/gnats; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} info)
- (cd ${WRKSRC}/send-pr; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} info)
-
-post-install:
- (cd ${WRKSRC}/gnats; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} install-info)
- (cd ${WRKSRC}/send-pr; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} install-info)
- ${LS} ${PREFIX}/share/gnats/dist/send-pr.info* | \
- ${SED} -e 's,^${PREFIX}/,,' > ${PLIST_SRC}
- ${CAT} ${.CURDIR}/PLIST >> ${PLIST_SRC}
-
.include "../../mk/bsd.pkg.mk"
diff -r 790b5e523d5a -r 50f6b526f8f4 databases/gnats/PLIST
--- a/databases/gnats/PLIST Wed Nov 10 21:08:11 2004 +0000
+++ b/databases/gnats/PLIST Wed Nov 10 21:34:46 2004 +0000
@@ -1,66 +1,49 @@
-@comment $NetBSD: PLIST,v 1.6 2004/01/20 18:05:35 seb Exp $
+@comment $NetBSD: PLIST,v 1.7 2004/11/10 21:34:46 soren Exp $
bin/edit-pr
bin/getclose
bin/install-sid
-bin/nedit-pr
-bin/nquery-pr
bin/query-pr
bin/send-pr
-bin/sub-type
+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
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-edit-pr
+libexec/gnats/gnats-pwconv
libexec/gnats/gnatsd
+libexec/gnats/mail-agent
libexec/gnats/mail-query
libexec/gnats/mkcat
-libexec/gnats/mkdist
-libexec/gnats/npr-addr
-libexec/gnats/npr-edit
-libexec/gnats/pr-addr
+libexec/gnats/mkdb
libexec/gnats/pr-age
libexec/gnats/pr-edit
-libexec/gnats/pr-mail
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/mkcat.8
-man/man8/mkdist.8
-man/man8/queue-pr.8
+man/man8/delete-pr.8
man/man8/file-pr.8
-man/man8/rmcat.8
man/man8/gen-index.8
-share/emacs/site-lisp/gnats.el
-share/emacs/site-lisp/send-pr.el
-share/gnats/cygnus
-share/gnats/dist/COPYING
-share/gnats/dist/INSTALL
-share/gnats/dist/MANIFEST
-share/gnats/dist/README
-share/gnats/dist/categ.texi
-share/gnats/dist/fields.texi
-share/gnats/dist/install-sid.sh
-share/gnats/dist/s-usage.texi
-share/gnats/dist/send-pr-el.in
-share/gnats/dist/send-pr.1
-share/gnats/dist/send-pr.sh
-share/gnats/dist/send-pr.texi
-share/gnats/dist/states.texi
-share/gnats/dist/texinfo.tex
-share/gnats/dist/version.texi
-share/gnats/gnats-db/gnats-adm/addresses
-share/gnats/gnats-db/gnats-adm/categories
-share/gnats/gnats-db/gnats-adm/classes
-share/gnats/gnats-db/gnats-adm/config
-share/gnats/gnats-db/gnats-adm/gnatsd.access
-share/gnats/gnats-db/gnats-adm/gnatsd.conf
-share/gnats/gnats-db/gnats-adm/responsible
-share/gnats/gnats-db/gnats-adm/states
-share/gnats/gnats-db/gnats-adm/submitters
-@dirrm libexec/gnats
-@dirrm share/gnats/dist
+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 -r 790b5e523d5a -r 50f6b526f8f4 databases/gnats/distinfo
--- a/databases/gnats/distinfo Wed Nov 10 21:08:11 2004 +0000
+++ b/databases/gnats/distinfo Wed Nov 10 21:34:46 2004 +0000
@@ -1,11 +1,6 @@
-$NetBSD: distinfo,v 1.3 2004/01/20 17:37:58 seb Exp $
+$NetBSD: distinfo,v 1.4 2004/11/10 21:34:46 soren Exp $
-SHA1 (gnats-3.113.1.tar.gz) = ad4dbafae3e643c61dbcacb721a1e11a803c67aa
-Size (gnats-3.113.1.tar.gz) = 1120985 bytes
-SHA1 (patch-aa) = f9fda77cd1d7bd3fc320ce70c258ed199201cd6f
-SHA1 (patch-ab) = 2622209755ad5a23f59c816fc949df9260bd16bf
-SHA1 (patch-ac) = 350a1a408b6a50604978e085f7363be30d3d7c50
-SHA1 (patch-ad) = 84e99baec317293d902bc684ca49f290c4e1272a
-SHA1 (patch-ae) = 65bf94093274397e857a4138d48ff98cbd9be38a
-SHA1 (patch-af) = 5ef643f2f5d3c7b3f124afcb7a7ffe69ef748bb1
-SHA1 (patch-ag) = ae8f5cbd1b5bc71fb6c6a88992c66d3e9d21534a
+SHA1 (gnats-4.0.tar.gz) = 910c87aa4fa95277f96e3277b225a196bf235684
+Size (gnats-4.0.tar.gz) = 1561192 bytes
+SHA1 (patch-aa) = e7a000501277041a61475b5ad0df587e7a9d018d
+SHA1 (patch-ab) = 8f1b4c35629e70ed1a7c6e6ea0b9bb610cfd7d70
diff -r 790b5e523d5a -r 50f6b526f8f4 databases/gnats/patches/patch-aa
--- a/databases/gnats/patches/patch-aa Wed Nov 10 21:08:11 2004 +0000
+++ b/databases/gnats/patches/patch-aa Wed Nov 10 21:34:46 2004 +0000
@@ -1,31 +1,22 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/10/11 11:42:26 martti Exp $
+$NetBSD: patch-aa,v 1.2 2004/11/10 21:34:46 soren Exp $
---- Makefile.in.orig Thu Nov 5 11:54:07 1998
-+++ Makefile.in Fri Jan 21 10:04:50 2000
-@@ -68,7 +68,7 @@
- HOST_PREFIX_1 = loser-
-
- # These flag values are normally overridden by the configure script.
--CFLAGS = -g
-+CFLAGS+= -g
- CXXFLAGS = -g -O2
-
- LIBCFLAGS = $(CFLAGS)
-@@ -121,7 +121,7 @@
+--- 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 @@
- M4 = `if [ -f $$r/m4/m4 ] ; \
- then echo $$r/m4/m4 ; \
-- else echo m4 ; fi`
-+ else echo gm4 ; fi`
+ INSTALL = $(srcdir)/../install-sh -c
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+-INSTALL_SCRIPT = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_DATA = @INSTALL_DATA@
- MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
- then echo $$r/texinfo/makeinfo/makeinfo ; \
-@@ -313,7 +313,7 @@
- "AR_FLAGS=$(AR_FLAGS)" \
- "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
- "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
-- "BISON=$(BISON)" \
-+ "BISON=$(YACC)" \
- "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
- "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
- "CFLAGS=$(CFLAGS)" \
+ 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 -r 790b5e523d5a -r 50f6b526f8f4 databases/gnats/patches/patch-ab
--- a/databases/gnats/patches/patch-ab Wed Nov 10 21:08:11 2004 +0000
+++ b/databases/gnats/patches/patch-ab Wed Nov 10 21:34:46 2004 +0000
@@ -1,30 +1,13 @@
-$NetBSD: patch-ab,v 1.2 2003/06/29 12:54:58 seb Exp $
+$NetBSD: patch-ab,v 1.3 2004/11/10 21:34:46 soren Exp $
---- gnats/Makefile.in.orig 2001-05-08 17:23:36.000000000 +0000
-+++ gnats/Makefile.in
-@@ -127,7 +127,6 @@ LIBS = @LIBS@
- KRBINCLUDE = @KRBINCLUDE@
-
- M4 = @M4@
--MAKEINFO = makeinfo
- TEXI2DVI = texi2dvi
-
- # Where to find texinfo.tex to format docs with TeX
-@@ -465,7 +464,7 @@ gnats.elc: gnats.el $(srcdir)/../send-pr
+--- 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@
Home |
Main Index |
Thread Index |
Old Index