diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-06-02 09:23:32 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-06-02 09:23:32 +0000 |
commit | f01b4114194568b257df60d56430cb47ca4e6382 (patch) | |
tree | 4d9e225533eb2102c3004f440593ad681241844f /app-misc | |
parent | Use 32-bit compliant clib-cgi testsuite (diff) | |
download | gentoo-2-f01b4114194568b257df60d56430cb47ca4e6382.tar.gz gentoo-2-f01b4114194568b257df60d56430cb47ca4e6382.tar.bz2 gentoo-2-f01b4114194568b257df60d56430cb47ca4e6382.zip |
Bump to 1.4.6, thanks to Johan Bergstroem. Fixes #310033 #307623 #300508 #297184. Taking over maintenance and adding Johan as proxy-maintainer
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/beanstalkd/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/beanstalkd/beanstalkd-1.4.6.ebuild | 48 | ||||
-rw-r--r-- | app-misc/beanstalkd/files/beanstalkd-werror-v2.patch | 14 | ||||
-rw-r--r-- | app-misc/beanstalkd/files/init-1.4.6 | 26 | ||||
-rw-r--r-- | app-misc/beanstalkd/metadata.xml | 7 |
5 files changed, 103 insertions, 2 deletions
diff --git a/app-misc/beanstalkd/ChangeLog b/app-misc/beanstalkd/ChangeLog index d5ce83e46f2f..e3cbc73d4cc9 100644 --- a/app-misc/beanstalkd/ChangeLog +++ b/app-misc/beanstalkd/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-misc/beanstalkd # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/ChangeLog,v 1.7 2010/06/02 06:56:20 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/ChangeLog,v 1.8 2010/06/02 09:23:31 patrick Exp $ + +*beanstalkd-1.4.6 (02 Jun 2010) + + 02 Jun 2010; Patrick Lauer <patrick@gentoo.org> + +files/beanstalkd-werror-v2.patch, +files/init-1.4.6, + +beanstalkd-1.4.6.ebuild, metadata.xml: + Bump to 1.4.6, thanks to Johan Bergstroem. Fixes #310033 #307623 #300508 + #297184. Taking over maintenance and adding Johan as proxy-maintainer 02 Jun 2010; Torsten Veller <tove@gentoo.org> metadata.xml: Remove caleb from metadata.xml (#317071) diff --git a/app-misc/beanstalkd/beanstalkd-1.4.6.ebuild b/app-misc/beanstalkd/beanstalkd-1.4.6.ebuild new file mode 100644 index 000000000000..5ff4f4e35d78 --- /dev/null +++ b/app-misc/beanstalkd/beanstalkd-1.4.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.4.6.ebuild,v 1.1 2010/06/02 09:23:31 patrick Exp $ + +EAPI="2" + +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" +DEPEND="${RDEPEND} + test? ( dev-lang/python )" + +IUSE="debug test" + +pkg_setup() { + enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon +} + +src_prepare() { + epatch "$FILESDIR/beanstalkd-werror-v2.patch" +} + +src_configure() { + econf \ + --docdir=/usr/share/${PF} \ + $(use_enable debug) +} + +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-1.4.2" beanstalkd + newinitd "${FILESDIR}/init-${PV}" beanstalkd +} diff --git a/app-misc/beanstalkd/files/beanstalkd-werror-v2.patch b/app-misc/beanstalkd/files/beanstalkd-werror-v2.patch new file mode 100644 index 000000000000..808e82b21362 --- /dev/null +++ b/app-misc/beanstalkd/files/beanstalkd-werror-v2.patch @@ -0,0 +1,14 @@ +diff --git a/configure b/configure +index 2f29879..50136fb 100755 +--- a/configure ++++ b/configure +@@ -3569,7 +3569,7 @@ fi + + + +- list="-Wall -Werror" ++ list="-Wall" + flags_supported="" + flags_unsupported="" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5 + diff --git a/app-misc/beanstalkd/files/init-1.4.6 b/app-misc/beanstalkd/files/init-1.4.6 new file mode 100644 index 000000000000..3f645f10a3cd --- /dev/null +++ b/app-misc/beanstalkd/files/init-1.4.6 @@ -0,0 +1,26 @@ +#!/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.6,v 1.1 2010/06/02 09:23:32 patrick Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting beanstalkd" + /sbin/start-stop-daemon --start \ + --background \ + --pidfile ${PIDFILE} --make-pidfile \ + --exec ${BEANSTALKD_BINARY} \ + -- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} + eend $? +} + +stop() { + ebegin "Stopping beanstalkd" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} \ + --exec ${BEANSTALKD_BINARY} + eend $? +} diff --git a/app-misc/beanstalkd/metadata.xml b/app-misc/beanstalkd/metadata.xml index 7e03d42343ad..cdc1238db0fd 100644 --- a/app-misc/beanstalkd/metadata.xml +++ b/app-misc/beanstalkd/metadata.xml @@ -3,7 +3,12 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> -<email>maintainer-needed@gentoo.org</email> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> +</maintainer> +<maintainer> + <email>bugs@bergstroem.nu</email> + <name>Johan Bergstroem</name> </maintainer> <longdescription lang="en"> beanstalked is a fast distributed workqueue service |