]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
phttpget: move out of portsnap
authorkevans <kevans@FreeBSD.org>
Wed, 9 Sep 2020 00:39:47 +0000 (00:39 +0000)
committerkevans <kevans@FreeBSD.org>
Wed, 9 Sep 2020 00:39:47 +0000 (00:39 +0000)
commit4fe89ca6594fe0d16d45c47a776817f838dc1474
tree5f297ec6378479069c021a8e5989797467ea8863
parent0fedd7bda3276ef2ec4df440f08476e0f1976e64
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.

Reported by: swills
Reviewed by: jilles, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26255
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]
tools/build/mk/OptionalObsoleteFiles.inc
usr.sbin/portsnap/Makefile