# Contributor: ScrumpyJack # Maintainer: ScrumpyJack pkgname=hermes pkgver=1.9 pkgrel=9 pkgdesc="Hermes is an anti-spam transparent SMTP proxy" url="https://hermes-project.com/" arch="all" license="GPL-2.0-only" makedepends="libspf2-dev sqlite-dev perl gettext-dev openssl-dev>3 doxygen" subpackages="$pkgname-doc" source="https://hermes-project.com/files/hermes-$pkgver.tar.bz2 Utils.cpp.patch openssl-1.1.patch fix-string-declares-ppc64le.patch " # secfixes: # 0: # - CVE-2020-1914 # - CVE-2020-1915 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-spf \ --enable-openssl make } package() { make DESTDIR="$pkgdir" install } sha512sums="9861177cee7d4936e2221f3ff9f60c030385d6c2ab1cbc320f4e03880220117c580a11188e011f9051c79691e1ab8399c03be8cbbc4f18519a1a9b966bf767b9 hermes-1.9.tar.bz2 ac5859bed41c5b484adf8b42d66d69cf49966df84e664f9f6978d3c4fa6200858ea024c6631c2f1fd02c09d7f95e6102b3fce68b3f92f5223c4f8a253fd57d0c Utils.cpp.patch 07a76a139dd6eae044aac4e2fd1e072185b9b1f94d4d31a18aae7e9a0ec3f29d97edaad861e0383688c4b76731d36f893085712eaba7fd52016bdcef2084fa43 openssl-1.1.patch e8f3724fef1a24e022b32fc1802488fe0e8a58befd13c1af3d5b9366826a172abc91f1c8dcd90248744de1103f2d5076f5dd345fc8bbc020cfecbc0b344f67eb fix-string-declares-ppc64le.patch"