From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 27 06:00:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8F251065673 for ; Wed, 27 Feb 2008 06:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9251413C45D for ; Wed, 27 Feb 2008 06:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1R603xj079823 for ; Wed, 27 Feb 2008 06:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1R603cP079821; Wed, 27 Feb 2008 06:00:03 GMT (envelope-from gnats) Resent-Date: Wed, 27 Feb 2008 06:00:03 GMT Resent-Message-Id: <200802270600.m1R603cP079821@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, Sunghyuk Do Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10BE2106566C for ; Wed, 27 Feb 2008 05:51:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id EE9AE13C458 for ; Wed, 27 Feb 2008 05:51:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1R5mWkJ067586 for ; Wed, 27 Feb 2008 05:48:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1R5mW4H067585; Wed, 27 Feb 2008 05:48:32 GMT (envelope-from nobody) Message-Id: <200802270548.m1R5mW4H067585@www.freebsd.org> Date: Wed, 27 Feb 2008 05:48:32 GMT From: Sunghyuk Do To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/121139: New port: databases/postgresql-pllua, lua procedural language for postgresql X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 06:00:03 -0000 >Number: 121139 >Category: ports >Synopsis: New port: databases/postgresql-pllua, lua procedural language for postgresql >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: Wed Feb 27 06:00:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sunghyuk Do >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: Daum >Environment: FreeBSD sunghyuk-bsd 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue Dec 11 13:47:02 KST 2007 >Description: PL/Lua is an implementation of Lua as a loadable procedural language for PostgreSQL >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: # # postgresql-pllua/ # postgresql-pllua/Makefile # postgresql-pllua/files # postgresql-pllua/files/patch-Makefile # postgresql-pllua/files/pkg-message.in # postgresql-pllua/pkg-descr # postgresql-pllua/distinfo # postgresql-pllua/pkg-plist # echo c - postgresql-pllua/ mkdir -p postgresql-pllua/ > /dev/null 2>&1 echo x - postgresql-pllua/Makefile sed 's/^X//' >postgresql-pllua/Makefile << 'END-of-postgresql-pllua/Makefile' X# New Ports collection makefile for: postgresql-pllua X# Date created: 27 Feb 2008 X# Whom: sunghyuk X# X# $FreeBSD$ X# X XPORTNAME= pllua XPORTVERSION= 0.2.2 XCATEGORIES= databases XMASTER_SITES= http://pgfoundry.org/frs/download.php/1602/ XPKGNAMEPREFIX= postgresql- X XMAINTAINER= sunghyuk@gmail.com XCOMMENT= PL/Lua procedural language for PostgreSQL database X XUSE_PGSQL= yes XUSE_GMAKE= yes XUSE_LUA= 5.1+ X XSUB_FILES= pkg-message XPKGMESSAGE= ${WRKSRC}/pkg-message X Xpost-patch: X @${REINPLACE_CMD} -e 's|%LUA_INC%|${LUA_INCDIR}|g' \ X -e 's|%LUA_LIB%|${LUA_LIBDIR}|g' \ X ${WRKSRC}/Makefile Xpost-install: X @${ECHO_MSG} '' X @${CAT} ${PKGMESSAGE} X @${ECHO_MSG} '' X X.include END-of-postgresql-pllua/Makefile echo c - postgresql-pllua/files mkdir -p postgresql-pllua/files > /dev/null 2>&1 echo x - postgresql-pllua/files/patch-Makefile sed 's/^X//' >postgresql-pllua/files/patch-Makefile << 'END-of-postgresql-pllua/files/patch-Makefile' X--- Makefile.orig 2008-02-27 11:29:32.000000000 +0900 X+++ Makefile 2008-02-27 11:30:16.000000000 +0900 X@@ -4,8 +4,8 @@ X # Lua specific X X # General X-LUAINC = X-LUALIB = -llua X+LUAINC = -I%LUA_INC% X+LUALIB = -L%LUA_LIB% -llua X X # Debian/Ubuntu X #LUAINC = -I/usr/include/lua5.1 END-of-postgresql-pllua/files/patch-Makefile echo x - postgresql-pllua/files/pkg-message.in sed 's/^X//' >postgresql-pllua/files/pkg-message.in << 'END-of-postgresql-pllua/files/pkg-message.in' XUse the following sql script to create PL/Lua X X ex) psql -f %%PREFIX%%/share/postgresql/contrib/pllua.sql END-of-postgresql-pllua/files/pkg-message.in echo x - postgresql-pllua/pkg-descr sed 's/^X//' >postgresql-pllua/pkg-descr << 'END-of-postgresql-pllua/pkg-descr' XPL/Lua is an implementation of Lua as a loadable procedural language Xfor PostgreSQL: with PL/Lua you can use PostgreSQL functions and Xtriggers written in the Lua programming language. X XWWW: http://pllua.projects.postgresql.org/ END-of-postgresql-pllua/pkg-descr echo x - postgresql-pllua/distinfo sed 's/^X//' >postgresql-pllua/distinfo << 'END-of-postgresql-pllua/distinfo' XMD5 (pllua-0.2.2.tar.gz) = 5d68a539fec0ea49bd08fa91698b9c8a XSHA256 (pllua-0.2.2.tar.gz) = 2e7a5b970d2ea3b50ff1814460a0703ffb4cdd3a8e19a79a2e30fa82cbdf03ed XSIZE (pllua-0.2.2.tar.gz) = 22345 END-of-postgresql-pllua/distinfo echo x - postgresql-pllua/pkg-plist sed 's/^X//' >postgresql-pllua/pkg-plist << 'END-of-postgresql-pllua/pkg-plist' Xlib/postgresql/pllua.so Xshare/postgresql/contrib/pllua.sql X@dirrmtry lib/postgresql X@dirrmtry share/postgresql/contrib X@dirrmtry share/postgresql END-of-postgresql-pllua/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: