Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New Package: mariadb-connector-c-3.1.4
@ 2019-11-05  0:28 voidlinux-github
  2019-11-05  0:30 ` voidlinux-github
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05  0:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

There is a new pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16128

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16128.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16128.patch --]
[-- Type: text/x-diff, Size: 2106 bytes --]

From 5e9fa3501e5b63aad90bcb378e42b7900e8a34b3 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Tue, 5 Nov 2019 01:25:01 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c-devel    |  1 +
 srcpkgs/mariadb-connector-c/template | 25 +++++++++++++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/mariadb-connector-c-devel
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..d69e1846536 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1 
diff --git a/srcpkgs/mariadb-connector-c-devel b/srcpkgs/mariadb-connector-c-devel
new file mode 120000
index 00000000000..39f1ff07000
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c-devel
@@ -0,0 +1 @@
+mariadb-connector-c
\ No newline at end of file
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..286d0b579c6
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,25 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+build_helper="qemu"
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+mariadb-connector-c-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/mariadb/*.so
+		vmove usr/lib/mariadb/*.a
+		vmove usr/lib/pkgconfig
+	}
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
@ 2019-11-05  0:30 ` voidlinux-github
  2019-11-05  1:46 ` voidlinux-github
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05  0:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/pull/16128#issuecomment-549609505

Comment:
`mariadb_config` belongs to development. It allows to query for includes, library paths, and so on.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
  2019-11-05  0:30 ` voidlinux-github
@ 2019-11-05  1:46 ` voidlinux-github
  2019-11-05  1:55 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05  1:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/pull/16128#issuecomment-549626772

Comment:
Cross-compilation a bit better now. But not 100% success.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
  2019-11-05  0:30 ` voidlinux-github
  2019-11-05  1:46 ` voidlinux-github
@ 2019-11-05  1:55 ` voidlinux-github
  2019-11-05  2:08 ` voidlinux-github
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05  1:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16128

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16128.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16128.patch --]
[-- Type: text/x-diff, Size: 2148 bytes --]

From 7e6c3b022348787b6f50fc60a0a80da9111c6e0f Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Tue, 5 Nov 2019 01:25:01 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c-devel    |  1 +
 srcpkgs/mariadb-connector-c/template | 26 ++++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/mariadb-connector-c-devel
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..d69e1846536 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1 
diff --git a/srcpkgs/mariadb-connector-c-devel b/srcpkgs/mariadb-connector-c-devel
new file mode 120000
index 00000000000..39f1ff07000
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c-devel
@@ -0,0 +1 @@
+mariadb-connector-c
\ No newline at end of file
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..6dae1071936
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,26 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+archs="x86_64 i686 aarch64 x86_64-musl"
+build_style=cmake
+build_helper="qemu"
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+mariadb-connector-c-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/mariadb/*.so
+		vmove usr/lib/mariadb/*.a
+		vmove usr/lib/pkgconfig
+	}
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-11-05  1:55 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-05  2:08 ` voidlinux-github
  2019-11-05 14:47 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05  2:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/pull/16128#issuecomment-549631320

Comment:
Here is the link with the cross-compiler error messages:

https://travis-ci.org/void-linux/void-packages/builds/607412973?utm_source=github_status&utm_medium=notification

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (3 preceding siblings ...)
  2019-11-05  2:08 ` voidlinux-github
@ 2019-11-05 14:47 ` voidlinux-github
  2019-11-05 18:39 ` voidlinux-github
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05 14:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16128

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16128.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16128.patch --]
[-- Type: text/x-diff, Size: 2140 bytes --]

From b2132d12c1effcd1e4011b85cdbf5e4e688f5d76 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Tue, 5 Nov 2019 01:25:01 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c-devel    |  1 +
 srcpkgs/mariadb-connector-c/template | 26 ++++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/mariadb-connector-c-devel
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..d69e1846536 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1 
diff --git a/srcpkgs/mariadb-connector-c-devel b/srcpkgs/mariadb-connector-c-devel
new file mode 120000
index 00000000000..39f1ff07000
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c-devel
@@ -0,0 +1 @@
+mariadb-connector-c
\ No newline at end of file
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..17e1973f9d2
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,26 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+archs="x86_64 i686 x86_64-musl"
+build_style=cmake
+build_helper="qemu"
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+mariadb-connector-c-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/mariadb/*.so
+		vmove usr/lib/mariadb/*.a
+		vmove usr/lib/pkgconfig
+	}
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (4 preceding siblings ...)
  2019-11-05 14:47 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-05 18:39 ` voidlinux-github
  2019-11-05 18:44 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05 18:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

New comment by newbluemoon on void-packages repository

https://github.com/void-linux/void-packages/pull/16128#issuecomment-549960367

Comment:
The failure on musl targets is because the musl libc doesn’t have `ucontext.h`. See e.g. [here](https://www.openwall.com/lists/musl/2018/01/29/2) why.

In `include/ma_context.h` there is
```
#ifdef _WIN32
#define MY_CONTEXT_USE_WIN32_FIBERS 1
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && !defined(__ILP32__)
#define MY_CONTEXT_USE_X86_64_GCC_ASM
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__)
#define MY_CONTEXT_USE_I386_GCC_ASM
#elif defined(HAVE_UCONTEXT_H)
#define MY_CONTEXT_USE_UCONTEXT
#else
#define MY_CONTEXT_DISABLE
#endif
```
So `mariadb-connector-c` uses its own asm code for x86_64. That’s why this target works. For ARM (and other targets) it falls back to the libc’s `ucontext.h`. The check for `ucontext.h` doesn’t fail because it is part of the cross-compiler packages (I don’t have enough insight to know why). But you just have to patch out that check so that the code follows the branch without ucontext, like e.g.:

```
pre_configure() {
	case "$XBPS_TARGET_MACHINE" in
		*-musl)	vsed -i -e "/CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)/d" \
			cmake/CheckIncludeFiles.cmake
	esac
}
```

and remove the line
`archs="x86_64 i686 x86_64-musl"`

Now it should be fine. :)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (5 preceding siblings ...)
  2019-11-05 18:39 ` voidlinux-github
@ 2019-11-05 18:44 ` voidlinux-github
  2019-11-05 19:19 ` voidlinux-github
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05 18:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16128

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16128.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16128.patch --]
[-- Type: text/x-diff, Size: 2285 bytes --]

From 50363b1d6c701fc32abff4bdf56de80efbd75ec2 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Tue, 5 Nov 2019 01:25:01 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c-devel    |  1 +
 srcpkgs/mariadb-connector-c/template | 32 ++++++++++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 120000 srcpkgs/mariadb-connector-c-devel
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..d69e1846536 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1 
diff --git a/srcpkgs/mariadb-connector-c-devel b/srcpkgs/mariadb-connector-c-devel
new file mode 120000
index 00000000000..39f1ff07000
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c-devel
@@ -0,0 +1 @@
+mariadb-connector-c
\ No newline at end of file
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..be0baacb539
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,32 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+build_helper="qemu"
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+pre_configure() {
+	case "$XBPS_TARGET_MACHINE" in
+		*-musl)	vsed -i -e "/CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)/d" \
+			cmake/CheckIncludeFiles.cmake
+	esac
+}
+
+mariadb-connector-c-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/mariadb/*.so
+		vmove usr/lib/mariadb/*.a
+		vmove usr/lib/pkgconfig
+	}
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (6 preceding siblings ...)
  2019-11-05 18:44 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-05 19:19 ` voidlinux-github
  2019-11-05 19:55 ` voidlinux-github
  2019-11-08 17:13 ` voidlinux-github
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05 19:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16128

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16128.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16128.patch --]
[-- Type: text/x-diff, Size: 2287 bytes --]

From c440ecec63cd95f022f3f0bcedfaf7ebe9fd77b8 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Tue, 5 Nov 2019 01:25:01 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c-devel    |  1 +
 srcpkgs/mariadb-connector-c/template | 33 ++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/mariadb-connector-c-devel
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..d69e1846536 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1 
diff --git a/srcpkgs/mariadb-connector-c-devel b/srcpkgs/mariadb-connector-c-devel
new file mode 120000
index 00000000000..39f1ff07000
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c-devel
@@ -0,0 +1 @@
+mariadb-connector-c
\ No newline at end of file
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..7f58ebcb9e5
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,33 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+build_helper="qemu"
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+
+pre_configure() {
+	case "$XBPS_TARGET_MACHINE" in
+		*-musl)	vsed -i -e "/CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)/d" \
+			cmake/CheckIncludeFiles.cmake
+	esac
+}
+
+mariadb-connector-c-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/mariadb/*.so
+		vmove usr/lib/mariadb/*.a
+		vmove usr/lib/pkgconfig
+	}
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (7 preceding siblings ...)
  2019-11-05 19:19 ` voidlinux-github
@ 2019-11-05 19:55 ` voidlinux-github
  2019-11-08 17:13 ` voidlinux-github
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-05 19:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16128

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16128.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16128.patch --]
[-- Type: text/x-diff, Size: 2285 bytes --]

From 443b33cda4c1d29afda34c959705c29d96d20d88 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Tue, 5 Nov 2019 01:25:01 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c-devel    |  1 +
 srcpkgs/mariadb-connector-c/template | 32 ++++++++++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 120000 srcpkgs/mariadb-connector-c-devel
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..d69e1846536 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1 
diff --git a/srcpkgs/mariadb-connector-c-devel b/srcpkgs/mariadb-connector-c-devel
new file mode 120000
index 00000000000..39f1ff07000
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c-devel
@@ -0,0 +1 @@
+mariadb-connector-c
\ No newline at end of file
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..be0baacb539
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,32 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+build_helper="qemu"
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+pre_configure() {
+	case "$XBPS_TARGET_MACHINE" in
+		*-musl)	vsed -i -e "/CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)/d" \
+			cmake/CheckIncludeFiles.cmake
+	esac
+}
+
+mariadb-connector-c-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/mariadb/*.so
+		vmove usr/lib/mariadb/*.a
+		vmove usr/lib/pkgconfig
+	}
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (8 preceding siblings ...)
  2019-11-05 19:55 ` voidlinux-github
@ 2019-11-08 17:13 ` voidlinux-github
  9 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-08 17:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16128

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16128.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16128.patch --]
[-- Type: text/x-diff, Size: 2285 bytes --]

From 443b33cda4c1d29afda34c959705c29d96d20d88 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Tue, 5 Nov 2019 01:25:01 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c-devel    |  1 +
 srcpkgs/mariadb-connector-c/template | 32 ++++++++++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 120000 srcpkgs/mariadb-connector-c-devel
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..d69e1846536 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1 
diff --git a/srcpkgs/mariadb-connector-c-devel b/srcpkgs/mariadb-connector-c-devel
new file mode 120000
index 00000000000..39f1ff07000
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c-devel
@@ -0,0 +1 @@
+mariadb-connector-c
\ No newline at end of file
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..be0baacb539
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,32 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+build_helper="qemu"
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+pre_configure() {
+	case "$XBPS_TARGET_MACHINE" in
+		*-musl)	vsed -i -e "/CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)/d" \
+			cmake/CheckIncludeFiles.cmake
+	esac
+}
+
+mariadb-connector-c-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/mariadb/*.so
+		vmove usr/lib/mariadb/*.a
+		vmove usr/lib/pkgconfig
+	}
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] " voidlinux-github
  2019-11-04 22:53 ` [PR PATCH] [Updated] " voidlinux-github
  2019-11-04 23:18 ` voidlinux-github
@ 2019-11-04 23:20 ` voidlinux-github
  2 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-04 23:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16122

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16122.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16122.patch --]
[-- Type: text/x-diff, Size: 1480 bytes --]

From d1dc5df6cf07602368caab72b9a3c48728d8ba8c Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Mon, 4 Nov 2019 23:22:29 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..ae8f3ee7bdc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1  
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..680d2bc4c29
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,13 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+archs="i686 x86_64 x86_64-musl"
+build_style=cmake
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] " voidlinux-github
  2019-11-04 22:53 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-04 23:18 ` voidlinux-github
  2019-11-04 23:20 ` voidlinux-github
  2 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-04 23:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16122

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16122.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16122.patch --]
[-- Type: text/x-diff, Size: 1530 bytes --]

From ec255f02c3de8f0f65a66941222bc4912e6a1132 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Mon, 4 Nov 2019 23:22:29 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c/template | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..ae8f3ee7bdc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1  
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..9203db4aa46
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,17 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+archs="i686 x86_64 x86_64-musl"
+build_style=cmake
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+post_install() {
+	vlicense COPYING.LIB
+}

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] " voidlinux-github
@ 2019-11-04 22:53 ` voidlinux-github
  2019-11-04 23:18 ` voidlinux-github
  2019-11-04 23:20 ` voidlinux-github
  2 siblings, 0 replies; 14+ messages in thread
From: voidlinux-github @ 2019-11-04 22:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16122

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16122.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16122.patch --]
[-- Type: text/x-diff, Size: 1446 bytes --]

From d5c85e74b9b48a0dbdb9388412e6b7121f493d47 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Mon, 4 Nov 2019 23:22:29 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c/template | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..ae8f3ee7bdc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1  
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..16c345bec58
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,12 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-11-08 17:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05  0:28 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
2019-11-05  0:30 ` voidlinux-github
2019-11-05  1:46 ` voidlinux-github
2019-11-05  1:55 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-05  2:08 ` voidlinux-github
2019-11-05 14:47 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-05 18:39 ` voidlinux-github
2019-11-05 18:44 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-05 19:19 ` voidlinux-github
2019-11-05 19:55 ` voidlinux-github
2019-11-08 17:13 ` voidlinux-github
  -- strict thread matches above, loose matches on Subject: below --
2019-11-04 22:23 [PR PATCH] " voidlinux-github
2019-11-04 22:53 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-04 23:18 ` voidlinux-github
2019-11-04 23:20 ` voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).