Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 10:50:44 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Albert Shih <Albert.Shih@obspm.fr>, Thanos Rizoulis <apatewna@yahoo.gr>, freebsd-questions@freebsd.org
Subject:   Re: make packages
Message-ID:  <465B1674.9000602@u.washington.edu>
In-Reply-To: <20070528171536.GB69126@kobe.laptop>
References:  <20070528095033.GA70364@pcjas.obspm.fr> <465AABE0.7040509@yahoo.gr>	<20070528102734.GB83851@pcjas.obspm.fr> <20070528171536.GB69126@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote:
> On 2007-05-28 12:27, Albert Shih <Albert.Shih@obspm.fr> wrote:
>> Le 28/05/2007 ? 13:16:00+0300, Thanos Rizoulis a ?crit
>>> O/H Albert Shih ??????:
>>>> Hi All
>>>> I would like when a make install in any ports the system make a tbz in
>>>> /usr/ports/packages/All every time and WITHOUT any option in command line
>>>> (because there many people on the server).
>>>> Where can I put some option to do that ?
>>>  Assuming you are using FreeBSD 6.2 Release:
>>>
>>>  man ports
>>>  http://www.freebsd.org/cgi/man.cgi?query=ports&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html
>> Thanks.
>>
>>>  You are probably interested in *make package*
>> Well....the problem is (like I said) there many «admin» in this server and
>> I known many of them just use «make install» and forget «package». 
>>
>> What I try to do is event the user just use «make install» the system do
>> «make package install».
> 
> You can create a "package" after the fact with:
> 
>     pkg_create -b foo
> 
> Where "foo" is the name of an installed port, i.e.:
> 
> ,-----------------------------------------------------------------------
> | $ pkg_info | fgrep vim-lite
> | vim-lite-7.0.224_1  Vi "workalike", with many additional features (Lite package
> | $ pkg_create -b vim-lite-7.0.224_1
> | $ ls -ld vim-lite*
> | -rw-rw-r--  1 keramida  wheel  5347344 May 28 20:14 vim-lite-7.0.224_1.tbz
> | $
> `-----------------------------------------------------------------------
> 
> You don't even have to be root to run pkg_create, as you can see above.

Unless root is the only account that has access to the files of course.

-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?465B1674.9000602>