[Pkg-mysql-commits] r1547 - in mysql-proxy/trunk: . debian

Norbert Tretkowski nobse at alioth.debian.org
Sun Apr 5 16:04:03 UTC 2009


tags 446727 pending
tags 505710 pending
thanks

Author: nobse
Date: 2009-04-05 16:04:03 +0000 (Sun, 05 Apr 2009)
New Revision: 1547

Added:
   mysql-proxy/trunk/debian/
   mysql-proxy/trunk/debian/changelog
   mysql-proxy/trunk/debian/compat
   mysql-proxy/trunk/debian/control
   mysql-proxy/trunk/debian/copyright
   mysql-proxy/trunk/debian/default
   mysql-proxy/trunk/debian/dirs
   mysql-proxy/trunk/debian/docs
   mysql-proxy/trunk/debian/init
   mysql-proxy/trunk/debian/rules
Log:
Initial checkin.

Added: mysql-proxy/trunk/debian/changelog
===================================================================
--- mysql-proxy/trunk/debian/changelog	                        (rev 0)
+++ mysql-proxy/trunk/debian/changelog	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1,36 @@
+mysql-proxy (0.6.1-5) unstable; urgency=low
+
+  * Add patch from Raoul Bhatia which adds support for status option to init
+    script. (closes: #505710)
+
+ -- Norbert Tretkowski <nobse at debian.org>  Fri, 14 Nov 2008 20:50:01 +0100
+
+mysql-proxy (0.6.1-4) unstable; urgency=low
+
+  * Add default database check to rw-splitting.lua.
+
+ -- Norbert Tretkowski <nobse at debian.org>  Thu, 13 Nov 2008 14:36:16 +0100
+
+mysql-proxy (0.6.1-3) unstable; urgency=low
+
+  * Add init script.
+
+ -- Norbert Tretkowski <nobse at debian.org>  Wed, 24 Sep 2008 13:23:05 +0200
+
+mysql-proxy (0.6.1-2) unstable; urgency=low
+
+  * Add homepage field to source stanza in control file.
+
+ -- Norbert Tretkowski <nobse at debian.org>  Wed, 26 Mar 2008 22:23:34 +0100
+
+mysql-proxy (0.6.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Norbert Tretkowski <nobse at debian.org>  Sun, 03 Feb 2008 12:55:52 +0100
+
+mysql-proxy (0.6.0-1) unstable; urgency=low
+
+  * Initial release. (closes: 446727)
+
+ -- Norbert Tretkowski <nobse at debian.org>  Fri, 19 Oct 2007 23:41:43 +0200

Added: mysql-proxy/trunk/debian/compat
===================================================================
--- mysql-proxy/trunk/debian/compat	                        (rev 0)
+++ mysql-proxy/trunk/debian/compat	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1 @@
+5

Added: mysql-proxy/trunk/debian/control
===================================================================
--- mysql-proxy/trunk/debian/control	                        (rev 0)
+++ mysql-proxy/trunk/debian/control	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1,15 @@
+Source: mysql-proxy
+Section: misc
+Priority: extra
+Maintainer: Norbert Tretkowski <nobse at debian.org>
+Build-Depends: debhelper (>= 5), autotools-dev, libmysqlclient-dev, liblua5.1-dev, pkg-config, libglib2.0-dev, libevent-dev, check
+Standards-Version: 3.8.0
+Homepage: http://forge.mysql.com/wiki/MySQL_Proxy
+
+Package: mysql-proxy
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: high availability, load balancing and query modification for mysql
+ MySQL Proxy stands between database servers and clients to provide load
+ balancing and failover. Incoming queries can be filtered and modified using
+ Lua scripts.

Added: mysql-proxy/trunk/debian/copyright
===================================================================
--- mysql-proxy/trunk/debian/copyright	                        (rev 0)
+++ mysql-proxy/trunk/debian/copyright	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1,31 @@
+This package was debianized by Norbert Tretkowski <nobse at debian.org> on
+Fri, 19 Oct 2007 23:41:43 +0200.
+
+It was downloaded from http://dev.mysql.com/downloads/mysql-proxy/
+
+Upstream Author: 
+
+    Jan Kneschke <proxy at mysql.com>
+
+Copyright: 
+
+    (C) 2007 MySQL AB
+
+License:
+
+    This package 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; version 2 dated June, 1991.
+
+    This package 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 package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+The Debian packaging is (C) 2007, Norbert Tretkowski <nobse at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: mysql-proxy/trunk/debian/default
===================================================================
--- mysql-proxy/trunk/debian/default	                        (rev 0)
+++ mysql-proxy/trunk/debian/default	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1,2 @@
+ENABLED="false"
+OPTIONS=""

Added: mysql-proxy/trunk/debian/dirs
===================================================================
--- mysql-proxy/trunk/debian/dirs	                        (rev 0)
+++ mysql-proxy/trunk/debian/dirs	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1,2 @@
+etc/default/
+usr/share/doc/mysql-proxy/examples/

Added: mysql-proxy/trunk/debian/docs
===================================================================
--- mysql-proxy/trunk/debian/docs	                        (rev 0)
+++ mysql-proxy/trunk/debian/docs	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1,3 @@
+NEWS
+README
+README.TESTS

Added: mysql-proxy/trunk/debian/init
===================================================================
--- mysql-proxy/trunk/debian/init	                        (rev 0)
+++ mysql-proxy/trunk/debian/init	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1,52 @@
+#! /bin/sh
+
+### BEGIN INIT INFO
+# Provides:             mysql-proxy
+# Required-Start:       $syslog
+# Required-Stop:        $syslog
+# Default-Start:        2 3 4 5
+# Default-Stop:         0 1 6
+# Short-Description:    MySQL Proxy
+### END INIT INFO
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+LUA_PATH="/usr/share/mysql-proxy/?.lua"
+
+DAEMON="/usr/sbin/mysql-proxy"
+PIDFILE="/var/run/mysql-proxy.pid"
+
+test -f $DAEMON || exit 0
+
+test ! -r /etc/default/mysql-proxy || . /etc/default/mysql-proxy
+
+if ! $ENABLED ; then exit 0 ; fi
+
+. /lib/lsb/init-functions
+
+case "$1" in
+  start)
+    log_begin_msg "Starting MySQL Proxy daemon..."
+    start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --name mysql-proxy --startas $DAEMON -b -- $OPTIONS
+    log_end_msg $?
+    ;;
+  stop)
+    log_begin_msg "Stopping MySQL Proxy daemon..."
+    start-stop-daemon --stop --quiet --retry 3 --exec $DAEMON --pidfile $PIDFILE
+    log_end_msg $?
+    ;;
+  status)
+    log_begin_msg "Checking MySQL Proxy daemon... "
+    status_of_proc -p $PIDFILE /usr/sbin/mysql-proxy mysql-proxy && exit 0 || exit $?
+    ;;
+  restart|force-reload)
+    log_begin_msg "Reloading MySQL Proxy daemon..."
+    start-stop-daemon --stop --quiet --retry 3 --exec $DAEMON --pidfile $PIDFILE
+    start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --name mysql-proxy --startas $DAEMON -b -- $OPTIONS
+    log_end_msg $?
+    ;;
+  *)
+    log_success_msg "Usage: $0 {start|stop|status|restart|force-reload}"
+    exit 1
+esac
+
+exit 0

Added: mysql-proxy/trunk/debian/rules
===================================================================
--- mysql-proxy/trunk/debian/rules	                        (rev 0)
+++ mysql-proxy/trunk/debian/rules	2009-04-05 16:04:03 UTC (rev 1547)
@@ -0,0 +1,105 @@
+#!/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
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/mysql-proxy.sgml > mysql-proxy.1
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	#$(MAKE) distclean
+	rm -f config.sub config.guess
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/mysql-proxy.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/mysql-proxy install
+
+	#mkdir -p $(CURDIR)/debian/mysql-proxy/usr/share/doc/mysql-proxy/examples/
+	#mkdir -p $(CURDIR)/debian/mysql-proxy/etc/default/
+
+	cp $(CURDIR)/debian/default $(CURDIR)/debian/mysql-proxy/etc/default/mysql-proxy
+	mv $(CURDIR)/debian/mysql-proxy/usr/share/*.lua $(CURDIR)/debian/mysql-proxy/usr/share/doc/mysql-proxy/examples/
+
+
+# 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 NEWS
+	dh_installdocs --exclude=NEWS
+	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 




More information about the Pkg-mysql-commits mailing list