Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2009 06:31:56 -0500
From:      Charles Howse <chowse@charter.net>
To:        Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mod_security 2.5.9
Message-ID:  <FD0B1DCE-F2C4-4AA0-A2CF-90A283CFDC34@charter.net>
In-Reply-To: <200908092112.50413.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
References:  <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> <200908091242.58470.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <66AC013D-8CC8-4558-A23A-83FA5BB7FFF1@charter.net> <200908092112.50413.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Aug 10, 2009, at 12:12 AM, Mel Flynn wrote:

> On Sunday 09 August 2009 18:31:55 Charles Howse wrote:
>> On Aug 9, 2009, at 3:42 PM, Mel Flynn wrote:
>>> I've attached a patch that fixes the issue.
>>
>> <blush>
>> Whoops, looks like I've stepped in over my head.
>> Exactly how do I use this patch?
>> </blush>
>
> cd /usr/ports/www/mod_security
> patch < /path/to/patch
> make build

Whoops...

root@curly /root# cd /usr/ports/www/mod_security
root@curly /usr/ports/www/mod_security# patch < /usr/home/charles/ 
patch-www::mod_security.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- Makefile.orig	2009-08-05 12:31:21.000000000 -0800
|+++ Makefile	2009-08-09 12:34:34.000000000 -0800
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 47.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- /dev/null	2009-08-09 12:37:23.000000000 -0800
|+++ files/extra-patch-fix-6.x-link	2009-08-09 12:25:33.000000000 -0800
--------------------------
(Creating file files/extra-patch-fix-6.x-link...)
Patching file files/extra-patch-fix-6.x-link using Plan A...
Hunk #1 succeeded at 1.
done
root@curly /usr/ports/www/mod_security# make build
===>  Building for mod_security-2.5.9_1
# XXX there is "mlogc-static" target in the Makefile, too
cd /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/apache2  
&& /usr/bin/env SHELL=/bin/sh NO_LINT=YES   PREFIX=/usr/local   
LOCALBASE=/usr/local X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib - 
lXm -lXp" LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -fno-strict-aliasing - 
pipe" CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe"  MANPREFIX="/ 
usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"   
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"   
BSD_INSTALL_DATA="install  -o root -g wheel -m 444"   
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" make -f Makefile   
mlogc

Building dynamically linked mlogc...
/usr/local/lib/libapr-1.so: undefined reference to `pthread_yield'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_destroy'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_create'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_attr_init'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_exit'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_equal'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_detach'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_setstacksize'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_getdetachstate'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_setguardsize'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_attr_setdetachstate'
/usr/local/lib/libapr-1.so: undefined reference to `pthread_join'
/usr/local/lib/libapr-1.so: undefined reference to  
`pthread_cond_timedwait'
*** Error code 1

Stop in /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/ 
apache2/mlogc-src.
*** Error code 1

Stop in /usr/ports/www/mod_security/work/modsecurity-apache_2.5.9/ 
apache2.
*** Error code 1

Stop in /usr/ports/www/mod_security.
*** Error code 1

Stop in /usr/ports/www/mod_security.
root@curly /usr/ports/www/mod_security#




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FD0B1DCE-F2C4-4AA0-A2CF-90A283CFDC34>