svn commit: r340583 - head/shells/mksh
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Jan 21 08:54:07 UTC 2014
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
+ at 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
More information about the svn-ports-all
mailing list