rpms/beanstalkd/EL-5 .cvsignore, 1.3, 1.4 beanstalkd.init, 1.1, 1.2 beanstalkd.spec, 1.3, 1.4 beanstalkd.sysconfig, 1.1, 1.2 sources, 1.4, 1.5
jjh
jjh at fedoraproject.org
Sun Oct 18 02:48:24 UTC 2009
- Previous message (by thread): rpms/beanstalkd/devel beanstalkd.spec,1.6,1.7
- Next message (by thread): rpms/beanstalkd/F-10 .cvsignore, 1.3, 1.4 beanstalkd.init, 1.1, 1.2 beanstalkd.spec, 1.3, 1.4 beanstalkd.sysconfig, 1.1, 1.2 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jjh
Update of /cvs/pkgs/rpms/beanstalkd/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1823/EL-5
Modified Files:
.cvsignore beanstalkd.init beanstalkd.spec
beanstalkd.sysconfig sources
Log Message:
update to 1.4.2
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/beanstalkd/EL-5/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore 11 Apr 2009 22:10:19 -0000 1.3
+++ .cvsignore 18 Oct 2009 02:48:24 -0000 1.4
@@ -1 +1,3 @@
beanstalkd-1.3.tar.gz
+beanstalkd-1.4.tar.gz
+beanstalkd-1.4.2.tar.gz
Index: beanstalkd.init
===================================================================
RCS file: /cvs/pkgs/rpms/beanstalkd/EL-5/beanstalkd.init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- beanstalkd.init 31 Dec 2008 05:04:53 -0000 1.1
+++ beanstalkd.init 18 Oct 2009 02:48:24 -0000 1.2
@@ -1,13 +1,21 @@
#!/bin/sh
#
-# beanstalkd - a fast, distributed, in-memory workqueue service
+# beanstalkd - a simple, fast workqueue service
#
# chkconfig: - 57 47
-# description: a fast, distributed, in-memory workqueue service
+# description: a simple, fast workqueue service
# processname: beanstalkd
# config: /etc/sysconfig/beanstalkd
#
+### BEGIN INIT INFO
+# Provides: beanstalkd
+# Required-Start: $local_fs $network $remote_fs
+# Required-Stop: $local_fs $network $remote_fs
+# Short-Description: start and stop beanstalkd
+# Description: a simple, fast workqueue service
+### END INIT INFO
+
# Source function library.
. /etc/rc.d/init.d/functions
@@ -33,9 +41,26 @@ start() {
echo -n $"Starting $prog: "
# if not running, start it up here, usually something like "daemon $exec"
options="-l ${BEANSTALKD_ADDR} -p ${BEANSTALKD_PORT} -u ${BEANSTALKD_USER}"
- if [ "${BEANSTALKD_JOB_SIZE}" != "" ]; then
- options="${options} -z ${BEANSTALKD_JOB_SIZE}"
+ if [ "${BEANSTALKD_MAX_JOB_SIZE}" != "" ]; then
+ options="${options} -z ${BEANSTALKD_MAX_JOB_SIZE}"
+ fi
+
+ if [ "${BEANSTALKD_BINLOG_DIR}" != "" ]; then
+ if [ ! -d "${BEANSTALKD_BINLOG_DIR}" ]; then
+ echo "Creating binlog directory (${BEANSTALKD_BINLOG_DIR})"
+ mkdir -p ${BEANSTALKD_BINLOG_DIR} && chown ${BEANSTALKD_USER}:${BEANSTALKD_USER} ${BEANSTALKD_BINLOG_DIR}
+ fi
+ options="${options} -b ${BEANSTALKD_BINLOG_DIR}"
+ if [ "${BEANSTALKD_BINLOG_FSYNC_PERIOD}" != "" ]; then
+ options="${options} -f ${BEANSTALKD_BINLOG_FSYNC_PERIOD}"
+ else
+ options="${options} -F"
+ fi
+ if [ "${BEANSTALKD_BINLOG_SIZE}" != "" ]; then
+ options="${options} -s ${BEANSTALKD_BINLOG_SIZE}"
+ fi
fi
+
daemon $exec -d $options
retval=$?
echo
Index: beanstalkd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/beanstalkd/EL-5/beanstalkd.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- beanstalkd.spec 11 Apr 2009 22:10:19 -0000 1.3
+++ beanstalkd.spec 18 Oct 2009 02:48:24 -0000 1.4
@@ -4,14 +4,14 @@
%define beanstalkd_logdir %{_localstatedir}/log/beanstalkd
Name: beanstalkd
-Version: 1.3
+Version: 1.4.2
Release: 1%{?dist}
-Summary: A fast, distributed, in-memory workqueue service
+Summary: A simple, fast workqueue service
Group: System Environment/Daemons
License: GPLv3+
URL: http://xph.us/software/%{name}/
-Source0: http://xph.us/software/%{name}/rel/%{name}-%{version}.tar.gz
+Source0: http://xph.us/dist/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.init
Source2: %{name}.sysconfig
@@ -19,20 +19,24 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
BuildRequires: libevent-devel
Requires(pre): %{_sbindir}/useradd
-Requires(post): /sbin/chkconfig
-Requires(preun): /sbin/chkconfig, /sbin/service
-Requires(postun): /sbin/service
+Requires(post): chkconfig
+Requires(preun): chkconfig
+Requires(preun): initscripts
+Requires(postun): initscripts
%description
-beanstalkd is a fast, distributed, in-memory workqueue service. Its
-interface is generic, but was originally designed for reducing the
-latency of page views in high-volume web applications by running most
-time-consuming tasks asynchronously.
+beanstalkd is a simple, fast workqueue service. Its interface is generic,
+but was originally designed for reducing the latency of page views in
+high-volume web applications by running most time-consuming tasks
+asynchronously.
%prep
%setup -q
+if [ ! -e configure ]; then
+ sh autogen.sh
+fi
%build
@@ -52,7 +56,7 @@ make install-exec-am DESTDIR=$RPM_BUILD_
rm -rf $RPM_BUILD_ROOT
%pre
-%{_sbindir}/useradd -c "beanstalkd user" -s /bin/false -r -d %{beanstalkd_home} %{beanstalkd_user} 2>/dev/null || :
+%{_sbindir}/useradd -c "beanstalkd user" -s /bin/false -r -m -d %{beanstalkd_home} %{beanstalkd_user} 2>/dev/null || :
%post
/sbin/chkconfig --add %{name}
@@ -64,13 +68,13 @@ if [ $1 = 0 ]; then
fi
%postun
-if [ $1 -ge 1 ]; then
+if [ "$1" -ge "1" ]; then
/sbin/service %{name} condrestart > /dev/null 2>&1 || :
fi
%files
%defattr(-,root,root,-)
-%doc README COPYING doc/protocol.txt
+%doc README README-DEVELOPERS README-TESTS COPYING doc/protocol.txt
%{_initrddir}/%{name}
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
@@ -78,6 +82,12 @@ fi
%changelog
+* Sat Oct 17 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.4.2-1
+- update to upstream 1.4.2
+
+* Sun Oct 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.4-0
+- update to upstream 1.4
+
* Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.3-1
- update to upstream 1.3
Index: beanstalkd.sysconfig
===================================================================
RCS file: /cvs/pkgs/rpms/beanstalkd/EL-5/beanstalkd.sysconfig,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- beanstalkd.sysconfig 31 Dec 2008 05:04:53 -0000 1.1
+++ beanstalkd.sysconfig 18 Oct 2009 02:48:24 -0000 1.2
@@ -1,6 +1,6 @@
# System configuration for the beanstalkd daemon
-# Available options correspond to the options to the
+# Available options correspond to the options to the
# beanstalkd commandline.
BEANSTALKD_ADDR=0.0.0.0
@@ -9,4 +9,20 @@ BEANSTALKD_USER=beanstalkd
# Job size is left to the default. Uncomment and set it
# to a value to have it take affect.
-#BEANSTALKD_JOB_SIZE=
+#BEANSTALKD_MAX_JOB_SIZE=65535
+
+# Using the binlog is off by default.
+#
+# The direcory to house the binlog. This will be created
+# if it does not exist
+#BEANSTALKD_BINLOG_DIR=/var/lib/beanstalkd/binlog
+#
+# fsync the binlog at most once every N milliseconds.
+# setting this to 0 means 'always fsync'. If this is unset,
+# and the binlog is used, then no explicit fsync is ever
+# performed. That is, the -F option is used.
+#BEANSTALKD_BINLOG_FSYNC_PERIOD=
+#
+# The size of each binlog file. This is rounded
+# up to the nearest 512 byte boundary.
+#BEANSTALKD_BINLOG_SIZE=10485760
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/beanstalkd/EL-5/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources 11 Apr 2009 22:10:19 -0000 1.4
+++ sources 18 Oct 2009 02:48:24 -0000 1.5
@@ -1 +1,3 @@
de94ab64cd02af4ed1f37cacdaf49be5 beanstalkd-1.3.tar.gz
+eea47c86c722c4448087fb28be7357cd beanstalkd-1.4.tar.gz
+848ecf1a040e018cb0ee10a203b62896 beanstalkd-1.4.2.tar.gz
- Previous message (by thread): rpms/beanstalkd/devel beanstalkd.spec,1.6,1.7
- Next message (by thread): rpms/beanstalkd/F-10 .cvsignore, 1.3, 1.4 beanstalkd.init, 1.1, 1.2 beanstalkd.spec, 1.3, 1.4 beanstalkd.sysconfig, 1.1, 1.2 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list