aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-17 12:11:57 -0500
committerJack Nagel2014-03-17 12:14:36 -0500
commit3d5ea5e9ceeed157049d8f35b7697c2a649b479d (patch)
treec691e1dc37ce611e3246f972f7be10a02b881507 /Library
parent606988102c7e9b825f74fc32d6cc1b01707f2528 (diff)
downloadhomebrew-3d5ea5e9ceeed157049d8f35b7697c2a649b479d.tar.bz2
cvs: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cvs.rb34
1 files changed, 18 insertions, 16 deletions
diff --git a/Library/Formula/cvs.rb b/Library/Formula/cvs.rb
index 116c5b790..a6e313741 100644
--- a/Library/Formula/cvs.rb
+++ b/Library/Formula/cvs.rb
@@ -12,22 +12,24 @@ class Cvs < Formula
keg_only "Xcode (< 5.0) provides CVS" if MacOS::Xcode.provides_cvs?
- def patches
- { :p0 =>
- [ 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/PR5178707.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/ea.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/endian.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/fixtest-client-20.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/fixtest-recase.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/i18n.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/initgroups.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/nopic.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/remove-info.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/remove-libcrypto.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/tag.diff?txt',
- 'http://www.opensource.apple.com/source/cvs/cvs-45/patches/zlib.diff?txt'
- ]
- }
+ {
+ "PR5178707" => "372385b34a346753249a7808e8d5db0a6cadd3ee",
+ "ea" => "1ffcbe849e138229473e0cd796416dfbe4ad25bb",
+ "endian" => "98fa880e0e2f1edddf123cdfdcc305f01c241f9b",
+ "fixtest-client-20" => "b9277695a611750fc4db063e8929a558658ba90f",
+ "fixtest-recase" => "d546783658257ad1af67cecfd6d5fef66dc63e72",
+ "i18n" => "ec7b44d5d138fd24ac551b880f59fb0351445b98",
+ "initgroups" => "2c0a11ae5af7da75e02b256c5d9f6b88c8bfd6db",
+ "nopic" => "260978aa2318cdc35121b09782f0924661d3cebb",
+ "remove-info" => "7c0c9c406ae8e3d1c81eec5b4ca9e1abe6a8b660",
+ "remove-libcrypto" => "6c83063cb625cd124dcac75527dbaaa2d52d55b6",
+ "tag" => "44374b8601dc7e48cf0f3a558565d28b2d0066ab",
+ "zlib" => "7781dc997c895df8cfa991ab7a04add245169ea4",
+ }.each do |name, sha|
+ patch :p0 do
+ url "http://www.opensource.apple.com/source/cvs/cvs-45/patches/#{name}.diff?txt"
+ sha1 sha
+ end
end
def install