XMLSec: bump to 1.2.27, fix policy errors in REQUIRES_{gcrypt,nss}.

Remark: Some tests are crashing with 1.2.27 but they were already
crashing with 1.2.26, so this is not a regression.
This commit is contained in:
fbrosson
2018-10-26 10:57:18 +00:00
parent 86e5ba0fa1
commit d3f1c60549

View File

@@ -5,12 +5,12 @@ The library supports major XML security standards:
- XML Encryption
- Canonical XML (part of the LibXML2)
- Exclusive Canonical XML (part of the LibXML2)"
HOMEPAGE="https://www.aleksey.com/xmlsec"
COPYRIGHT="2002-2016 Aleksey Sanin"
HOMEPAGE="https://www.aleksey.com/xmlsec/"
COPYRIGHT="2002-2018 Aleksey Sanin"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="http://www.aleksey.com/xmlsec/download/xmlsec1-$portVersion.tar.gz"
CHECKSUM_SHA256="8d8276c9c720ca42a3b0023df8b7ae41a2d6c5f9aa8d20ed1672d84cc8982d50"
REVISION="1"
SOURCE_URI="https://www.aleksey.com/xmlsec/download/xmlsec1-$portVersion.tar.gz"
CHECKSUM_SHA256="97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6"
SOURCE_DIR="xmlsec1-$portVersion"
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
@@ -47,29 +47,36 @@ REQUIRES_devel="
xmlsec${secondaryArchSuffix}_nss == $portVersion
"
COPYRIGHT_nss="2002-2016 Aleksey Sanin
COPYRIGHT_nss="2002-2018 Aleksey Sanin
2003 America Online, Inc."
PROVIDES_nss="
xmlsec${secondaryArchSuffix}_nss = $portVersion
lib:libxmlsec1_nss$secondaryArchSuffix = $libVersionCompat
"
"
REQUIRES_nss="
haiku$secondaryArchSuffix
xmlsec$secondaryArchSuffix == $portVersion base
lib:libnspr4$secondaryArchSuffix
lib:libnss3$secondaryArchSuffix
lib:libplc4$secondaryArchSuffix
lib:libplds4$secondaryArchSuffix
lib:libsmime3$secondaryArchSuffix
"
lib:libxml2$secondaryArchSuffix
lib:libxslt$secondaryArchSuffix
"
PROVIDES_gcrypt="
xmlsec${secondaryArchSuffix}_gcrypt = $portVersion
lib:libxmlsec1_gcrypt$secondaryArchSuffix = $libVersionCompat
"
"
REQUIRES_gcrypt="
haiku$secondaryArchSuffix
xmlsec$secondaryArchSuffix == $portVersion base
lib:libgcrypt$secondaryArchSuffix
"
lib:libgpg_error$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libxslt$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
@@ -97,8 +104,9 @@ BUILD_PREREQUIRES="
defineDebugInfoPackage xmlsec$secondaryArchSuffix \
"$libDir"/libxmlsec1.so.$libVersion \
"$libDir"/libxmlsec1-openssl.so.$libVersion \
"$(getPackagePrefix nss)/$relativeLibDir"/libxmlsec1-nss.so.$libVersion \
"$(getPackagePrefix gcrypt)/$relativeLibDir"/libxmlsec1-gcrypt.so.$libVersion
"${libDir/$portName/${portName}_nss}"/libxmlsec1-nss.so.$libVersion \
"${libDir/$portName/${portName}_gcrypt}"/libxmlsec1-gcrypt.so.$libVersion \
BUILD()
{