parent
efe4efa56c
commit
81fb5ddff2
2 changed files with 2 additions and 24 deletions
|
@ -1,22 +0,0 @@
|
||||||
Taken from commit c1865ba1ab2fd8da14e5e018ab55c79cbc432295 on upstream
|
|
||||||
|
|
||||||
--- src/auth.c
|
|
||||||
+++ src/auth.c
|
|
||||||
@@ -20,7 +20,7 @@ auth_cram_md5(const char *user, const char *pass, unsigned char *chal)
|
|
||||||
unsigned char *resp, *buf, *out;
|
|
||||||
unsigned char md[EVP_MAX_MD_SIZE], mdhex[EVP_MAX_MD_SIZE * 2 + 1];
|
|
||||||
unsigned int mdlen;
|
|
||||||
-#if OPENSSL_VERSION_NUMBER >= 0x1010000fL
|
|
||||||
+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
HMAC_CTX *ctx;
|
|
||||||
#else
|
|
||||||
HMAC_CTX ctx;
|
|
||||||
@@ -32,7 +32,7 @@ auth_cram_md5(const char *user, const char *pass, unsigned char *chal)
|
|
||||||
|
|
||||||
EVP_DecodeBlock(resp, chal, strlen((char *)(chal)));
|
|
||||||
|
|
||||||
-#if OPENSSL_VERSION_NUMBER >= 0x1010000fL
|
|
||||||
+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
ctx = HMAC_CTX_new();
|
|
||||||
HMAC_Init_ex(ctx, (const unsigned char *)pass, strlen(pass),
|
|
||||||
EVP_md5(), NULL);
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'imapfilter'
|
# Template file for 'imapfilter'
|
||||||
pkgname=imapfilter
|
pkgname=imapfilter
|
||||||
version=2.6.10
|
version=2.6.11
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="DESTIDIR=${DESTDIR} PREFIX=/usr"
|
make_build_args="DESTIDIR=${DESTDIR} PREFIX=/usr"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/lefcha/imapfilter"
|
homepage="https://github.com/lefcha/imapfilter"
|
||||||
distfiles="https://github.com/lefcha/imapfilter/archive/v${version}.tar.gz"
|
distfiles="https://github.com/lefcha/imapfilter/archive/v${version}.tar.gz"
|
||||||
checksum=891674d4c605667ad5ce912913784ecffa3b31b67bcf76d81c3c555cf97e5294
|
checksum=baea9596ed251910b176a2bdcd46d78ab68f6aa4e066f70ca0d6153e32df54fb
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
sed -i \
|
sed -i \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue