From owner-freebsd-questions@FreeBSD.ORG Mon Aug 10 11:32:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66793106566C for ; Mon, 10 Aug 2009 11:32:03 +0000 (UTC) (envelope-from chowse@charter.net) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 275BF8FC1E for ; Mon, 10 Aug 2009 11:32:03 +0000 (UTC) Received: from imp10 ([10.20.200.10]) by mta11.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090810113157.EZRV22327.mta11.charter.net@imp10>; Mon, 10 Aug 2009 07:31:57 -0400 Received: from larry.local ([24.176.107.74]) by imp10 with smtp.charter.net id SbXx1c0031cLRPc05bXxFq; Mon, 10 Aug 2009 07:31:57 -0400 X-Authority-Analysis: v=1.0 c=1 a=KHOC4vZj53SCw1B2qrcA:9 a=djhuVKbkYAjcqjgZ30YA:7 a=T6KGGLiR2JHpbc_OpB0NCYBO3xYA:4 Message-Id: From: Charles Howse To: Mel Flynn In-Reply-To: <200908092112.50413.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 10 Aug 2009 06:31:56 -0500 References: <2097B988-0F1B-4F60-812D-71F6AB2C17CA@charter.net> <200908091242.58470.mel.flynn+fbsd.questions@mailing.thruhere.net> <66AC013D-8CC8-4558-A23A-83FA5BB7FFF1@charter.net> <200908092112.50413.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: mod_security 2.5.9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2009 11:32:03 -0000 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. >> >> >> Whoops, looks like I've stepped in over my head. >> Exactly how do I use this patch? >> > > 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#