Subject: pkg/18713: some tweaks for databases/gnats/DESCR
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 10/19/2002 15:18:12
>Number:         18713
>Category:       pkg
>Synopsis:       some tweaks for databases/gnats/DESCR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 19 12:20:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc-current 2002/10/18
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:

	if the DESCR file for gnats is going to suggest crontab entries
	then it should do it right

	also suggestions should be made for /etc/aliases entries too.

	maybe these should be in a MESSAGE file instead.  however putting
	them in the MESSAGE file makes it easier to find them later when
	you finally get around to trying to make it all work.....

	and maybe the package should use the new mk/bsd.pkg.install.mk
	in order to create the 'gnats' user, but I'll leave that for now
	too. 

>How-To-Repeat:

>Fix:

Index: databases/gnats/DESCR
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/databases/gnats/DESCR,v
retrieving revision 1.1
diff -c -r1.1 DESCR
*** databases/gnats/DESCR	1 Nov 2001 00:11:41 -0000	1.1
--- databases/gnats/DESCR	19 Oct 2002 19:13:03 -0000
***************
*** 17,24 ****
  
      support stream tcp nowait gnats /usr/pkg/libexec/gnats/gnatsd gnatsd
  
! Add something like this into the crontab to process incoming bug reports:
  
      */5 * * * * /usr/pkg/libexec/gnats/queue-pr -r
  
  Don't forget to run /usr/pkg/libexec/gnats/mkcat as gnats.
--- 17,35 ----
  
      support stream tcp nowait gnats /usr/pkg/libexec/gnats/gnatsd gnatsd
  
! Add something like this into the a crontab for 'gnats' to process
! incoming bug reports:
  
      */5 * * * * /usr/pkg/libexec/gnats/queue-pr -r
+ 
+ or in /etc/crontab as:
+ 
+     */5 * * * * gnats /usr/pkg/libexec/gnats/queue-pr -r
+ 
+ To accept PRs by mail you'll want some new aliases too:
+ 
+ 	gnats-admin:	postmaster
+ 	bugs:		"| /usr/pkg/libexec/gnats/queue-pr -q"
+ 	query-pr:	"| /usr/pkg/libexec/gnats/mail-query"
  
  Don't forget to run /usr/pkg/libexec/gnats/mkcat as gnats.
>Release-Note:
>Audit-Trail:
>Unformatted: