View previous topic :: View next topic |
Author |
Message |
GODhack Guru
Joined: 26 Jan 2008 Posts: 389 Location: Lithuania
|
Posted: Wed Jan 27, 2010 5:05 pm Post subject: dev-java/sun-jre-bin masked? [solved] |
|
|
So what should I do? If I still want java. _________________ http://www.youtube.com/watch?v=4jtmOZaIvS0
Last edited by GODhack on Wed Jan 27, 2010 5:27 pm; edited 1 time in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Wed Jan 27, 2010 5:21 pm Post subject: |
|
|
Probably need ACCEPT_LICENSE=dlj along with ~x86 keyword?
Take a look at "man make.conf" for details. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
GODhack Guru
Joined: 26 Jan 2008 Posts: 389 Location: Lithuania
|
|
Back to top |
|
|
ursusca Apprentice
Joined: 10 Sep 2008 Posts: 284 Location: Toronto ON, CANADA
|
Posted: Wed Jan 27, 2010 7:03 pm Post subject: |
|
|
I've faced with similar problem:
Calculating dependencies... done!
!!! The following installed packages are masked:
- app-emulation/virtualbox-bin-3.0.12 (masked by: PUEL license(s))
A copy of the 'PUEL' license is located at '/usr/portage/licenses/PUEL'.
- dev-java/sun-jdk-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
- dev-java/sun-jdk-1.5.0.22 (masked by: dlj-1.1 license(s))
- net-im/skype-2.0.0.72 (masked by: skype-eula license(s))
A copy of the 'skype-eula' license is located at '/usr/portage/licenses/skype-eula'.
I've sdded in my /etc/make.conf file
Code: | ACCEPT_LICENSE="PUEL dlj-1.1 skype-eula" |
and unmasked one by one.
Or else if you wish to unmask all licenses. _________________ You deserve free software! |
|
Back to top |
|
|
jlpoole Guru
Joined: 01 Nov 2005 Posts: 483 Location: Salem, OR
|
Posted: Thu Jan 28, 2010 3:36 pm Post subject: ACCEPT_LICENSE wildcards per token? |
|
|
I was hoping I could create a wildcard specific to the Sun Java license only with something like 'ACCEPT_LICENSE="jdl* "', but that did not work.
The value "jdl-1.1" did work, as advised above.
Does anyone know if the parse will accept wildcards, e.g. the asterisk symbol: *, specific to a token prefix such as "jdl"? I'm delighted to accept whatever licenses Sun (now Oracle) wishes me to agree to, but I want the ability to review and be alerted to other companies software licenses. |
|
Back to top |
|
|
GODhack Guru
Joined: 26 Jan 2008 Posts: 389 Location: Lithuania
|
|
Back to top |
|
|
dpaking n00b
Joined: 15 May 2006 Posts: 15
|
Posted: Sun Jan 31, 2010 3:21 am Post subject: License name is dlj |
|
|
Just a quick note to JL Poole. The license is "dlj" not "jdl"...I typed it wrong the first time myself.
Adding Code: | ACCEPT_LICENSE="dlj-1.1" | to /etc/make.conf will work. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Jan 31, 2010 5:11 am Post subject: |
|
|
I saw that we can use also :
Code: |
# nano /etc/portage/package.license
dev-java/sun-jdk dlj-1.1
|
|
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Tue Feb 02, 2010 12:23 am Post subject: |
|
|
d2_racing wrote: | I saw that we can use also :
Code: |
# nano /etc/portage/package.license
dev-java/sun-jdk dlj-1.1
|
| This didn't work for me for some reason, although it did with skype:
Code: | - dev-java/sun-jre-bin-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
|
Code: | # cat /etc/portage/package.license
dev-java/sun-jdk dlj-1.1
net-im/skype skype-eula |
Last edited by mikegpitt on Tue Feb 02, 2010 1:42 am; edited 2 times in total |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Feb 02, 2010 1:37 am Post subject: |
|
|
Weird in fact. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Tue Feb 02, 2010 1:42 am Post subject: |
|
|
mikegpitt wrote: | d2_racing wrote: | I saw that we can use also :
Code: |
# nano /etc/portage/package.license
dev-java/sun-jdk dlj-1.1
|
| This didn't work for me for some reason, although it did with skype:
Code: | - dev-java/sun-jre-bin-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
|
Code: | # cat /etc/portage/package.license
dev-java/sun-jdk dlj-1.1
net-im/skype skype-eula |
| This is why it's a good idea to walk away from the computer and let the eyes adjust... the jdk was fine, the jre wasn't:
Code: | # cat /etc/portage/package.license
dev-java/sun-jdk dlj-1.1
dev-java/sun-jre-bin dlj-1.1
net-im/skype skype-eula
|
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Feb 02, 2010 1:44 am Post subject: |
|
|
In fact, you need to add an entry |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Tue Feb 02, 2010 5:55 am Post subject: |
|
|
ACCEPT_LICENSE="*"
works for me...all packages now accept license |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Feb 02, 2010 12:46 pm Post subject: |
|
|
In fact, that's the easy way |
|
Back to top |
|
|
Tin Guru
Joined: 22 Dec 2005 Posts: 305 Location: Namur, Belgium
|
Posted: Wed Feb 03, 2010 4:47 pm Post subject: |
|
|
Easy way ok for me, I don't want to have to think longer at it
Thanks for the tip. _________________ Tin, the gentoobie |
|
Back to top |
|
|
Gooserider Apprentice
Joined: 30 Dec 2005 Posts: 165 Location: Universe, Milky Way Galaxy, Solar System, Earth, North America, USA, MA, North Billerica
|
Posted: Tue Feb 23, 2010 3:45 am Post subject: |
|
|
Either way works if you enter the right license codes, etc...
The ACCEPT_LICENSE="*" or variant in /etc/make.conf works if you don't care about licenses and are willing to give a "blank check" acceptance to whatever terms are demanded.
If you want to have more control, and know what you are accepting, then the /etc/portage/package.license file is a better approach, and doesn't appear like it would be all that much more of a pain to maintain, other than when initially starting it and you change the accept parameter...
(I changed my ACCEPT_LICENSE= to "@FREE" - which is to automatically accept all the FSF and OSI approved licenses, and mask others - got about 30 license masked files on what I had installed for my next emerge world, only a few of which actually had the text available from the repository)
Its a minor PITA, but could be a lot worse - the big challenge (as usual) is to find where the license stuff is documented and described - see https://bugs.gentoo.org/show_bug.cgi?id=288083, https://bugs.gentoo.org/show_bug.cgi?id=292502, https://bugs.gentoo.org/show_bug.cgi?id=292445, http://en.gentoo-wiki.com/wiki/Licenses, and http://www.gentoo.org/proj/en/glep/glep-0023.html (especially the last two...)
Gooserider _________________ Box 1: P2 Celeron 400, 320mb RAM, 80GB HD, Cirrus Logic 4614/22/24 sound card, ATI 3D RAGE PRO AGP 1X/2X (sound & video onboard)
Box 2: AMD Athlon 2500+ 512mb RAM, 80GB HD, Gigabyte K7 Triton (Nvidia) mobo, GeForce2 video |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
|
Back to top |
|
|
|