aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Koonce2014-02-15 21:06:52 -0600
committerBrett Koonce2014-02-21 14:38:37 -0600
commit487f4f064ca724327e1eeedbb68832b0543979a4 (patch)
tree6201e9f56734a860dbd54ab5b031731b8bc70c42 /Library/Formula
parentd11a05870b5ea309c0fd68773badf22703f87ddc (diff)
downloadhomebrew-487f4f064ca724327e1eeedbb68832b0543979a4.tar.bz2
botan 1.10.7
Patch fixes audit, thanks to jconley. Closes #26758.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/botan.rb21
1 files changed, 19 insertions, 2 deletions
diff --git a/Library/Formula/botan.rb b/Library/Formula/botan.rb
index e39d3b2ae..ec5e43c1a 100644
--- a/Library/Formula/botan.rb
+++ b/Library/Formula/botan.rb
@@ -2,11 +2,14 @@ require 'formula'
class Botan < Formula
homepage 'http://botan.randombit.net/'
- url 'http://botan.randombit.net/files/Botan-1.10.6.tbz'
- sha1 '762decd775a4267d3b343ff14729cd9b96a1e4a0'
+ url 'http://botan.randombit.net/files/Botan-1.10.7.tbz'
+ sha1 '2cb502e6d8ef4dfcccd28d0aca33c7e5e551e566'
option 'enable-debug', 'Enable debug build of Botan'
+ # upstream ticket: https://bugs.randombit.net/show_bug.cgi?id=267
+ def patches; DATA; end
+
def install
args = %W[
--prefix=#{prefix}
@@ -27,3 +30,17 @@ class Botan < Formula
system "make", "install", "MACH_OPT=#{ENV.cflags}"
end
end
+
+__END__
+--- a/src/build-data/makefile/unix_shr.in
++++ b/src/build-data/makefile/unix_shr.in
+@@ -57,8 +57,8 @@
+ LIBNAME = %{lib_prefix}libbotan
+ STATIC_LIB = $(LIBNAME)-$(SERIES).a
+
+-SONAME = $(LIBNAME)-$(SERIES).%{so_suffix}.%{so_abi_rev}
+-SHARED_LIB = $(SONAME).%{version_patch}
++SONAME = $(LIBNAME)-$(SERIES).%{so_abi_rev}.%{so_suffix}
++SHARED_LIB = $(LIBNAME)-$(SERIES).%{so_abi_rev}.%{version_patch}.%{so_suffix}
+
+ SYMLINK = $(LIBNAME)-$(SERIES).%{so_suffix}