From 487f4f064ca724327e1eeedbb68832b0543979a4 Mon Sep 17 00:00:00 2001 From: Brett Koonce Date: Sat, 15 Feb 2014 21:06:52 -0600 Subject: botan 1.10.7 Patch fixes audit, thanks to jconley. Closes #26758. --- Library/Formula/botan.rb | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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} -- cgit v1.2.3