Subject: pkg/11879: airportbasestationconfig pkg doesn't like our java
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 01/03/2001 05:17:15
>Synopsis: airportbasestationconfig pkg doesn't like our java
>Arrival-Date: Wed Jan 03 05:17:00 PST 2001
>Originator: Luke Mewburn
>Release: NetBSD 1.5
Luke Mewburn <firstname.lastname@example.org> http://www.wasabisystems.com
Luke Mewburn <email@example.com> http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.
System: NetBSD argo.akimbo.com.au 1.5_BETA2 NetBSD 1.5_BETA2 (ARGO) #0: Thu Nov 16 19:55:34 EST 2000 firstname.lastname@example.org:/z/src/netbsd-1-5/src/sys/arch/i386/compile/ARGO i386
the net/airportbasestationconfig package needs java.
there's a couple of problems however:
* if you don't have java installed, the package
dependencies will install jdk 1.1.8.
jdk 1.1.8's /usr/pkg/java/bin/java doesn't support
`-jar', and i couldn't work out another way to get
1.1.8 to run the program.
* if you manually install sun-jre13 to get java2 
which supports -jar, the package won't work because
stuff is in /usr/pkg/java/jre/bin not /usr/pkg/java/bin.
this requires minor hackery of the
/usr/pkg/bin/airportbasestationconfig shell script
to work (change the PATH as appropriate).
 gee, thanks sun. call it `jdk 1.3' and `java 2'. now
that's confusion for the unwary... :/
try and install net/airportbasestationconfig without a java
runtime installed and noticed that the executable won't run
(an error will occur from java about `-jar' being an invalid
change the package depend up sun-jre13 or sun-jdk13 (or whatever).
while you're there, fix the package to use a PATH of
/usr/pkg/java/jre/bin instead of /usr/pkg/java/bin