From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E192138350 for ; Thu, 16 Apr 2020 09:26:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B94D3E086B; Thu, 16 Apr 2020 09:26:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 87AAAE086B for ; Thu, 16 Apr 2020 09:26:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8ADF634F2DA for ; Thu, 16 Apr 2020 09:26:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB1681C8 for ; Thu, 16 Apr 2020 09:26:28 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1587029172.830e2b9f0a150646ffc7ace50f1bdfc81da48f72.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/beanstalkd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/beanstalkd/Manifest app-misc/beanstalkd/beanstalkd-1.11.ebuild X-VCS-Directories: app-misc/beanstalkd/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 830e2b9f0a150646ffc7ace50f1bdfc81da48f72 X-VCS-Branch: master Date: Thu, 16 Apr 2020 09:26:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 89b52377-1c96-4fd1-9950-26b5e219d2f1 X-Archives-Hash: dab7198f667952327f4814baa3980f81 commit: 830e2b9f0a150646ffc7ace50f1bdfc81da48f72 Author: Mart Raudsepp gentoo org> AuthorDate: Thu Apr 16 09:26:12 2020 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Thu Apr 16 09:26:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=830e2b9f app-misc/beanstalkd: bump to 1.11 Bug: https://bugs.gentoo.org/684054 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> app-misc/beanstalkd/Manifest | 1 + app-misc/beanstalkd/beanstalkd-1.11.ebuild | 48 ++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-misc/beanstalkd/Manifest b/app-misc/beanstalkd/Manifest index 97e0ec234df..3aacc6ddd15 100644 --- a/app-misc/beanstalkd/Manifest +++ b/app-misc/beanstalkd/Manifest @@ -1 +1,2 @@ DIST beanstalkd-1.10.tar.gz 66243 BLAKE2B ff9c37b82073435523e0bc98169026ba9c1f8e8963100f35f63c4bdcb35e9dc512f726e06b91931ac44e20f7d3c8a0b80e8be3675f924ff4339a5495b10f7c91 SHA512 db85e4a32c686330e50d64d497a39bb9806de42a2c2d2c84eb260ae8cfad91b4c99eef6a8f0ab3e62d0ca71a31837778ec68a4299899ac5a9d94a5a4403d673b +DIST beanstalkd-1.11.tar.gz 73386 BLAKE2B 345873711b4d40c17044dddfec02a03a95cb42b274fa2a3459227aba585678c1b3e192947c4c82e9b6688050e1add5623c38ed75040a1135d523c888706d519e SHA512 322e6400c36fb3d7b06b7feb3e7dde5e64137382fb81ca1f11e3b9f72b4246ba719d139a571efcde9fe1738ba0e9e05a6ce3ac2d49a9628f6d455c81ec2a033e diff --git a/app-misc/beanstalkd/beanstalkd-1.11.ebuild b/app-misc/beanstalkd/beanstalkd-1.11.ebuild new file mode 100644 index 00000000000..427eb779418 --- /dev/null +++ b/app-misc/beanstalkd/beanstalkd-1.11.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils systemd toolchain-funcs user + +DESCRIPTION="A simple, fast work queue" +HOMEPAGE="http://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 ~x86-macos" + +RDEPEND="" +DEPEND="" + +IUSE="" + +DOCS=( README News docs/protocol.txt ) + +pkg_setup() { + enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon +} + +src_prepare() { + sed -i -e "/override/d" Makefile +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" LD="$(tc-getLD)" +} + +src_install() { + dobin beanstalkd + + DATADIR=/var/lib/${PN} + dodir ${DATADIR} + fowners beanstalk:daemon ${DATADIR} + + doman doc/"${PN}".1 + + newconfd "${FILESDIR}/conf-1.9" beanstalkd + newinitd "${FILESDIR}/init-1.9" beanstalkd + + systemd_dounit "${S}/adm/systemd/${PN}".{service,socket} +}