summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-07-18 13:39:17 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-07-18 18:17:37 +0200
commit79fe5bb906c9aee6914797c837ae82519934506b (patch)
tree504345a37424be41714f3f915b20d4c6d3b5b6fb /app-misc/beanstalkd
parentacct-user/beanstalk: add user (137) beanstalk (diff)
downloadgentoo-79fe5bb906c9aee6914797c837ae82519934506b.tar.gz
gentoo-79fe5bb906c9aee6914797c837ae82519934506b.tar.bz2
gentoo-79fe5bb906c9aee6914797c837ae82519934506b.zip
app-misc/beanstalkd: bump to version 1.12
Also migrated to EAPI 7 and GLEP 81. Bug: https://bugs.gentoo.org/781257 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/beanstalkd')
-rw-r--r--app-misc/beanstalkd/Manifest1
-rw-r--r--app-misc/beanstalkd/beanstalkd-1.12.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/beanstalkd/Manifest b/app-misc/beanstalkd/Manifest
index 3aacc6ddd158..12db87eaa32f 100644
--- a/app-misc/beanstalkd/Manifest
+++ b/app-misc/beanstalkd/Manifest
@@ -1,2 +1,3 @@
DIST beanstalkd-1.10.tar.gz 66243 BLAKE2B ff9c37b82073435523e0bc98169026ba9c1f8e8963100f35f63c4bdcb35e9dc512f726e06b91931ac44e20f7d3c8a0b80e8be3675f924ff4339a5495b10f7c91 SHA512 db85e4a32c686330e50d64d497a39bb9806de42a2c2d2c84eb260ae8cfad91b4c99eef6a8f0ab3e62d0ca71a31837778ec68a4299899ac5a9d94a5a4403d673b
DIST beanstalkd-1.11.tar.gz 73386 BLAKE2B 345873711b4d40c17044dddfec02a03a95cb42b274fa2a3459227aba585678c1b3e192947c4c82e9b6688050e1add5623c38ed75040a1135d523c888706d519e SHA512 322e6400c36fb3d7b06b7feb3e7dde5e64137382fb81ca1f11e3b9f72b4246ba719d139a571efcde9fe1738ba0e9e05a6ce3ac2d49a9628f6d455c81ec2a033e
+DIST beanstalkd-1.12.tar.gz 79592 BLAKE2B d0abe510bada93014c9c748e116a7a34e947be50269eba3b64ed97739800f3464b7c2574c9d7e87786855f6f50701e60464d280c95db4f75f402f547700ef19e SHA512 347f8cf29501d4bf1a01a472f8f6265d1211eadfaa4e5626c8fcab5b1f8116e1e0ddee2a0c82ac116ee60655a2e3b514d254f98c2154be76109a24d77f7d8210
diff --git a/app-misc/beanstalkd/beanstalkd-1.12.ebuild b/app-misc/beanstalkd/beanstalkd-1.12.ebuild
new file mode 100644
index 000000000000..0fafbc7be72d
--- /dev/null
+++ b/app-misc/beanstalkd/beanstalkd-1.12.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd toolchain-funcs
+
+DESCRIPTION="A simple, fast work queue"
+HOMEPAGE="https://kr.github.io/beanstalkd/"
+SRC_URI="https://github.com/kr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x64-macos"
+
+RDEPEND="
+ acct-group/beanstalk
+ acct-user/beanstalk
+"
+
+DOCS=( README News docs/protocol.txt )
+
+src_prepare() {
+ default
+ sed -e "/override/d" -i Makefile || die
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" LD="$(tc-getLD)"
+}
+
+src_install() {
+ dobin beanstalkd
+
+ doman doc/"${PN}".1
+
+ newconfd "${FILESDIR}/conf-1.9" beanstalkd
+ newinitd "${FILESDIR}/init-1.9" beanstalkd
+
+ systemd_dounit "${S}/adm/systemd/${PN}".{service,socket}
+}