Bug 146218 - [PATCH] www/apache20: compile error with security/openssl
Summary: [PATCH] www/apache20: compile error with security/openssl
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: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 14:40 UTC by Kazuo Dohzono
Modified: 2010-05-06 22:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.26 KB, patch)
2010-05-01 14:40 UTC, Kazuo Dohzono
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kazuo Dohzono 2010-05-01 14:40:09 UTC
Compile error occurs when you compile www/apache20 after installng security/openssl.

Fix: You can refer this problem at:

http://mail-index.netbsd.org/pkgsrc-users/2009/08/25/msg010537.html
How-To-Repeat: 1) install security/openssl.
2)
# cd /usr/ports/www/apache20/
# make WITH_DBM=bdb WITH_LDAP=yes WITH_SSL_MODULES=yes WITH_SUEXEC_MODULES=yes WITH_PROXY_MODULES=yes WITH_KQUEUE_MODULES=yes WITHOUT_IPV6=yes clean
(snip)
> /usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/srclib/apr/libtool --silent
> --mode=compile cc    -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing  -D_REENTRANT
> -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER  
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/srclib/apr/include
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/srclib/apr-util/include
> -I/usr/local/include -I.
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/os/unix
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/server/mpm/prefork
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/modules/http
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/modules/filters
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/modules/proxy
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/include
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/modules/generators
> -I/usr/local/include/openssl
> -I/usr/local/tmp/usr/ports/www/apache20/work/httpd-2.0.63/modules/dav/main
> -prefer-pic -c ssl_engine_init.c && touch ssl_engine_init.slo
> ssl_engine_init.c: In function 'ssl_init_ctx_protocol':
> ssl_engine_init.c:391: warning: assignment discards qualifiers from pointer target type
> ssl_engine_init.c:397: warning: assignment discards qualifiers from pointer target type
> ssl_engine_init.c: In function 'ssl_init_ctx_verify':
> ssl_engine_init.c:534: error: 'STACK' undeclared (first use in this function)
> ssl_engine_init.c:534: error: (Each undeclared identifier is reported only once
> ssl_engine_init.c:534: error: for each function it appears in.)
> ssl_engine_init.c:534: error: expected expression before ')' token
> ssl_engine_init.c: In function 'ssl_init_FindCAList':
> ssl_engine_init.c:1109: warning: pointer type mismatch in conditional expression
> *** Error code 1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-05-01 14:40:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-06 22:10:45 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-05-06 22:10:50 UTC
pgollucci    2010-05-06 21:10:36 UTC

  FreeBSD ports repository

  Modified files:
    www/apache20         Makefile 
  Added files:
    www/apache20/files   extra-openssl-9.8up.patch 
  Log:
  - Fix compile with security/openssl
  - No PORTREVISION bump [security/openssl is not the default]
  
  PR:             ports/146218
  Submitted by:   Kazuo Dohzono <dohzono@axion-software.com>
  Obtained from:  http://mail-index.netbsd.org/pkgsrc-users/2009/08/25/msg010537.html
  With Hat:       apache@
  
  [I will contemplate sending this back to dev@httpd for branches/2.0.x for 2.0.64]
  
  Revision  Changes    Path
  1.269     +4 -0      ports/www/apache20/Makefile
  1.1       +40 -0     ports/www/apache20/files/extra-openssl-9.8up.patch (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"