debian/0000755000000000000000000000000012240002146007155 5ustar debian/patches/0000755000000000000000000000000012240002063010602 5ustar debian/patches/0001-Bug-715322-gearmand-FTBFS-on-hurd-i386.patch0000644000000000000000000000334112240002063020137 0ustar From 76c028cbc05bfe45308ca1c9ba75a3aa9474880d Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sun, 7 Jul 2013 23:44:43 +0200 Subject: [PATCH] Bug#715322: gearmand: FTBFS on hurd-i386 Source: gearmand Version: 1.0.6-1 Severity: important Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd Control: forwarded -1 https://bugs.launchpad.net/gearmand/+bug/1198739 Hi, gearmand 1.0.6 fails to compile on GNU/Hurd [1]. The problem is the misuse of the __MACH__ define for what really is code specific to Mac OS X (both Hurd and Mac OS X use a (micro)kernel based on Mach, hence the usage of __MACH__). I reported upstream [2] a bug about this with a patch for the latest 1.1.8 also fixing a couple of tests; since tests are not executed in the Debian build, attached there is a reduced version of the patch which just fixes the build. [1] https://buildd.debian.org/status/fetch.php?pkg=gearmand&ver=1.0.6-1&arch=hurd-i386&stamp=1373229741 [2] https://bugs.launchpad.net/gearmand/+bug/1198739 Thanks, -- Pino --- libtest/timer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtest/timer.cc b/libtest/timer.cc index fae814c..45e2d82 100644 --- a/libtest/timer.cc +++ b/libtest/timer.cc @@ -41,7 +41,7 @@ #include #include -#ifdef __MACH__ +#ifdef __APPLE__ # include # include #else @@ -110,7 +110,7 @@ void Timer::difference(struct timespec& arg) const void Timer::_time(struct timespec& ts) { -#ifdef __MACH__ // OSX lacks clock_gettime() +#ifdef __APPLE__ // OSX lacks clock_gettime() clock_serv_t _clock_serv; mach_timespec_t _mach_timespec; host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &_clock_serv); -- 1.7.10.4 debian/patches/series0000644000000000000000000000020112240002063012010 0ustar # debian/source/git-patches exported from git by quilt-patches-deb-export-hook 0001-Bug-715322-gearmand-FTBFS-on-hurd-i386.patch debian/watch0000644000000000000000000000017612240000622010207 0ustar version=3 # opts="uversionmangle=s/^(1\.1\..*)/~0.$1/" \ http://download.datadifferential.com/gearmand-(1\.[02]\..*)\.tar\.gz debian/tests/0000755000000000000000000000000012240000622010314 5ustar debian/tests/sharness.sh0000644000000000000000000004411112240000622012477 0ustar #!/bin/sh # # Copyright (c) 2011-2012 Mathias Lafeldt # Copyright (c) 2005-2012 Git project # Copyright (c) 2005-2012 Junio C Hamano # # 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 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see http://www.gnu.org/licenses/ . # Public: Current version of Sharness. SHARNESS_VERSION="0.3.0" export SHARNESS_VERSION # Public: The file extension for tests. By default, it is set to "t". : ${SHARNESS_TEST_EXTENSION:=t} export SHARNESS_TEST_EXTENSION # Keep the original TERM for say_color ORIGINAL_TERM=$TERM # For repeatability, reset the environment to a known state. LANG=C LC_ALL=C PAGER=cat TZ=UTC TERM=dumb EDITOR=: export LANG LC_ALL PAGER TZ TERM EDITOR unset VISUAL CDPATH GREP_OPTIONS # Line feed LF=' ' [ "x$ORIGINAL_TERM" != "xdumb" ] && ( TERM=$ORIGINAL_TERM && export TERM && [ -t 1 ] && tput bold >/dev/null 2>&1 && tput setaf 1 >/dev/null 2>&1 && tput sgr0 >/dev/null 2>&1 ) && color=t while test "$#" -ne 0; do case "$1" in -d|--d|--de|--deb|--debu|--debug) debug=t; shift ;; -i|--i|--im|--imm|--imme|--immed|--immedi|--immedia|--immediat|--immediate) immediate=t; shift ;; -l|--l|--lo|--lon|--long|--long-|--long-t|--long-te|--long-tes|--long-test|--long-tests) TEST_LONG=t; export TEST_LONG; shift ;; -h|--h|--he|--hel|--help) help=t; shift ;; -v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose) verbose=t; shift ;; -q|--q|--qu|--qui|--quie|--quiet) # Ignore --quiet under a TAP::Harness. Saying how many tests # passed without the ok/not ok details is always an error. test -z "$HARNESS_ACTIVE" && quiet=t; shift ;; --no-color) color=; shift ;; --root=*) root=$(expr "z$1" : 'z[^=]*=\(.*\)') shift ;; *) echo "error: unknown test option '$1'" >&2; exit 1 ;; esac done if test -n "$color"; then say_color() { ( TERM=$ORIGINAL_TERM export TERM case "$1" in error) tput bold; tput setaf 1;; # bold red skip) tput setaf 4;; # blue warn) tput setaf 3;; # brown/yellow pass) tput setaf 2;; # green info) tput setaf 6;; # cyan *) test -n "$quiet" && return;; esac shift printf "%s" "$*" tput sgr0 echo ) } else say_color() { test -z "$1" && test -n "$quiet" && return shift printf "%s\n" "$*" } fi error() { say_color error "error: $*" EXIT_OK=t exit 1 } say() { say_color info "$*" } test -n "$test_description" || error "Test script did not set test_description." if test "$help" = "t"; then echo "$test_description" exit 0 fi exec 5>&1 exec 6<&0 if test "$verbose" = "t"; then exec 4>&2 3>&1 else exec 4>/dev/null 3>/dev/null fi test_failure=0 test_count=0 test_fixed=0 test_broken=0 test_success=0 die() { code=$? if test -n "$EXIT_OK"; then exit $code else echo >&5 "FATAL: Unexpected exit with code $code" exit 1 fi } EXIT_OK= trap 'die' EXIT # Public: Define that a test prerequisite is available. # # The prerequisite can later be checked explicitly using test_have_prereq or # implicitly by specifying the prerequisite name in calls to test_expect_success # or test_expect_failure. # # $1 - Name of prerequiste (a simple word, in all capital letters by convention) # # Examples # # # Set PYTHON prerequisite if interpreter is available. # command -v python >/dev/null && test_set_prereq PYTHON # # # Set prerequisite depending on some variable. # test -z "$NO_GETTEXT" && test_set_prereq GETTEXT # # Returns nothing. test_set_prereq() { satisfied_prereq="$satisfied_prereq$1 " } satisfied_prereq=" " # Public: Check if one or more test prerequisites are defined. # # The prerequisites must have previously been set with test_set_prereq. # The most common use of this is to skip all the tests if some essential # prerequisite is missing. # # $1 - Comma-separated list of test prerequisites. # # Examples # # # Skip all remaining tests if prerequisite is not set. # if ! test_have_prereq PERL; then # skip_all='skipping perl interface tests, perl not available' # test_done # fi # # Returns 0 if all prerequisites are defined or 1 otherwise. test_have_prereq() { # prerequisites can be concatenated with ',' save_IFS=$IFS IFS=, set -- $* IFS=$save_IFS total_prereq=0 ok_prereq=0 missing_prereq= for prerequisite; do case "$prerequisite" in !*) negative_prereq=t prerequisite=${prerequisite#!} ;; *) negative_prereq= esac total_prereq=$(($total_prereq + 1)) case "$satisfied_prereq" in *" $prerequisite "*) satisfied_this_prereq=t ;; *) satisfied_this_prereq= esac case "$satisfied_this_prereq,$negative_prereq" in t,|,t) ok_prereq=$(($ok_prereq + 1)) ;; *) # Keep a list of missing prerequisites; restore # the negative marker if necessary. prerequisite=${negative_prereq:+!}$prerequisite if test -z "$missing_prereq"; then missing_prereq=$prerequisite else missing_prereq="$prerequisite,$missing_prereq" fi esac done test $total_prereq = $ok_prereq } # You are not expected to call test_ok_ and test_failure_ directly, use # the text_expect_* functions instead. test_ok_() { test_success=$(($test_success + 1)) say_color "" "ok $test_count - $@" } test_failure_() { test_failure=$(($test_failure + 1)) say_color error "not ok $test_count - $1" shift echo "$@" | sed -e 's/^/# /' test "$immediate" = "" || { EXIT_OK=t; exit 1; } } test_known_broken_ok_() { test_fixed=$(($test_fixed + 1)) say_color error "ok $test_count - $@ # TODO known breakage vanished" } test_known_broken_failure_() { test_broken=$(($test_broken + 1)) say_color warn "not ok $test_count - $@ # TODO known breakage" } # Public: Execute commands in debug mode. # # Takes a single argument and evaluates it only when the test script is started # with --debug. This is primarily meant for use during the development of test # scripts. # # $1 - Commands to be executed. # # Examples # # test_debug "cat some_log_file" # # Returns the exit code of the last command executed in debug mode or 0 # otherwise. test_debug() { test "$debug" = "" || eval "$1" } test_eval_() { # This is a separate function because some tests use # "return" to end a test_expect_success block early. eval &3 2>&4 "$*" } test_run_() { test_cleanup=: expecting_failure=$2 test_eval_ "$1" eval_ret=$? if test -z "$immediate" || test $eval_ret = 0 || test -n "$expecting_failure"; then test_eval_ "$test_cleanup" fi if test "$verbose" = "t" && test -n "$HARNESS_ACTIVE"; then echo "" fi return "$eval_ret" } test_skip_() { test_count=$(($test_count + 1)) to_skip= for skp in $SKIP_TESTS; do case $this_test.$test_count in $skp) to_skip=t break esac done if test -z "$to_skip" && test -n "$test_prereq" && ! test_have_prereq "$test_prereq"; then to_skip=t fi case "$to_skip" in t) of_prereq= if test "$missing_prereq" != "$test_prereq"; then of_prereq=" of $test_prereq" fi say_color skip >&3 "skipping test: $@" say_color skip "ok $test_count # skip $1 (missing $missing_prereq${of_prereq})" : true ;; *) false ;; esac } # Public: Run test commands and expect them to succeed. # # When the test passed, an "ok" message is printed and the number of successful # tests is incremented. When it failed, a "not ok" message is printed and the # number of failed tests is incremented. # # With --immediate, exit test immediately upon the first failed test. # # Usually takes two arguments: # $1 - Test description # $2 - Commands to be executed. # # With three arguments, the first will be taken to be a prerequisite: # $1 - Comma-separated list of test prerequisites. The test will be skipped if # not all of the given prerequisites are set. To negate a prerequisite, # put a "!" in front of it. # $2 - Test description # $3 - Commands to be executed. # # Examples # # test_expect_success \ # 'git-write-tree should be able to write an empty tree.' \ # 'tree=$(git-write-tree)' # # # Test depending on one prerequisite. # test_expect_success TTY 'git --paginate rev-list uses a pager' \ # ' ... ' # # # Multiple prerequisites are separated by a comma. # test_expect_success PERL,PYTHON 'yo dawg' \ # ' test $(perl -E 'print eval "1 +" . qx[python -c "print 2"]') == "4" ' # # Returns nothing. test_expect_success() { test "$#" = 3 && { test_prereq=$1; shift; } || test_prereq= test "$#" = 2 || error "bug in the test script: not 2 or 3 parameters to test_expect_success" export test_prereq if ! test_skip_ "$@"; then say >&3 "expecting success: $2" if test_run_ "$2"; then test_ok_ "$1" else test_failure_ "$@" fi fi echo >&3 "" } # Public: Run test commands and expect them to fail. Used to demonstrate a known # breakage. # # This is NOT the opposite of test_expect_success, but rather used to mark a # test that demonstrates a known breakage. # # When the test passed, an "ok" message is printed and the number of fixed tests # is incremented. When it failed, a "not ok" message is printed and the number # of tests still broken is incremented. # # Failures from these tests won't cause --immediate to stop. # # Usually takes two arguments: # $1 - Test description # $2 - Commands to be executed. # # With three arguments, the first will be taken to be a prerequisite: # $1 - Comma-separated list of test prerequisites. The test will be skipped if # not all of the given prerequisites are set. To negate a prerequisite, # put a "!" in front of it. # $2 - Test description # $3 - Commands to be executed. # # Returns nothing. test_expect_failure() { test "$#" = 3 && { test_prereq=$1; shift; } || test_prereq= test "$#" = 2 || error "bug in the test script: not 2 or 3 parameters to test_expect_failure" export test_prereq if ! test_skip_ "$@"; then say >&3 "checking known breakage: $2" if test_run_ "$2" expecting_failure; then test_known_broken_ok_ "$1" else test_known_broken_failure_ "$1" fi fi echo >&3 "" } # Public: Run command and ensure that it fails in a controlled way. # # Use it instead of "! ". For example, when dies due to a # segfault, test_must_fail diagnoses it as an error, while "! " would # mistakenly be treated as just another expected failure. # # This is one of the prefix functions to be used inside test_expect_success or # test_expect_failure. # # $1.. - Command to be executed. # # Examples # # test_expect_success 'complain and die' ' # do something && # do something else && # test_must_fail git checkout ../outerspace # ' # # Returns 1 if the command succeeded (exit code 0). # Returns 1 if the command died by signal (exit codes 130-192) # Returns 1 if the command could not be found (exit code 127). # Returns 0 otherwise. test_must_fail() { "$@" exit_code=$? if test $exit_code = 0; then echo >&2 "test_must_fail: command succeeded: $*" return 1 elif test $exit_code -gt 129 -a $exit_code -le 192; then echo >&2 "test_must_fail: died by signal: $*" return 1 elif test $exit_code = 127; then echo >&2 "test_must_fail: command not found: $*" return 1 fi return 0 } # Public: Run command and ensure that it succeeds or fails in a controlled way. # # Similar to test_must_fail, but tolerates success too. Use it instead of # " || :" to catch failures caused by a segfault, for instance. # # This is one of the prefix functions to be used inside test_expect_success or # test_expect_failure. # # $1.. - Command to be executed. # # Examples # # test_expect_success 'some command works without configuration' ' # test_might_fail git config --unset all.configuration && # do something # ' # # Returns 1 if the command died by signal (exit codes 130-192) # Returns 1 if the command could not be found (exit code 127). # Returns 0 otherwise. test_might_fail() { "$@" exit_code=$? if test $exit_code -gt 129 -a $exit_code -le 192; then echo >&2 "test_might_fail: died by signal: $*" return 1 elif test $exit_code = 127; then echo >&2 "test_might_fail: command not found: $*" return 1 fi return 0 } # Public: Run command and ensure it exits with a given exit code. # # This is one of the prefix functions to be used inside test_expect_success or # test_expect_failure. # # $1 - Expected exit code. # $2.. - Command to be executed. # # Examples # # test_expect_success 'Merge with d/f conflicts' ' # test_expect_code 1 git merge "merge msg" B master # ' # # Returns 0 if the expected exit code is returned or 1 otherwise. test_expect_code() { want_code=$1 shift "$@" exit_code=$? if test $exit_code = $want_code; then return 0 fi echo >&2 "test_expect_code: command exited with $exit_code, we wanted $want_code $*" return 1 } # Public: Compare two files to see if expected output matches actual output. # # The TEST_CMP variable defines the command used for the comparision; it # defaults to "diff -u". Only when the test script was started with --verbose, # will the command's output, the diff, be printed to the standard output. # # This is one of the prefix functions to be used inside test_expect_success or # test_expect_failure. # # $1 - Path to file with expected output. # $2 - Path to file with actual output. # # Examples # # test_expect_success 'foo works' ' # echo expected >expected && # foo >actual && # test_cmp expected actual # ' # # Returns the exit code of the command set by TEST_CMP. test_cmp() { ${TEST_CMP:-diff -u} "$@" } # Public: Schedule cleanup commands to be run unconditionally at the end of a # test. # # If some cleanup command fails, the test will not pass. With --immediate, no # cleanup is done to help diagnose what went wrong. # # This is one of the prefix functions to be used inside test_expect_success or # test_expect_failure. # # $1.. - Commands to prepend to the list of cleanup commands. # # Examples # # test_expect_success 'test core.capslock' ' # git config core.capslock true && # test_when_finished "git config --unset core.capslock" && # do_something # ' # # Returns the exit code of the last cleanup command executed. test_when_finished() { test_cleanup="{ $* } && (exit \"\$eval_ret\"); eval_ret=\$?; $test_cleanup" } # Public: Summarize test results and exit with an appropriate error code. # # Must be called at the end of each test script. # # Can also be used to stop tests early and skip all remaining tests. For this, # set skip_all to a string explaining why the tests were skipped before calling # test_done. # # Examples # # # Each test script must call test_done at the end. # test_done # # # Skip all remaining tests if prerequisite is not set. # if ! test_have_prereq PERL; then # skip_all='skipping perl interface tests, perl not available' # test_done # fi # # Returns 0 if all tests passed or 1 if there was a failure. test_done() { EXIT_OK=t if test -z "$HARNESS_ACTIVE"; then test_results_dir="$SHARNESS_TEST_DIRECTORY/test-results" mkdir -p "$test_results_dir" test_results_path="$test_results_dir/${SHARNESS_TEST_FILE%.$SHARNESS_TEST_EXTENSION}.$$.counts" cat >>"$test_results_path" <<-EOF total $test_count success $test_success fixed $test_fixed broken $test_broken failed $test_failure EOF fi if test "$test_fixed" != 0; then say_color error "# $test_fixed known breakage(s) vanished; please update test(s)" fi if test "$test_broken" != 0; then say_color warn "# still have $test_broken known breakage(s)" fi if test "$test_broken" != 0 || test "$test_fixed" != 0; then test_remaining=$(( $test_count - $test_broken - $test_fixed )) msg="remaining $test_remaining test(s)" else test_remaining=$test_count msg="$test_count test(s)" fi case "$test_failure" in 0) # Maybe print SKIP message if test -n "$skip_all" && test $test_count -gt 0; then error "Can't use skip_all after running some tests" fi [ -z "$skip_all" ] || skip_all=" # SKIP $skip_all" if test $test_remaining -gt 0; then say_color pass "# passed all $msg" fi say "1..$test_count$skip_all" test -d "$remove_trash" && cd "$(dirname "$remove_trash")" && rm -rf "$(basename "$remove_trash")" exit 0 ;; *) say_color error "# failed $test_failure among $msg" say "1..$test_count" exit 1 ;; esac } # Public: Root directory containing tests. Tests can override this variable, # e.g. for testing Sharness itself. : ${SHARNESS_TEST_DIRECTORY:=$(pwd)} export SHARNESS_TEST_DIRECTORY # Public: Build directory that will be added to PATH. By default, it is set to # the parent directory of SHARNESS_TEST_DIRECTORY. : ${SHARNESS_BUILD_DIRECTORY:="$SHARNESS_TEST_DIRECTORY/.."} PATH="$SHARNESS_BUILD_DIRECTORY:$PATH" export PATH SHARNESS_BUILD_DIRECTORY # Public: Path to test script currently executed. SHARNESS_TEST_FILE="$0" export SHARNESS_TEST_FILE # Prepare test area. test_dir="trash directory.$(basename "$SHARNESS_TEST_FILE" ".$SHARNESS_TEST_EXTENSION")" test -n "$root" && test_dir="$root/$test_dir" case "$test_dir" in /*) SHARNESS_TRASH_DIRECTORY="$test_dir" ;; *) SHARNESS_TRASH_DIRECTORY="$SHARNESS_TEST_DIRECTORY/$test_dir" ;; esac test "$debug" = "t" || remove_trash="$SHARNESS_TRASH_DIRECTORY" rm -rf "$test_dir" || { EXIT_OK=t echo >&5 "FATAL: Cannot prepare test area" exit 1 } # Public: Empty trash directory, the test area, provided for each test. The HOME # variable is set to that directory too. export SHARNESS_TRASH_DIRECTORY HOME="$SHARNESS_TRASH_DIRECTORY" export HOME mkdir -p "$test_dir" || exit 1 # Use -P to resolve symlinks in our working directory so that the cwd # in subprocesses like git equals our $PWD (for pathname comparisons). cd -P "$test_dir" || exit 1 this_test=${SHARNESS_TEST_FILE##*/} this_test=${this_test%.$SHARNESS_TEST_EXTENSION} for skp in $SKIP_TESTS; do case "$this_test" in $skp) say_color info >&3 "skipping test $this_test altogether" skip_all="skip all tests in $this_test" test_done esac done # vi: set ts=4 sw=4 noet : debian/tests/run-tests0000755000000000000000000000017512240000622012211 0ustar #!/bin/sh cd "$(dirname $0)" if [ -z "${ADTTMP:-}" ]; then tempdir="$(mktemp -d --suffix=.autopkgtest)" fi prove -v *.t debian/tests/control0000644000000000000000000000005012240000622011712 0ustar Tests: run-tests Depends: @,perl,procps debian/tests/02.gearman-worker.t0000644000000000000000000000046212240000622013644 0ustar #!/bin/sh test_description="Check that the gearman-job-server starts" . ./sharness.sh test_expect_success "start worker" " gearman -w -t 2000 -c 1 -f count -- wc -l & " test_expect_success "start client" " printf 'one\ntwo\nthree\n' | gearman -P -t 2000 -f count | grep -qx 'count: 3' " test_done debian/tests/01.gearman-job-server.t0000644000000000000000000000035512240000622014411 0ustar #!/bin/sh test_description="Check that the gearman-job-server starts" . ./sharness.sh test_expect_success "service status" " service gearman-job-server status " test_expect_success "process running" " pgrep gearmand " test_done debian/source/0000755000000000000000000000000012240000622010452 5ustar debian/source/git-patches0000644000000000000000000000006712240000622012610 0ustar upstream/1.0.6..patches/1.0.6/715322-ftbfs-on-gnu-hurd debian/source/format0000644000000000000000000000001412240000622011660 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000065212240000622010235 0ustar #!/usr/bin/make -f %: dh $@ --parallel --with autoreconf,systemd override_dh_auto_configure: dh_auto_configure -- --enable-jobserver=no override_dh_auto_test: override_dh_auto_install: chrpath -d bin/gearadmin gearmand/gearmand dh_auto_install override_dh_install: dh_install --list-missing override_dh_installchangelogs: dh_installchangelogs ChangeLog override_dh_strip: dh_strip --dbg-package=libgearman7-dbg debian/libgearman7.install0000644000000000000000000000003312240000622012726 0ustar /usr/lib/*/libgearman.so.* debian/libgearman-doc.examples0000644000000000000000000000001212240000622013547 0ustar examples/*debian/libgearman-doc.docs0000644000000000000000000000002012240000622012660 0ustar docs/libgearman debian/libgearman-dev.manpages0000644000000000000000000000001012240000622013533 0ustar man/*.3 debian/libgearman-dev.install0000644000000000000000000000014412240000622013416 0ustar usr/include/libgearman/* usr/include/libgearman-1.0/* usr/lib/*/libgearman.so usr/lib/*/pkgconfig/* debian/gearman-tools.manpages0000644000000000000000000000001012240000622013426 0ustar man/*.1 debian/gearman-tools.install0000644000000000000000000000001212240000622013303 0ustar usr/bin/* debian/gearman-job-server.upstart0000644000000000000000000000051212240000622014262 0ustar # -*- upstart -*- # Upstart configuration script for "gearman-job-server". description "gearman job control server" start on (filesystem and net-device-up IFACE=lo) stop on runlevel [!2345] respawn exec start-stop-daemon --start --chuid gearman --exec /usr/sbin/gearmand -- --log-file=/var/log/gearman-job-server/gearman.log debian/gearman-job-server.service0000644000000000000000000000056412240000622014227 0ustar [Unit] Description=gearman job control server [Service] ExecStartPre=/usr/bin/install -d -o gearman /run/gearman PermissionsStartOnly=true User=gearman Restart=always PIDFile=/run/gearman/server.pid ExecStart=/usr/sbin/gearmand --listen=127.0.0.1 --pid-file=/run/gearman/server.pid --log-file=/var/log/gearman-job-server/gearman.log [Install] WantedBy=multi-user.target debian/gearman-job-server.preinst0000644000000000000000000000246712240000622014257 0ustar #!/bin/sh set -e GROUP="gearman" USER="gearman" DATADIR="/var/lib/gearman" # shamelessly copied from debian mysql-server package... # # Now we have to ensure the following state: (100, 101 are examples) # /etc/passwd: gearman:x:100:101:Gearman Job Server:/var/lib/gearman:/bin/false # /etc/group: gearman:x:101: # # Sadly there could any state be present on the system so we have to # modify everything carefully i.e. not doing a chown before creating # the user etc... # creating gearman group if he isn't already there if ! getent group $GROUP >/dev/null ; then # Adding system group addgroup --system $GROUP >/dev/null fi # creating gearman user if he isn't already there if ! getent passwd $USER >/dev/null ; then # Adding system user adduser \ --system \ --disabled-login \ --ingroup $GROUP \ --home $DATADIR \ --gecos "Gearman Job Server" \ --shell /bin/false \ $USER >/dev/null else if ! test -d $DATADIR ; then mkdir -p $DATADIR chown $USER $DATADIR fi # Take care of folks who installed when we set homedir to /nonexistent if getent passwd $USER | grep nonexistent >/dev/null ; then usermod -d $DATADIR $USER fi fi #DEBHELPER# debian/gearman-job-server.postrm0000644000000000000000000000104112240000622014102 0ustar #!/bin/sh set -e GROUP="gearman" USER="gearman" LOGDIR="/var/log/gearman-job-server" # shamelessly copied from debian mysql-server package... # # - Remove the gearman user only after all his owned files are purged. # if [ "$1" = "purge" ]; then # we remove the mysql user only after all his owned files are purged rm -rf $LOGDIR rm -rf /var/run/gearman rm -rf /var/lib/gearman # --remove-all-files takes ages, so delete manually deluser --system $USER || true delgroup --system --only-if-empty $GROUP || true fi #DEBHELPER# debian/gearman-job-server.postinst0000644000000000000000000000017712240000622014452 0ustar #!/bin/sh set -e GROUP="gearman" USER="gearman" LOGDIR="/var/log/gearman-job-server" chown $USER:$GROUP $LOGDIR #DEBHELPER# debian/gearman-job-server.manpages0000644000000000000000000000001712240000622014353 0ustar man/gearmand.8 debian/gearman-job-server.logrotate0000644000000000000000000000015012240000622014556 0ustar /var/log/gearman-job-server/*.log { daily rotate 4 missingok compress } debian/gearman-job-server.install0000644000000000000000000000007612240000622014233 0ustar usr/sbin debian/gearman-job-server.service lib/systemd/system debian/gearman-job-server.init0000644000000000000000000000351612240000622013532 0ustar #!/bin/sh # Gearman server and library # Copyright (C) 2008 Brian Aker, Eric Day # All rights reserved. # # Use and distribution licensed under the BSD license. See # the COPYING file in this directory for full text. ### BEGIN INIT INFO # Provides: gearman-job-server # Required-Start: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable gearman job server ### END INIT INFO prefix=/usr exec_prefix=${prefix} NAME=gearmand DAEMON=${exec_prefix}/sbin/gearmand PIDDIR=/var/run/gearman PIDFILE=${PIDDIR}/gearmand.pid GEARMANUSER="gearman" PARAMS="" test -x ${DAEMON} || exit 0 . /lib/lsb/init-functions test -f /etc/default/gearman-job-server && . /etc/default/gearman-job-server start() { log_daemon_msg "Starting Gearman Server" "gearmand" if ! test -d ${PIDDIR} then mkdir ${PIDDIR} chown ${GEARMANUSER} ${PIDDIR} fi if start-stop-daemon \ --start \ --exec $DAEMON \ -- --pid-file=$PIDFILE \ --user=$GEARMANUSER \ --daemon \ --log-file=/var/log/gearman-job-server/gearman.log \ $PARAMS then log_end_msg 0 else log_end_msg 1 log_warning_msg "Please take a look at the syslog" exit 1 fi } stop() { log_daemon_msg "Stopping Gearman Server" "gearmand" if start-stop-daemon \ --stop \ --oknodo \ --exec $DAEMON \ --pidfile $PIDFILE then log_end_msg 0 else log_end_msg 1 exit 1 fi } status() { status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? } case "$1" in start) start ;; stop) stop ;; status) status ;; restart|force-reload) stop start ;; *) echo "Usage: $0 {start|stop|restart|force-reload|status}" ;; esac debian/gearman-job-server.dirs0000644000000000000000000000005712240000622013525 0ustar /var/log/gearman-job-server lib/systemd/system debian/gearman-job-server.default0000644000000000000000000000155412240000622014213 0ustar # This is a configuration file for /etc/init.d/gearman-job-server; it allows # you to perform common modifications to the behavior of the gearman-job-server # daemon startup without editing the init script (and thus getting prompted by # dpkg on upgrades). We all love dpkg prompts. # Examples ( from http://gearman.org/index.php?id=manual:job_server ) # # Use drizzle as persistent queue store # PARAMS="-q libdrizzle --libdrizzle-db=some_db --libdrizzle-table=gearman_queue" # # Use mysql as persistent queue store # PARAMS="-q libdrizzle --libdrizzle-host=10.0.0.1 --libdrizzle-user=gearman \ # --libdrizzle-password=secret --libdrizzle-db=some_db \ # --libdrizzle-table=gearman_queue --libdrizzle-mysql" # # Missing examples for memcache persitent queue store... # Parameters to pass to gearmand. PARAMS="--listen=localhost" debian/gearman-job-server.README.Debian0000644000000000000000000000055212240000622014702 0ustar logging ------- The gearman job server is configured to log to a file in /var/log/gearman-job-server/. However the default verbosity of the server is so low, that the file may not be created until really bad things happen. The verbosity can be changed like other parameters in the default file located at /etc/default/gearman-job-server See also man gearmand debian/docs0000644000000000000000000000001412240000622010020 0ustar NEWS README debian/copyright0000644000000000000000000001321412240000622011106 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Gearman Server and Client Libraries Upstream-Contact: Brian Aker , https://launchpad.net/~gearman-developers Source: https://launchpad.net/gearmand Files: * Copyright: 2011-2013 Data Differential, http://datadifferential.com/ 2008 Eric Day 2008-2013 Brian Aker 2013 Keyur Govande License: BSD-3-clause Gearman server and library Copyright (C) 2011 Data Differential, http://datadifferential.com/ Copyright (C) 2008 Brian Aker, Eric Day All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: libhostile/* libtest/* Copyright: 2011 Data Differential, http://datadifferential.com/ License: LGPL-3+ See /usr/share/common-licenses/LGPL-3 Files: libgearman-server/plugins/queue/sqlite/queue.cc Copyright: 2009, Cory Bennett License: BSD-3-clause Copyright (C) 2009, Cory Bennett All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission. Files: debian/* Copyright: 2012 Stig Sandbeck Mathisen 2012 Fladischer Michael 2009 Ben Morris and Monty Taylor License: GPL-3 See /usr/share/common-licenses/GPL-3 Files: debian/test/sharness.sh Copyright: 2011-2012 Mathias Lafeldt 2005-2012 Git project 2005-2012 Junio C Hamano License: GPL-2 or (at your option) any later version See /usr/share/common-licenses/GPL-2 Files: m4/ax_compare_version.m4 m4/ax_lib_sqlite3.m4 m4/ax_lib_sqlite3.m4 m4/ax_path_generic.m4 m4/ax_with_prog.m4 m4/ax_cxx_header_stdcxx_98.m4 m4/ax_lib_postgresql.m4 Copyright: 2008 Tim Toolan 2008-2009 Francesco Salvestrini 2008 Mateusz Loskot 2008 Dustin J. Mitchell 2008 Benjamin Kosnik License: permissive Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. Files: m4/pandora_with_valgrind.m4 Copyright: 2010 Brian Aker License: permissive-ba This file is free software; Brian Aker gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. Files: m4/pandora_* Copyright: 2009 Sun Microsystems, Inc. License: permissive-sun This file is free software; Sun Microsystems, Inc. gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. Files: m4/ax_pthread.m4 m4/boost.m4 m4/pkg.m4 m4/ax_check_library.m4 m4/have_cinttypes.m4 m4/have_cstdint.m4 Copyright: 2008 Steven G. Johnson 2011 Daniel Richard G. 2007-2011 Benoit Sigoure 2004 Scott James Remnant 2010 Diego Elio Petteno` 2012 Brian Aker` License: GPL-3+ See /usr/share/common-licenses/GPL-3 Files: m4/socket_send_flags.m4 Copyright: 2011 Trond Norbye License: permissive-tn This file is free software; Trond Norbye gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. Files: m4/extensions.m4 m4/lib-prefix.m4 m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 m4/visibility.m4 Copyright: 1996-2011 Free Software Foundation, Inc. License: permissive-fsf This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. debian/control0000644000000000000000000001071412240000622010560 0ustar Source: gearmand Section: misc Priority: extra Maintainer: Stig Sandbeck Mathisen Build-Depends: autoconf, automake, chrpath, debhelper (>= 9), dh-autoreconf, dh-systemd (>= 1.4), lcov, libboost-program-options-dev (>= 1.39.0), libboost-system-dev (>= 1.39.0), libboost-thread-dev (>= 1.39.0), libcloog-ppl-dev, libcurl4-gnutls-dev (>= 7.21.7), libevent-dev, libltdl-dev, libmemcached-dev (>= 1.0), libmysqlclient-dev (>= 5.0), libpq-dev, libsasl2-dev, libsqlite3-dev (>= 3.0.0), libtool, memcached, pandora-build, pkg-config (>= 0.9.0), procps, systemtap-sdt-dev [amd64 armel armhf i386 ia64 powerpc s390], uuid-dev, Standards-Version: 3.9.3 Homepage: http://launchpad.net/gearmand Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gearmand.git Vcs-Git: git://anonscm.debian.org/collab-maint/gearmand.git XS-Testsuite: autopkgtest Package: libgearman7 Priority: optional Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Library providing Gearman client and worker functions 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 to call functions between languages. . This package contains the C reimplementation of the client library. Package: libgearman-dev Section: libdevel Architecture: any Depends: libgearman7 (= ${binary:Version}), libevent-dev, ${shlibs:Depends}, ${misc:Depends} Description: Development files for the Gearman Library 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 to call functions between languages. . This package contains the development headers for the libgearman library. Package: libgearman-dbg Depends: libgearman7-dbg, ${misc:Depends} Architecture: all Section: oldlibs Description: transitional dummy package This is a transitional dummy package. It can safely be removed. Package: libgearman7-dbg Section: debug Architecture: any Depends: libgearman7 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Debug symbols for the Gearman Client Library 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 to call functions between languages. . This package contains the debug symbols for the libgearman client library. Package: libgearman-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: API Documentation for the Gearman Library 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 to call functions between languages. . This package contains the API docs for the libgearman library. Package: gearman-job-server Architecture: any Pre-Depends: adduser Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: memcached Description: Job server for the Gearman distributed job queue 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 to call functions between languages. . This package contains the C reimplementation of the job server daemon Package: gearman-tools Architecture: any Depends: libgearman7 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Tools for the Gearman distributed job queue 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 to call functions between languages. . This package contains some command line tools for manipulating gearman jobs. Package: gearman Architecture: all Depends: gearman-tools, gearman-job-server, ${misc:Depends} Description: Distributed job queue 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 to call functions between languages. . This package is an empty package that depends on both the client and the server. debian/compat0000644000000000000000000000000212240000622010350 0ustar 9 debian/clean0000644000000000000000000000001312240000622010151 0ustar config.log debian/changelog0000644000000000000000000002656712240000622011044 0ustar gearmand (1.0.6-3) unstable; urgency=low * gearman-job-server: listen on "localhost" instead of IPv4 only loopback address (Closes: #711859) * Rename "libgearman-dbg" to "libgearman7-dbg" (Closes: #698371) * debian/watch: track current and next stable release series * Improve autopkgtests - Add missing XS-Testsuite header - Add procps to server test dependency - Add worker/client test -- Stig Sandbeck Mathisen Sun, 10 Nov 2013 22:58:28 +0100 gearmand (1.0.6-2) unstable; urgency=low [ Pino Toscano ] * Fix FTBFS on GNU/Hurd (Closes: #715322) * Fix parallel building (Closes: #715323) -- Stig Sandbeck Mathisen Mon, 08 Jul 2013 12:48:35 +0200 gearmand (1.0.6-1) unstable; urgency=low [ Stig Sandbeck Mathisen ] * New upstream release * Add dep8 test for gearman-job-server [ Michael Stapelberg ] * Use dh_systemd (Closes: #715253) -- Stig Sandbeck Mathisen Sun, 07 Jul 2013 17:06:22 +0200 gearmand (1.0.5-2) unstable; urgency=low * Upload to unstable after freeze -- Stig Sandbeck Mathisen Sun, 05 May 2013 11:58:42 +0200 gearmand (1.0.5-1) experimental; urgency=low * New upstream version * Update debian/copyright * Add upstart configuration for gearman-job-server * Systemd will now restart gearman-job-server -- Stig Sandbeck Mathisen Wed, 24 Apr 2013 14:49:40 +0200 gearmand (1.0.2-1) experimental; urgency=low * New upstream release * Add persistent storage with MySQL (Closes: #694572) * Add persistent storage with PostgreSQL * Remove GNU/Hurd patch included upstream * Remove typo patch included upstream -- Stig Sandbeck Mathisen Mon, 14 Jan 2013 22:39:53 +0100 gearmand (0.41-1) experimental; urgency=low * Imported Upstream version 0.41 * Soname bump: libgearman6 -> libgearman7 * Set build dependency on libmemcached-dev to require >= 1.0 (Closes: #681768) * Add build dependency on libboost-system-dev * Remove support-gcc-4.7.patch, included upstream * debian/control: Remove old conflicts/replaces/provides * debian/clean: Clean up config.log after build * debian/watch: Check for updates from the stable branch only * Use "gitpkg" to handle patch generation, in-tree patches has been removed * Track upstream manpage location * Disable build tests -- Stig Sandbeck Mathisen Mon, 15 Oct 2012 23:18:00 +0200 gearmand (0.33-2) unstable; urgency=low * Add patch to support gcc/g++ 4.7 (Closes: #678903) * Revert "Use gcc 4.6 when building" * Fix FTBFS on GNU/Hurd (Closes: #678063) -- Stig Sandbeck Mathisen Tue, 26 Jun 2012 08:58:21 +0200 gearmand (0.33-1) unstable; urgency=low * Imported Upstream version 0.33 * Remove kfreebsd O_CLOEXEC patch, this is now checked by configure * Add versions for build dependencies where stated in configure * ExecStartPre= needs root acecss… * Use gcc 4.6 when building -- Stig Sandbeck Mathisen Sun, 24 Jun 2012 13:53:02 +0200 gearmand (0.32-2) unstable; urgency=low * Add O_CLOEXEC patch (Closes: #671158) -- Stig Sandbeck Mathisen Sun, 06 May 2012 14:21:47 +0200 gearmand (0.32-1) unstable; urgency=low * Imported Upstream version 0.32 * Remove spelling patch included upstream * Remove documentation patch, we do not rebuild documentation * Remove memcached patch, fixed upstream * Use dh_autoreconf * Use copyright format 1.0 -- Stig Sandbeck Mathisen Tue, 01 May 2012 20:43:47 +0200 gearmand (0.29-2) unstable; urgency=low * Adjust architectures for systemtap-std-dev build dependency (Closes: #668792) * Update "forwarded" status for patches -- Stig Sandbeck Mathisen Mon, 16 Apr 2012 07:55:59 +0200 gearmand (0.29-1) unstable; urgency=low * New upstream release * Update watch file, use https * Revert "Remove build dependency on libmemcached" * Bump standards version (no changes) * Bump debhelper compatibility level to 9 (multiarch) -- Stig Sandbeck Mathisen Fri, 16 Mar 2012 01:31:03 +0100 gearmand (0.28-1) unstable; urgency=low * New upstream release * Only run build tests on "amd64" (Closes: #659256) * Remove build dependency on tokyocabinet * Remove build dependency on libmemcached * Add install information for systemd service * Set priority to "optional" for libgearman6 * Refresh patch debian_patches_fix_test_files.patch * Refresh patch workaround_duplicate_address_in_tests.patch * Update debian/copyright -- Stig Sandbeck Mathisen Mon, 20 Feb 2012 09:36:11 +0100 gearmand (0.27-5) unstable; urgency=low * Set priority to "extra" after (repeated) feedback from ftpmaster auto script * Remove the sybols file until the toolchain for handling c++ symbols improves enough * Build depend on libsasl2-dev -- Stig Sandbeck Mathisen Sat, 04 Feb 2012 11:22:47 +0100 gearmand (0.27-4) unstable; urgency=low * Use a whitelist for architectures we run build tests for (Closes: #657163) -- Stig Sandbeck Mathisen Sat, 04 Feb 2012 00:48:17 +0100 gearmand (0.27-3) unstable; urgency=low * Mark systemtap-sdt-dev as a linux specific build dependency (Closes: #657774) * Add systemd service for gearman-job-server * Add --list-missing to dh_install -- Stig Sandbeck Mathisen Sat, 28 Jan 2012 23:01:06 +0100 gearmand (0.27-2) unstable; urgency=low [ Stig Sandbeck Mathisen ] * Add missing include/libgearman-1.0 (Closes: #657189) [ Michael Fladischer ] * Tag varying symbols by architecture (Closes: #657165) -- Stig Sandbeck Mathisen Wed, 25 Jan 2012 10:25:18 +0100 gearmand (0.27-1) unstable; urgency=low [Michael Fladischer] * Patch: fix spelling * Patch: remove dependency on googleanalytics * Patch: fix tests * Use non-authenticating URL for Vcs-Git. * Add "status" action to init script. [Stig Sandbeck Mathisen] * New upstream release (Closes: #621486) (LP: #682680) * Remove build dependency on drizzle (until it reaches testing again) * Build with support for tokyocabinet * Remove backported ipv6 patch * Patch: disable hostile build tests, they take hours... * Patch: workaround duplicate address issue for tests * Do not build API documentation, the sources are not shipped in upstream tarball * Update debian/copyright -- Stig Sandbeck Mathisen Mon, 23 Jan 2012 11:31:08 +0100 gearmand (0.26-1) unstable; urgency=low * New upstream release -- Stig Sandbeck Mathisen Tue, 27 Dec 2011 15:44:24 +0100 gearmand (0.14-1) unstable; urgency=low * New upstream release. (Closes: #590116) * Don't install .la file. (Closes: #590967) * Listen on localhost by default - thanks Francois. (Closes: #609640) * New standards version 3.9.1. * Cleaned up debian/rules. * Install the upstream changelog. -- Monty Taylor Sat, 05 Feb 2011 09:21:29 -0800 gearmand (0.13-1) unstable; urgency=low * New upstream release. (Closes: #581517) -- Monty Taylor Fri, 14 May 2010 06:48:17 +0200 gearmand (0.12-1) unstable; urgency=low * Cleaned up docs/api and docs/dev. (Closes: #562428) * New upstream release. * Removed libgearman-server0 and libgearman-server-dev packages. Upstream has removed these as installed libraries. * Updated to source format 3.0. * New standards version 3.8.4. * Added -dev depend on libevent-dev (Closes: #569734) -- Monty Taylor Thu, 18 Feb 2010 12:33:40 -0800 gearmand (0.11-1) unstable; urgency=low * Cleaned up debian/rules. * New upstream release. * Added entries to the copyright file. -- Monty Taylor Wed, 02 Dec 2009 12:45:07 -0800 gearmand (0.10-2) unstable; urgency=low * Fixed an empty libgearman-server-dev package. * Added a patch to prevent writing test files into /tmp. * Removed lintian override now that the manpages are split. -- Monty Taylor Sun, 11 Oct 2009 00:57:35 -0700 gearmand (0.10-1) unstable; urgency=low * Added doc-base entries for documentation. * Added lintian-override for arch-dep-package-has-big-usr-share. The files are all manpages, which do in fact need to be in the package. * New upstream version. * Removed postgres include path hack. -- Monty Taylor Mon, 28 Sep 2009 21:43:31 -0700 gearmand (0.9-5) unstable; urgency=low * Fix LSB init script header. Thanks Petter. (Closes: #544770) * Updated standards version to 3.8.3. -- Monty Taylor Mon, 07 Sep 2009 15:08:39 -0700 gearmand (0.9-4) unstable; urgency=low * Clean up /var/lib/gearman. * Put priority back to optional. It's sort of clear that setting it to extra was the wrong choice. -- Monty Taylor Tue, 11 Aug 2009 10:06:22 -0700 gearmand (0.9-3) unstable; urgency=low * Added missing -dev depends on libpq-dev and libsqlite-dev reported against Ubuntu. (LP: #408433) * Test for existence of daemon in startup script to comply with policy. (Closes: #539757) * Give gearman a real home dir - it'll need somewhere to stick sqlite queues. -- Monty Taylor Tue, 04 Aug 2009 10:18:57 -0700 gearmand (0.9-2) unstable; urgency=low * Removed a stray chown that was left in below. -- Monty Taylor Sun, 02 Aug 2009 12:06:29 -0700 gearmand (0.9-1) unstable; urgency=low [ Thomas Koch ] * Fixed init script to actually work. (Closes: #538121) * Create gearman user to own pid and log files. * Provide and parse /etc/default/gearman-job-server. [ Monty Taylor ] * Add depend on adduser. * New upstream release. * Added build dep on libsqlite3-dev and libpq-dev. * Added workaround for postgres include file location madness. Better fix coming from upstream next release. * Lowered priority to extra, because libmemcached and libdrizzle are both extra to follow policy. * Added -dev depends on -dev packages of libraries needed. (Closes: #538015) * Added direct depend on libgearman1 for gearman-job-server and gearman-tools. * Added gensymbols files libgearman1.symbols. * Don't run tests on s390. -- Monty Taylor Thu, 30 Jul 2009 16:09:36 -0700 gearmand (0.8-2) unstable; urgency=low * Reverted gearman-server to gearman-job-server. The Perl server already has this package name. -- Monty Taylor Fri, 10 Jul 2009 01:31:59 -0700 gearmand (0.8-1) unstable; urgency=low * Removed perl from build-depends, it's already provided. * Added procps to build-depends so that we can use kill in make test. * New upstream release. -- Monty Taylor Fri, 10 Jul 2009 01:11:15 -0700 gearmand (0.7-1) unstable; urgency=low * Added depend on libgearman1 to libgearman-dev. (Closes: #531655) * Aligned section with the one in the override file. * Renamed gearman-worker to gearman-tools on request of upstream. * Renamed gearman-job-server to gearman-server on request of upstream. * Fixed typo in init script. * Updated standards version to 3.8.2. * New upstream release. -- Monty Taylor Sun, 21 Jun 2009 11:01:50 -0700 gearmand (0.6-1) unstable; urgency=low * Initial release. (Closes: #528309) -- Monty Taylor Mon, 11 May 2009 15:08:16 -0700 debian/README.Maintainer0000644000000000000000000000074612240000622012127 0ustar Note: gearman-job-server is named gearman-job-server because the Perl gearman server is named gearman-server. At some point in the future, perhaps when the Perl server is no longer in use, we can perhaps take over the name. Until then, changing the name is a bad idea. TODO ==== * add DEBIAN_SCRIPT_DEBUG checks in scripts like: - http://www.mail-archive.com/debian-mentors@lists.debian.org/msg22289.html - search://DEBIAN_SCRIPT_DEBUG ${DEBIAN_SCRIPT_DEBUG:+ set -v -x}