From owner-freebsd-ports@freebsd.org Wed Aug 5 22:47:10 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C0E9F3AAE43 for ; Wed, 5 Aug 2020 22:47:10 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from p-impout001.msg.pkvw.co.charter.net (p-impout001aa.msg.pkvw.co.charter.net [47.43.26.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMRZj3Vkrz4LNG for ; Wed, 5 Aug 2020 22:47:08 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id 3SBakNU3n9Ggi3SBakxpiC; Wed, 05 Aug 2020 22:47:02 +0000 X-Authority-Analysis: v=2.3 cv=Cb52G4jl c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=DBwwDor5xuMA:10 a=YKFFwBFcfLrfhwAUcpAA:9 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Re: [HEADS UP] Planned deprecation of portsnap References: <2b2b28ea-827f-fc62-3e6a-f8b6fa064e76@selasky.org> X-CMAE-Envelope: MS4wfHgSm9OFJrQCrySQ2QhkfgFIaTcmPl0ZcP/t5coiohGjuC1v8ePF+jKGDgJewRCjoYPEhIN3wlg0M2/gECiA7ZxzZEbfgFvxTTBD4IOhkQZ/5sww72Ws +cUGtOohzKZCcXPI3c4wZJS+aClQJL6X7PmV7jAtA+4D+eibsH2LjGuz X-Rspamd-Queue-Id: 4BMRZj3Vkrz4LNG X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 47.43.26.132 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [3.18 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.05)[-0.049]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[47.43.26.132:from]; FREEMAIL_FROM(0.00)[twc.com]; MISSING_DATE(1.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; MISSING_MID(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.60)[-0.604]; NEURAL_SPAM_LONG(0.64)[0.636]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[twc.com]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 05 Aug 2020 22:47:10 -0000 X-List-Received-Date: Wed, 05 Aug 2020 22:47:10 -0000 from Hans Petter Selasky: > Maybe some silly questions already answered: > 1) portsnap is populating /usr/ports . Is this location still hardcoded > for ports tree installations, or can it be installed anywhere? > 2) Should portsnap be a wrapper for GIT/SVN whatever is used? > 3) Should /usr/ports be removed from any mtree files? > HPS Ports tree location is not hardcoded to /usr/ports. Because of multiple FreeBSD installations and wanting to install the ports tree redundantly, I have one /usr/ports and, from the other FreeBSD installations, use BETA1 as a mount point, so I get /BETA1/usr/ports. There was a bug beginning somewhere around FreeBSD 11.1 or 11.2, whereby running make (such as "make all-depends-list"), would be very messy if ports directory was not /usr/ports. I was able to create a workaround by setting MAKESYSPATH=/usr/share/mk (environment variable). Another workaround was to set ports directory to /usr/ports using a null mount. Tom