Date: Sun, 4 May 2008 21:05:16 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Gilles <gilles.ganault@free.fr>, Manolis Kiagias <sonicy@otenet.gr> Subject: Re: [6.3] Keeping host up to date Message-ID: <200805042105.17390.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <481C7F9C.9050405@otenet.gr> References: <lmuo14tfaqn8ic7376fdmlrk6cutflkbmr@4ax.com> <481C7F9C.9050405@otenet.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 03 May 2008 17:07:08 Manolis Kiagias wrote: > Gilles wrote: > > Hello > > > > I have some newbie questions: > > > > 1. Am I right in understanding that running "make ; make install" in > > /usr/ports/ turns the port into a package, so that when I run > > "pkg_info", it doesn't make any difference whether a package was > > downloaded directly from the Net or compiled locally through the Ports > > collection? > > When you compile a port, a package is created and installed (but you get > to select the options. Pre-built packages have the default options and > are usually older versions). In fact, you can even use the ports to > create packages and install them on other systems. (See man ports) Probably the most confusing thing for someone new to the ports system is: - that a port that gets installed is referred to as a package - that a tarball containing the compiled files to install a port is also called a package. When you compile and install a port, a tarball is NOT created. The 'make package' target will do this for you. Also, pre-built packages from FreeBSD-servers have the default options, or more to the point the options that are set by the PACKAGE_BUILDING switch in the port's Makefile if present. But since you can make your own packages, it is perfectly ok to use a build 'server' and upgrade 'client' machines using your own packages and your own options. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805042105.17390.fbsd.questions>