1
0
mirror of https://github.com/agdsn/xerxes.git synced 2026-06-19 21:58:01 +00:00

packaging

This commit is contained in:
Jan Losinshi
2008-08-27 21:46:12 +02:00
parent d764e634fb
commit f0740ef379
23 changed files with 832 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
01-runner_paths.patch
02-config.patch
+21
View File
@@ -0,0 +1,21 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 51_incorrect-order.dpatch by Norbert Tretkowski <nobse@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: http://lists.mysql.com/commits/37246
@DPATCH@
diff -Nrup a/xerxes_runner.rb b/xerxes_runner.rb
--- a/xerxes_runner.rb
+++ b/xerxes_runner.rb
@@ -2,8 +2,8 @@
require 'syslog'
-@config_file="xerxes.conf"
-@bin_name="./xerxes"
+@config_file="/etc/xerxes.conf"
+@bin_name="/usr/sbin/xerxes"
@log = Syslog.open('xerxes')
+16
View File
@@ -0,0 +1,16 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 51_incorrect-order.dpatch by Norbert Tretkowski <nobse@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: http://lists.mysql.com/commits/37246
@DPATCH@
diff -Nrup a/xerxes.conf b/xerxes.conf
--- a/xerxes.conf
+++ b/xerxes.conf
@@ -1,3 +1,3 @@
#tcp:127.0.0.1:13338 tcp:localhost:3306 quiet debug
-tcp:127.0.0.1:13338 tcp:localhost:3306 quiet
-unix:testfile tcp:localhost:3306 quiet
+tcp:127.0.0.1:13338 tcp:anyhost:3306 quiet
+unix:/var/run/mysqld/mysqld.sock tcp:anyhost:3306 quiet
+20
View File
@@ -0,0 +1,20 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 51_incorrect-order.dpatch by Norbert Tretkowski <nobse@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: http://lists.mysql.com/commits/37246
@DPATCH@
diff --git a/Makefile b/Makefile
index 40d68a6..930ee7c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ BINDIR=/usr/bin/
CONFDIR=/etc/
$(BIN): $(OBJECTS)
- g++ -o $(BIN) $(OBJECTS) -Wall -pedantic -ggdb -lboost_regex -lboost_program_options
+ g++ -o $(BIN) $(OBJECTS) -Wall -pedantic -O3 -lboost_regex -lboost_program_options
all: $(BIN)