Commit b99fd992 authored by Natanael Copa's avatar Natanael Copa

Merge remote branch 'remotes/mmason/master'

parents a7195df5 af748fa3
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=perl-io-multiplex
_realname=IO-Multiplex
pkgver=1.10
pkgrel=0
pkgdesc="Manage IO on many file handles"
url="http://search.cpan.org/dist/IO-Multiplex/"
license="unknown"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BB/BBB/$_realname-$pkgver.tar.gz"
build() {
cd "$srcdir/$_realname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="ce230ee0a4afbff59da66f0c42e0340b IO-Multiplex-1.10.tar.gz"
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=perl-net-rblclient
_realname=Net-RBLClient
pkgver=0.5
pkgrel=0
pkgdesc="Queries multiple Realtime Blackhole Lists in parallel"
url="http://search.cpan.org/dist/Net-RBLClient/"
license="unknown"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AB/ABLUM/$_realname-$pkgver.tar.gz"
build() {
cd "$srcdir/RBLCLient-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="1fb9961106cbb5a6eb2257762847e502 Net-RBLClient-0.5.tar.gz"
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=perl-parse-syslog
_realname=Parse-Syslog
pkgver=1.10
pkgrel=0
pkgdesc="Parse Unix syslog files"
url="http://search.cpan.org/~dschwei/Parse-Syslog-1.10/"
license="unknown"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DS/DSCHWEI/$_realname-$pkgver.tar.gz"
build() {
cd "$srcdir/$_realname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="e1c4c03aaa7cb8d2baa52f294dd9accc Parse-Syslog-1.10.tar.gz"
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=pllua
pkgver=0.3.1
pkgrel=0
pkgdesc="Procedural language for PostgreSQL using Lua"
url="http://pgfoundry.org/projects/pllua"
license="GPL"
depends="postgresql"
makedepends="postgresql-dev lua-dev ccache"
install=
subpackages=""
source="http://pgfoundry.org/frs/download.php/1722/$pkgname-$pkgver.tar.gz
pllua-01-0.3.1-include.patch"
# append extra dependencies to -dev subpackage
# remove if not used.
# depends_dev="somepackage-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
for i in "$srcdir"/*.patch; do
msg "Applying ${i}"
patch -p1 -i $i || return 1
done
make || return 1
make DESTDIR="$pkgdir" install
# remove the 2 lines below (and this) if there is no init.d script
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="e57385bdf2d533ac73cd02401795cea8 pllua-0.3.1.tar.gz
a47387e64b7dba8d58237c7dad0e2d61 pllua-01-0.3.1-include.patch"
#most of fix from here http://postgis.refractions.net/pipermail/postgis-devel/2009-February/004879.html
--- pllua-0.3.1/plluaapi.c.orig Thu Sep 17 15:34:07 2009
+++ pllua-0.3.1/plluaapi.c Thu Sep 17 15:34:18 2009
@@ -7,6 +7,10 @@
#include "pllua.h"
#include "rowstamp.h"
+#include "utils/guc.h"
+extern Datum textout (PG_FUNCTION_ARGS);
+extern Datum bpcharout(PG_FUNCTION_ARGS);
+extern Datum varcharout(PG_FUNCTION_ARGS);
/* extended function info */
typedef struct luaP_Info {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment