Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 13:56:14 +0200
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Porting applications with "nice" installers
Message-ID:  <CAGwOe2bnXJeU2kBCoOgSOvqY22UBhMBdS-%2BB8tr58o3f0OSGeA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I found two applications I would like to port. Both are written in
java (not a problem) and both provide a graphical installer. The
latter raises a couple of questions:

One of the applications asks during the installation if you want to
install Community (free of use) or Enterprise (evaluation only)
editions and I'm not sure how to specify the Community edition without
using the installer. Executing the main .java file in the sources
seems to assume it is the evaluation only copy.

The other application, when executed always launches an update
installer that downloads the latest java files in the user home
directory. Write permissions for the execution directory seems to be
necessary (hence the fact that the application installs into the user
home by default). How can I proceed here? If I install the
"application" under /usr/local then nobody can execute it to launch
the update application because there are not write permissions and the
application doesn't run. Creating a directory with write permissions
for anyone is not acceptable for several reasons either.

Any ports dealing with these situations that I can use as a reference?

Thanks in advance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2bnXJeU2kBCoOgSOvqY22UBhMBdS-%2BB8tr58o3f0OSGeA>