rinetd 0.73
* rinetd 0.73 * update rinetd.h path Closes #72144. Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
d4d029bf7a
commit
5aca522250
|
@ -1,8 +1,8 @@
|
|||
class Rinetd < Formula
|
||||
desc "Internet TCP redirection server"
|
||||
homepage "https://github.com/samhocevar/rinetd"
|
||||
url "https://github.com/samhocevar/rinetd/releases/download/v0.70/rinetd-0.70.tar.bz2"
|
||||
sha256 "cefe9115c57fe5ec98d735f6421f30c461192e345a46ef644857b11fa6c5fccb"
|
||||
url "https://github.com/samhocevar/rinetd/releases/download/v0.73/rinetd-0.73.tar.bz2"
|
||||
sha256 "24dd6ec1c4d353c33ced775a37566af9565b27e65f3e59939a8b2913a92c81d2"
|
||||
license "GPL-2.0-or-later"
|
||||
# NOTE: Original (unversioned) tool is at https://github.com/boutell/rinetd
|
||||
# Debian tracks the "samhocevar" fork so we follow suit
|
||||
|
@ -27,7 +27,7 @@ class Rinetd < Formula
|
|||
system "./configure", "--prefix=#{prefix}", "--sysconfdir=#{share}", "ac_cv_func_daemon=no"
|
||||
|
||||
# Point hardcoded runtime paths inside of our prefix
|
||||
inreplace "rinetd.h" do |s|
|
||||
inreplace "src/rinetd.h" do |s|
|
||||
s.gsub! "/etc/rinetd.conf", "#{etc}/rinetd.conf"
|
||||
s.gsub! "/var/run/rinetd.pid", "#{var}/run/rinetd.pid"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue