how do i automate building packages?

Philipp Lengemann phleng at arcor.de
Sun Nov 29 21:17:08 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sat, 28 Nov 2009 01:05:47 -0800
schrieb Gary Kline <kline at thought.org>:

> 
> 	How do I build tarballs of packages that usually wind up in 
> 	/usr/ports/packages?
> 
> 	I thought I had something in /etc/make.conf, but nope.  My
> 	build of OOo [311] recently finished on my new to-be server.  
> 	Since both the new Dell and this older Dell are running 7.2, I
> 	figure I can do any builds and move the packages across.
> 
> 	I thought I had seen foo.tgz in /usr/ports/bar/foo/; but this
> 	time, no expected tarball.  --??--  A man ports isn't very
> 	clear.  I usually type make install clean when I build
> 	anything.  If I have to start over from scratch with
> 	openoffice would I type
> 
> 	# make install package clean? Or what?
> 
> 	anybody?
> 
> 
> 

If you need packages one possibility is

# pkg_info -Ea | xargs -L1 pkg_create -b 

This will build a package of every installed port.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAksS3OAACgkQlOPmvEv31gZLcQCfTYu1X9jvr6CxgrmwgrMmavnA
36UAniyHgOkTgc5eqoyi0adt91b2FcZE
=K+9t
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list