From root@vitaya.be  Sun Jan  5 05:09:30 2003
Return-Path: <root@vitaya.be>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4C69B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Jan 2003 05:09:30 -0800 (PST)
Received: from alcestis.vitaya.be (vitaya.be [195.95.4.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5ADBE43EB2
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Jan 2003 05:09:29 -0800 (PST)
	(envelope-from root@vitaya.be)
Received: by alcestis.vitaya.be (Postfix, from userid 0)
	id C2EF09899; Sun,  5 Jan 2003 14:09:12 +0100 (CET)
Message-Id: <20030105130912.C2EF09899@alcestis.vitaya.be>
Date: Sun,  5 Jan 2003 14:09:12 +0100 (CET)
From: Philip Paeps <philip@vitaya.be>
Reply-To: Philip Paeps <philip@paeps.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: shells/scponly - pkg-plist incorrect
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46781
>Category:       ports
>Synopsis:       shells/scponly - pkg-plist incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 05 05:10:02 PST 2003
>Closed-Date:    Sun Jan 05 10:30:41 PST 2003
>Last-Modified:  Sun Jan 05 10:30:41 PST 2003
>Originator:     Philip Paeps
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD alcestis.vitaya.be 4.7-STABLE FreeBSD 4.7-STABLE #3: Fri Dec 13 14:00:19 CET 2002 philip@alcestis.vitaya.be:/usr/obj/usr/src/sys/ALCESTIS i386

>Description:
	
	After the update to scponly 3.4, I noticed that the binary moved from
	${LOCALBASE}/sbin to ${LOCALBASE}/bin.  I don't mind that change (well, I
	did, as some users couldn't log in because their shell was set to sbin),
	but the pkg-plist still says sbin, whilst the port installs in bin.

>How-To-Repeat:
	
	Install shells/scponly.  The port will install in ${LOCALBASE}/bin.  When
	using portupgrade to upgrade a previous version, the old version in sbin
	will vanish, and the new version will appear in bin.

>Fix:

	There're two ways to fix this.  The one I prefer is just to change the
	pkg-plist to say 'bin' instead of 'sbin'.  I think the shell is 'better'
	placed in bin than sbin, as other shells (also those in the base-system)
	also live in bin.

	The second approach would be to modify the port's Makefile.in to pop the
	binary into sbin instead of bin.  This would have as advantage that people
	upgrading wouldn't find users locked out...

	Dilemma :-)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sun Jan 5 10:30:33 PST 2003 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46781 
>Unformatted:
