Date: Mon, 3 Feb 2014 16:49:38 GMT From: Volodymyr Kostyrko <arcade@b1t.name> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/186412: WITHOUT_NIS support for ObsoleteFiles.inc Message-ID: <201402031649.s13Gnc20024288@oldred.freebsd.org> Resent-Message-ID: <201402031650.s13Go0Ni006059@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186412 >Category: misc >Synopsis: WITHOUT_NIS support for ObsoleteFiles.inc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 03 16:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Volodymyr Kostyrko >Release: stable/10 >Organization: none >Environment: FreeBSD ar1l0u 10.0-STABLE FreeBSD 10.0-STABLE #37 r261432M: Mon Feb 3 12:03:22 EET 2014 arcade@ar1l0u:/usr/obj/usr/src/sys/MINIMAL amd64 >Description: lang/python27 incorporates incorrect check for NIS checking for presence of /usr/sbin/ypcat (which still can be present and outdated) or WITHOUT_NIS (which should actually go to src.conf and thus should be invisible from ports Makefiles). Probable examples: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186351 http://www.freebsd.org/cgi/query-pr.cgi?pr=186192&cat=ports I created a simple patch that adds support for NIS to ObsoleteFiles so we can deal with leftover files ones and for all. There are still some questions I haven't answered. /etc/rc.d/ contains number of NIS scripts that are not part of WITH_NIS build and are installed unconditionally. Should I fix their installation/removal too? >How-To-Repeat: >Fix: Patch attached with submission follows: Index: tools/build/mk/OptionalObsoleteFiles.inc =================================================================== --- tools/build/mk/OptionalObsoleteFiles.inc (revision 261432) +++ tools/build/mk/OptionalObsoleteFiles.inc (working copy) @@ -3356,7 +3356,33 @@ .endif #.if ${MK_NIS} == no -# to be filled in +OLD_FILES+=usr/sbin/ypbind +OLD_FILES+=usr/sbin/ypinit +OLD_FILES+=usr/sbin/yppoll +OLD_FILES+=usr/sbin/yppush +OLD_FILES+=usr/sbin/ypserv +OLD_FILES+=usr/sbin/ypset +OLD_FILES+=usr/share/man/man1/ypcat.1.gz +OLD_FILES+=usr/share/man/man1/ypchfn.1.gz +OLD_FILES+=usr/share/man/man1/ypchpass.1.gz +OLD_FILES+=usr/share/man/man1/ypchsh.1.gz +OLD_FILES+=usr/share/man/man1/ypmatch.1.gz +OLD_FILES+=usr/share/man/man1/yppasswd.1.gz +OLD_FILES+=usr/share/man/man1/ypwhich.1.gz +OLD_FILES+=usr/share/man/man5/netid.5.gz +OLD_FILES+=usr/share/man/man8/mknetid.8.gz +OLD_FILES+=usr/share/man/man8/rpc.yppasswdd.8.gz +OLD_FILES+=usr/share/man/man8/rpc.ypxfrd.8.gz +OLD_FILES+=usr/share/man/man8/yp_mkdb.8.gz +OLD_FILES+=usr/share/man/man8/ypbind.8.gz +OLD_FILES+=usr/share/man/man8/ypinit.8.gz +OLD_FILES+=usr/share/man/man8/yppoll.8.gz +OLD_FILES+=usr/share/man/man8/yppush.8.gz +OLD_FILES+=usr/share/man/man8/ypserv.8.gz +OLD_FILES+=usr/share/man/man8/ypset.8.gz +OLD_FILES+=usr/share/man/man8/ypxfr.8.gz +OLD_FILES+=var/yp/Makefile +OLD_FILES+=var/yp/Makefile.dist #.endif #.if ${MK_NLS} == no >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402031649.s13Gnc20024288>
