summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-10-23 19:20:31 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-10-23 19:20:31 +0000
commit89e211d729ac6dd00576e89cd12a043db9363360 (patch)
treedbc91ff5bd17c10374b3e264cee2a136592cbe25 /app-misc/beanstalkd
parentFix two problems preventing compilation of valgrind-3.5.0 on ppc32/ppc64 (bug... (diff)
downloadhistorical-89e211d729ac6dd00576e89cd12a043db9363360.tar.gz
historical-89e211d729ac6dd00576e89cd12a043db9363360.tar.bz2
historical-89e211d729ac6dd00576e89cd12a043db9363360.zip
Bump, fixes #290270. Thanks to Johan Bergstrom for the patches
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'app-misc/beanstalkd')
-rw-r--r--app-misc/beanstalkd/ChangeLog8
-rw-r--r--app-misc/beanstalkd/Manifest6
-rw-r--r--app-misc/beanstalkd/beanstalkd-1.4.2.ebuild36
-rw-r--r--app-misc/beanstalkd/files/conf-1.4.218
-rw-r--r--app-misc/beanstalkd/files/init-1.4.225
5 files changed, 91 insertions, 2 deletions
diff --git a/app-misc/beanstalkd/ChangeLog b/app-misc/beanstalkd/ChangeLog
index 9a7f6d80b913..80bcbe721582 100644
--- a/app-misc/beanstalkd/ChangeLog
+++ b/app-misc/beanstalkd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/beanstalkd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/ChangeLog,v 1.4 2009/06/23 11:53:24 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/ChangeLog,v 1.5 2009/10/23 19:20:30 patrick Exp $
+
+*beanstalkd-1.4.2 (23 Oct 2009)
+
+ 23 Oct 2009; Patrick Lauer <patrick@gentoo.org> +files/conf-1.4.2,
+ +files/init-1.4.2, +beanstalkd-1.4.2.ebuild:
+ Bump, fixes #290270. Thanks to Johan Bergstrom for the patches
*beanstalkd-1.3 (23 Jun 2009)
diff --git a/app-misc/beanstalkd/Manifest b/app-misc/beanstalkd/Manifest
index 6815c06b5a4c..af630e474e35 100644
--- a/app-misc/beanstalkd/Manifest
+++ b/app-misc/beanstalkd/Manifest
@@ -1,12 +1,16 @@
AUX Makefile.install.patch 600 RMD160 ac150feaa272492da5acd88bb9b0e64eee7ef75a SHA1 e0b73617d230a5dae2ba9b6f19a4d0fb1b573052 SHA256 002bfa193c74093da313e4e2b3778fa5251a558e5ea1f4dc556db5f53ec5fc63
AUX beanstalkd-werror.patch 290 RMD160 ff42a401077a2570f0206b37e4111b4269ebfda7 SHA1 40398e0f52a8dc79b0fe9921125fbc7fd4e07ecf SHA256 f270d5227a409938940195a31b6c81c87c2b4011e9ea47d27a343da03db05710
AUX conf 396 RMD160 5abf034297cb7473ff93edf2eefe04b14c8d9fdf SHA1 ce5346dd8632da7693b332059378469c74dbbb5e SHA256 d9876b8b6f123c070376e1e405ec5f8f46d70ab1d70667a3987a90d8c0b0653b
+AUX conf-1.4.2 468 RMD160 2e5f505d5c66a9fc3a44141722a397dade88c9f1 SHA1 b7ac0f0e09408ba2b1695c8df40b2d3e50cf8375 SHA256 73787211b4e1f7215e5bf2effa77a5ec80f63fa08933f22ba7ca0cd11969b816
AUX init 580 RMD160 d7eded1d1ad2d575a916bfef33daa58778ca54a6 SHA1 aef1d5a163885b2cdc1426b39676ac4c647083da SHA256 26e1838d2a9f0303e80552c8780db9b314a8e52d6ed3e0bd92ee06b49055349c
+AUX init-1.4.2 601 RMD160 4947cf727341878bca234820b89b187742336773 SHA1 62707c6d895b6668035c858fd3f1e7669dca8e21 SHA256 ceb2a61ea72ab8053bdcf78475391d2a256855a9c37d513a52bbe433c2b6c1cc
DIST beanstalkd-1.0.tar.gz 46063 RMD160 a5bbd6d9b7ae9da9ad42dd7fd2880b78424a815a SHA1 fb3d2c0d043ad7484b0ffd185498b1e604f7bd98 SHA256 5043f1d9271e6c9a35df945132356996a5ac7bc4640fb87fcbfa5cfe8e13a0c4
DIST beanstalkd-1.2.tar.gz 116172 RMD160 69190c64654f7310bb88a7df01791accd47e3607 SHA1 0fad86ba5d888e283a1aa8a33aaa5095173c6e27 SHA256 6bf5b2a066d05e8effe96b7b9103e88c117cf5cbb134dbb11992f7228519f5f0
DIST beanstalkd-1.3.tar.gz 116114 RMD160 a1fa4c6aae530beeecfbe49a4e09903a58e1cc38 SHA1 ce85375605459458e0a357d9ecaeb9baeb3b9c9a SHA256 3d3eb36bf2932e6f3c4e6851420e8e579b2c4ae19f0297d8fd384c7461b4d885
+DIST beanstalkd-1.4.2.tar.gz 136818 RMD160 5f6cad5805fde2854e1d7614e8544307b5b1081e SHA1 099e5c13ff7130d72eb53bda15a1ab6b76c36b88 SHA256 1b1ec051321bdd5cbae35e12ce0c4bf7514dc67cf3e5b98ecd8abb64ae88588b
EBUILD beanstalkd-1.0.ebuild 1029 RMD160 992c1c967e56752f7c4614c6ffa32e78b1792051 SHA1 e880ae560060ea2dab5c59520d30e5519905f01c SHA256 f213e9c36374e0048379f19ff64f1ae3b45dd12734d67dfa10e3b44bcf9d1375
EBUILD beanstalkd-1.2.ebuild 853 RMD160 cc5d0fa8ff2c4d2b1acfd873d3469ade636481c5 SHA1 302b42e91a7faeb6660dac9182b2518a8afbf836 SHA256 f730a389f404be8f0a299047de6cbf7760e60e8cb5518b9a56afdb569d3689c8
EBUILD beanstalkd-1.3.ebuild 846 RMD160 0c34210f7c9b95611214893cfe7d990e857b96de SHA1 5256f70328b6abf06756b9b99d62ad3ba819ba6d SHA256 9eac208a47da40333b18c411eb05e0d6566f28b86cd259e0e40223b312e6fe01
-MISC ChangeLog 844 RMD160 b2a7043d73e23732014a1353e031692b65065666 SHA1 fef9eaf431ba204ca5b97ccff30bf22c5d667806 SHA256 91da2e0a8fb07c78d833ca8aeffb62f30a76a262591705436518904c0e6286cc
+EBUILD beanstalkd-1.4.2.ebuild 1002 RMD160 a8a9ccd2f7a82c1d9f5db9bbe9a0d088c1a1472d SHA1 96ec8e2eea5c1f6f37a7b50a53d10aed3b328cdd SHA256 6c742f8a3a7a62d8aa176e5392a197e9bcbc490d3aeb79bce33e9ee0c202ec84
+MISC ChangeLog 1059 RMD160 41d3177ca06fd27b3f00f4cb8bfe36366093030b SHA1 4394b03b846fd9e671a27f195de456c535804473 SHA256 471845cbfc152b82b2962f0b9702425bd2b5b726e71cb2b8b755ce3bc2abc0da
MISC metadata.xml 345 RMD160 67d3546b27d6f35543cdf4b379c20b5fc7addb72 SHA1 730756ba047ac5c039e89c6294f7c9c479ffed78 SHA256 f8af89f96c1ae00692cb487dea57b503b49d1b1766a28334901bc9398022e198
diff --git a/app-misc/beanstalkd/beanstalkd-1.4.2.ebuild b/app-misc/beanstalkd/beanstalkd-1.4.2.ebuild
new file mode 100644
index 000000000000..df0098475cfd
--- /dev/null
+++ b/app-misc/beanstalkd/beanstalkd-1.4.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.4.2.ebuild,v 1.1 2009/10/23 19:20:30 patrick Exp $
+
+inherit eutils
+
+DESCRIPTION="A fast, distributed, in-memory workqueue service"
+HOMEPAGE="http://xph.us/software/beanstalkd/"
+SRC_URI="http://xph.us/dist/beanstalkd/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+
+RDEPEND=">=dev-libs/libevent-1.4.7"
+DEPEND="${RDEPEND}
+ test? ( net-analyzer/netcat )"
+
+IUSE="test"
+
+pkg_preinst() {
+ enewuser beanstalk -1 -1 /dev/null daemon
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+
+ DATADIR=/var/lib/${PN}
+ dodir "${DATADIR}" || die "Install failed"
+ fowners beanstalk:daemon "${DATADIR}"
+
+ dodoc README TODO doc/*.txt
+
+ newconfd "${FILESDIR}/conf-${PV}" beanstalkd
+ newinitd "${FILESDIR}/init-${PV}" beanstalkd
+}
diff --git a/app-misc/beanstalkd/files/conf-1.4.2 b/app-misc/beanstalkd/files/conf-1.4.2
new file mode 100644
index 000000000000..cd126d9192ac
--- /dev/null
+++ b/app-misc/beanstalkd/files/conf-1.4.2
@@ -0,0 +1,18 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/conf-1.4.2,v 1.1 2009/10/23 19:20:31 patrick Exp $
+
+BEANSTALKD_BINARY="/usr/bin/beanstalkd"
+PIDFILE="/var/run/beanstalkd.pid"
+
+# User to run as
+USER="beanstalk"
+
+# Port to listen on
+PORT="11300"
+
+# Address to listen on
+ADDR="127.0.0.1"
+
+# Datadir (where to store queue)
+DATADIR="/var/lib/beanstalkd"
diff --git a/app-misc/beanstalkd/files/init-1.4.2 b/app-misc/beanstalkd/files/init-1.4.2
new file mode 100644
index 000000000000..c55069f98646
--- /dev/null
+++ b/app-misc/beanstalkd/files/init-1.4.2
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/init-1.4.2,v 1.1 2009/10/23 19:20:31 patrick Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting beanstalkd"
+ /sbin/start-stop-daemon --start \
+ --pidfile ${PIDFILE} \
+ --exec ${BEANSTALKD_BINARY} \
+ -- -b ${DATADIR} -d -p ${PORT} -l ${ADDR} -u ${USER}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping beanstalkd"
+ start-stop-daemon --stop --quiet \
+ --pidfile ${PIDFILE} \
+ --exec ${BEANSTALKD_BINARY}
+ eend $?
+} \ No newline at end of file