pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49966: www/apache22 needs indent program for generating DH keys
>Number: 49966
>Category: pkg
>Synopsis: www/apache22 needs indent program for generating DH keys
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 11 19:20:00 +0000 2015
>Originator: Brian De Wolf
>Release: pkgsrc-2015Q1
>Organization:
>Environment:
SunOS niblet 5.10 Generic_150401-11 i86pc i386 i86pc
>Description:
Recently the apache22 package Makefile was modified to run an embedded perl script (modules/ssl/ssl_engine_dh.c) in the apache tarball that generates new DH keys. The error occurs when the script tries to push output through shell pipes through the programs indent and expand. If these programs do not exist (my system doesn't have indent), the file will not be properly generated and the SSL module will fail to load at runtime. The error it prints is:
httpd: Syntax error on line 19 of /usr/pkg/etc/httpd/httpd.conf: Cannot load /usr/pkg/lib/httpd/mod_ssl.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/pkg/lib/httpd/mod_ssl.so: symbol get_dh2048: referenced symbol not found
>How-To-Repeat:
Build the apache22 package without an indent program available, install it, and try to start it with SSL enabled.
>Fix:
patches/patch-modules_ssl_ssl__engine__dh.c already modifies the problematic lines. I was able to build and run successfully by modifying this patch to remove the references to indent.
Home |
Main Index |
Thread Index |
Old Index