Subject: pkg/37385: Various database/gnats issues
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: pkgsrc-bugs
Date: 11/14/2007 14:30:01
>Number:         37385
>Category:       pkg
>Synopsis:       Various databases/gnats issues
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 14 14:30:00 +0000 2007
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 3.1_STABLE
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                      Hauke Fath
\ /    No HTML/RTF in email	          Institut für Nachrichtentechnik
 X     No Word docs in email	                    TU Darmstadt
/ \  Respect for open standards                Ruf +49-6151-16-3281
>Environment:
	
	
System: NetBSD bounce 3.1_STABLE NetBSD 3.1_STABLE (BOUNCE) #0: Thu Sep 13 13:45:05 CEST 2007 hf@Hochstuhl:/var/obj/netbsd-builds/3/i386/sys/arch/i386/compile/BOUNCE i386
Architecture: i386
Machine: i386
>Description:

	The databases/gnats package has various issues that seriously
	limit its usefulness:

	(1) The sysconfdir setup for send-pr(1) and install-sid(1) is
	incorrect, it adds an additional 'gnats/' into the directory
	path.

	(2) Per patches/patch-aa, various *-pr tools in libexec/gnats/
	are _not_ installed "setuid ${GNATS_USER}". That way, you
	cannot even file a pr unless you su to ${GNATS_USER}.

	(3) MESSAGE does not mention that you have to add
	${GNATS_SERVICE} to /etc/services.

	(4) Since NetBSD already ships /usr/bin/{send-pr,install-sid}
	and friends, the equivalents from databases/gnats should
	probably be installed under a different name (maybe prefixed),
	to avoid confusion.

	(5 There is no package for gnatsweb.) 

>How-To-Repeat:

	Install databases/gnats, and try to set it up.

>Fix:
	Yes, please.

>Unformatted: