ports/148650: [patch] www/tomcat55 remove java hardcoding
Jason
jhelfman at e-e.com
Fri Aug 20 04:50:04 UTC 2010
The following reply was made to PR ports/148650; it has been noted by GNATS.
From: Jason <jhelfman at e-e.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/148650: [patch] www/tomcat55 remove java hardcoding
Date: Thu, 19 Aug 2010 21:18:56 -0700
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I have graciously accepted the offer to maintain www/tomcat55, and also
approve of this patch. Previous reply can be disposed of.
Below is a test run with the patch in place:
[jhelfman at walrus /usr/ports/www/tomcat55]$ sudo make package
=3D=3D=3D> Vulnerability check disabled, database not found
=3D=3D=3D> License check disabled, port has not defined LICENSE
=3D=3D=3D> Extracting for tomcat-5.5.28_1
=3D> MD5 Checksum OK for apache-tomcat-5.5.28.tar.gz.
=3D> SHA256 Checksum OK for apache-tomcat-5.5.28.tar.gz.
=3D=3D=3D> Patching for tomcat-5.5.28_1
Installation settings:
Destination directory: /usr/local/tomcat5.5
Location of JDK: /usr/local/openjdk6
Location of Java port: java/openjdk6
Running as (user/group/uid): test/test/995
HTTP port: 8180
Shutdown listener port: 8005
AJP 1.3 connector port: 8009
Logfile stdout: /usr/local/tomcat5.5/logs/stdout.log
Logfile stderr: /usr/local/tomcat5.5/logs/stderr.log
=3D=3D=3D> Applying FreeBSD patches for tomcat-5.5.28_1
>> Removing unneeded files... [ DONE ]
>> Customizing server.xml... [ DONE ]
=3D=3D=3D> Configuring for tomcat-5.5.28_1
=3D=3D=3D> Installing for tomcat-5.5.28_1
=3D=3D=3D> tomcat-5.5.28_1 depends on file: /usr/local/openjdk6/bin/java -
found =3D=3D=3D> Generating temporary packing list
=3D=3D=3D> Checking if www/tomcat55 already installed
>> Creating destination directory... [ DONE ]
>> Copying files to destination directory...
Installing local configuration
file: /usr/local/tomcat5.5/conf/Catalina/localhost/host-manager.xml
Installing local configuration
file: /usr/local/tomcat5.5/conf/Catalina/localhost/manager.xml
Installing local configuration
file: /usr/local/tomcat5.5/conf/catalina.policy Installing local
configuration file: /usr/local/tomcat5.5/conf/catalina.properties
Installing local configuration
file: /usr/local/tomcat5.5/conf/context.xml Installing local
configuration file: /usr/local/tomcat5.5/conf/logging.properties
Installing local configuration
file: /usr/local/tomcat5.5/conf/server-minimal.xml Installing local
configuration file: /usr/local/tomcat5.5/conf/server.xml Installing
local configuration file: /usr/local/tomcat5.5/conf/tomcat-users.xml
Installing local configuration file: /usr/local/tomcat5.5/conf/web.xml
[ DONE ]
>> Creating log files... [ DONE ]
>> Creating symlink to tools.jar... [ DONE ]
>> Fixing ownership settings... [ DONE ]
>> Fixing permissions... [ DONE ]
Apache Tomcat 5.5.28 has been installed in /usr/local/tomcat5.5.
=3D=3D=3D> Installing rc.d startup script(s)
=3D=3D=3D> Registering installation for tomcat-5.5.28_1
=3D=3D=3D> Building package for tomcat-5.5.28_1
Creating package /usr/ports/packages/All/tomcat-5.5.28_1.tbz
Registering depends: openjdk6-b20 open-motif-2.2.3_6 libXaw-1.0.7,1
libXp-1.0.0,1 libXpm-3.5.7 libXmu-1.0.5,1 libXt-1.0.7 libXtst-1.1.0
libXi-1.3,1 libXext-1.1.1,1 libX11-1.3.3,1 libxcb-1.6
libpthread-stubs-0.3_3 dejavu-2.30_1 fontconfig-2.8.0,1
freetype2-2.3.12 libSM-1.1.1_1,1 libICE-1.0.6,1 libXau-1.0.5
libXdmcp-1.0.3 xproto-7.0.16 pkg-config-0.23_1 javavmwrapper-2.3.5
expat-2.0.1_1 inputproto-2.0 kbproto-1.0.4 printproto-1.0.4
recordproto-1.14 xbitmaps-1.1.0 xextproto-7.1.1. Creating bzip'd tar
ball in '/usr/ports/packages/All/tomcat-5.5.28_1.tbz'
My make.conf file included the following information:
=2Eif ${.CURDIR:M*/www/tomcat55}
TOMCAT_USER=3Dtest
TOMCAT_GROUP=3Dtest
TOMCAT_UID=3D995
JAVA_VENDOR=3D openjdk
JAVA_VERSION=3D 1.6
=2Eendif
--=20
Jason Helfman
--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
iF4EAREIAAYFAkxuAjAACgkQXpKtZoyM+6VIPAD7Bhbhqz1fEY8t0NE5a4kYkEg7
R3s5M0nv5K2NvK6CqF8A/0xctBtMxs+Yv1lKMQbpgTZVA5YWUc/ntowljgxiGW8d
=Gce0
-----END PGP SIGNATURE-----
--qMm9M+Fa2AknHoGS--
More information about the freebsd-ports-bugs
mailing list