pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/27073: www/ap-ssl breaks on Linux without ndbm.h



>Number:         27073
>Category:       pkg
>Synopsis:       www/ap-ssl breaks on Linux without ndbm.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 29 10:17:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        pkgsrc-current
>Organization:
>Environment:
System: Linux beastie 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004 i686 unknown 
unknown GNU/Linux
Architecture: i386
Machine: i386
>Description:
www/ap-ssl doesn't build on Linux if ndbm.h is not present, which is the
case on Slackware 10.0.

in the mod_ssl CHANGES file, this is mentioned:

*) Now the default for SSL_SDBM is 'yes' on Linux boxes because it occurrs
   too often that Linux boxes with broken DBM libraries are used and people
   are wondering why their session cache operations segfault the server. If
   you really want to use the vendor DBM library on Linux you now have to
   use --disable-rule=SSL_SDBM. But I recommend you to use SDBM except
   you know what you're doing.

however, SDBM is forced off when building ap-ssl because apache's
configure is called with --disable-module=ssl, so the relevant build
options for ap-ssl are disabled.

calling apache's configure manually with --enable-module=ssl automatically
enables SSL_SDBM:

 + adding selected modules
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.8.19
      + SSL interface build type: DSO
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Built-in SDBM
      + SSL library path: [SYSTEM]
      + SSL library version: OpenSSL 0.9.7d 17 Mar 2004
      + SSL library type: installed package (system-wide)

but this doesn't work from the pkg Makefile. I suspect that some more
files in Apache need to have the mod_ssl patch applied to make this
work, but I haven't tried that.

>How-To-Repeat:
on Slackware 10.0:

cd www/ap-ssl; make
>Fix:
unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index