mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/isync: update to 1.2.2
This commit is contained in:
parent
9a2224eb77
commit
c17d85f625
@ -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"
|
||||
|
11
community/isync/libressl-compat.patch
Normal file
11
community/isync/libressl-compat.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user