ruby nbtscan.rb

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ruby nbtscan.rb相关的知识,希望对你有一定的参考价值。

require "formula"

class Nbtscan < Formula
  homepage "http://www.inetcat.net/software/nbtscan.html"
	url "http://distcache.freebsd.org/ports-distfiles/nbtscan-1.5.1.tar.gz"
  mirror "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/nbtscan-1.5.1.tar.gz"
  sha1 "4041d8f6b592fa310b8d3c79c56a2d3263dba82f"

  patch :p1 do
    url "https://gist.githubusercontent.com/congee/76693bd4b61b862b2333/raw/341b46d867120dc9b3e89a23b49f17e82be39d58/debian-patches-04_fix_compiler_warnings.diff"
    sha1 "9998bdbab1265bd84050f7f75dc5efa6ceddd91e"
  end

  patch :p1 do
    url "https://gist.githubusercontent.com/congee/ff6b5b07614c51167f79/raw/98d8507fb6c378a87d449118f05aa6a41ddd6603/debian-patches-05_fix_off_by_one.diff"
    sha1 "7c3d371274d6997e6223c17753c20ba00fd717ef"
  end

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make"
    bin.install 'nbtscan'
  end

  test do
    system "false"
  end
end

以上是关于ruby nbtscan.rb的主要内容,如果未能解决你的问题,请参考以下文章

Ruby运算符

Ruby 25 岁了!Ruby 之父说 Ruby 3 有望 3 倍提速

如何学习ruby?Ruby学习技巧分享

ruby Ruby脚本,看看是否用openssl编译了ruby

什么是ruby?

ruby和ruby ee