From owner-freebsd-pkg@FreeBSD.ORG Tue May 6 01:18:01 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 979A5342 for ; Tue, 6 May 2014 01:18:01 +0000 (UTC) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24B6BB1C for ; Tue, 6 May 2014 01:18:00 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id c11so3788825lbj.24 for ; Mon, 05 May 2014 18:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=ZJJMzGsdnhAXrzdCg+ji1jBhubtVBYFSAqTqGdWQ7f0=; b=IjrJaTvG7NpRESIDVWFWhUvWRiwzQ8zQow7Gsf0sed3gti/1AeOz1P3RrdwgIOPIRX Lu8579uy0oZLFjprt8gK4RXIaqS5bBFnP65TvoyKmCTz4KPCcSCMO5qVqXQTZQsnPJxL lrxltd3KVps+ryW5SuU0X8is2JCyoUYsWAsnnyYvVhfUVPrHNgauVGFQIaGIzZI8pAoQ xhS8Cr4SX8QjD6VBI5LmUhV/Uc8cESNYNjaIU/vZ3Sgxk5VVBQx8NBTQ6IKduiN9D2Mt P0bSVrx/F1pCbZOKCwnJqDo8jefVxYX9XjLT3TgEwtpkSwYzWJ5d2g6vIFFwfO6aVsFk 8cyQ== MIME-Version: 1.0 X-Received: by 10.152.6.131 with SMTP id b3mr10542539laa.9.1399339079119; Mon, 05 May 2014 18:17:59 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.67.73 with HTTP; Mon, 5 May 2014 18:17:59 -0700 (PDT) Date: Mon, 5 May 2014 18:17:59 -0700 X-Google-Sender-Auth: fMzn3ynFZygXxX9lKyyK6knfq8I Message-ID: Subject: How to overlay "local ports" directories onto ports tree, build with poudriere? From: Craig Rodrigues To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 01:18:01 -0000 Hi, In /usr/src/Makefile.inc1, there is a variable: LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list" By appending to LOCAL_DIRS, you can add your own directories to the list of things that "make buildworld" will build. Is there an equivalent trick in the ports tree? The reason why I am asking is as follows. I am migrating the FreeNAS build to use poudriere. In FreeNAS we have: (1) Our own copy of the FreeBSD ports tree, which is branched from the main FreeBSD ports tree (2) A list of our own local ports In order to get poudriere to build all of these ports, I found that it was necessary to: (1) Take our FreeBSD ports tree (2) Copy directories from our own local ports tree, into the FreeBSD ports tree (3) Take the combined tree created in (2), and pass that as an argument to poudriere I would like to eliminate step (2). Instead of copying, I tried to nullfs mount our local ports into the FreeBSD ports tree, and then pass that as an argument to poudriere. However, when poudriere created the jails, the local ports didn't seem to be visible in the ports tree used by the jails. Is there a better way to overlay a list of local ports onto the main FreeBSD ports tree, without copying files? Thanks. -- Craig