LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mod_security + apache2 (https://www.linuxquestions.org/questions/slackware-14/mod_security-apache2-539933/)

slackamp 03-23-2007 10:08 AM

mod_security + apache2
 
this might not be a slackware specific but i have slack11. i built my own apache2 and now i am stuck on building mod_security. i used the Slackbuild from linuxpackages so its a standard apache2 install. im confused as to what to put in tod_dir in Makefile for mod_security. here is the Makefile. i've used the apache2 source as top_dir, used /usr/include/apache2, /usr/libexec/apache2.

builddir = .

# To successfully build ModSecurity for Apache you will
# need to configure the "top_dir" variable properly. The
# correct value will differ from system to system.
#
# If you've installed Apache manually simply point to the
# installation directory. Most pre-packaged installations
# consist of two parts. One contains the binaries, and the
# other contains the "development" files. You will typically
# need both.
#
# The list below may help:
#
# Fedora Core - /usr/lib/httpd (the httpd-devel package must be installed)
#
# Debian - /usr/share/apache2 (apache2-prefork-dev or apache2-threaded-dev
# needed, depending on your installation type)
#
top_dir = /usr

top_srcdir = ${top_dir}
top_builddir = ${top_dir}

include ${top_builddir}/build/special.mk

APXS = apxs
APACHECTL = apachectl

INCLUDES = -I /usr/include/libxml2
DEFS = -DWITH_LIBXML2
#LIBS = -Lmy/lib/dir -lmylib

CFLAGS = -O2 -g -Wuninitialized -Wall -Wmissing-prototypes -Wshadow -Wunused-variable -Wunused-value -Wchar-subscripts -Wsign-
compare

all: local-shared-build

clean:
-rm -f *.o *.lo *.slo *.la *~ .libs

slackamp 03-23-2007 03:49 PM

well i figured it out, the apache2 slackbuild installed the needed files in /var/www/build.


All times are GMT -5. The time now is 12:59 AM.