diff options
author | Allen Zhong | 2020-01-07 16:57:02 +0800 |
---|---|---|
committer | Allen Zhong | 2020-01-07 16:57:02 +0800 |
commit | 1c479441a4dcdf3984837c2b865b556b2a3d0ed6 (patch) | |
tree | d0b6ecf871f6cc2b50d8044737acf9c6cc9683b1 | |
parent | 733c9c2e5ba21cce26f9f2010a512697ae1b99b6 (diff) | |
download | aur-1c479441a4dcdf3984837c2b865b556b2a3d0ed6.tar.gz |
update versioned symbols patch
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | openssl-1.0-versioned-symbols.patch | 7 |
2 files changed, 7 insertions, 14 deletions
@@ -9,7 +9,7 @@ _ver=1.0.2q # use a pacman compatible version scheme pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} #pkgver=$_ver -pkgrel=1 +pkgrel=2 pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security with Chacha20 cipher' arch=('x86_64') url='https://www.openssl.org' @@ -32,13 +32,17 @@ sha256sums=('5744cfcbcec2b1b48629f7354203bc1e5e9b5466998bbccc5b5fcde3b18eb684' '754d6107a306311e15a1db6a1cc031b81691c8b9865e8809ac60ca6f184c957c' 'c54ae87c602eaa1530a336ab7c6e22e12898e1941012349c153e52553df64a13' '9e8126f3a748f4c1d6fe34d4436de72b16a40e97a6d18234d2e88caa179d50c4' - '5ffb7d9d966bc6dbd3f4882796ee9c8613422c63431f2f793903005e54310e44' + '353a84e4c92e36c379ebd9216b8f8fb9c271396583561eb84ac8c825979acaa6' 'd6f9427d5cb63c7299563c201cd8708c7166e0f8c98b57a1fee69767362bf0f7') validpgpkeys=('8657ABB260F056B1E5190839D9C4D26D0E604491') prepare() { cd $srcdir/openssl-$_ver + # Cloudflare patch + # https://github.com/cloudflare/sslconfig/blob/master/patches/openssl__chacha20_poly1305_draft_and_rfc_ossl102j.patch + patch -p1 -i $srcdir/openssl__chacha20_poly1305_draft_and_rfc_ossl102j.patch + # remove rpath: http://bugs.archlinux.org/task/14367 patch -p0 -i $srcdir/no-rpath.patch @@ -46,14 +50,10 @@ prepare() { patch -p1 -i $srcdir/ssl3-test-failure.patch # add symbol versioning to prevent conflicts with openssl 1.1 symbols (Debian) - #patch -p1 -i "$srcdir"/openssl-1.0-versioned-symbols.patch + patch -p1 -i "$srcdir"/openssl-1.0-versioned-symbols.patch # set ca dir to /etc/ssl by default patch -p0 -i $srcdir/ca-dir.patch - - # Cloudflare patch - # https://github.com/cloudflare/sslconfig/blob/master/patches/openssl__chacha20_poly1305_draft_and_rfc_ossl102j.patch - patch -p1 -i $srcdir/openssl__chacha20_poly1305_draft_and_rfc_ossl102j.patch } build() { diff --git a/openssl-1.0-versioned-symbols.patch b/openssl-1.0-versioned-symbols.patch index c4acf0adfa00..71759a9c1d59 100644 --- a/openssl-1.0-versioned-symbols.patch +++ b/openssl-1.0-versioned-symbols.patch @@ -3580,13 +3580,6 @@ + EVP_camellia_256_cfb8; + EVP_camellia_256_ecb; + EVP_camellia_256_ofb; -+ EVP_chacha20_poly1305; -+ EVP_chacha20_poly1305_draft; -+ EVP_chacha20_poly1305_init_draft; -+ EVP_chacha20_poly1305_cipher; -+ EVP_chacha20_poly1305_cleanup; -+ EVP_chacha20_poly1305_ctrl; -+ EVP_chacha20_poly1305_init; + a2i_ipadd; + ASIdentifiers_free; + i2d_ASIdOrRange; |