mod_security 2.5.9

Charles Howse chowse at charter.net
Mon Aug 10 11:32:03 UTC 2009


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 at curly /root# cd /usr/ports/www/mod_security
root at 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 at 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 at curly /usr/ports/www/mod_security#



More information about the freebsd-questions mailing list