ports/188221: [patch] In pkg-plist file in shells in ports, @exec entry must locate just after path of executable

Makoto Kishimoto ksmakoto at dd.iij4u.or.jp
Thu Apr 3 10:00:01 UTC 2014


>Number:         188221
>Category:       ports
>Synopsis:       [patch] In pkg-plist file in shells in ports, @exec entry must locate just after path of executable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 10:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Makoto Kishimoto
>Release:        10.0-RELEASE
>Organization:
private
>Environment:
FreeBSD norikura.localdomain 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Currently, for some shells in HEAD of ports, after install, /etc/shells has wrong line for "/usr/local/man/man1/ksh.1.gz" or "/usr/local/man/man1/44bsd-csh.1.gz" (etc... may be some others).

In pkg-plist file in shells in ports, @exec entry must locate just after path of executable.
>How-To-Repeat:
install ports
>Fix:
see patch

Patch attached with submission follows:

Index: 44bsd-csh/pkg-plist
===================================================================
--- 44bsd-csh/pkg-plist	(revision 349903)
+++ 44bsd-csh/pkg-plist	(working copy)
@@ -1,4 +1,4 @@
 bin/44bsd-csh
-man/man1/44bsd-csh.1.gz
 @exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
 @unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
+man/man1/44bsd-csh.1.gz
Index: pdksh/pkg-plist
===================================================================
--- pdksh/pkg-plist	(revision 349903)
+++ pdksh/pkg-plist	(working copy)
@@ -1,4 +1,4 @@
 bin/ksh
-man/man1/ksh.1.gz
 @exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
 @unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
+man/man1/ksh.1.gz


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list