diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-08-09 22:46:16 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-08-10 08:19:58 +0000 |
commit | c17d85f62586be2ad6a40a9fb979d718a5a3870e (patch) | |
tree | d7c0e8021eca0547b7a8588370ea86fa54d597e8 /community | |
parent | 9a2224eb77cb72fafdd84d42de0a711f0dab1a12 (diff) | |
download | aports-c17d85f62586be2ad6a40a9fb979d718a5a3870e.tar.bz2 aports-c17d85f62586be2ad6a40a9fb979d718a5a3870e.tar.xz |
community/isync: update to 1.2.2
Diffstat (limited to 'community')
-rw-r--r-- | community/isync/APKBUILD | 24 | ||||
-rw-r--r-- | community/isync/libressl-compat.patch | 11 |
2 files changed, 22 insertions, 13 deletions
diff --git a/community/isync/APKBUILD b/community/isync/APKBUILD index 535914655e..5d09df6bcd 100644 --- a/community/isync/APKBUILD +++ b/community/isync/APKBUILD @@ -1,20 +1,20 @@ # Contributor: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=isync -pkgver=1.2.1 -pkgrel=2 +pkgver=1.2.2 +pkgrel=0 pkgdesc="IMAP and MailDir mailbox synchronizer" url="http://isync.sourceforge.net" arch="all" license="GPL2" depends="" -depends_dev="" makedepends="$depends_dev libressl-dev cyrus-sasl-dev zlib-dev db-dev" -install="" subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::http://downloads.sourceforge.net/sourceforge/isync/$pkgname-$pkgver.tar.gz" - +source="$pkgname-$pkgver.tar.gz::http://downloads.sourceforge.net/sourceforge/isync/$pkgname-$pkgver.tar.gz + libressl-compat.patch + " builddir="$srcdir"/$pkgname-$pkgver + build() { cd "$builddir" ./configure \ @@ -22,16 +22,14 @@ build() { --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 + --mandir=/usr/share/man + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="7ba1a07c7b487a3ab5fef54d0071f1dd isync-1.2.1.tar.gz" -sha256sums="e716de28c9a08e624a035caae3902fcf3b511553be5d61517a133e03aa3532ae isync-1.2.1.tar.gz" -sha512sums="706379e602cdcef3a1ca7eaf2301cfea15b9bbb5ee46c8f598308ad68a48725c6a4d13a2e73cc4633efec34fda1dbcb89bdd0e4c2e06993fa24db69cce9ff50b isync-1.2.1.tar.gz" +sha512sums="246dcf0704c0afaad7c402a5fc304ccfd533dc084cd775df4d8d2cb53e69f5236a603d56a54f63b389049a556e23c0dfafb80a4ba929e1b4cffb90200eaf65d6 isync-1.2.2.tar.gz +2c13b7881a1031a618ba467f3a7dcebfc6074bdea833957feeefe7906f8b435dc4733d31c47a0de0441975804afea5677c6754d10979320133808fbe45587266 libressl-compat.patch" diff --git a/community/isync/libressl-compat.patch b/community/isync/libressl-compat.patch new file mode 100644 index 0000000000..4801394025 --- /dev/null +++ b/community/isync/libressl-compat.patch @@ -0,0 +1,11 @@ +--- isync-1.2.2/src/socket.c ++++ isync-1.2.2/src/socket.c.new +@@ -40,7 +40,7 @@ + # include <openssl/ssl.h> + # include <openssl/err.h> + # include <openssl/x509v3.h> +-# if OPENSSL_VERSION_NUMBER < 0x10100000L ++# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + # define X509_OBJECT_get0_X509(o) ((o)->data.x509) + # define X509_STORE_get0_objects(o) ((o)->objs) + # endif |