From owner-freebsd-ports-bugs@freebsd.org Sun Jul 12 16:59:41 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CB23D3692C4 for ; Sun, 12 Jul 2020 16:59:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B4Y0s53W6z3WwX for ; Sun, 12 Jul 2020 16:59:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AD5783693A9; Sun, 12 Jul 2020 16:59:41 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD1F636925F for ; Sun, 12 Jul 2020 16:59:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B4Y0s4CD0z3WrX for ; Sun, 12 Jul 2020 16:59:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 73B8C278A8 for ; Sun, 12 Jul 2020 16:59:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 06CGxfEq096454 for ; Sun, 12 Jul 2020 16:59:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06CGxfea096453 for ports-bugs@FreeBSD.org; Sun, 12 Jul 2020 16:59:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247933] devel/readline: inputrc is not read from LOCALBASE Date: Sun, 12 Jul 2020 16:59:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2020 16:59:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247933 Bug ID: 247933 Summary: devel/readline: inputrc is not read from LOCALBASE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: michael.osipov@siemens.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org libreadline's build setup does not pass sysconfdir down to rlconf.h. This l= ead to the fact that inputrc is NOT read from LOCALBASE/etc/inputrc, but from /etc/inputrc. Looking at the grep output: > [root@bsd1srv /usr/ports/devel/readline/work/readline-8.0]# grep -ri /etc= /inputrc . > ./rlconf.h:#define SYS_INPUTRC "/etc/inputrc" > ./doc/readline.0: the ultimate default is /etc/inputrc. When a = program which uses the > ./doc/readline.0: ing directive would read /etc/inputrc: > ./doc/readline.0: $include /etc/inputrc > ./doc/rluser.texi:@file{/etc/inputrc}. > ./doc/rluser.texi:For example, the following directive reads from @file{/= etc/inputrc}: > ./doc/rluser.texi:$include /etc/inputrc > ./doc/rluser.texi:# assignments from /etc/Inputrc > ./doc/rluser.texi:$include /etc/Inputrc > Binary file ./doc/readline.dvi matches > ./doc/rluserman.info:ultimate default is '/etc/inputrc'. > ./doc/rluserman.info: directive reads from '/etc/inputrc': > ./doc/rluserman.info: $include /etc/inputrc > ./doc/rluserman.info: # assignments from /etc/Inputrc > ./doc/rluserman.info: $include /etc/Inputrc > Binary file ./doc/rluserman.dvi matches > ./doc/readline.ps:Fs(/etc/inputrc)p Ft(.)275 2483 y(When)e(a)h(program)f(= whic)m(h)h(uses) > ./doc/readline.ps:(from)630 2849 y Fs(/etc/inputrc)p Ft(:)870 2984 y Fs($= include)46 > ./doc/readline.ps:b(/etc/inputrc)150 3183 y Fi(1.3.3)63 b(Sample)41 b(Ini= t)g(File)150 > ./doc/readline.ps:(/etc/Inputrc)390 1395 y($include)f(/etc/Inputrc)390 > ./doc/readline.info:ultimate default is '/etc/inputrc'. > ./doc/readline.info: directive reads from '/etc/inputrc': > ./doc/readline.info: $include /etc/inputrc > ./doc/readline.info: # assignments from /etc/Inputrc > ./doc/readline.info: $include /etc/Inputrc > ./doc/readline.html:`/etc/inputrc'. > ./doc/readline.html:For example, the following directive reads from `= /etc/inputrc': > ./doc/readline.html:
 
$i=
nclude /etc/inputrc
> ./doc/readline.html:# assignments from /etc/Inputrc
> ./doc/readline.html:$include /etc/Inputrc
> ./doc/readline.3:.IR /etc/inputrc .
> ./doc/readline.3:would read \fI/etc/inputrc\fP:
> ./doc/readline.3:\fB$include\fP \^ \fI/etc/inputrc\fP
> ./doc/rluserman.ps:Fn(/etc/inputrc)p Fo(.)275 2483 y(When)e(a)h(program)f=
(whic)m(h)h(uses)
> ./doc/rluserman.ps:(from)630 2849 y Fn(/etc/inputrc)p Fo(:)870 2984 y Fn(=
$include)46
> ./doc/rluserman.ps:b(/etc/inputrc)150 3183 y Fd(1.3.3)63 b(Sample)41 b(In=
it)g(File)150
> ./doc/rluserman.ps:(/etc/Inputrc)390 1395 y($include)f(/etc/Inputrc)390
> ./doc/rluserman.html:`/etc/inputrc'.
> ./doc/rluserman.html:For example, the following directive reads from =
`/etc/inputrc':
> ./doc/rluserman.html:
 
$=
include /etc/inputrc
> ./doc/rluserman.html:# assignments from /etc/Inputrc
> ./doc/rluserman.html:$include /etc/Inputrc
> ./bind.c:     4. /etc/inputrc

The cheapest fix is to modify rlconf.h. The better one to fix docs too, of
course.
As a smooth path of migration, one could apply the same scheme as ca_root_n=
ss
does. Symlink from /etc/inputrc to LOCALBASE/etc/inputrc and note this in
UPDATING. This would completely decouple this port from base.

--=20
You are receiving this mail because:
You are the assignee for the bug.=