summaryrefslogtreecommitdiff
path: root/databases/sqlrelay/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqlrelay/Makefile')
-rw-r--r--databases/sqlrelay/Makefile21
1 files changed, 18 insertions, 3 deletions
diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile
index 60ded16720a8..a3a9749b4726 100644
--- a/databases/sqlrelay/Makefile
+++ b/databases/sqlrelay/Makefile
@@ -9,6 +9,8 @@ MASTER_SITES= SF
MAINTAINER= pi@FreeBSD.org
COMMENT= Persistent DB connection pooling/proxying/load balancing system
+LICENSE= LGPL20
+
LIB_DEPENDS= librudiments.so:${PORTSDIR}/devel/rudiments
WANT_GNOME= yes
@@ -19,6 +21,7 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
--disable-tcl \
--disable-java \
--disable-msql \
+ --disable-nodejs \
--disable-perl \
--disable-php \
--disable-python \
@@ -43,6 +46,7 @@ TOSTRIP= bin/sqlr-start \
bin/sqlr-pwdenc \
bin/sqlr-status \
bin/sqlrsh \
+ lib/libsqlrodbc-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libsqlrutil-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libsqlrclient-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libsqlrclientwrapper-${SQLRELAY_PORTVERSION}.so.1.0.0 \
@@ -53,9 +57,13 @@ TOSTRIP= bin/sqlr-start \
lib/libmysql50sqlrelay-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libmysql51sqlrelay-${SQLRELAY_PORTVERSION}.so.1.0.0 \
lib/libsqlrserver-${SQLRELAY_PORTVERSION}.so.1.0.0 \
- libexec/sqlrelay/sqlrauth_default.so \
+ libexec/sqlrelay/sqlrauth_database.so \
libexec/sqlrelay/sqlrauth_sqlrelay.so \
+ libexec/sqlrelay/sqlrauth_userlist.so \
libexec/sqlrelay/sqlrconnection_router.so \
+ libexec/sqlrelay/sqlrfilter_patterns.so \
+ libexec/sqlrelay/sqlrfilter_regex.so \
+ libexec/sqlrelay/sqlrfilter_string.so \
libexec/sqlrelay/sqlrlogger_custom_nw.so \
libexec/sqlrelay/sqlrlogger_custom_sc.so \
libexec/sqlrelay/sqlrlogger_debug.so \
@@ -66,7 +74,9 @@ TOSTRIP= bin/sqlr-start \
libexec/sqlrelay/sqlrpwdenc_md5.so \
libexec/sqlrelay/sqlrpwdenc_rot.so \
libexec/sqlrelay/sqlrquery_sqlrcmdcstat.so \
- libexec/sqlrelay/sqlrquery_sqlrcmdgstat.so
+ libexec/sqlrelay/sqlrquery_sqlrcmdgstat.so \
+ libexec/sqlrelay/sqlrresultsettranslation_reformatdatetime.so \
+ libexec/sqlrelay/sqlrtranslation_normalize.so
.include "${.CURDIR}/Makefile.common"
@@ -82,6 +92,7 @@ LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm \
libsqlite3.so:${PORTSDIR}/databases/sqlite3
CONFIGURE_ARGS+= --with-gdbm-prefix="${LOCALBASE}" \
--with-sqlite-prefix="${LOCALBASE}"
+TOSTRIP+= libexec/sqlrelay/sqlrconnection_sqlite.so
.else
CONFIGURE_ARGS+= --without-gdbm-prefix \
--disable-sqlite
@@ -98,6 +109,7 @@ CONFIGURE_ARGS+= --disable-mysql
.if ${PORT_OPTIONS:MFIREBIRD}
USE_FIREBIRD= yes
CONFIGURE_ARGS+= --with-firebird-prefix="${LOCALBASE}"
+TOSTRIP+= libexec/sqlrelay/sqlrconnection_firebird.so
.else
CONFIGURE_ARGS+= --disable-firebird
.endif
@@ -105,6 +117,7 @@ CONFIGURE_ARGS+= --disable-firebird
.if ${PORT_OPTIONS:MPGSQL}
USES+= pgsql
CONFIGURE_ARGS+= --with-postgresql-prefix="${LOCALBASE}"
+TOSTRIP+= libexec/sqlrelay/sqlrconnection_postgresql.so
.else
CONFIGURE_ARGS+= --disable-postgresql
.endif
@@ -112,13 +125,15 @@ CONFIGURE_ARGS+= --disable-postgresql
.if ${PORT_OPTIONS:MODBC}
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS+= --with-odbc-prefix="${LOCALBASE}"
+TOSTRIP+= libexec/sqlrelay/sqlrconnection_odbc.so
.else
CONFIGURE_ARGS+= --disable-odbc
.endif
.if ${PORT_OPTIONS:MFREETDS}
-LIB_DEPENDS+= libtds.so:${PORTSDIR}/databases/freetds
+LIB_DEPENDS+= libtdsodbc.so:${PORTSDIR}/databases/freetds
CONFIGURE_ARGS+= --with-freetds-prefix="${LOCALBASE}"
+TOSTRIP+= libexec/sqlrelay/sqlrconnection_freetds.so
.else
CONFIGURE_ARGS+= --disable-freetds
.endif