diff --git a/Aliases/newsbeuter b/Aliases/newsbeuter new file mode 120000 index 0000000000..e8dfb48618 --- /dev/null +++ b/Aliases/newsbeuter @@ -0,0 +1 @@ +../Formula/newsboat.rb \ No newline at end of file diff --git a/Formula/newsbeuter.rb b/Formula/newsbeuter.rb deleted file mode 100644 index 2ae097fce8..0000000000 --- a/Formula/newsbeuter.rb +++ /dev/null @@ -1,50 +0,0 @@ -class Newsbeuter < Formula - desc "RSS/Atom feed reader for text terminals" - homepage "https://newsbeuter.org/" - revision 2 - head "https://github.com/akrennmair/newsbeuter.git" - - stable do - url "https://www.newsbeuter.org/downloads/newsbeuter-2.9.tar.gz" - sha256 "74a8bf019b09c3b270ba95adc29f2bbe48ea1f55cc0634276b21fcce1f043dc8" - - # Remove for > 2.9; fix CVE-2017-12904 - # Upstream commit from 13 Aug 2017 "Sanitize inputs to bookmark-cmd (#591)" - # See https://github.com/akrennmair/newsbeuter/commit/96e9506ae9e252c548665152d1b8968297128307 - patch :p0 do - url "https://raw.githubusercontent.com/macports/macports-ports/9e85ce0c072/net/newsbeuter/files/patch-CVE-2017-12904.diff" - sha256 "09023b3d1e2166e7a72f5a9e1fe5e4b8ca24329e23b74abe8e80bac8e5211848" - end - end - - bottle do - cellar :any - sha256 "1df096c7cb9890e6f03a7edb0b3b30e370ae0c7369525a85394e73f69877a3e7" => :high_sierra - sha256 "a87ab5abfae285c0987372d5d0b91b4f019ad291a544437b4d50b7eb7885af1b" => :sierra - sha256 "62083ee807381d0cf55f6b7e7a43cd5cd6bf0090f2188113dbfc2ffc80beedaf" => :el_capitan - sha256 "2283a19b46488e99a8fbd7ce527ac61723aff70f31407e369243a8609dadca7e" => :yosemite - end - - depends_on "pkg-config" => :build - depends_on "gettext" - depends_on "json-c" - depends_on "libstfl" - depends_on "sqlite" - - needs :cxx11 - - def install - ENV.cxx11 - system "make" - system "make", "install", "prefix=#{prefix}" - - share.install "contrib" - (doc/"examples").install "doc/example-bookmark-plugin.sh" - end - - test do - urlfile = "urls.txt" - (testpath/urlfile).write "https://github.com/blog/subscribe\n" - assert_match /newsbeuter - Exported Feeds/m, shell_output("#{bin}/newsbeuter -e -u #{urlfile}") - end -end diff --git a/formula_renames.json b/formula_renames.json index 6439c1b5f5..1a5f6efc19 100644 --- a/formula_renames.json +++ b/formula_renames.json @@ -117,7 +117,7 @@ "mpich2": "mpich", "mysql55": "mysql@5.5", "mysql56": "mysql@5.6", - "newsboat": "newsbeuter", + "newsbeuter": "newsboat", "nimrod": "nim", "node010": "node@0.10", "node012": "node@0.12",