Bug 90489 - Maintainer update: www/resin2 2.1.17
Summary: Maintainer update: www/resin2 2.1.17
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Herve Quiroz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 12:40 UTC by Jean-Baptiste Quenot
Modified: 2005-12-22 03:44 UTC (History)
0 users

See Also:


Attachments
file.diff (7.94 KB, patch)
2005-12-16 12:40 UTC, Jean-Baptiste Quenot
no flags Details | Diff
resin2.patch (7.20 KB, patch)
2005-12-19 16:19 UTC, Jean-Baptiste Quenot
no flags Details | Diff
resin2.patch (11.68 KB, patch)
2005-12-20 14:25 UTC, Jean-Baptiste Quenot
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Quenot 2005-12-16 12:40:07 UTC
This is an update of www/resin2:

  * Update to version 2.1.17

  * Incorporate a fix from Hervé Quiroz backported from www/resin3 to be able to
    remove the work directory when building as a user.

  * Accept resin2_flags to pass Java options

  * Added support for OpenSSL

Thanks in advance!
Comment 1 Herve Quiroz freebsd_committer freebsd_triage 2005-12-16 14:28:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hq

I'll handle this.
Comment 2 Herve Quiroz freebsd_committer freebsd_triage 2005-12-16 16:17:55 UTC
State Changed
From-To: open->feedback

The port won't build on my box: 

===>  Building for resin-2.1.17 
(cd src/c/plugin; make) 
for dir in common resin; do (cd $dir; make); done 
cc -rpath=/usr/lib:/usr/local/lib -o resin resin.o ../common/common.o std.o memory.o ssl.o -lc_r 
ssl.o(.text+0xb8): In function `ssl_verify_callback': 
: undefined reference to `X509_STORE_CTX_get_ex_data' 
ssl.o(.text+0xcf): In function `ssl_verify_callback': 
: undefined reference to `SSL_get_ex_data' 
ssl.o(.text+0xf1): In function `ssl_verify_callback': 
: undefined reference to `X509_STORE_CTX_get_error' 
ssl.o(.text+0x133): In function `ssl_create_context': 
: undefined reference to `SSL_load_error_strings' 
ssl.o(.text+0x138): In function `ssl_create_context': 
: undefined reference to `SSL_library_init' 
ssl.o(.text+0x13d): In function `ssl_create_context': 
: undefined reference to `SSL_library_init' 
ssl.o(.text+0x142): In function `ssl_create_context': 
: undefined reference to `SSLv23_server_method' 
ssl.o(.text+0x172): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_new' 
ssl.o(.text+0x19c): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_ctrl' 
ssl.o(.text+0x1dd): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_set_default_passwd_cb' 
ssl.o(.text+0x1ec): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_set_default_passwd_cb_userdata' 
ssl.o(.text+0x202): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_use_certificate_file' 
ssl.o(.text+0x222): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_use_PrivateKey_file' 
ssl.o(.text+0x233): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_check_private_key' 
ssl.o(.text+0x26e): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_set_verify' 
ssl.o(.text+0x2b4): In function `ssl_create_context': 
: undefined reference to `ENGINE_by_id' 
ssl.o(.text+0x2ce): In function `ssl_create_context': 
: undefined reference to `ENGINE_set_default' 
ssl.o(.text+0x2f1): In function `ssl_create_context': 
: undefined reference to `ENGINE_free' 
ssl.o(.text+0x316): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_ctrl' 
ssl.o(.text+0x33b): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_ctrl' 
ssl.o(.text+0x363): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_ctrl' 
ssl.o(.text+0x37e): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_load_verify_locations' 
ssl.o(.text+0x3dd): In function `ssl_create_context': 
: undefined reference to `ERR_print_errors_fp' 
ssl.o(.text+0x3ed): In function `ssl_create_context': 
: undefined reference to `SSL_CTX_use_certificate_chain_file' 
ssl.o(.text+0x403): In function `ssl_create_context': 
: undefined reference to `ERR_print_errors_fp' 
ssl.o(.text+0x447): In function `ssl_create_context': 
: undefined reference to `RSA_generate_key' 
ssl.o(.text+0x4a2): In function `ssl_create_context': 
: undefined reference to `RSA_generate_key' 
ssl.o(.text+0x633): In function `ssl_safe_free': 
: undefined reference to `SSL_set_shutdown' 
ssl.o(.text+0x63e): In function `ssl_safe_free': 
: undefined reference to `SSL_shutdown' 
ssl.o(.text+0x64a): In function `ssl_safe_free': 
: undefined reference to `SSL_free' 
ssl.o(.text+0x6c3): In function `ssl_open': 
: undefined reference to `SSL_set_fd' 
ssl.o(.text+0x6da): In function `ssl_open': 
: undefined reference to `SSL_set_ex_data' 
ssl.o(.text+0x6ea): In function `ssl_open': 
: undefined reference to `SSL_set_tmp_rsa_callback' 
ssl.o(.text+0x756): In function `ssl_open': 
: undefined reference to `SSL_state' 
ssl.o(.text+0x7e9): In function `ssl_open': 
: undefined reference to `SSL_accept' 
ssl.o(.text+0x80d): In function `ssl_open': 
: undefined reference to `SSL_get_error' 
ssl.o(.text+0x82c): In function `ssl_open': 
: undefined reference to `ERR_print_errors_fp' 
ssl.o(.text+0x873): In function `ssl_open': 
: undefined reference to `SSL_get_current_cipher' 
ssl.o(.text+0x881): In function `ssl_open': 
: undefined reference to `SSL_CIPHER_get_name' 
ssl.o(.text+0x899): In function `ssl_open': 
: undefined reference to `SSL_CIPHER_get_bits' 
ssl.o(.text+0x8b4): In function `ssl_open': 
: undefined reference to `SSL_new' 
ssl.o(.text+0xa06): In function `ssl_read': 
: undefined reference to `SSL_read' 
ssl.o(.text+0xa22): In function `ssl_read': 
: undefined reference to `SSL_get_error' 
ssl.o(.text+0xba7): In function `ssl_write': 
: undefined reference to `SSL_write' 
ssl.o(.text+0xc99): In function `ssl_write': 
: undefined reference to `SSL_write' 
ssl.o(.text+0xe13): In function `ssl_read_client_certificate': 
: undefined reference to `SSL_get_peer_certificate' 
ssl.o(.text+0xe23): In function `ssl_read_client_certificate': 
: undefined reference to `BIO_s_mem' 
ssl.o(.text+0xe2b): In function `ssl_read_client_certificate': 
: undefined reference to `BIO_new' 
ssl.o(.text+0xe42): In function `ssl_read_client_certificate': 
: undefined reference to `PEM_write_bio_X509' 
ssl.o(.text+0xe62): In function `ssl_read_client_certificate': 
: undefined reference to `BIO_ctrl' 
ssl.o(.text+0xe71): In function `ssl_read_client_certificate': 
: undefined reference to `BIO_free' 
ssl.o(.text+0xebb): In function `ssl_read_client_certificate': 
: undefined reference to `BIO_read' 
*** Error code 1 

Stop in /tmp/resin2/work/resin-2.1.17/src/c/plugin/resin. 
*** Error code 1 

Stop in /tmp/resin2/work/resin-2.1.17/src/c/plugin. 
*** Error code 1 

Stop in /tmp/resin2/work/resin-2.1.17. 
*** Error code 1 

Stop in /tmp/resin2.
Comment 3 Jean-Baptiste Quenot 2005-12-19 16:19:17 UTC
Here is an updated patch.
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/
Comment 4 Hervé Quiroz 2005-12-20 09:52:02 UTC
On Mon, Dec 19, 2005 at 05:19:17PM +0100, Jean-Baptiste Quenot wrote:
> Here is an updated patch.

Builds fine on 6.0-STABLE.

One more problem, though:

===>   Deinstalling resin-2.1.17
pkg_delete: file '/usr/local/resin2/doc/images/caucho-blue.gif' doesn't exist
pkg_delete: file '/usr/local/resin2/lib/jdbc-mysql.jar' doesn't exist
pkg_delete: file '/usr/local/resin2/lib/jdbc2_0-stdext.jar' doesn't exist
pkg_delete: file '/usr/local/resin2/lib/jndi.jar' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/resin2/doc/images'
pkg_delete: unable to completely remove directory '/usr/local/resin2/doc'
pkg_delete: unable to completely remove directory '/usr/local/resin2'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
Comment 5 Jean-Baptiste Quenot 2005-12-20 14:25:06 UTC
Oh yes you're right.  Please  find attached the updated patch, and
sorry for the inconvenience!
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/
Comment 6 Herve Quiroz freebsd_committer freebsd_triage 2005-12-22 03:44:02 UTC
State Changed
From-To: feedback->closed

Patch commited. 

Thanks for your contribution!