summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Kobierski <fkobi@pm.me>2024-09-05 22:12:25 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-10-07 09:46:09 +0300
commit30278c36efe5e7e86e480329d933e9d4978debfa (patch)
tree084ed5ecba24c8e10acae8d1439a451bd73c1d9f /app-misc
parentwww-apps/ikiwiki: add missing ghostscript-gpl BDEPEND (diff)
downloadgentoo-30278c36efe5e7e86e480329d933e9d4978debfa.tar.gz
gentoo-30278c36efe5e7e86e480329d933e9d4978debfa.tar.bz2
gentoo-30278c36efe5e7e86e480329d933e9d4978debfa.zip
app-misc/beanstalkd: add 1.13, update SRC_URI
Signed-off-by: Filip Kobierski <fkobi@pm.me> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/beanstalkd/Manifest1
-rw-r--r--app-misc/beanstalkd/beanstalkd-1.13.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/beanstalkd/Manifest b/app-misc/beanstalkd/Manifest
index 74ac0fc7c888..fb41813b20f1 100644
--- a/app-misc/beanstalkd/Manifest
+++ b/app-misc/beanstalkd/Manifest
@@ -1 +1,2 @@
DIST beanstalkd-1.12.tar.gz 79592 BLAKE2B d0abe510bada93014c9c748e116a7a34e947be50269eba3b64ed97739800f3464b7c2574c9d7e87786855f6f50701e60464d280c95db4f75f402f547700ef19e SHA512 347f8cf29501d4bf1a01a472f8f6265d1211eadfaa4e5626c8fcab5b1f8116e1e0ddee2a0c82ac116ee60655a2e3b514d254f98c2154be76109a24d77f7d8210
+DIST beanstalkd-1.13.tar.gz 81234 BLAKE2B fdda2778510cd5c11eeb4123843a89374c791bd093c8bd2add7a7378c0be041f972054ccdf527630256a816a9db3623c994d96e84658b34dad8254828ec7a6aa SHA512 7b5d1a185765a6abe4f1fb8ff2ce7ab0d00b9b2d87ed78ee6349895cdab43e7eac9bb9da5aa1e7b378038e69ac20113e7a663529b0fd77b697257bc384b7deda
diff --git a/app-misc/beanstalkd/beanstalkd-1.13.ebuild b/app-misc/beanstalkd/beanstalkd-1.13.ebuild
new file mode 100644
index 000000000000..dc838081a77d
--- /dev/null
+++ b/app-misc/beanstalkd/beanstalkd-1.13.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd toolchain-funcs
+
+DESCRIPTION="A simple, fast work queue"
+HOMEPAGE="https://kr.github.io/beanstalkd/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~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}
+}