From b888190204c8a18863a841245ea4d672749b256c Mon Sep 17 00:00:00 2001 From: oaken-source Date: Fri, 1 Nov 2019 14:07:48 +0100 Subject: pcr/task-spooler: rebuilt for larger queue limits --- pcr/task-spooler/PKGBUILD | 14 +++++++++++--- pcr/task-spooler/task-spooler-increase-queue-limit.patch | 12 ++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 pcr/task-spooler/task-spooler-increase-queue-limit.patch (limited to 'pcr/task-spooler') diff --git a/pcr/task-spooler/PKGBUILD b/pcr/task-spooler/PKGBUILD index 88e0872fb..28b6e1087 100644 --- a/pcr/task-spooler/PKGBUILD +++ b/pcr/task-spooler/PKGBUILD @@ -6,7 +6,7 @@ _name=ts pkgname=task-spooler pkgver=1.0 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64' 'armv7h') license=('GPL') @@ -14,8 +14,16 @@ license=('GPL') url="http://vicerveza.homeunix.net/~viric/soft/ts/" pkgdesc="Queue up tasks from the shell for batch execution" -source=(http://vicerveza.homeunix.net/~viric/soft/$_name/$_name-$pkgver.tar.gz) -sha256sums=('4f53e34fff0bb24caaa44cdf7598fd02f3e5fa7cacaea43fa0d081d03ffbb395') +source=(http://vicerveza.homeunix.net/~viric/soft/$_name/$_name-$pkgver.tar.gz + task-spooler-increase-queue-limit.patch) +sha256sums=('4f53e34fff0bb24caaa44cdf7598fd02f3e5fa7cacaea43fa0d081d03ffbb395' + '858e0de406abb366f0d3c0fe91398e43344cbf1a461746d232a5ac53db5e0913') + +prepare() { + cd $_name-$pkgver + + patch -Np1 -i "$srcdir"/task-spooler-increase-queue-limit.patch +} build() { cd $_name-$pkgver diff --git a/pcr/task-spooler/task-spooler-increase-queue-limit.patch b/pcr/task-spooler/task-spooler-increase-queue-limit.patch new file mode 100644 index 000000000..c163196a9 --- /dev/null +++ b/pcr/task-spooler/task-spooler-increase-queue-limit.patch @@ -0,0 +1,12 @@ +diff -rupN ts-1.0.orig/server.c ts-1.0/server.c +--- ts-1.0.orig/server.c 2019-11-01 13:47:05.949524050 +0100 ++++ ts-1.0/server.c 2019-11-01 13:47:18.556316304 +0100 +@@ -27,7 +27,7 @@ + + enum + { +- MAXCONN=1000 ++ MAXCONN=20000 + }; + + enum Break -- cgit v1.2.3