From owner-freebsd-ports Sun Jan 5 5:10: 5 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA0C437B401 for ; Sun, 5 Jan 2003 05:10:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 480A643EA9 for ; Sun, 5 Jan 2003 05:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h05DA2NS040803 for ; Sun, 5 Jan 2003 05:10:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h05DA2mG040802; Sun, 5 Jan 2003 05:10:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C69B37B401 for ; 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 ; 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 Reply-To: Philip Paeps To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/46781: shells/scponly - pkg-plist incorrect Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46781 >Category: ports >Synopsis: shells/scponly - pkg-plist incorrect >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 05 05:10:02 PST 2003 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message