debian/0000755000000000000000000000000011526306534007173 5ustar debian/control0000644000000000000000000000204611526306162010575 0ustar Source: gearman-server Section: perl Priority: optional Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libgearman-client-perl, libdanga-socket-perl Maintainer: Debian Perl Group Uploaders: Jonathan Yu , gregor herrmann Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/Gearman-Server/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/gearman-server/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/gearman-server/ Package: gearman-server Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libgearman-client-perl, libdanga-socket-perl Description: Gearman distributed job server and Perl interface Gearman is a system to farm out work to other machines, dispatching function calls to machines that are better suited to do work, to do work in parallel, to load balance lots of function calls, or even to call functions between languages. . This package contains both the Gearman server as well as the corresponding Perl bindings. debian/copyright0000644000000000000000000000216511526306154011130 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Alan Kasindorf Source: http://search.cpan.org/dist/Gearman-Server/ Name: Gearman-Server Files: * Copyright: 2005-2007, Danga Interactive License: Artistic or GPL-1+ Files: debian/* Copyright: 2007, Pascal Hakim 2010, Jonathan Yu 2011, gregor herrmann License: GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of the version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000036111327336765010234 0ustar # format version number, currently 3; this line is compulsory! version=3 # URL to the package page followed by a regex to search http://search.cpan.org/dist/Gearman-Server/ .*/Gearman-Server-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/gearman-server.default0000644000000000000000000000054611327346044013463 0ustar # Defaults for gearman-server initscript # sourced by /etc/init.d/gearman-server # installed at /etc/default/gearman-server by the maintainer scripts # # This is a POSIX shell fragment # # Additional options that are passed to the Daemon. DAEMON_OPTS="-d --pidfile=/var/run/gearmand.pid" # Change this to true to enable the germand server ENABLED="false" debian/patches/0000755000000000000000000000000011526306474010625 5ustar debian/patches/series0000644000000000000000000000002511327355362012036 0ustar fix-pod-whatis.patch debian/patches/fix-pod-whatis.patch0000644000000000000000000000056111526306016014503 0ustar Description: add a POD whatis entry Origin: vendor Forwarded: no Author: Jonathan Yu Reviewed-by: gregor herrmann Last-Update: 2011-02-14 --- a/lib/Gearman/Server/Client.pm +++ b/lib/Gearman/Server/Client.pm @@ -2,7 +2,7 @@ =head1 NAME -Gearman::Server::Client +Gearman::Server::Client - client for gearmand =head1 NAME debian/compat0000644000000000000000000000000211331041565010363 0ustar 7 debian/gearman-server.init0000644000000000000000000000476611526305026013006 0ustar #! /bin/sh # # Gearman Server /etc/init.d/ helper script # # This file is based on the skeleton file written by # Miquel van Smoorenburg . It was modified for Debian # by Ian Murdock . # # It was updated to comply with the most recent Debian Policy by Jonathan # Yu on 25 Jan 2010. # ### BEGIN INIT INFO # Provides: gearman-server # Required-Start: $syslog $network $local_fs $remote_fs # Required-Stop: $syslog $network $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Gearman distributed work system ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/gearmand NAME=gearmand DESC="gearman distributed job server" test -x $DAEMON || exit 0 # Include gearman-server defaults if available if [ -f /etc/default/gearman-server ] ; then . /etc/default/gearman-server fi set -e if [ $ENABLED = "false" ] ; then exit 0; fi case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \ -n $NAME --oknodo echo "$NAME." rm -f /var/run/$NAME.pid ;; #reload) # # If the daemon can reload its config files on the fly # for example by sending it SIGHUP, do it here. # # If the daemon responds to changes in its config file # directly anyway, make this a do-nothing entry. # # echo "Reloading $DESC configuration files." # start-stop-daemon --stop --signal 1 --quiet --pidfile \ # /var/run/$NAME.pid --exec $DAEMON #;; force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart" except that it does nothing if the # daemon isn't already running. # check wether $DAEMON is running. If so, restart start-stop-daemon --stop --test --quiet --pidfile \ /var/run/$NAME.pid --oknodo --exec $DAEMON \ && $0 restart \ || exit 0 ;; restart) echo -n "Restarting $DESC: " start-stop-daemon --stop --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; *) N=/etc/init.d/$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/changelog0000644000000000000000000000240111526306461011041 0ustar gearman-server (1.11-2) unstable; urgency=low * Make init script idempotent; thanks to Chris Lamb for the bug report and the patch; closes: #612629. * Switch to source format 3.0 (quilt); remove quilt framework. * Set Standards-Version to 3.9.1 (no changes). * Add /me to Uploaders. * debian/copyright: update license stanzas. -- gregor herrmann Mon, 14 Feb 2011 21:14:38 +0100 gearman-server (1.11-1) unstable; urgency=low [ Jonathan Yu ] * Take over package (Closes: #549362) * New upstream release * Rewrite control description * Use new short debhelper 7 rules format * Standards-Version 3.8.4 (no changes) * Move some deps to B-D-I where appropriate * Add a watch file * Add ${misc:Depends} to Depends * The /etc/init.d script now provides gearman-server, not gearmand * Include NEWS file describing init.d change * Fix POD whatis using a quilt patch [ gregor herrmann ] * Remove skeleton maintainer scripts from source package, they are created by dh_installinit automatically. -- Jonathan Yu Fri, 29 Jan 2010 12:07:45 -0500 gearman-server (1.09-1) unstable; urgency=low * Initial release (Closes: #429365) -- Pascal Hakim Fri, 24 Aug 2007 01:35:23 +1000 debian/NEWS0000644000000000000000000000053111327355362007673 0ustar gearman-server (1.11-1) unstable; urgency=low The init.d script now Provides gearman-server rather than gearmand as previously done. This complies with the latest Debian policy but may break dependency-based boot if you have scripts that depend on gearmand starting. -- Jonathan Yu Mon, 25 Jan 2010 12:07:31 -0500 debian/source/0000755000000000000000000000000011526306474010476 5ustar debian/source/format0000644000000000000000000000001411526305606011700 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611526305630010246 0ustar #!/usr/bin/make -f %: dh $@