public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  avoiding java
@ 2007-01-08  2:56 »Q«
  2007-01-08  3:09 ` [gentoo-user] " Sven Köhler
  2007-01-08  3:44 ` [gentoo-user] " Norberto Bensa
  0 siblings, 2 replies; 8+ messages in thread
From: »Q« @ 2007-01-08  2:56 UTC (permalink / raw
  To: gentoo-user

Is there a simple way to make sure java never gets installed on a
gentoo machine?  The only thing I've thought of is
using /etc/portage/package.mask to mask everything in the dev-java
category, but I'm hoping for something simpler.

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: avoiding java
  2007-01-08  2:56 [gentoo-user] avoiding java »Q«
@ 2007-01-08  3:09 ` Sven Köhler
  2007-01-08  5:31   ` »Q«
  2007-01-08  3:44 ` [gentoo-user] " Norberto Bensa
  1 sibling, 1 reply; 8+ messages in thread
From: Sven Köhler @ 2007-01-08  3:09 UTC (permalink / raw
  To: gentoo-user

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

»Q« schrieb:
> Is there a simple way to make sure java never gets installed on a
> gentoo machine?  The only thing I've thought of is
> using /etc/portage/package.mask to mask everything in the dev-java
> category, but I'm hoping for something simpler.
> 

disable java use-flag.
mask virtual/jdk, virtual/jre and maybe also dev-java/sun-jdk, etc.

BTW: what's so frightening about java?


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

* Re: [gentoo-user]  avoiding java
  2007-01-08  2:56 [gentoo-user] avoiding java »Q«
  2007-01-08  3:09 ` [gentoo-user] " Sven Köhler
@ 2007-01-08  3:44 ` Norberto Bensa
  2007-01-08  5:34   ` [gentoo-user] " »Q«
  1 sibling, 1 reply; 8+ messages in thread
From: Norberto Bensa @ 2007-01-08  3:44 UTC (permalink / raw
  To: gentoo-user

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

»Q« wrote:
> Is there a simple way to make sure java never gets installed on a
> gentoo machine?  

USE=-java in your /etc/make.conf

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

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

* [gentoo-user]  Re: avoiding java
  2007-01-08  3:09 ` [gentoo-user] " Sven Köhler
@ 2007-01-08  5:31   ` »Q«
  0 siblings, 0 replies; 8+ messages in thread
From: »Q« @ 2007-01-08  5:31 UTC (permalink / raw
  To: gentoo-user

Sven Köhler <skoehler@upb.de> wrote:

> »Q« schrieb:
> > Is there a simple way to make sure java never gets installed on a
> > gentoo machine?  
> 
> disable java use-flag.
> mask virtual/jdk, virtual/jre and maybe also dev-java/sun-jdk, etc.

Thanks -- that masking seems to do it.  I hadn't read about the switch
to virtuals for java until now.  I have a lot of catching up to do.

> BTW: what's so frightening about java?

Nothing scary, just don't want it.

--
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: avoiding java
  2007-01-08  3:44 ` [gentoo-user] " Norberto Bensa
@ 2007-01-08  5:34   ` »Q«
  2007-01-08 11:39     ` Norberto Bensa
  0 siblings, 1 reply; 8+ messages in thread
From: »Q« @ 2007-01-08  5:34 UTC (permalink / raw
  To: gentoo-user

In <news:200701080044.18880.nbensa@gmx.net>,
Norberto Bensa <nbensa@gmx.net> wrote:

> »Q« wrote:
> > Is there a simple way to make sure java never gets installed on a
> > gentoo machine?    
> 
> USE=-java in your /etc/make.conf

I had done that already, but -java only prevents java from being
installed as an optional dependency.  If a package requires java, it
will pull it in despite that flag.  See Sven's answer about how to mask
java.

--
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: avoiding java
  2007-01-08  5:34   ` [gentoo-user] " »Q«
@ 2007-01-08 11:39     ` Norberto Bensa
  2007-01-08 20:05       ` Sven Köhler
  0 siblings, 1 reply; 8+ messages in thread
From: Norberto Bensa @ 2007-01-08 11:39 UTC (permalink / raw
  To: gentoo-user

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

»Q« wrote:
> > USE=-java in your /etc/make.conf
>
> I had done that already, but -java only prevents java from being
> installed as an optional dependency.  If a package requires java, it
> will pull it in despite that flag.  See Sven's answer about how to mask
> java.

If it is a hard-requirement, you'll get "blah depends on java which is 
hardmasked" and your emerge will die.

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

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

* [gentoo-user]  Re: avoiding java
  2007-01-08 11:39     ` Norberto Bensa
@ 2007-01-08 20:05       ` Sven Köhler
  2007-01-08 22:37         ` »Q«
  0 siblings, 1 reply; 8+ messages in thread
From: Sven Köhler @ 2007-01-08 20:05 UTC (permalink / raw
  To: gentoo-user

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

> If it is a hard-requirement, you'll get "blah depends on java which is 
> hardmasked" and your emerge will die.


I think, that what's Q wants.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

* [gentoo-user]  Re: avoiding java
  2007-01-08 20:05       ` Sven Köhler
@ 2007-01-08 22:37         ` »Q«
  0 siblings, 0 replies; 8+ messages in thread
From: »Q« @ 2007-01-08 22:37 UTC (permalink / raw
  To: gentoo-user

Sven Köhler <skoehler@upb.de> wrote:

> > If it is a hard-requirement, you'll get "blah depends on java which
> > is hardmasked" and your emerge will die.  
> 
> I think, that what's Q wants.

Yes, that's what I wanted.  Thanks again.  :)

--
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2007-01-08 23:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-08  2:56 [gentoo-user] avoiding java »Q«
2007-01-08  3:09 ` [gentoo-user] " Sven Köhler
2007-01-08  5:31   ` »Q«
2007-01-08  3:44 ` [gentoo-user] " Norberto Bensa
2007-01-08  5:34   ` [gentoo-user] " »Q«
2007-01-08 11:39     ` Norberto Bensa
2007-01-08 20:05       ` Sven Köhler
2007-01-08 22:37         ` »Q«

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