opnsense-ports/net/foreman-proxy/files/patch-bin-smart-proxy
Franco Fichtner a737ce6b05 */*: sync previously available, but unused ports
Taken from: FreeBSD
2015-04-22 06:45:04 +02:00

10 lines
389 B
Text

--- bin/smart-proxy.orig 2014-12-04 11:24:23.964747068 +0100
+++ bin/smart-proxy 2014-12-04 11:24:26.244762141 +0100
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift(*Dir[File.expand_path("../../lib", __FILE__), File.expand_path("../../modules", __FILE__)])
+$LOAD_PATH.unshift(*Dir["%%DATADIR%%/lib", "%%DATADIR%%/modules"])
require 'smart_proxy'
Proxy::Launcher.new.launch