make install package?
Fleuriot Damien
ml at my.gd
Fri Jan 11 10:12:07 UTC 2013
On Jan 10, 2013, at 10:21 PM, Fbsd8 <fbsd8 at a1poweruser.com> wrote:
> Gökşin Akdeniz wrote:
>> Thu, 10 Jan 2013 14:04:59 -0500 tarihinde
>> Fbsd8 <fbsd8 at 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
More information about the freebsd-questions
mailing list