From owner-freebsd-ports@FreeBSD.ORG Thu Sep 25 12:56:35 2014 Return-Path: Delivered-To: freebsd-ports@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 DB2A5744; Thu, 25 Sep 2014 12:56:35 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (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 9F60B9B8; Thu, 25 Sep 2014 12:56:35 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id h18so8301661igc.14 for ; Thu, 25 Sep 2014 05:56:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=BwVxUYJwj9eOib8vfqg6G1ZdJQCeJK/P5sCi1HHmOFg=; b=mrHxJbdqii4wEVRNtLAbcJOMjDpXFTpWk72TkOzZKR0rX2zi4iNg0DwZ4U8icO3jX8 MSrjt2P0KZExHt8n7Fgo/3oe7Vtr4iE1FK13uCVer6NMqoQFTIqsFWWnYIKZ4VaxNCQU vjgAoXciEGGFik2uXPCNYyVJ+nMlKsxBtFN3V+tDOBdXoWmJ1oCaJOw7qq6udtyoAifS NsQooV2BG14As5PR78NA9uug32ndF/FHuR1R8gtACZOaozUJg2VOUFS1KVvvnsddIQ8y h8lKhZPCjULLgmpCfNjHf45BETzoy80AgDlLIg3x1PhserSWiOxTaz68XmYuULIAmVlW 4pRQ== MIME-Version: 1.0 X-Received: by 10.50.22.101 with SMTP id c5mr21150501igf.29.1411649794987; Thu, 25 Sep 2014 05:56:34 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.165.73 with HTTP; Thu, 25 Sep 2014 05:56:34 -0700 (PDT) In-Reply-To: <54233850.2070807@FreeBSD.org> References: <54233850.2070807@FreeBSD.org> Date: Thu, 25 Sep 2014 08:56:34 -0400 X-Google-Sender-Auth: odr9-ZgSi1DDEvsOwVC-kkbEics Message-ID: Subject: Re: Poudriere Build of pkg_* repos? From: Rick Miller To: Bryan Drewery Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 12:56:36 -0000 On Wed, Sep 24, 2014 at 5:32 PM, Bryan Drewery wrote: > On 9/24/2014 3:35 PM, Rick Miller wrote: > > Hi all, > > > > Does the EOL of legacy pkg_* tools in FreeBSD Ports affect Poudriere's > > ability to build legacy package repos? > > No. Poudriere still supports it as long as you're using an older ports > tree. > Given that, is the expectation that the below workflow would produce an 8.4 package repo? Unfortunately, it did not. After creating an 8.4-RELEASE jail and an older, equivalent Ports tree as follows... # poudriere jail -c -j 8_4-amd64 -v 8.4-RELEASE -a amd64 # poudriere ports -c -p 8_4-amd64 -m svn+http -B branches/RELEASE_8_4_0 /usr/local/etc/poudriere.d/8_4-amd64-make.conf: WITHOUT_PKGNG=yes PERL_VERSION=5.14.4 OPTIONS_UNSET="X11 GTK2" .if ${.CURDIR:M*/shells/bash} EXTRA_PATCHES+= /distfiles/local-patches/8_4-amd64/bash.patch .endif note: above .if added to the make.conf according to the link provided below Executing poudriere bulk, as follows, results in no packages built due to numerous stage failures subsequently resulting in a bunch of skipped builds due to these failures. # poudriere bulk -j 8_4-amd64 -f $package_file -p 8_4-amd64 =================================================== make: don't know how to make stage. Stop > > > > > Poudriere was able to build a legacy pkg_* repo from a snapshot of Ports > > from around the time releng/10.0 received the patch for -p7, but it > failed > > to build a legacy repo from a snapshot taken today and instead built a > > pkg(8) repo despite make.conf having WITHOUT_PKGNG=yes. > > > > Aside: Actually, it seemed to ignore the make.conf altogether as it > > contains PERL_VERSION=5.14.4 and built 5.16 instead. > > It must be /usr/local/etc/poudriere.d/make.conf > > > > > Provided this is the case, what suggestions are there for patching > today's > > bash remote execution vulnerability[1] in a version of Ports that can be > > built into a legacy repo? > > Just apply the patch via files/ and use EXTRA_PATCHES: > > http://dan.langille.org/2014/06/10/freebsd-custom-port-patches-when-using-poudriere/ -- Take care Rick Miller