aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 19:35:08 -0500
committerJack Nagel2014-03-16 20:20:52 -0500
commit21978bd1b5280769944d78b0d3e7306b31efba78 (patch)
tree9ac48b3e2b793fc23683c41539c9e7c782c0f41e /Library/Formula
parent6b58f9665f8a5cfb337e1c0bf7a3ec4a54881865 (diff)
downloadhomebrew-21978bd1b5280769944d78b0d3e7306b31efba78.tar.bz2
hping: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hping.rb37
1 files changed, 25 insertions, 12 deletions
diff --git a/Library/Formula/hping.rb b/Library/Formula/hping.rb
index 88a48f545..a995a2ec0 100644
--- a/Library/Formula/hping.rb
+++ b/Library/Formula/hping.rb
@@ -6,18 +6,31 @@ class Hping < Formula
sha1 'e13d27e14e7f90c2148a9b00a480781732fd351e'
version '3.20051105'
- def patches
- {
- :p0 => [
- # MacPorts patches: http://trac.macports.org/browser/trunk/dports/net/hping3
- "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-libpcap_stuff.c.diff",
- "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-ars.c.diff",
- "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-sendip.c.diff",
- "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-Makefile.in.diff",
- "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-bytesex.h.diff",
- ],
- :p1 => DATA,
- }
+ patch :DATA
+
+ patch :p0 do
+ url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-libpcap_stuff.c.diff"
+ sha1 "f45eef54b327bafd65d7911ffca86ce1f4ea0c7f"
+ end
+
+ patch :p0 do
+ url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-ars.c.diff"
+ sha1 "fb28fc544f6c57c5a16ff584703646a89d335f6c"
+ end
+
+ patch :p0 do
+ url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-sendip.c.diff"
+ sha1 "6aad537b1afd33cd90d5926c718b3e8970b2eca5"
+ end
+
+ patch :p0 do
+ url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-Makefile.in.diff"
+ sha1 "0d2b52623020c04b07cae3f512e917ad8d54ae03"
+ end
+
+ patch :p0 do
+ url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-bytesex.h.diff"
+ sha1 "01e69fd8684a61568ac384bd62017bec6fed6ee5"
end
def install