Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Aug 2017 03:00:31 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: src/libexec/Makefile damaged fails to build rshd
Message-ID:  <201708070100.v7710VXs082612@fire.js.berklix.net>
In-Reply-To: Your message "Sun, 06 Aug 2017 15:01:41 -0700." <969B03EF-3471-4AC6-AC54-787C79E369F8@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Ngie Cooper (yaneurabeya)" wrote:
> > On Aug 6, 2017, at 13:47, Julian H. Stacey <jhs@berklix.com> wrote:
> >=20
> > Hi, Reference:
> >> From:		"Julian H. Stacey" <jhs@berklix.com>
> >> Date:		Sun, 06 Aug 2017 22:25:02 +0200
> >=20
> > "Julian H. Stacey" wrote:
> >>>>> The half baked mod. to src/libexec/Makefile could be backed out
> >>=20
> >> I was wrong, sorry, code is not half baked, cos further down I =
> spotted :
> >> 	.if ${MK_RCMDS} !=3D "no"
> >> 	_rlogind=3D       rlogind
> >> 	_rshd=3D          rshd
> >> 	.endif
> >>=20
> >> cd /usr/src; find . -type f | xargs grep MK_RCMDS | grep -v Makefile:
> >> 	./tools/build/mk/OptionalObsoleteFiles.inc:.if ${MK_RCMDS} =3D=3D =
> no
> >>=20
> >> I'm reading that while make world continues.
> >=20
> > Finaly found it, after guessing some shell might roll MK_RCMDS from
> > a list including RCMDS, & finding man src.conf with WITH_RCMDS
> > Took me a while to find.  Thanks Ngie for your time.
> 
> Hi Julian,
> 	Oh, ok.
> 	Yes, the default for MK_RCMDS was changed recently from on to =
> off. UPDATING also mentions it.
> 	You must have upgraded from a major version to another recently =
> or over a several month period =E2=80=94 MK_* has been enhanced quite a =
> bit over the past few months to =E2=80=9Cbetter respect optional =
> features=E2=80=9D. I left things on by default for POLA sake, but =
> you=E2=80=99re free to remove them as need be. The defaults may change =
> in the future (as you discovered with MK_RCMDS).
> Cheers,
> -Ngie
> 
> $ svn blame ^/head/share/mk/src.opts.mk | grep RCMDS
> 320530        jlh     RCMDS \
> $ svn log -c 320530 ^/
> ------------------------------------------------------------------------
> r320530 | jlh | 2017-07-01 03:04:42 -0700 (Sat, 01 Jul 2017) | 12 lines
> 
> Disable RCMDS by default.
> 
> This was announced in this thread:
> https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018239.html
> 
> Applying plan proposed by ngie@ in:
> https://lists.freebsd.org/pipermail/freebsd-arch/2017-June/018249.html
> 
> The port has been submitted as net/bsdrcmds in r444814.
> 
> Approved by:    bapt, roberto, and others
> 
> ------------------------------------------------------------------------
> $ grep -n 20170701 -A 2 UPDATING
> 66:20170701:
> 67-     WITHOUT_RCMDS is now the default. Set WITH_RCMDS if you need =
> them to be
> 68-     built with the base system.

Thanks Ngie, nicely documented, I've added to my src.conf WITH_RCMDS=YES
& installed ports/net/bsdrcmds & noted the useful svn syntax examples.

For any trying syntax with a local repository, these work:
 svn blame file:///usr/svn/base/head/share/mk/src.opts.mk | grep RCMDS
 svn log -c 320530 file:///usr/svn/base/

Cheers,
Julian
-- 
Julian H. Stacey, Computer Consultant, BSD Linux Unix Systems Engineer, Munich
 Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable.
 http://berklix.eu/brexit/#3,500,000_stolen_votes_inc_700,000_in_EU



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