diff options
| -rw-r--r-- | Library/Formula/dsniff.rb | 58 | ||||
| -rw-r--r-- | Library/Homebrew/tap_migrations.rb | 1 | 
2 files changed, 1 insertions, 58 deletions
diff --git a/Library/Formula/dsniff.rb b/Library/Formula/dsniff.rb deleted file mode 100644 index 791b9ded9..000000000 --- a/Library/Formula/dsniff.rb +++ /dev/null @@ -1,58 +0,0 @@ -require 'formula' - -class NoBdb5 < Requirement -  satisfy(:build_env => false) { !Formula["berkeley-db"].installed? } - -  def message; <<-EOS.undent -    This software can fail to compile when Berkeley-DB 5.x is installed. -    You may need to try: -      brew unlink berkeley-db -      brew install dsniff -      brew link berkeley-db -    EOS -  end -end - -class Dsniff < Formula -  homepage 'http://monkey.org/~dugsong/dsniff/' -  url 'http://monkey.org/~dugsong/dsniff/beta/dsniff-2.4b1.tar.gz' -  sha1 '25cfea26e9bbe016451180758a49d4d5bc9317d3' - -  depends_on NoBdb5 -  depends_on 'libnet' -  depends_on 'libnids' - -  def patches -  {:p0 => [ -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-arpspoof.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-dnsspoof.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-filesnarf.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-macof.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-pcaputil.c", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-record.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-sshcrypto.c", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-sshmitm.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-sshow.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-tcp_raw.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-tcp_raw.h.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-tcpkill.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-tcpnice.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-trigger.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-trigger.h.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-urlsnarf.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-webmitm.c.diff", -    "https://trac.macports.org/export/90933/trunk/dports/net/dsniff-devel/files/patch-webspy.c.diff" -  ]} -  end - -  def install -    ENV.append 'CFLAGS', "-DBIND_8_COMPAT" -    system "./configure", "--disable-debug", "--disable-dependency-tracking", -                          "--prefix=#{prefix}", -                          "--mandir=#{man}", -                          "--with-libnet=#{HOMEBREW_PREFIX}", -                          "--with-libnids=#{HOMEBREW_PREFIX}" -    system "make" -    system "make install" -  end -end diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb index 52ece1ef0..a596aa7b6 100644 --- a/Library/Homebrew/tap_migrations.rb +++ b/Library/Homebrew/tap_migrations.rb @@ -8,6 +8,7 @@ TAP_MIGRATIONS = {    "denyhosts" => "homebrew/boneyard",    "dotwrp" => "homebrew/science",    "drizzle" => "homebrew/boneyard", +  "dsniff" => "homebrew/boneyard",    "grads" => "homebrew/binary",    "hwloc" => "homebrew/science",    "ipopt" => "homebrew/science",  | 
