From owner-freebsd-questions@freebsd.org Fri Sep 6 08:41:23 2019 Return-Path: Delivered-To: freebsd-questions@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 B4A98ED34E for ; Fri, 6 Sep 2019 08:41:23 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from outmx-004.london.gridhost.co.uk (outmx-004.london.gridhost.co.uk [95.142.156.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46Prcy1d4hz43bl for ; Fri, 6 Sep 2019 08:41:21 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from curlew.milibyte.co.uk (unknown [82.71.56.121]) (Authenticated sender: mailpool@milibyte.co.uk) by outmx-004.london.gridhost.co.uk (Postfix) with ESMTPA id 415A920190572; Fri, 6 Sep 2019 09:41:20 +0100 (BST) Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.92.1) (envelope-from ) id 1i69nk-0001BS-Rv; Fri, 06 Sep 2019 09:41:04 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Cc: "@lbutlr" Subject: Re: Why i need extract not one needed port, but full catalog never needed ports? Date: Fri, 06 Sep 2019 09:41:04 +0100 Message-ID: <11703575.5MqMfjp4zD@curlew> In-Reply-To: References: <1567694626.722400563@f512.i.mail.ru> <20190905182710.9675eb8f.freebsd@edvax.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 46Prcy1d4hz43bl X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 95.142.156.27 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk X-Spamd-Result: default: False [6.69 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; IP_SCORE(1.17)[ipnet: 95.142.156.0/22(3.48), asn: 198047(2.43), country: GB(-0.08)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[milibyte.co.uk]; NEURAL_SPAM_MEDIUM(0.88)[0.881,0]; URI_COUNT_ODD(1.00)[3]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.94)[0.941,0]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[27.156.142.95.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(1.00)[0.999,0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:198047, ipnet:95.142.156.0/22, country:GB]; MID_RHS_NOT_FQDN(0.50)[]; CTE_CASE(0.50)[] X-Spam: Yes Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2019 08:41:23 -0000 On Thursday, 5 September 2019 22:22:20 BST @lbutlr wrote: > AFAIK, there=E2=80=99s no real good way to integrate a pkg install and a = ports install. It works quite well if you sync your ports tree against the version used fo= r the current pkg repository. I have a couple of packages which I build from ports because I need differe= nt options for one of them and the licensing prevents the distribution of a= binary for the other. I have no problems building and installing them when= I sync the ports tree against the pkg repository. To sync my ports tree I use a modified copy of https://gist.github.com/reed= acartwright/8622973baf89b263a6d7 . Unfortunately the script at github hasn'= t been updated since 2015 so doesn't have details of package servers for F= reeBSD versions later than 10.x but is easy to update if you can find the h= ostname of the relevant build server, e.g. beefy6.nyi.freebsd.org for 12.0 = AMD64. An ideal alternative would be if the package system could have a command wh= ich would return the SVN revision of the ports tree used for building the c= urrent repository. =2D-=20 Mike Clarke