From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 19 18:10:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D975D1065672 for ; Sat, 19 May 2012 18:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 991E88FC21 for ; Sat, 19 May 2012 18:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4JIA1Tp058741 for ; Sat, 19 May 2012 18:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4JIA1PH058740; Sat, 19 May 2012 18:10:01 GMT (envelope-from gnats) Resent-Date: Sat, 19 May 2012 18:10:01 GMT Resent-Message-Id: <201205191810.q4JIA1PH058740@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rob Windsor Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 730E4106567E for ; Sat, 19 May 2012 18:01:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD548FC1B for ; Sat, 19 May 2012 18:01:14 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4JI1DM0057597 for ; Sat, 19 May 2012 18:01:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4JI1Dw3057596; Sat, 19 May 2012 18:01:13 GMT (envelope-from nobody) Message-Id: <201205191801.q4JI1Dw3057596@red.freebsd.org> Date: Sat, 19 May 2012 18:01:13 GMT From: Rob Windsor To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/168140: pdksh install munges ksh93 entry in /etc/shells X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 18:10:01 -0000 >Number: 168140 >Category: ports >Synopsis: pdksh install munges ksh93 entry in /etc/shells >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 19 18:10:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Rob Windsor >Release: 9.0p1 >Organization: >Environment: FreeBSD atlas 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Install ksh93 $ cat /etc/shells # $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $ # # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/sh /bin/csh /bin/tcsh /usr/local/bin/ksh93 Now install pdksh $ cat /etc/shells # $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $ # # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/sh /bin/csh /bin/tcsh /usr/local/bin/ksh >How-To-Repeat: uninstall pdksh uninstall ksh93 clean up /etc/shells (if needed) install ksh93 install pdksh cat /etc/shells >Fix: update line in ports/shells/pdksh/Makefile that does @(${GREP} -v ${PREFIX}/bin/ksh /etc/shells.bak ... to something like ${PREFIX}/bin/ksh\$ (test how you escape $ for functionality, don't use above example verbatum) >Release-Note: >Audit-Trail: >Unformatted: