From owner-freebsd-current@freebsd.org Mon Aug 7 01:00:57 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4603FDD4630 for ; Mon, 7 Aug 2017 01:00:57 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E052A74920 for ; Mon, 7 Aug 2017 01:00:55 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (pD9FA8365.dip0.t-ipconnect.de [217.250.131.101]) (authenticated bits=128) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id v7710GLF056087 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Aug 2017 01:00:20 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id v7710naU011466; Mon, 7 Aug 2017 03:00:49 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id v7710VXs082612; Mon, 7 Aug 2017 03:00:43 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201708070100.v7710VXs082612@fire.js.berklix.net> To: "Ngie Cooper (yaneurabeya)" cc: freebsd-current@freebsd.org Subject: Re: src/libexec/Makefile damaged fails to build rshd From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Sun, 06 Aug 2017 15:01:41 -0700." <969B03EF-3471-4AC6-AC54-787C79E369F8@gmail.com> Date: Mon, 07 Aug 2017 03:00:31 +0200 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 01:00:57 -0000 "Ngie Cooper (yaneurabeya)" wrote: > > On Aug 6, 2017, at 13:47, Julian H. Stacey wrote: > >=20 > > Hi, Reference: > >> From: "Julian H. Stacey" > >> 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