sslh: Update to v1.19b
[feed/packages.git] / net / sslh / patches / 002-configfile-fix.patch
index 3f48bd0c4b96c3088e17b841005b07b82541dd96..0c88cc6a61b751890fea7390cad20b3ffa04cfdd 100644 (file)
@@ -1,5 +1,3 @@
-diff --git a/basic.cfg b/basic.cfg
-index 54a799c..d938767 100644
 --- a/basic.cfg
 +++ b/basic.cfg
 @@ -1,3 +1,7 @@
@@ -10,7 +8,7 @@ index 54a799c..d938767 100644
  # This is a basic configuration file that should provide
  # sensible values for "standard" setup.
  
-@@ -14,15 +18,16 @@ pidfile: "/var/run/sslh.pid";
+@@ -15,15 +19,16 @@ chroot: "/var/empty";
  # Change hostname with your external address name.
  listen:
  (
@@ -21,12 +19,12 @@ index 54a799c..d938767 100644
  
  protocols:
  (
-      { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; },
+      { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; },
       { name: "openvpn"; host: "localhost"; port: "1194"; },
 -     { name: "xmpp"; host: "localhost"; port: "5222"; },
 -     { name: "http"; host: "localhost"; port: "80"; },
-+#    { name: "xmpp"; host: "localhost"; port: "5222"; },
-+#    { name: "http"; host: "localhost"; port: "80"; },
++#     { name: "xmpp"; host: "localhost"; port: "5222"; },
++#     { name: "http"; host: "localhost"; port: "80"; },
       { name: "ssl"; host: "localhost"; port: "443"; log_level: 0; },
       { name: "anyprot"; host: "localhost"; port: "443"; }
  );