From b61e1e3b426cd1349fc3ebd45b81fc927623c13c Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Tue, 17 Jul 2012 14:46:03 +0000 Subject: [PATCH] ODBC backend module for mod_sql of ProFTPD WWW: http://www.proftpd.org/docs/contrib/mod_sql.html --- databases/Makefile | 1 + databases/proftpd-mod_sql_odbc/Makefile | 31 ++++++++++++++++++++++++ databases/proftpd-mod_sql_odbc/pkg-descr | 3 +++ 3 files changed, 35 insertions(+) create mode 100644 databases/proftpd-mod_sql_odbc/Makefile create mode 100644 databases/proftpd-mod_sql_odbc/pkg-descr diff --git a/databases/Makefile b/databases/Makefile index 8f07419c733b..03e3e4fd493a 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -665,6 +665,7 @@ SUBDIR += postgresql_autodoc SUBDIR += powerarchitect SUBDIR += proftpd-mod_sql_mysql + SUBDIR += proftpd-mod_sql_odbc SUBDIR += proftpd-mod_sql_postgres SUBDIR += pure-sql3 SUBDIR += puredb diff --git a/databases/proftpd-mod_sql_odbc/Makefile b/databases/proftpd-mod_sql_odbc/Makefile new file mode 100644 index 000000000000..f7cc4b6b8349 --- /dev/null +++ b/databases/proftpd-mod_sql_odbc/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: proftpd-mod_sql_odbc +# Date created: 17 July 2012 +# Whom: Martin Matuska +# +# $FreeBSD$ + +PORTNAME= mod_sql_odbc +CATEGORIES= databases ftp +PKGNAMEPREFIX= proftpd- + +MAINTAINER= mm@FreeBSD.org +COMMENT= ODBC ProFTPD module + +LICENSE= GPLv2 + +DESCR= ${.CURDIR}/pkg-descr + +LATEST_LINK= ${PKGNAMEPREFIX}-${PORTNAME} +MASTERDIR= ${.CURDIR}/../../ftp/proftpd + +LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc +CONFIGURE_ARGS= LIBS=-liodbc \ + LD_LIBRARY_PATH="${LOCALBASE}/lib" \ + LDFLAGS="-L${LOCALBASE}/lib" + +INCLUDEDIRS= ${LOCALBASE}/include +LIBDIRS= ${LOCALBASE}/lib + +_BUILDING_PROFTPD_MODULE= ${PORTNAME} + +.include "${MASTERDIR}/Makefile" diff --git a/databases/proftpd-mod_sql_odbc/pkg-descr b/databases/proftpd-mod_sql_odbc/pkg-descr new file mode 100644 index 000000000000..a6ad4d0ec942 --- /dev/null +++ b/databases/proftpd-mod_sql_odbc/pkg-descr @@ -0,0 +1,3 @@ +ODBC backend module for mod_sql of ProFTPD + +WWW: http://www.proftpd.org/docs/contrib/mod_sql.html