Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 09:55:44 GMT
From:      Makoto Kishimoto <ksmakoto@dd.iij4u.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188221: [patch] In pkg-plist file in shells in ports, @exec entry must locate just after path of executable
Message-ID:  <201404030955.s339ti9M025964@cgiserv.freebsd.org>
Resent-Message-ID: <201404031000.s33A00vM058313@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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