ports/net/foreman-proxy/files/patch-bin-smart-proxy
Sunpoet Po-Chuan Hsieh 25c2ed5e97 Update to 1.15.0
- While I'm here:
  - Fix shebang
  - Fix and sort PLIST
  - Regenerate patch files with makepatch:

Changes:	https://theforeman.org/manuals/1.15/index.html#release-notes-for-115
PR:		219329
Submitted by:	Frank Wall <fw@moov.de>
2017-05-19 15:46:31 +00:00

10 lines
346 B
Text

--- bin/smart-proxy.orig 2017-05-08 15:18:42 UTC
+++ bin/smart-proxy
@@ -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_main'
Proxy::Launcher.new.launch