[arch-commits] Commit in opendbx/repos (6 files)

Sergej Pupykin spupykin at archlinux.org
Fri Feb 27 15:33:58 UTC 2015


    Date: Friday, February 27, 2015 @ 16:33:57
  Author: spupykin
Revision: 128379

archrelease: copy trunk to community-i686, community-x86_64

Added:
  opendbx/repos/community-i686/
  opendbx/repos/community-i686/PKGBUILD
    (from rev 128378, opendbx/trunk/PKGBUILD)
  opendbx/repos/community-i686/opendbx.patch
    (from rev 128378, opendbx/trunk/opendbx.patch)
  opendbx/repos/community-x86_64/
  opendbx/repos/community-x86_64/PKGBUILD
    (from rev 128378, opendbx/trunk/PKGBUILD)
  opendbx/repos/community-x86_64/opendbx.patch
    (from rev 128378, opendbx/trunk/opendbx.patch)

--------------------------------+
 community-i686/PKGBUILD        |   43 +++++++++++++++++++++++++++++++++++++++
 community-i686/opendbx.patch   |   11 +++++++++
 community-x86_64/PKGBUILD      |   43 +++++++++++++++++++++++++++++++++++++++
 community-x86_64/opendbx.patch |   11 +++++++++
 4 files changed, 108 insertions(+)

Copied: opendbx/repos/community-i686/PKGBUILD (from rev 128378, opendbx/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-27 15:33:57 UTC (rev 128379)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Leonard de Ruijter <leonard at aur.archlinux.org>
+# Contributor: Hubert Kario <hubert at kario.pl>
+# Contributor: Artyom Smirnov <smirnoffjr at gmail.com>
+
+pkgname=opendbx
+pkgver=1.4.6
+pkgrel=1
+pkgdesc="Extremely lightweight but extensible database access library written in C."
+arch=('i686' 'x86_64')
+url="http://www.linuxnetworks.de/doc/index.php/OpenDBX"
+license=('LGPL')
+options=(!libtool)
+depends=('libfbclient' 'libmariadbclient' 'postgresql-libs' 'sqlite' 'freetds')
+source=(http://linuxnetworks.de/opendbx/download/${pkgname}-${pkgver}.tar.gz
+        'opendbx.patch')
+sha256sums=('2246a03812c7d90f10194ad01c2213a7646e383000a800277c6fb8d2bf81497c'
+            '786f9622791de113bfe1ee9fc2fdc42ea4a58d31a006db1dc91ffd7fb8b6deeb')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -up1 <"$srcdir/opendbx.patch"
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  CPPFLAGS=${CPPFLAGS}" -I/usr/include/mysql"\
+  ./configure --with-backends="firebird mysql mssql odbc pgsql sqlite3 sqlite3 sybase" \
+              --prefix=/usr
+  make all -j1
+}
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opendbx/repos/community-i686/opendbx.patch (from rev 128378, opendbx/trunk/opendbx.patch)
===================================================================
--- community-i686/opendbx.patch	                        (rev 0)
+++ community-i686/opendbx.patch	2015-02-27 15:33:57 UTC (rev 128379)
@@ -0,0 +1,11 @@
+--- opendbx-1.4.5/backends/mssql/mssql_basic.c	2010-04-19 10:55:58.000000000 +0200
++++ opendbx-1.4.5-2/backends/mssql/mssql_basic.c	2012-01-24 16:03:09.560260177 +0100
+@@ -454,7 +454,7 @@
+ 
+ 	DBINT i, dlen;
+ 	BYTE* data;
+-	DBDATEREC di;
++	struct tds_sybase_dbdaterec di;
+ 	struct tdsgres* gres = (struct tdsgres*) result->generic;
+ 	struct tdsares* ares = (struct tdsares*) result->aux;
+ 

Copied: opendbx/repos/community-x86_64/PKGBUILD (from rev 128378, opendbx/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-27 15:33:57 UTC (rev 128379)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Leonard de Ruijter <leonard at aur.archlinux.org>
+# Contributor: Hubert Kario <hubert at kario.pl>
+# Contributor: Artyom Smirnov <smirnoffjr at gmail.com>
+
+pkgname=opendbx
+pkgver=1.4.6
+pkgrel=1
+pkgdesc="Extremely lightweight but extensible database access library written in C."
+arch=('i686' 'x86_64')
+url="http://www.linuxnetworks.de/doc/index.php/OpenDBX"
+license=('LGPL')
+options=(!libtool)
+depends=('libfbclient' 'libmariadbclient' 'postgresql-libs' 'sqlite' 'freetds')
+source=(http://linuxnetworks.de/opendbx/download/${pkgname}-${pkgver}.tar.gz
+        'opendbx.patch')
+sha256sums=('2246a03812c7d90f10194ad01c2213a7646e383000a800277c6fb8d2bf81497c'
+            '786f9622791de113bfe1ee9fc2fdc42ea4a58d31a006db1dc91ffd7fb8b6deeb')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -up1 <"$srcdir/opendbx.patch"
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  CPPFLAGS=${CPPFLAGS}" -I/usr/include/mysql"\
+  ./configure --with-backends="firebird mysql mssql odbc pgsql sqlite3 sqlite3 sybase" \
+              --prefix=/usr
+  make all -j1
+}
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opendbx/repos/community-x86_64/opendbx.patch (from rev 128378, opendbx/trunk/opendbx.patch)
===================================================================
--- community-x86_64/opendbx.patch	                        (rev 0)
+++ community-x86_64/opendbx.patch	2015-02-27 15:33:57 UTC (rev 128379)
@@ -0,0 +1,11 @@
+--- opendbx-1.4.5/backends/mssql/mssql_basic.c	2010-04-19 10:55:58.000000000 +0200
++++ opendbx-1.4.5-2/backends/mssql/mssql_basic.c	2012-01-24 16:03:09.560260177 +0100
+@@ -454,7 +454,7 @@
+ 
+ 	DBINT i, dlen;
+ 	BYTE* data;
+-	DBDATEREC di;
++	struct tds_sybase_dbdaterec di;
+ 	struct tdsgres* gres = (struct tdsgres*) result->generic;
+ 	struct tdsares* ares = (struct tdsares*) result->aux;
+ 



More information about the arch-commits mailing list