Packages

Tasklist

FS#34 - GreenSQL Database Firewall

Attached to Project: Packages
Opened by Phillip Smith (fukawi2) - Wednesday, 10 February 2010, 23:09 GMT
Last edited by Phillip Smith (fukawi2) - Thursday, 11 February 2010, 05:42 GMT
Task Type Package Request
Category server-extra
Status Task for New Dev
Assigned To No-one
Operating System All
Severity Low
Priority Low
Reported Version 1.0
Due in Version spruce
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Make currently borks with the following error because they have a backwards installer instead of using ./configure && make && make install like everyone else...

==> Starting build()...
rm -rf greensql-fw src/greensql-fw
cd src; make; cp greensql-fw ../
make[1]: Entering directory `/home/fukawi2/ArchServer/extra/greensql/src/greensql-fw-1.2.2/src'
g++ -g -Wno-deprecated -Wall -I/usr/local/include/ -c -o main.o main.cpp
main.cpp:23:19: error: event.h: No such file or directory
In file included from greensql.hpp:11,
from main.cpp:26:
connection.hpp:34: error: field ‘proxy_event’ has incomplete type
connection.hpp:35: error: field ‘backend_event’ has incomplete type
In file included from main.cpp:26:
greensql.hpp:73: error: field ‘serverEvent’ has incomplete type
main.cpp: In function ‘int main(int, char**)’:
main.cpp:146: error: ‘event_init’ was not declared in this scope
main.cpp:148: error: aggregate ‘event tEvent’ has incomplete type and cannot be defined
main.cpp:149: error: invalid application of ‘sizeof’ to incomplete type ‘event’
main.cpp:153: error: ‘evtimer_set’ was not declared in this scope
main.cpp:154: error: ‘evtimer_add’ was not declared in this scope
main.cpp:164: error: ‘event_loop’ was not declared in this scope
main.cpp: In function ‘void clb_timeout(int, short int, void*)’:
main.cpp:229: error: ‘event_del’ was not declared in this scope
main.cpp:238: error: ‘evtimer_set’ was not declared in this scope
main.cpp:239: error: ‘evtimer_add’ was not declared in this scope
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/fukawi2/ArchServer/extra/greensql/src/greensql-fw-1.2.2/src'
cp: cannot stat `greensql-fw': No such file or directory
make: *** [greensql-fw] Error 1
==> ERROR: Build Failed.



pkgname=greensql
pkgver=1.2.2
pkgrel=1
pkgdesc="Database firewall used to protect databases from SQL injection attacks. Works as a proxy for SQL commands and has built in support for MySQL & PostgreSQL."
arch=('i686' 'x86_64')
license=('GPL')
depends=('bison' 'flex')
#optdepends=('dump: for creating backups in dump format' 'samba: for backing up Windows hosts')
install="$pkgname.install"
url="http://www.greensql.net"
source=("greensql-fw-1.2.2.tar.gz::http://www.greensql.net/download/get?os=Source_Code&platform=Any&filename=$pkgname-fw-$pkgver.tar.gz")
md5sums=('8d685280d46728f739a6730c9d62ab5a')

build() {
cd $srcdir/$pkgname-fw-$pkgver/

make
}

package() {
msg ""
}

# vim:set ts=2 sw=2 et:
This task depends upon

Comment by Samed Beyribey (ras0ir) - Tuesday, 02 March 2010, 12:43 GMT
You need to install libevent package (which is in core) to build it.
If you dont have time creating a packge for it, i'll take care of this package.
Comment by Phillip Smith (fukawi2) - Tuesday, 02 March 2010, 21:41 GMT
Thanks for tracking that down Samed... There's no rush on getting the package done (due in spruce) but if you want to adopt it, go for it :)

Loading...