From owner-svn-ports-all@FreeBSD.ORG Tue Jan 21 08:54:07 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D920E4C; Tue, 21 Jan 2014 08:54:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1A36C1447; Tue, 21 Jan 2014 08:54:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0L8s69B070416; Tue, 21 Jan 2014 08:54:06 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0L8s6hs070414; Tue, 21 Jan 2014 08:54:06 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201401210854.s0L8s6hs070414@svn.freebsd.org> From: Emanuel Haupt Date: Tue, 21 Jan 2014 08:54:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340583 - head/shells/mksh X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 08:54:07 -0000 Author: ehaupt Date: Tue Jan 21 08:54:06 2014 New Revision: 340583 URL: http://svnweb.freebsd.org/changeset/ports/340583 QAT: https://qat.redports.org/buildarchive/r340583/ Log: This fixes /etc/shells. Due to the incorrect order of pkg-plist prior to exec/unexec the path to the manpage was written to /etc/shells. Modified: head/shells/mksh/Makefile head/shells/mksh/pkg-plist Modified: head/shells/mksh/Makefile ============================================================================== --- head/shells/mksh/Makefile Tue Jan 21 08:44:31 2014 (r340582) +++ head/shells/mksh/Makefile Tue Jan 21 08:54:06 2014 (r340583) @@ -3,6 +3,7 @@ PORTNAME= mksh DISTVERSION= R49 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/ \ http://pub.allbsd.org/MirOS/dist/mir/mksh/ Modified: head/shells/mksh/pkg-plist ============================================================================== --- head/shells/mksh/pkg-plist Tue Jan 21 08:44:31 2014 (r340582) +++ head/shells/mksh/pkg-plist Tue Jan 21 08:54:06 2014 (r340583) @@ -1,5 +1,6 @@ -bin/mksh man/man1/mksh.1.gz +@comment Please mind the order. bin/mksh needs to come right before the exec/unexec magic. +bin/mksh @exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak @unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.mkshrc