Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 08:54:06 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340583 - head/shells/mksh
Message-ID:  <201401210854.s0L8s6hs070414@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401210854.s0L8s6hs070414>