r51191 - in /trunk/gearman-server/debian: ./ changelog compat control copyright gearman-server.default gearman-server.init postinst postrm prerm rules

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Jan 18 03:45:31 UTC 2010


Author: jawnsy-guest
Date: Mon Jan 18 03:45:25 2010
New Revision: 51191

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51191
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/gearman-server/debian/
    trunk/gearman-server/debian/changelog
    trunk/gearman-server/debian/compat
    trunk/gearman-server/debian/control
    trunk/gearman-server/debian/copyright
    trunk/gearman-server/debian/gearman-server.default
    trunk/gearman-server/debian/gearman-server.init
    trunk/gearman-server/debian/postinst
    trunk/gearman-server/debian/postrm
    trunk/gearman-server/debian/prerm
    trunk/gearman-server/debian/rules   (with props)

Added: trunk/gearman-server/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/changelog?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/changelog (added)
+++ trunk/gearman-server/debian/changelog Mon Jan 18 03:45:25 2010
@@ -1,0 +1,6 @@
+gearman-server (1.09-1) unstable; urgency=low
+
+  * Initial release (Closes: #429365)
+
+ -- Pascal Hakim <pasc at debian.org>  Fri, 24 Aug 2007 01:35:23 +1000
+

Added: trunk/gearman-server/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/compat?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/compat (added)
+++ trunk/gearman-server/debian/compat Mon Jan 18 03:45:25 2010
@@ -1,0 +1,1 @@
+5

Added: trunk/gearman-server/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/control?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/control (added)
+++ trunk/gearman-server/debian/control Mon Jan 18 03:45:25 2010
@@ -1,0 +1,17 @@
+Source: gearman-server
+Section: perl
+Priority: optional
+Maintainer: Pascal Hakim <pasc at debian.org>
+Build-Depends: debhelper (>= 5), libgearman-client-perl, libdanga-socket-perl
+Standards-Version: 3.7.2
+
+Package: gearman-server
+Architecture: all
+Depends: libgearman-client-perl, libdanga-socket-perl, ${perl:Depends}
+Description: Gearman distributed job system
+ 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 Gearman server and Perl bindings

Added: trunk/gearman-server/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/copyright?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/copyright (added)
+++ trunk/gearman-server/debian/copyright Mon Jan 18 03:45:25 2010
@@ -1,0 +1,35 @@
+This package was debianized by Pascal Hakim <pasc at debian.org> on
+Wed, 13 Jun 2007 02:18:10 +1000.
+
+It was downloaded from 
+    http://search.cpan.org/~bradfitz/Gearman-Server-1.09/
+
+Upstream Authors: 
+
+    Brad Fitzpatrick <brad at danga.com>
+    Brad Whitaker <whitaker at danga.com>
+
+Copyright: 
+
+    Copyright (C) 2005-2007 Danga Interactive
+
+License:
+
+    You are granted a license to use it under the same terms as Perl itself.
+
+    Perl is free software; you can redistribute it and/or modify it under the
+    terms of either:
+
+    a) the GNU General Public License as published by the Free Software
+       Foundation; either version 1, or (at your option) any later
+       version, or
+
+    b) the "Artistic License" which comes with Perl.
+
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL' and
+    the Artistic Licence in `/usr/share/common-licenses/Artistic'.
+
+The Debian packaging is (C) 2007, Pascal Hakim <pasc at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+

Added: trunk/gearman-server/debian/gearman-server.default
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/gearman-server.default?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/gearman-server.default (added)
+++ trunk/gearman-server/debian/gearman-server.default Mon Jan 18 03:45:25 2010
@@ -1,0 +1,13 @@
+# 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"

Added: trunk/gearman-server/debian/gearman-server.init
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/gearman-server.init?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/gearman-server.init (added)
+++ trunk/gearman-server/debian/gearman-server.init Mon Jan 18 03:45:25 2010
@@ -1,0 +1,96 @@
+#! /bin/sh
+#
+# skeleton	example file to build /etc/init.d/ scripts.
+#		This file should be used to construct scripts for /etc/init.d.
+#
+#		Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+#		Modified for Debian 
+#		by Ian Murdock <imurdock at gnu.ai.mit.edu>.
+#
+# Version:	@(#)skeleton  1.9  26-Feb-2001  miquels at cistron.nl
+#
+### BEGIN INIT INFO
+# Provides: gearmand
+# Required-Start: $syslog $network $local_fs
+# Required-Stop: $syslog $network $local_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 /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 --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

Added: trunk/gearman-server/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/postinst?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/postinst (added)
+++ trunk/gearman-server/debian/postinst Mon Jan 18 03:45:25 2010
@@ -1,0 +1,41 @@
+#!/bin/sh
+# postinst script for gearman-server
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/gearman-server/debian/postrm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/postrm?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/postrm (added)
+++ trunk/gearman-server/debian/postrm Mon Jan 18 03:45:25 2010
@@ -1,0 +1,39 @@
+#!/bin/sh
+# postrm script for gearman-server
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/gearman-server/debian/prerm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/prerm?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/prerm (added)
+++ trunk/gearman-server/debian/prerm Mon Jan 18 03:45:25 2010
@@ -1,0 +1,40 @@
+#!/bin/sh
+# prerm script for gearman-server
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/gearman-server/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/rules?rev=51191&op=file
==============================================================================
--- trunk/gearman-server/debian/rules (added)
+++ trunk/gearman-server/debian/rules Mon Jan 18 03:45:25 2010
@@ -1,0 +1,97 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	perl Makefile.PL verbose INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-O2 -g -Wall"
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+	-rm Makefile.old
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/gearman-server.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/gearman-server install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: trunk/gearman-server/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-perl-cvs-commits mailing list