Re: make install package?
On Jan 10, 2013, at 10:21 PM, Fbsd8 fb...@a1poweruser.com wrote: Gökşin Akdeniz wrote: Thu, 10 Jan 2013 14:04:59 -0500 tarihinde Fbsd8 fb...@a1poweruser.com yazmış: What is the default path for the packages to be stored in? Is it /usr/packages? It is /usr/ports/packages/All. If that is indeed the default location, how do I get the make install package command put it there automatically? All packages will be stored in /usr/ports/packages/All/relevant/sub/directory. There is no need for any any configuration or files. # make package is the proper command for building packages which are/is installed via ports. Is the upcoming pkgng going to have any effect on this? Funny you should ask, I was toying with that just yesterday, as a matter of fact. Works well with pkgng, it lets me create static packages of already installed ports: # pkg create -nao /usr/ports/packages/All Then creating the repo.txz file for use by clients is rather easy # pkg repo -qf /usr/ports/packages And then, on your client host: # /usr/local/etc/pkg.conf PACKAGESITE : http://195.158.241.101 # pkg stats Local package database: Installed packages: 158 Disk space occupied: 797 MB Remote package database(s): Number of repositories: 1 Packages available: 182 Unique packages: 182 Total size of packages: 648 MB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
make install package?
When I do a make install package command the package gets stored in the directory I am in. What is the default path for the packages to be stored in? Is it /usr/packages? If that is indeed the default location, how do I get the make install package command put it there automatically? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make install package?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/10/13 2:04 PM, Fbsd8 wrote: When I do a make install package command the package gets stored in the directory I am in. What is the default path for the packages to be stored in? Is it /usr/packages? If that is indeed the default location, how do I get the make install package command put it there automatically? By default, it is /usr/ports/packages. To make sure your packages are stored there, make sure that directory exists. Once it does, cd to your favorite port directory and run this command: make -V PKGFILE The output should indicate that the package will be created in /usr/ports/packages instead of the local directory. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDvExQACgkQ0sRouByUApDaEQCfZazvazW5gHFSf7aj+G6Rjq9z B+oAn32bn6060dXlfgMxht8xO6zyE5Tj =jHKR -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make install package?
Thu, 10 Jan 2013 14:04:59 -0500 tarihinde Fbsd8 fb...@a1poweruser.com yazmış: What is the default path for the packages to be stored in? Is it /usr/packages? It is /usr/ports/packages/All. If that is indeed the default location, how do I get the make install package command put it there automatically? All packages will be stored in /usr/ports/packages/All/relevant/sub/directory. There is no need for any any configuration or files. # make package is the proper command for building packages which are/is installed via ports. -- Gökşin Akdeniz goksin.akde...@gmail.com pgpJSYQXvYDeE.pgp Description: PGP signature
Re: make install package?
Gökşin Akdeniz wrote: Thu, 10 Jan 2013 14:04:59 -0500 tarihinde Fbsd8 fb...@a1poweruser.com yazmış: What is the default path for the packages to be stored in? Is it /usr/packages? It is /usr/ports/packages/All. If that is indeed the default location, how do I get the make install package command put it there automatically? All packages will be stored in /usr/ports/packages/All/relevant/sub/directory. There is no need for any any configuration or files. # make package is the proper command for building packages which are/is installed via ports. Is the upcoming pkgng going to have any effect on this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make install package?
On 10/01/2013 21:21, Fbsd8 wrote: Is the upcoming pkgng going to have any effect on this? No. The layout of /usr/ports/packages is controlled at a rather lower level by the Makefiles in /usr/ports/Mk. pkgng doesn't really care about this layout in any case since pkgng repositories don't need anything like it. Instead, they have repository catalogues which can fulfil all your package finding needs. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature