summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authoroaken-source <oaken-source@parabola.nu>2019-11-01 14:07:48 +0100
committeroaken-source <oaken-source@parabola.nu>2019-11-01 14:07:48 +0100
commitb888190204c8a18863a841245ea4d672749b256c (patch)
tree8500060ba106ae6b368b16350f08d9cf5125e5b3 /pcr
parent796aa4b9f111cdf22b1a9f405b010cb86e51a827 (diff)
downloadabslibre-b888190204c8a18863a841245ea4d672749b256c.tar.gz
abslibre-b888190204c8a18863a841245ea4d672749b256c.tar.bz2
abslibre-b888190204c8a18863a841245ea4d672749b256c.zip
pcr/task-spooler: rebuilt for larger queue limits
Diffstat (limited to 'pcr')
-rw-r--r--pcr/task-spooler/PKGBUILD14
-rw-r--r--pcr/task-spooler/task-spooler-increase-queue-limit.patch12
2 files changed, 23 insertions, 3 deletions
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