From owner-freebsd-hackers@freebsd.org Wed May 29 20:24:22 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE89F15AC488; Wed, 29 May 2019 20:24:21 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (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 4ED3E8562D; Wed, 29 May 2019 20:24:21 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id W57Lh1r5lGusjW57MhIWeJ; Wed, 29 May 2019 14:24:13 -0600 X-Authority-Analysis: v=2.3 cv=fOdHIqSe c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=E5NmQfObTbMA:10 a=pGLkceISAAAA:8 a=B6KMzFptAAAA:20 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=GO1jMW3m-7Bypqi-ZcwA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from android-9b917f0ce39da6e6.esitwifi.local (S0106788a207e2972.gv.shawcable.net [70.66.154.233]) by spqr.komquats.com (Postfix) with ESMTPSA id 2A4E8684; Wed, 29 May 2019 13:24:10 -0700 (PDT) Date: Tue, 28 May 2019 21:01:58 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <5cdb1c0b-a2dd-c754-daa3-187330ad9ad6@gmail.com> References: <5cdb1c0b-a2dd-c754-daa3-187330ad9ad6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: GSoC: Separation of Ports Build Process from Local Installation To: freebsd-hackers@freebsd.org, Theron , soc-status@freebsd.org CC: Bakul Shah ,freebsd-ports@freebsd.org From: Cy Schubert Message-ID: X-CMAE-Envelope: MS4wfD+zeNXpfJYG7N80YyKmFssDsZPSfFf5YwQHDnX3KW+8t+JdlPw14HOtAtL6HQGotyE2CZrqQBQcBeE/FWYKyJRt9hMywpieTe2q762fPpyZJ7IMRa+j 0iOyuCCJK6W9AvP45aZXeR/UH58y/qEMardwp4MM+KmAwOW6ZF3e8o3+WN47VSvM1dcN64LD0DFwp/uSTnKTf3ysQRiogqwLuLYP+HDwCC+TLh56LGovqQR4 Qku7zLUzQGFNxdr6xeFyg0DvzLEQJOrYUjblcfFUjzJe9UFEW0e4pSWb9fGBDqsTTluNJs35qCYmaP/eMSnxp7u4aFZrpAss3+/8YR5Fgns= X-Rspamd-Queue-Id: 4ED3E8562D X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.952,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2019 20:24:22 -0000 On May 28, 2019 3:51:08 PM PDT, Theron wrote: >Hello All, > >For Google Summer of Code 2019 I am working on FreeBSD's ports tree=20 >makefiles towards eliminating the dependency of the ports building=20 >process on the local system's installed packages=2E=C2=A0 Currently this = level > >of separation can only be accomplished in practice through chroot or=20 >Jail=2E=C2=A0 The project will eliminate the need for cooperation of the = root=20 >user since /usr/local will not need to be touched=2E > >The major technical obstacle to be overcome is that ports expect to >find=20 >files of their dependencies installed in /usr/local=2E=C2=A0 To support t= his=20 >without touching that location on the installed system, file accesses=20 >will be redirected to a location controlled by the ports build process=20 >through use of a library to intercept file accesses=2E > >Once I have that working (well enough to build one port at a time) I=20 >will move on to modify bsd=2Eport=2Emk itself (and related files) to >utilize=20 >this mechanism for virtual installation of port dependencies during >builds=2E > >The full project proposal can be seen at=20 >https://docs=2Egoogle=2Ecom/document/d/1B30U9csgY299W59tNraSX1LYjzsba2i04= OrYAUpdIZs/edit > >=2E > >My goal is that this work can be integrated well enough into=20 >/usr/ports/Mk so that unlike Jail, no set up work should be required >for=20 >using ports tree to build a set of installable packages=2E > >Please let me know if you are interested in this project; feedback is=20 >appreciated=2E=C2=A0 If someone would like to provide ongoing feedback or= =20 >mentorship that would be especially helpful=2E=C2=A0 Bakul Shah is my men= tor=20 >officially for GSoC but I would be happy to have additional support >from=20 >someone who is experienced with internals of the port infrastructure=20 >makefiles=2E > >Theron Tarigo >_______________________________________________ >freebsd-hackers@freebsd=2Eorg mailing list >https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to >"freebsd-hackers-unsubscribe@freebsd=2Eorg" How is this different from what poudriiere already does? --=20 Pardon the typos and autocorrect, small keyboard in use=2E Cheers, Cy Schubert FreeBSD UNIX: Web: http://www=2EFreeBSD=2Eorg The need of the many outweighs the greed of the few=2E