]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r365490-r365491: Remove FREEBSD_UPDATE dependency on PORTSNAP
authorKyle Evans <kevans@FreeBSD.org>
Sat, 12 Sep 2020 01:47:59 +0000 (01:47 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 12 Sep 2020 01:47:59 +0000 (01:47 +0000)
commit73358d217441ec3d272e360d04fe8ea0e617b799
tree1e727045fecf99d13edb4aec6ea3d29e0b866140
parenteeb9dccd39317b5726785c08b90a49bf99311b82
MFC r365490-r365491: Remove FREEBSD_UPDATE dependency on PORTSNAP

r365490:
phttpget: move out of portsnap

Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

r365491:
opts: FREEBSD_UPDATE no longer relies on PORTSNAP

phttpget is no longer tied to the portsnap build as of r365490.
libexec/Makefile
libexec/phttpget/Makefile [moved from usr.sbin/portsnap/phttpget/Makefile with 74% similarity]
libexec/phttpget/Makefile.depend [moved from usr.sbin/portsnap/phttpget/Makefile.depend with 100% similarity]
libexec/phttpget/phttpget.8 [moved from usr.sbin/portsnap/phttpget/phttpget.8 with 100% similarity]
libexec/phttpget/phttpget.c [moved from usr.sbin/portsnap/phttpget/phttpget.c with 100% similarity]
share/mk/src.opts.mk
tools/build/mk/OptionalObsoleteFiles.inc
usr.sbin/portsnap/Makefile