rpcbind: Adapt to merged-/usr changes. Changed --bindir to /usr/sbin so

that rpcinfo still appears in the right place
This commit is contained in:
Douglas R. Reno 2021-06-06 17:43:38 -05:00
parent 2081610ed3
commit d6c4d88187
2 changed files with 10 additions and 4 deletions

View File

@ -45,6 +45,9 @@
<listitem>
<para>June 6th, 2021</para>
<itemizedlist>
<listitem>
<para>[renodr] - Adapt rpcbind to merged-/usr changes.</para>
</listitem>
<listitem>
<para>[renodr] - Update to evolution-data-server-3.40.2. Part of
<ulink url="&blfs-ticket-root;15118">#15118</ulink>.</para>

View File

@ -119,11 +119,15 @@ useradd -c "RPC Bind Daemon Owner" -d /dev/null -g rpc \
commands:
</para>
<!-- Previously, there were switches for bindir= and sbindir= pointing to /sbin
However, with a DESTDIR= install after merged-/usr changes, I think we can
just run bindir=/usr/sbin to get rpcinfo in /usr/sbin, and leave sbindir=
alone. -renodr -->
<screen revision="sysv"><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch &amp;&amp;
./configure --prefix=/usr \
--bindir=/sbin \
--sbindir=/sbin \
--bindir=/usr/sbin \
--with-rpcuser=root \
--enable-warmstarts \
--without-systemdsystemunitdir &amp;&amp;
@ -132,8 +136,7 @@ make</userinput></screen>
<screen revision="systemd"><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch &amp;&amp;
./configure --prefix=/usr \
--bindir=/sbin \
--sbindir=/sbin \
--bindir=/usr/sbin \
--enable-warmstarts \
--with-rpcuser=rpc &amp;&amp;
make</userinput></screen>