public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Only offer pre-compiled packages?
@ 2003-04-13  7:36 Michael Boman
  2003-04-13  7:40 ` Jon Portnoy
  2003-04-13  8:06 ` Abhishek Amit
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Boman @ 2003-04-13  7:36 UTC (permalink / raw
  To: Gentoo Development List

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

Is there a way to let machines only see (updated) pre-compiled packages
when they do 'emerge -p world'? I am thinking of providing a local
repository of "authorized/tested" software over NFS and when you do
'emerge world' it will take the latest version from the pre-compiled
pile of packages, totally ignoring what is availble as ebuild's from
rsync.gentoo.org or in the PORTAGE_OVERLAY dir..

Doable? How?

Best regards
 Michael Boman

-- 
Michael Boman
Security Architect, SecureCiRT Pte Ltd
http://www.securecirt.com

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Only offer pre-compiled packages?
  2003-04-13  7:36 [gentoo-dev] Only offer pre-compiled packages? Michael Boman
@ 2003-04-13  7:40 ` Jon Portnoy
  2003-04-13  7:45   ` Michael Boman
  2003-04-13  8:06 ` Abhishek Amit
  1 sibling, 1 reply; 7+ messages in thread
From: Jon Portnoy @ 2003-04-13  7:40 UTC (permalink / raw
  To: Michael Boman; +Cc: Gentoo Development List

I think the -K option for emerge does this.

On Sun, Apr 13, 2003 at 03:36:21PM +0800, Michael Boman wrote:
> Is there a way to let machines only see (updated) pre-compiled packages
> when they do 'emerge -p world'? I am thinking of providing a local
> repository of "authorized/tested" software over NFS and when you do
> 'emerge world' it will take the latest version from the pre-compiled
> pile of packages, totally ignoring what is availble as ebuild's from
> rsync.gentoo.org or in the PORTAGE_OVERLAY dir..
> 
> Doable? How?
> 
> Best regards
>  Michael Boman
> 
> -- 
> Michael Boman
> Security Architect, SecureCiRT Pte Ltd
> http://www.securecirt.com



-- 
Jon Portnoy
avenj/irc.freenode.net

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Only offer pre-compiled packages?
  2003-04-13  7:40 ` Jon Portnoy
@ 2003-04-13  7:45   ` Michael Boman
  2003-04-13  7:47     ` Jon Portnoy
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Boman @ 2003-04-13  7:45 UTC (permalink / raw
  To: Jon Portnoy; +Cc: Gentoo Development List

[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]

On Sun, Apr 13, 2003 at 03:40:02AM -0400, Jon Portnoy wrote:
> 
> I think the -K option for emerge does this.
> 
> On Sun, Apr 13, 2003 at 03:36:21PM +0800, Michael Boman wrote:
> > Is there a way to let machines only see (updated) pre-compiled packages
> > when they do 'emerge -p world'? I am thinking of providing a local
> > repository of "authorized/tested" software over NFS and when you do
> > 'emerge world' it will take the latest version from the pre-compiled
> > pile of packages, totally ignoring what is availble as ebuild's from
> > rsync.gentoo.org or in the PORTAGE_OVERLAY dir..
> > 
> > Doable? How?

From the emerge man-page:

   --usepkg (-k)
          Tells  emerge  to use binary packages (from $PKGDIR) if they are
          available, thus possibly avoiding some time-consuming  compiles.
          This   option   is  useful  for  CD  installs;  you  can  export
          PKGDIR=/mnt/cdrom/packages and then  use  this  option  to  have
          emerge  "pull"  binary  packages from the CD in order to satisfy
          dependencies.

My biggest problem is the wording
 "to use binary packages (from $PKGDIR) >>if<< they are available"

It hints that if a newer ebuild is availble it will still be compiled,
and not taken from the pre-compiled repository.

If I am wrong please let me know ;)

Best regards
 Michael Boman

-- 
Michael Boman
Security Architect, SecureCiRT Pte Ltd
http://www.securecirt.com

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Only offer pre-compiled packages?
  2003-04-13  7:45   ` Michael Boman
@ 2003-04-13  7:47     ` Jon Portnoy
  2003-04-13  8:14       ` Michael Boman
  0 siblings, 1 reply; 7+ messages in thread
From: Jon Portnoy @ 2003-04-13  7:47 UTC (permalink / raw
  To: Michael Boman; +Cc: Gentoo Development List

Capital K, which (I believe) is use binary packages only.

On Sun, Apr 13, 2003 at 03:45:21PM +0800, Michael Boman wrote:
> On Sun, Apr 13, 2003 at 03:40:02AM -0400, Jon Portnoy wrote:
> > 
> > I think the -K option for emerge does this.
> > 
> > On Sun, Apr 13, 2003 at 03:36:21PM +0800, Michael Boman wrote:
> > > Is there a way to let machines only see (updated) pre-compiled packages
> > > when they do 'emerge -p world'? I am thinking of providing a local
> > > repository of "authorized/tested" software over NFS and when you do
> > > 'emerge world' it will take the latest version from the pre-compiled
> > > pile of packages, totally ignoring what is availble as ebuild's from
> > > rsync.gentoo.org or in the PORTAGE_OVERLAY dir..
> > > 
> > > Doable? How?
> 
> From the emerge man-page:
> 
>    --usepkg (-k)
>           Tells  emerge  to use binary packages (from $PKGDIR) if they are
>           available, thus possibly avoiding some time-consuming  compiles.
>           This   option   is  useful  for  CD  installs;  you  can  export
>           PKGDIR=/mnt/cdrom/packages and then  use  this  option  to  have
>           emerge  "pull"  binary  packages from the CD in order to satisfy
>           dependencies.
> 
> My biggest problem is the wording
>  "to use binary packages (from $PKGDIR) >>if<< they are available"
> 
> It hints that if a newer ebuild is availble it will still be compiled,
> and not taken from the pre-compiled repository.
> 
> If I am wrong please let me know ;)
> 
> Best regards
>  Michael Boman
> 
> -- 
> Michael Boman
> Security Architect, SecureCiRT Pte Ltd
> http://www.securecirt.com



-- 
Jon Portnoy
avenj/irc.freenode.net

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Only offer pre-compiled packages?
  2003-04-13  7:36 [gentoo-dev] Only offer pre-compiled packages? Michael Boman
  2003-04-13  7:40 ` Jon Portnoy
@ 2003-04-13  8:06 ` Abhishek Amit
  1 sibling, 0 replies; 7+ messages in thread
From: Abhishek Amit @ 2003-04-13  8:06 UTC (permalink / raw
  To: Michael Boman; +Cc: Gentoo Development List

On 15:36 Sun 13 Apr     , Michael Boman wrote:
> Is there a way to let machines only see (updated) pre-compiled packages
> when they do 'emerge -p world'? I am thinking of providing a local
> repository of "authorized/tested" software over NFS and when you do
> 'emerge world' it will take the latest version from the pre-compiled
> pile of packages, totally ignoring what is availble as ebuild's from
> rsync.gentoo.org or in the PORTAGE_OVERLAY dir..
> 
> Doable? How?
> 
> Best regards
>  Michael Boman
> 
> -- 
> Michael Boman
> Security Architect, SecureCiRT Pte Ltd
> http://www.securecirt.com

One other way I can think of doing this is modifying your portge tree
and share the whole thing over NFS, as opposed to only sharing the
binaries. Then the computers would not need to sync using
rsync.gentoo.org, and your server could, where you could keep your tree
with only the packages you want.


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Only offer pre-compiled packages?
  2003-04-13  7:47     ` Jon Portnoy
@ 2003-04-13  8:14       ` Michael Boman
  2003-04-13 16:10         ` Jon Portnoy
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Boman @ 2003-04-13  8:14 UTC (permalink / raw
  To: Jon Portnoy; +Cc: Gentoo Development List

[-- Attachment #1: Type: text/plain, Size: 1938 bytes --]

On Sun, Apr 13, 2003 at 03:47:06AM -0400, Jon Portnoy wrote:
> 
> Capital K, which (I believe) is use binary packages only.
> 

Yes, you are correct. Please take note, the man page is out-of-date.

With capital K I belive I have what I need ;)

Thanks Jon!

Best regards
 Michael Boman

> On Sun, Apr 13, 2003 at 03:45:21PM +0800, Michael Boman wrote:
> > On Sun, Apr 13, 2003 at 03:40:02AM -0400, Jon Portnoy wrote:
> > > 
> > > I think the -K option for emerge does this.
> > > 
> > > On Sun, Apr 13, 2003 at 03:36:21PM +0800, Michael Boman wrote:
> > > > Is there a way to let machines only see (updated) pre-compiled packages
> > > > when they do 'emerge -p world'? I am thinking of providing a local
> > > > repository of "authorized/tested" software over NFS and when you do
> > > > 'emerge world' it will take the latest version from the pre-compiled
> > > > pile of packages, totally ignoring what is availble as ebuild's from
> > > > rsync.gentoo.org or in the PORTAGE_OVERLAY dir..
> > > > 
> > > > Doable? How?
> > 
> > From the emerge man-page:
> > 
> >    --usepkg (-k)
> >           Tells  emerge  to use binary packages (from $PKGDIR) if they are
> >           available, thus possibly avoiding some time-consuming  compiles.
> >           This   option   is  useful  for  CD  installs;  you  can  export
> >           PKGDIR=/mnt/cdrom/packages and then  use  this  option  to  have
> >           emerge  "pull"  binary  packages from the CD in order to satisfy
> >           dependencies.
> > 
> > My biggest problem is the wording
> >  "to use binary packages (from $PKGDIR) >>if<< they are available"
> > 
> > It hints that if a newer ebuild is availble it will still be compiled,
> > and not taken from the pre-compiled repository.
> > 
> > If I am wrong please let me know ;)
> > 

-- 
Michael Boman
Security Architect, SecureCiRT Pte Ltd
http://www.securecirt.com

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Only offer pre-compiled packages?
  2003-04-13  8:14       ` Michael Boman
@ 2003-04-13 16:10         ` Jon Portnoy
  0 siblings, 0 replies; 7+ messages in thread
From: Jon Portnoy @ 2003-04-13 16:10 UTC (permalink / raw
  To: Michael Boman; +Cc: Gentoo Development List

Yeah... the man page tends to get out of date quickly. 'emerge --help' 
is usually more accurate.

If I have some time I may submit some updates to the man page.

On Sun, Apr 13, 2003 at 04:14:30PM +0800, Michael Boman wrote:
> On Sun, Apr 13, 2003 at 03:47:06AM -0400, Jon Portnoy wrote:
> > 
> > Capital K, which (I believe) is use binary packages only.
> > 
> 
> Yes, you are correct. Please take note, the man page is out-of-date.
> 
> With capital K I belive I have what I need ;)
> 
> Thanks Jon!
> 
> Best regards
>  Michael Boman
> 
> > On Sun, Apr 13, 2003 at 03:45:21PM +0800, Michael Boman wrote:
> > > On Sun, Apr 13, 2003 at 03:40:02AM -0400, Jon Portnoy wrote:
> > > > 
> > > > I think the -K option for emerge does this.
> > > > 
> > > > On Sun, Apr 13, 2003 at 03:36:21PM +0800, Michael Boman wrote:
> > > > > Is there a way to let machines only see (updated) pre-compiled packages
> > > > > when they do 'emerge -p world'? I am thinking of providing a local
> > > > > repository of "authorized/tested" software over NFS and when you do
> > > > > 'emerge world' it will take the latest version from the pre-compiled
> > > > > pile of packages, totally ignoring what is availble as ebuild's from
> > > > > rsync.gentoo.org or in the PORTAGE_OVERLAY dir..
> > > > > 
> > > > > Doable? How?
> > > 
> > > From the emerge man-page:
> > > 
> > >    --usepkg (-k)
> > >           Tells  emerge  to use binary packages (from $PKGDIR) if they are
> > >           available, thus possibly avoiding some time-consuming  compiles.
> > >           This   option   is  useful  for  CD  installs;  you  can  export
> > >           PKGDIR=/mnt/cdrom/packages and then  use  this  option  to  have
> > >           emerge  "pull"  binary  packages from the CD in order to satisfy
> > >           dependencies.
> > > 
> > > My biggest problem is the wording
> > >  "to use binary packages (from $PKGDIR) >>if<< they are available"
> > > 
> > > It hints that if a newer ebuild is availble it will still be compiled,
> > > and not taken from the pre-compiled repository.
> > > 
> > > If I am wrong please let me know ;)
> > > 
> 
> -- 
> Michael Boman
> Security Architect, SecureCiRT Pte Ltd
> http://www.securecirt.com



-- 
Jon Portnoy
avenj/irc.freenode.net

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-04-13 16:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-13  7:36 [gentoo-dev] Only offer pre-compiled packages? Michael Boman
2003-04-13  7:40 ` Jon Portnoy
2003-04-13  7:45   ` Michael Boman
2003-04-13  7:47     ` Jon Portnoy
2003-04-13  8:14       ` Michael Boman
2003-04-13 16:10         ` Jon Portnoy
2003-04-13  8:06 ` Abhishek Amit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox