From owner-freebsd-pkg@FreeBSD.ORG Tue Apr 15 19:19:39 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F13D6B6 for ; Tue, 15 Apr 2014 19:19:39 +0000 (UTC) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::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 D12EB124C for ; Tue, 15 Apr 2014 19:19:38 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id pv20so7162656lab.24 for ; Tue, 15 Apr 2014 12:19:36 -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=EWoN0cLUhi8p1cgaplZYgJR6giyKTzM/AOm7z1EoCpA=; b=QEPa3631GfL+D1Hzyv2uih4lsxqBkIVvh9iK1tezi/6auk1jH7VipcH1bLvV8YL1Ok ip53eRW9XWbIjF2H+anjI4LcLknL+zDo7ySiov5H2253/f1Qpit0P4aPt0ZkixhRzdIy LNTG8y//iIwdOgqLqyuau/drfO4NZsQlUPniIxBeWHmmz4Qxeg72vYXGOORJIVCTr6WA x6xVadyPbpBY+ouu+Vq/jxe/Y7Eg2C9V70xIpzaoM1q604q9KExgdMpHNt8B7X6AfKyq g8Cf4vdp5WNGoIKswUrK4ilyg3LZh6sw7rpc4UeeLpurWj5AVFqKhYZogIJDZJXMO9xC HOYg== MIME-Version: 1.0 X-Received: by 10.152.3.72 with SMTP id a8mr2366457laa.33.1397589576310; Tue, 15 Apr 2014 12:19:36 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.169.68 with HTTP; Tue, 15 Apr 2014 12:19:36 -0700 (PDT) Date: Tue, 15 Apr 2014 12:19:36 -0700 X-Google-Sender-Auth: oQOHXWB2pNSJhMs_lLu2OMwnSsY Message-ID: Subject: How to set per-port options using 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.17 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, 15 Apr 2014 19:19:39 -0000 Hi, If you look at this file: https://github.com/freenas/freenas/blob/poudriere/nanobsd/os-ports You will see how we specify the list of ports to build for inclusion in FreeNAS. I have managed to take that and generate a list which can be used as input to "poudriere bulk -f". How can I take the list of per-port options in that file and translate that to per-port options which can be used as input to poudriere? Here is one example: add_port_debug net/samba41 \ OPTIONS_FILE_SET+=ACL_SUPPORT \ OPTIONS_FILE_SET+=ADS \ OPTIONS_FILE_SET+=AIO_SUPPORT \ OPTIONS_FILE_UNSET+=AVAHI \ OPTIONS_FILE_UNSET+=CUPS \ OPTIONS_FILE_SET+=DEBUG \ OPTIONS_FILE_UNSET+=DEVELOPER \ OPTIONS_FILE_SET+=DNSUPDATE \ OPTIONS_FILE_SET+=EXP_MODULES \ OPTIONS_FILE_SET+=FAM_SUPPORT \ OPTIONS_FILE_SET+=LDAP \ OPTIONS_FILE_SET+=MANPAGES \ OPTIONS_FILE_SET+=MDNSRESPONDER \ OPTIONS_FILE_SET+=PAM_SMBPASS \ OPTIONS_FILE_SET+=PTHREADPOOL \ OPTIONS_FILE_SET+=QUOTAS \ OPTIONS_FILE_UNSET+=SWAT \ OPTIONS_FILE_SET+=SYSLOG \ OPTIONS_FILE_SET+=UTMP \ OPTIONS_FILE_SET+=WINBIND \ OPTIONS_FILE_SET+=NSUPDATE \ OPTIONS_FILE_UNSET+=BIND98 \ OPTIONS_FILE_UNSET+=BIND99 Thanks. -- Craig