From owner-freebsd-questions@freebsd.org Mon Jul 18 23:16:25 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65555B9DA4D for ; Mon, 18 Jul 2016 23:16:25 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4933F1CA1 for ; Mon, 18 Jul 2016 23:16:25 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 44D2DB9DA4C; Mon, 18 Jul 2016 23:16:25 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44763B9DA4B for ; Mon, 18 Jul 2016 23:16:25 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C3141CA0 for ; Mon, 18 Jul 2016 23:16:24 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-io0-f173.google.com with SMTP id m101so4509394ioi.2 for ; Mon, 18 Jul 2016 16:16:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=cLRZtXV+hXut4Pg0GQEho/AMbRRUPY41wSYRJEmpi3o=; b=Vg2ZtWrNxpzWliv29VxEO+T/c4DvemGtyYTj1JwA2dZEt0rxK6IFD9ira980myzs86 HdNSgtenv2i7jE9y+6HE4ItWM4HA3uAw96DzmeDDZJqvwW4/VspbrOX3ks7pr6epsUta ousftSHw+MtnlJ3CReAeD+ReR162JPDN7mliYM73jR+gdw6dxlXz8YkKSNe73avWPI5J BCcwC8gEBui9Dj2D7b71YPGWuVgci8Etp0BNhOAsrbwee/hUDP0mbZu8NpZ13vg3a+3C 13B31sgA8wa4iIlCFJCSlCJHs1skT5DnMJPjRQwbjD3nAZVNvMW813SpNOWYTr5C7sBy GO0w== X-Gm-Message-State: ALyK8tKnQYpdEKo0E8AZjB/6Qf8TdPmbW7pF4wSx9np3FT1AfIQUSLZyOx5bq35pLTQaFA== X-Received: by 10.107.202.198 with SMTP id a189mr36817445iog.164.1468883783349; Mon, 18 Jul 2016 16:16:23 -0700 (PDT) Received: from WorkBox.Home.gmail.com (63-231-158-136.mpls.qwest.net. [63.231.158.136]) by smtp.gmail.com with ESMTPSA id h67sm2496003ioe.40.2016.07.18.16.16.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jul 2016 16:16:22 -0700 (PDT) References: User-agent: mu4e 0.9.16; emacs 24.5.1 From: Brandon J. Wandersee To: "Dan Mahoney\, System Admin" Cc: questions@freebsd.org Subject: Re: Way to have portsnap follow the same ports tree PKG uses? In-reply-to: Date: Mon, 18 Jul 2016 18:16:21 -0500 Message-ID: <86oa5u4jwa.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 23:16:25 -0000 Dan Mahoney, System Admin writes: > Hey all, > > There's some disconnect between the ports tree and pkg-ng -- there's no > good, easy way to say "I want to build this port with some custom options, > but I want all the dependencies installed via pkg. (You can get run-time > dependencies by installing it and removing it, then building your port -- > but this still doesn't help build-time dependencies, which usually result > in a string of "crap, crap, ctrl-c, pkg-install [build dependency], rinse > repeat" > > That said, since recent versions of FreeBSD started following the > quarterly build cycles, it means that if you build a port against whatever > portstap pulls in, it can potentially require newer versions of libraries > than what you sanely have installed. > > My question is: is there a way to have portsnap pull down the same > "quarterly" that the pkg tree is being built against? And if so, can it > be made the default? portsnap can only fetch from the HEAD of the ports tree Subversion repo. You need to use Subversion to actually fetch the quarterly branch. The alternative is to change the package repository from "quarterly" to "latest," as per the instructions found at the top of /etc/pkg/FreeBSD.conf. The former will give you all quarterly packages and ports; the latter, all rolling-release packages and ports. You may also be interested in ports-mgmt/synth, which is capable of mixing packages and ports while avoiding conflicts. You can configure it to fetch packages when possible (that is, when custom port options don't conflict with default package options), including build dependencies. -- :: Brandon J. Wandersee :: brandon.wandersee@gmail.com :: -------------------------------------------------- :: 'The best design is as little design as possible.' :: --- Dieter Rams ----------------------------------