Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 05:13:56 +1100
From:      Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
To:        papowell@astart.com, freebsd-ports@freebsd.org
Subject:   Re: BIND REPLACE_BASE option
Message-ID:  <54B954E4.8080507@heuristicsystems.com.au>
In-Reply-To: <54B9336D.6090901@astart.com>
References:  <D029D964D3A96A570922090C@ogg.in.absolight.net> <ee422bd630292fe6f7bc5439799667de@lhaven.homeip.net> <2A3ABE9AE68B3CE8E1B7C1A1@ogg.in.absolight.net> <20150113163324.299F27E9@hub.freebsd.org> <20150114080033.GE33449@droso.dk> <20150114153427.63AD7C0A@hub.freebsd.org> <54B696BF.5020901@FreeBSD.org> <20150114163443.280B1ED9@hub.freebsd.org> <20150115084803.GM33449@droso.dk> <20150115170017.3CB64A96@hub.freebsd.org> <54B9336D.6090901@astart.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 17/01/2015 2:51 AM, Patrick Powell wrote:
> On 01/15/15 09:00, Roger Marquis wrote:
>>> This sounds like you, like many other people have done in the past,
>>> have
>>> built an in-house solution based on the tools available at the time,
>>> which includes 'make package'
>>
>> I wouldn't call it an in-house solution since the package target is a
>> feature of the ports infrastructure.  We simply 'make package' and
>> install other systems from the resulting package.
>>
>> This does not, however, appear to be as well supported by portsng/pkgng
>> as it was in the previous versions.  Now it just exits with no message
>> and a 0 exit-code without creating the package unless you've created
>> /usr/ports/packages and/or specified one or more of WRKDIRPREFIX,
>> PACKAGES and PKGREPOSITORY.
>>
>> What documentation there is seems to be based on older versions (like
>> much of the FreeBSD website) and I haven't found anything on the
>> differences between 'make package' and Poudriere.
>>
>> Roger
>> _______________________________________________
>> freebsd-ports@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>>
> This is actually a side effect of the STAGING implementation.  The
> package file is put into the
> port (created) work sub directory.   Now if I could only find the
> documentation that tells me how to put, say,
> WORK_DIRECTORY=/var/tmp/work  into the /etc/make.conf file or
> something similar I would be
> a very (well, not so grumpy) happy camper.  I read this somewhere once
> but I cannot find
> it again.  WRKDIRPREFIX?  WORKDIRPREFIX?
>
Patrick,
We have these in make.conf that may help with your research
WRKDIRPREFIX=   /var/ports
DISTDIR=        /usr/distfiles
TMPDIR=         /tmp
PACKAGES=       /packages
STAGEDIR= /usr/staging

which we've used for many years.  Only STAGEDIR was recently added.  Its
a great aid when you commence a rebuild to just
rm -R /usr/staging /var/ports/usr
Regards, Dewayne.


-- 
For the talkers: “The superior man acts before he speaks, and afterwards speaks according to his action.”
For everyone else: “Life is really simple, but we insist on making it complicated.”




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54B954E4.8080507>