From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 18 11:10:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0BEB4D55 for ; Fri, 18 Oct 2013 11:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE64D2633 for ; Fri, 18 Oct 2013 11:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9IBA2XS004818 for ; Fri, 18 Oct 2013 11:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9IBA2bc004817; Fri, 18 Oct 2013 11:10:02 GMT (envelope-from gnats) Resent-Date: Fri, 18 Oct 2013 11:10:02 GMT Resent-Message-Id: <201310181110.r9IBA2bc004817@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olexander Melnyk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3D15E8B6 for ; Fri, 18 Oct 2013 11:00:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 29BE12594 for ; Fri, 18 Oct 2013 11:00:42 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9IB0fqr092683 for ; Fri, 18 Oct 2013 11:00:41 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9IB0fPU092666; Fri, 18 Oct 2013 11:00:41 GMT (envelope-from nobody) Message-Id: <201310181100.r9IB0fPU092666@oldred.freebsd.org> Date: Fri, 18 Oct 2013 11:00:41 GMT From: Olexander Melnyk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183079: new port databases/luaDBI X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 11:10:03 -0000 >Number: 183079 >Category: ports >Synopsis: new port databases/luaDBI >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 11:10:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Olexander Melnyk >Release: >Organization: >Environment: >Description: Lua DBI is a database interface library for Lua. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # luaDBI # luaDBI/pkg-descr # luaDBI/Makefile # luaDBI/distinfo # luaDBI/files # luaDBI/files/patch-Makefile # echo c - luaDBI mkdir -p luaDBI > /dev/null 2>&1 echo x - luaDBI/pkg-descr sed 's/^X//' >luaDBI/pkg-descr << '622e0ba79473b0ea1e10224066e4e846' XLuaDBI is a database interface library for Lua. XIt is designed to provide a RDBMS agnostic API for handling database operations. X XWWW: http://code.google.com/p/luadbi/ 622e0ba79473b0ea1e10224066e4e846 echo x - luaDBI/Makefile sed 's/^X//' >luaDBI/Makefile << '4785abe1a1305752377dc3ceda64c159' X# Created by: Olexander Melnyk X# $FreeBSD$ X XPORTNAME= luaDBI XPORTVERSION= 0.5 XCATEGORIES= databases XMASTER_SITES= http://luadbi.googlecode.com/files/ XDISTNAME= luadbi.${PORTVERSION} X XMAINTAINER= olexander.v.melnyk@gmail.com XCOMMENT= LuaDBI driver X XLICENSE= MIT X XNO_WRKSUBDIR= yes X XUSE_LUA= 5.1 XUSE_GMAKE= yes X XCFLAGS+= -g -pedantic -Wall -O2 -shared -fpic -I ${LOCALBASE}/include -I ${LUA_INCDIR} XLDFLAGS+= -shared -L ${LOCALBASE}/lib -L ${LUA_LIBDIR} X XOPTIONS_DEFINE= MYSQL SQLITE3 PGSQL XOPTIONS_DEFAULT= MYSQL X XNO_STAGE= yes X X.include X XPLIST_FILES= ${LUA_MODSHAREDIR}/DBI.lua X X.if ${PORT_OPTIONS:MMYSQL} XUSE_MYSQL= yes XLDFLAGS+= -L ${LOCALBASE}/lib/mysql XCFLAGS+= -I ${LOCALBASE}/include/mysql XALL_TARGET+= mysql XPLIST_FILES+= ${LUA_MODLIBDIR}/dbdmysql.so X.endif X X.if ${PORT_OPTIONS:MSQLITE3} XUSE_SQLITE= 3 XALL_TARGET+= sqlite3 XPLIST_FILES+= ${LUA_MODLIBDIR}/dbdsqlite3.so X.endif X X.if ${PORT_OPTIONS:MPGSQL} XUSE_PGSQL= yes XALL_TARGET+= pgsql XPLIST_FILES+= ${LUA_MODLIBDIR}/dbdpostgresql.so X.endif X X.if !${PORT_OPTIONS:MPGSQL} && !${PORT_OPTIONS:MMYSQL} && !${PORT_OPTIONS:MSQLITE3} XIGNORE= you must select at least one option from MYSQL, SQLITE3 or PGSQL X.endif X XCFLAGS+= -I . X XMAKE_ENV+= COMMON_LDFLAGS="${LDFLAGS}" X Xdo-install: X @${CP} ${WRKSRC}/DBI.lua ${LUA_MODSHAREDIR} X.if ${PORT_OPTIONS:MMYSQL} X @${INSTALL_PROGRAM} ${WRKSRC}/dbdmysql.so ${LUA_MODLIBDIR} X.endif X.if ${PORT_OPTIONS:MSQLITE3} X @${INSTALL_PROGRAM} ${WRKSRC}/dbdsqlite3.so ${LUA_MODLIBDIR} X.endif X.if ${PORT_OPTIONS:MPGSQL} X @${INSTALL_PROGRAM} ${WRKSRC}/dbdpostgresql.so ${LUA_MODLIBDIR} X.endif X X.include 4785abe1a1305752377dc3ceda64c159 echo x - luaDBI/distinfo sed 's/^X//' >luaDBI/distinfo << '38c5613891d649ffa93a8b74d210d986' XSHA256 (luadbi.0.5.tar.gz) = 49116458dd80052536bf5d7e2b2a1f5a0fa42a671ce77f1cb7355ef7faeb331e XSIZE (luadbi.0.5.tar.gz) = 22454 38c5613891d649ffa93a8b74d210d986 echo c - luaDBI/files mkdir -p luaDBI/files > /dev/null 2>&1 echo x - luaDBI/files/patch-Makefile sed 's/^X//' >luaDBI/files/patch-Makefile << '2b96a9791a9212e7b230f8d5f6fb0e56' X--- Makefile.orig 2010-07-16 09:22:13.000000000 +0300 X+++ Makefile 2013-10-17 18:24:00.000000000 +0300 X@@ -1,11 +1,8 @@ X-CC=gcc X-CFLAGS=-g -pedantic -Wall -O2 -shared -fpic -I /usr/include/lua5.1 -I /usr/include/mysql -I /usr/include/postgresql/ -I /opt/ibm/db2exc/V9.5/include/ -I /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public/ -I . X AR=ar rcu X RANLIB=ranlib X RM=rm -rf X MKDIR=mkdir -p X X-COMMON_LDFLAGS= X MYSQL_LDFLAGS=$(COMMON_LDFLAGS) -lmysqlclient X PSQL_LDFLAGS=$(COMMON_LDFLAGS) -lpq X SQLITE3_LDFLAGS=$(COMMON_LDFLAGS) -lsqlite3 2b96a9791a9212e7b230f8d5f6fb0e56 exit >Release-Note: >Audit-Trail: >Unformatted: