Re: make packages

2007-05-28 Thread Albert Shih
 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=portsapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html

Thanks.

 
  You are probably interested in *make package*

Wellthe 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».

Regards.


--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Lun 28 mai 2007 12:25:15 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make packages

2007-05-28 Thread Thanos Rizoulis

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=portsapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html

You are probably interested in *make package*


--
RTFM and STFW before anything bad happens
_
Thanos Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make packages

2007-05-28 Thread Giorgos Keramidas
On 2007-05-28 12:27, Albert Shih [EMAIL PROTECTED] 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=portsapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html
 
 Thanks.
 
  You are probably interested in *make package*
 
 Wellthe 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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make packages

2007-05-28 Thread Garrett Cooper

Giorgos Keramidas wrote:

On 2007-05-28 12:27, Albert Shih [EMAIL PROTECTED] 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=portsapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html

Thanks.


 You are probably interested in *make package*

Wellthe 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make packages

2007-05-28 Thread Giorgos Keramidas
On 2007-05-28 10:50, Garrett Cooper [EMAIL PROTECTED] wrote:
 Giorgos Keramidas wrote:
  ,---
  | $ 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.

You're right.  I picked a port with no set-uid files, and
overgeneralized based on that port's files.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]