Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: sysbench-1.0.18
Date: Sun, 03 Nov 2019 16:23:36 +0100	[thread overview]
Message-ID: <20191103152336.ruT7-YyQDa2aF6W2FUP2dKj82tnYmA3jhmGdKIR2z_8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15984@inbox.vuxu.org>

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

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

https://github.com/NeelChotai/void-packages sysbench
https://github.com/void-linux/void-packages/pull/15984

[WIP] New package: sysbench-1.0.18
sysbench is a scriptable multi-threaded benchmark tool based on LuaJIT. It's often used for database benchmarks but can be used for non-database workloads like CPU, memory and thread benchmarks. The version I've submitted includes MySQL and PostgreSQL benchmarks, I'll also be submitting a template for a version without these.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sysbench-15984.patch --]
[-- Type: text/x-diff, Size: 5664 bytes --]

From 05d16a8d529e1869e55e7f2c353600835c54c5aa Mon Sep 17 00:00:00 2001
From: Neel <neel@neelchotai.com>
Date: Thu, 31 Oct 2019 02:18:21 +0000
Subject: [PATCH 1/6] New package: sysbench-1.0.18

---
 srcpkgs/sysbench/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/sysbench/template

diff --git a/srcpkgs/sysbench/template b/srcpkgs/sysbench/template
new file mode 100644
index 00000000000..1dcc9928fb3
--- /dev/null
+++ b/srcpkgs/sysbench/template
@@ -0,0 +1,18 @@
+# Template file for 'sysbench'
+pkgname=sysbench
+version=1.0.18
+revision=1
+archs="i686 x86_64"
+build_style=configure
+configure_args="--prefix=/usr --with-pgsql"
+makedepends="make automake libtool pkg-config libaio-devel libmariadbclient-devel postgresql-libs-devel libressl-devel zlib-devel"
+short_desc="Scriptable multi-threaded benchmark tool"
+maintainer="Neel Chotai <neel@neelchotai.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/akopytov/sysbench"
+distfiles="https://github.com/akopytov/sysbench/archive/${version}.tar.gz"
+checksum=c679b285e633c819d637bdafaeacc1bec13f37da5b3357c7e17d97a71bf28cb1
+
+pre_configure() {
+	./autogen.sh
+}

From f2b7cb9c3f5c7dd2282057dc835b3ce1c90dc27a Mon Sep 17 00:00:00 2001
From: NeelChotai <neel_chotai@hotmail.com>
Date: Thu, 31 Oct 2019 03:02:59 +0000
Subject: [PATCH 2/6] Split up dependencies

---
 srcpkgs/sysbench/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/sysbench/template b/srcpkgs/sysbench/template
index 1dcc9928fb3..20f21614a34 100644
--- a/srcpkgs/sysbench/template
+++ b/srcpkgs/sysbench/template
@@ -5,7 +5,8 @@ revision=1
 archs="i686 x86_64"
 build_style=configure
 configure_args="--prefix=/usr --with-pgsql"
-makedepends="make automake libtool pkg-config libaio-devel libmariadbclient-devel postgresql-libs-devel libressl-devel zlib-devel"
+hostmakedepends="make automake libtool pkg-config"
+makedepends="libaio-devel libmariadbclient-devel postgresql-libs-devel libressl-devel zlib-devel"
 short_desc="Scriptable multi-threaded benchmark tool"
 maintainer="Neel Chotai <neel@neelchotai.com>"
 license="GPL-2.0-only"

From 7a0690f3c66c85f7b0465beb8833d3891ef0eb69 Mon Sep 17 00:00:00 2001
From: NeelChotai <neel_chotai@hotmail.com>
Date: Thu, 31 Oct 2019 10:49:54 +0000
Subject: [PATCH 3/6] Fixed archs

---
 srcpkgs/sysbench/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/sysbench/template b/srcpkgs/sysbench/template
index 20f21614a34..6bc48105f24 100644
--- a/srcpkgs/sysbench/template
+++ b/srcpkgs/sysbench/template
@@ -2,7 +2,7 @@
 pkgname=sysbench
 version=1.0.18
 revision=1
-archs="i686 x86_64"
+archs="x86_64"
 build_style=configure
 configure_args="--prefix=/usr --with-pgsql"
 hostmakedepends="make automake libtool pkg-config"

From 0a3e16e4a7e6ba6aad590275e46deefab0371604 Mon Sep 17 00:00:00 2001
From: NeelChotai <neel_chotai@hotmail.com>
Date: Fri, 1 Nov 2019 21:09:33 +0000
Subject: [PATCH 4/6] Altered dependencies, build style and archs

Removed make from host dependencies, changed build style from configure to gnu_configure, removed explicit archs.
---
 srcpkgs/sysbench/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/sysbench/template b/srcpkgs/sysbench/template
index 6bc48105f24..b22e551a9c1 100644
--- a/srcpkgs/sysbench/template
+++ b/srcpkgs/sysbench/template
@@ -2,10 +2,9 @@
 pkgname=sysbench
 version=1.0.18
 revision=1
-archs="x86_64"
-build_style=configure
+build_style=gnu_configure
 configure_args="--prefix=/usr --with-pgsql"
-hostmakedepends="make automake libtool pkg-config"
+hostmakedepends="automake libtool pkg-config"
 makedepends="libaio-devel libmariadbclient-devel postgresql-libs-devel libressl-devel zlib-devel"
 short_desc="Scriptable multi-threaded benchmark tool"
 maintainer="Neel Chotai <neel@neelchotai.com>"

From 5b863605744f2321adecc04e81682a0737f01876 Mon Sep 17 00:00:00 2001
From: NeelChotai <neel_chotai@hotmail.com>
Date: Fri, 1 Nov 2019 21:14:58 +0000
Subject: [PATCH 5/6] gnu_configure > gnu-configure

---
 srcpkgs/sysbench/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/sysbench/template b/srcpkgs/sysbench/template
index b22e551a9c1..d804d204503 100644
--- a/srcpkgs/sysbench/template
+++ b/srcpkgs/sysbench/template
@@ -2,7 +2,7 @@
 pkgname=sysbench
 version=1.0.18
 revision=1
-build_style=gnu_configure
+build_style=gnu-configure
 configure_args="--prefix=/usr --with-pgsql"
 hostmakedepends="automake libtool pkg-config"
 makedepends="libaio-devel libmariadbclient-devel postgresql-libs-devel libressl-devel zlib-devel"

From 5bcd17ba2ce5fd512e20753600581365789acaec Mon Sep 17 00:00:00 2001
From: NeelChotai <neel_chotai@hotmail.com>
Date: Sun, 3 Nov 2019 15:23:34 +0000
Subject: [PATCH 6/6] Moved postgresql from makedepends to hostmakedepends

---
 srcpkgs/sysbench/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/sysbench/template b/srcpkgs/sysbench/template
index d804d204503..d2d2f2ab79c 100644
--- a/srcpkgs/sysbench/template
+++ b/srcpkgs/sysbench/template
@@ -4,8 +4,8 @@ version=1.0.18
 revision=1
 build_style=gnu-configure
 configure_args="--prefix=/usr --with-pgsql"
-hostmakedepends="automake libtool pkg-config"
-makedepends="libaio-devel libmariadbclient-devel postgresql-libs-devel libressl-devel zlib-devel"
+hostmakedepends="automake libtool pkg-config postgresql-libs"
+makedepends="libaio-devel libmariadbclient-devel libressl-devel zlib-devel"
 short_desc="Scriptable multi-threaded benchmark tool"
 maintainer="Neel Chotai <neel@neelchotai.com>"
 license="GPL-2.0-only"

  parent reply	other threads:[~2019-11-03 15:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-31  2:22 [PR PATCH] " voidlinux-github
2019-10-31  3:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-31  3:03 ` voidlinux-github
2019-10-31 10:49 ` voidlinux-github
2019-10-31 10:49 ` voidlinux-github
2019-11-01 21:09 ` [PR PATCH] [Updated] [WIP] " voidlinux-github
2019-11-01 21:09 ` voidlinux-github
2019-11-01 21:15 ` voidlinux-github
2019-11-01 21:15 ` voidlinux-github
2019-11-03 15:23 ` voidlinux-github [this message]
2019-11-03 15:23 ` voidlinux-github
2019-11-04 16:43 ` voidlinux-github
2019-11-04 19:27 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-05  0:02 ` voidlinux-github
2019-11-05  0:07 ` voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191103152336.ruT7-YyQDa2aF6W2FUP2dKj82tnYmA3jhmGdKIR2z_8@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).