Quickly cleanroom building and installing software from ports

Chris Rees crees at physics.org
Tue Apr 8 20:48:27 UTC 2014


Hi all,

I really enjoy using pkgng, and I love that all my packages are build on 
a clean system without any possible quirks.

I found that installing from ports is a bit of a pain on these machines 
however, because I don't have any of the development packages installed 
(gcc47 etc).  I found I ended up installing these, but didn't like the 
'pollution'.

I chucked together two scripts, buildthis and upgradethis and figured 
people might find them useful.

All you need do is install it and Tinderbox and either:

# buildthis category/port [category2/port2 ....]

or

# cd /usr/ports/category/port && buildthis

A build will be created for Tinderbox if necessary and the port will 
have a package built and installed.

Requires Tinderbox, if people want it around poudriere then please let 
me know.

Caveat emptor: I just wanted this to work for me... the code quality 
isn't anything special

http://www.bayofrum.net/cgi-bin/fossil/buildthis/tarball/buildthis-d503b895e8cc3883.tar.gz?uuid=d503b895e8cc3883dc5c6f2ed006b22ed10547ff

Chris

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the freebsd-ports mailing list