aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-08 15:16:53 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-08 15:16:53 +0000
commitd565f90a4bf0922befd6490377ee57e1ff04e2a5 (patch)
treeb3aadfd0afe36885a5f8afa46785edadfde4ae83
parentf3f59e0af676a5946ca4e8f419ef2d77046b6c4c (diff)
downloadports-d565f90a4bf0922befd6490377ee57e1ff04e2a5.tar.gz
ports-d565f90a4bf0922befd6490377ee57e1ff04e2a5.zip
Notes
-rw-r--r--databases/slony1/Makefile1
-rw-r--r--databases/slony1/files/patch-tools-altperl-Makefile19
-rw-r--r--databases/slony1/files/slon.sh.in2
-rw-r--r--databases/slony1v2/Makefile1
-rw-r--r--databases/slony1v2/files/patch-tools-altperl-Makefile19
-rw-r--r--databases/slony1v2/files/slon.sh.in2
6 files changed, 42 insertions, 2 deletions
diff --git a/databases/slony1/Makefile b/databases/slony1/Makefile
index 4a46cdae00bd..6c2449d3cb69 100644
--- a/databases/slony1/Makefile
+++ b/databases/slony1/Makefile
@@ -7,6 +7,7 @@
PORTNAME= slony1
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
diff --git a/databases/slony1/files/patch-tools-altperl-Makefile b/databases/slony1/files/patch-tools-altperl-Makefile
new file mode 100644
index 000000000000..1a12e4e84876
--- /dev/null
+++ b/databases/slony1/files/patch-tools-altperl-Makefile
@@ -0,0 +1,19 @@
+--- tools/altperl/Makefile.dist Wed Jul 6 11:31:10 2005
++++ tools/altperl/Makefile Wed Jul 6 11:31:45 2005
+@@ -13,6 +13,8 @@
+ DISTFILES = Makefile ToDo README $(wildcard *.pl) $(wildcard *.pm) slon_tools.conf-sample
+
+ all:
++ifdef toolsbin
++
+ ifndef PERL
+ @echo "The altperl tools require that Perl be installed."
+ exit 1;
+@@ -31,6 +33,7 @@
+ $$file > $$tmpname; \
+ chmod 755 $$tmpname; \
+ done
++endif
+
+ install: all installdirs
+ ifndef toolsbin
diff --git a/databases/slony1/files/slon.sh.in b/databases/slony1/files/slon.sh.in
index 7a235158c751..c64c1175b2b7 100644
--- a/databases/slony1/files/slon.sh.in
+++ b/databases/slony1/files/slon.sh.in
@@ -20,7 +20,7 @@ rcvar=`set_rcvar`
pidfile="/var/run/$name.pid"
command="%%PREFIX%%/bin/slon"
-command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile"
+command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile &"
required_files="%%PREFIX%%/etc/$name.conf"
# read configuration and set defaults
diff --git a/databases/slony1v2/Makefile b/databases/slony1v2/Makefile
index 4a46cdae00bd..6c2449d3cb69 100644
--- a/databases/slony1v2/Makefile
+++ b/databases/slony1v2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= slony1
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
diff --git a/databases/slony1v2/files/patch-tools-altperl-Makefile b/databases/slony1v2/files/patch-tools-altperl-Makefile
new file mode 100644
index 000000000000..1a12e4e84876
--- /dev/null
+++ b/databases/slony1v2/files/patch-tools-altperl-Makefile
@@ -0,0 +1,19 @@
+--- tools/altperl/Makefile.dist Wed Jul 6 11:31:10 2005
++++ tools/altperl/Makefile Wed Jul 6 11:31:45 2005
+@@ -13,6 +13,8 @@
+ DISTFILES = Makefile ToDo README $(wildcard *.pl) $(wildcard *.pm) slon_tools.conf-sample
+
+ all:
++ifdef toolsbin
++
+ ifndef PERL
+ @echo "The altperl tools require that Perl be installed."
+ exit 1;
+@@ -31,6 +33,7 @@
+ $$file > $$tmpname; \
+ chmod 755 $$tmpname; \
+ done
++endif
+
+ install: all installdirs
+ ifndef toolsbin
diff --git a/databases/slony1v2/files/slon.sh.in b/databases/slony1v2/files/slon.sh.in
index 7a235158c751..c64c1175b2b7 100644
--- a/databases/slony1v2/files/slon.sh.in
+++ b/databases/slony1v2/files/slon.sh.in
@@ -20,7 +20,7 @@ rcvar=`set_rcvar`
pidfile="/var/run/$name.pid"
command="%%PREFIX%%/bin/slon"
-command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile"
+command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile &"
required_files="%%PREFIX%%/etc/$name.conf"
# read configuration and set defaults