openbsd-ports/net/jabberd/patches/patch-tools_jabberd_in
jasper 5b4142b0e6 - plug a file descriptor leak, which makes hungry machines eat all the descriptors.
- fix HOMEPAGE.
- MAINTAINER drops maintainership.
- regen patches.

from Ingo Schwarze <schwarze@usta.de>

ok naddy@
2007-04-03 15:04:32 +00:00

42 lines
1.6 KiB
Plaintext

$OpenBSD: patch-tools_jabberd_in,v 1.3 2007/04/03 15:04:32 jasper Exp $
--- tools/jabberd.in.orig Wed Jun 22 22:32:05 2005
+++ tools/jabberd.in Tue Apr 3 17:03:04 2007
@@ -68,23 +68,23 @@ $SIG{CHLD} = "IGNORE";
#-----------------------------------------------------------------------------
$jobs{jabberd}->{prefix} = "JBRD";
-$jobs{router}->{cmd} = "$Bin/router";
+$jobs{router}->{cmd} = "$Bin/../libexec/jabberd/router";
$jobs{router}->{config} = "$config_dir/router.xml";
$jobs{router}->{prefix} = "ROUT";
-$jobs{resolver}->{cmd} = "$Bin/resolver";
+$jobs{resolver}->{cmd} = "$Bin/../libexec/jabberd/resolver";
$jobs{resolver}->{config} = "$config_dir/resolver.xml";
$jobs{resolver}->{prefix} = "RSLV";
-$jobs{sm}->{cmd} = "$Bin/sm";
+$jobs{sm}->{cmd} = "$Bin/../libexec/jabberd/sm";
$jobs{sm}->{config} = "$config_dir/sm.xml";
$jobs{sm}->{prefix} = "SM";
-$jobs{c2s}->{cmd} = "$Bin/c2s";
+$jobs{c2s}->{cmd} = "$Bin/../libexec/jabberd/c2s";
$jobs{c2s}->{config} = "$config_dir/c2s.xml";
$jobs{c2s}->{prefix} = "C2S";
-$jobs{s2s}->{cmd} = "$Bin/s2s";
+$jobs{s2s}->{cmd} = "$Bin/../libexec/jabberd/s2s";
$jobs{s2s}->{config} = "$config_dir/s2s.xml";
$jobs{s2s}->{prefix} = "S2S";
@@ -112,7 +112,7 @@ else
# Assume that all the commands are in the same directory
# as the jabberd script. The current configuration file
# format does not allow specification of pathnames for commands.
- my $cmd = "$Bin/$job";
+ my $cmd = "$Bin/../libexec/jabberd/$job";
push(@programs,[$job,$config,$cmd]);
}
close(CFG);