Re: Quickly cleanroom building and installing software from ports

2014-04-09 Thread Chris Rees
I'd be delighted if out of the box it could *install* just built packages.  Can 
it do that?

Chris

On 8 April 2014 22:12:19 BST, Steven Hartland kill...@multiplay.co.uk wrote:
Look at poudriere its really good for exactly this, can even cross
build
different versions.

Regards
Steve

- Original Message - 
From: Chris Rees cr...@physics.org
To: po...@freebsd.org
Sent: Tuesday, April 08, 2014 9:45 PM
Subject: Quickly cleanroom building and installing software from ports


 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.

 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to
freebsd-ports-unsubscr...@freebsd.org
 


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

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Quickly cleanroom building and installing software from ports

2014-04-09 Thread Steven Hartland

You can pop a web server in front of its output directory, configure your
repository to point to it and then let pkg install do the yes.

Simply answer yes it can :)

- Original Message - 
From: Chris Rees cr...@bayofrum.net




I'd be delighted if out of the box it could *install* just built packages.  Can 
it do that?

Chris

On 8 April 2014 22:12:19 BST, Steven Hartland kill...@multiplay.co.uk wrote:

Look at poudriere its really good for exactly this, can even cross
build
different versions.


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Quickly cleanroom building and installing software from ports

2014-04-09 Thread Freddie Cash
On Wed, Apr 9, 2014 at 11:36 AM, Chris Rees cr...@bayofrum.net wrote:

 I'd be delighted if out of the box it could *install* just built packages.
  Can it do that?


​Poudriere is a package building tool (and repo building tool), nothing
more.

pkg(8) is how packages are installed​.  It's up to you to decide how you
want the packages installed.  Write a wrapper script around poudriere to
use pkg(8) to install the packages that were just created.



-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: Quickly cleanroom building and installing software from ports

2014-04-09 Thread Chris Rees
I think you've both misunderstood :)

I'm quite familiar with package building; this is a wrapper script you've just 
suggested!

Never mind.

Chris

On 9 April 2014 19:52:31 BST, Freddie Cash fjwc...@gmail.com wrote:
On Wed, Apr 9, 2014 at 11:36 AM, Chris Rees cr...@bayofrum.net wrote:

 I'd be delighted if out of the box it could *install* just built
packages.
  Can it do that?


​Poudriere is a package building tool (and repo building tool), nothing
more.

pkg(8) is how packages are installed​.  It's up to you to decide how
you
want the packages installed.  Write a wrapper script around poudriere
to
use pkg(8) to install the packages that were just created.



-- 
Freddie Cash
fjwc...@gmail.com

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

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: Quickly cleanroom building and installing software from ports

2014-04-08 Thread Steven Hartland

Look at poudriere its really good for exactly this, can even cross build
different versions.

   Regards
   Steve

- Original Message - 
From: Chris Rees cr...@physics.org

To: po...@freebsd.org
Sent: Tuesday, April 08, 2014 9:45 PM
Subject: Quickly cleanroom building and installing software from ports



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.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org