|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../nufw/nufw.conf |
|
|
|
|
# Copyright (C) 2007 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2007 - 2009 The OpenSDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
|
# |
|
|
|
@ -55,13 +55,9 @@ fi
|
|
|
|
|
# Support user activity logging in Mysql database |
|
|
|
|
if pkginstalled mysql ; then |
|
|
|
|
pkgprefix -t mysql |
|
|
|
|
# 2007-08-04 NOTE: disabled because it doesn't build at the moment |
|
|
|
|
#var_append confopt ' ' "--with-mysql-log" |
|
|
|
|
var_append CPPFLAGS ' ' "-I$root$( pkgprefix includedir mysql )" |
|
|
|
|
var_append CFLAGS ' ' "-I$root$( pkgprefix includedir mysql )" |
|
|
|
|
var_append LDFLAGS ' ' "-L$root$( pkgprefix libdir mysql )/mysql" |
|
|
|
|
var_append LD_RUN_PATH ':' "$( pkgprefix libdir mysql )/mysql" |
|
|
|
|
export CPPFLAGS CFLAGS LDFLAGS LD_RUN_PATH |
|
|
|
|
var_append confopt ' ' "--with-mysql-log" |
|
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-I$(pkgprefix -r includedir mysql)" |
|
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-L$(pkgprefix -r libdir mysql)/mysql" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# Support user activity logging in PostgreSQL database |
|
|
|
@ -79,10 +75,5 @@ var_append confopt ' ' "--with-syslog-log"
|
|
|
|
|
|
|
|
|
|
# Support LDAP directory for users and acl lookup |
|
|
|
|
if pkginstalled openldap ; then |
|
|
|
|
pkgprefix -t openldap |
|
|
|
|
var_append confopt ' ' "--with-ldap" |
|
|
|
|
var_append CPPFLAGS ' ' "-I$root$( pkgprefix includedir openldap )" |
|
|
|
|
var_append CFLAGS ' ' "-I$root$( pkgprefix includedir openldap )" |
|
|
|
|
var_append LDFLAGS ' ' "-L$root$( pkgprefix libdir openldap )" |
|
|
|
|
export CPPFLAGS CFLAGS LDFLAGS |
|
|
|
|
fi |
|
|
|
|