[arch-commits] Commit in libetpan/repos (6 files)
Andreas Radke
andyrtr at archlinux.org
Tue Apr 26 14:50:55 UTC 2016
Date: Tuesday, April 26, 2016 @ 16:50:55
Author: andyrtr
Revision: 266164
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
libetpan/repos/extra-i686/PKGBUILD
(from rev 266163, libetpan/trunk/PKGBUILD)
libetpan/repos/extra-x86_64/PKGBUILD
(from rev 266163, libetpan/trunk/PKGBUILD)
Deleted:
libetpan/repos/extra-i686/PKGBUILD
libetpan/repos/extra-i686/fix_STARTTLS_negotiation.diff
libetpan/repos/extra-x86_64/PKGBUILD
libetpan/repos/extra-x86_64/fix_STARTTLS_negotiation.diff
--------------------------------------------+
/PKGBUILD | 86 +++++++++++++++++++++++++++
extra-i686/PKGBUILD | 53 ----------------
extra-i686/fix_STARTTLS_negotiation.diff | 55 -----------------
extra-x86_64/PKGBUILD | 53 ----------------
extra-x86_64/fix_STARTTLS_negotiation.diff | 55 -----------------
5 files changed, 86 insertions(+), 216 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2016-04-26 14:50:39 UTC (rev 266163)
+++ extra-i686/PKGBUILD 2016-04-26 14:50:55 UTC (rev 266164)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=libetpan
-pkgver=1.6
-pkgrel=4
-pkgdesc="A portable middleware for email access"
-arch=('i686' 'x86_64')
-url="http://www.etpan.org/libetpan.html"
-license=("custom:etpan")
-depends=('libsasl' 'curl' 'expat')
-source=($pkgname-$pkgver.tar.gz::https://github.com/dinhviethoa/${pkgname}/archive/${pkgver}.tar.gz
- fix_STARTTLS_negotiation.diff)
-md5sums=('1158c4ce291876c2b7bb003cd4b3566e'
- '63c65052f6cd82a23ba9e15b14c85e24')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- # FS#48531 - https://github.com/dinhviethoa/libetpan/commit/7f1f97f4d59d5724af97f4d32424c2841715561c
- patch -Np1 -i ${srcdir}/fix_STARTTLS_negotiation.diff
-}
-
-build() {
- cd ${pkgname}-${pkgver}
-
- # generate automake files that are not included in the tarball
-# libtoolize --force --copy
-# aclocal -I m4
-# autoheader
-# autoconf
-# automake --add-missing --foreign --force --copy
- #autoreconf -vfi
-
- #./configure --prefix=/usr \
-
- ./autogen.sh --prefix=/usr \
- --disable-static \
- --disable-db
- make
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- make check
- cd tests
- make imap-sample
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/license.txt
-}
Copied: libetpan/repos/extra-i686/PKGBUILD (from rev 266163, libetpan/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2016-04-26 14:50:55 UTC (rev 266164)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libetpan
+pkgver=1.7
+pkgrel=1
+pkgdesc="A portable middleware for email access"
+arch=('i686' 'x86_64')
+url="http://www.etpan.org/libetpan.html"
+license=("custom:etpan")
+depends=('libsasl' 'curl' 'expat')
+source=($pkgname-$pkgver.tar.gz::https://github.com/dinhviethoa/${pkgname}/archive/${pkgver}.tar.gz)
+md5sums=('8336a6752c814d83366d9e3f193f5099')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ libtoolize --force --copy
+ aclocal -I m4
+ autoheader
+ autoconf
+ automake --add-missing --foreign --force --copy
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-db
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+ cd tests
+ make imap-sample
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/license.txt
+}
Deleted: extra-i686/fix_STARTTLS_negotiation.diff
===================================================================
--- extra-i686/fix_STARTTLS_negotiation.diff 2016-04-26 14:50:39 UTC (rev 266163)
+++ extra-i686/fix_STARTTLS_negotiation.diff 2016-04-26 14:50:55 UTC (rev 266164)
@@ -1,55 +0,0 @@
-diff --git a/src/data-types/mailstream_ssl.c b/src/data-types/mailstream_ssl.c
-index 9ed676d..05a035b 100644
---- a/src/data-types/mailstream_ssl.c
-+++ b/src/data-types/mailstream_ssl.c
-@@ -495,13 +495,19 @@ static struct mailstream_ssl_data * ssl_data_new_full(int fd, time_t timeout,
- static struct mailstream_ssl_data * ssl_data_new(int fd, time_t timeout,
- void (* callback)(struct mailstream_ssl_context * ssl_context, void * cb_data), void * cb_data)
- {
-- return ssl_data_new_full(fd, timeout, SSLv23_client_method(), callback, cb_data);
--}
--
--static struct mailstream_ssl_data * tls_data_new(int fd, time_t timeout,
-- void (* callback)(struct mailstream_ssl_context * ssl_context, void * cb_data), void * cb_data)
--{
-- return ssl_data_new_full(fd, timeout, TLSv1_client_method(), callback, cb_data);
-+ return ssl_data_new_full(fd, timeout,
-+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
-+ TLS_client_method(),
-+#else
-+ /* Despite their name the SSLv23_*method() functions have nothing to do
-+ * with the availability of SSLv2 or SSLv3. What these functions do is
-+ * negotiate with the peer the highest available SSL/TLS protocol version
-+ * available. The name is as it is for historic reasons. This is a very
-+ * common confusion and is the main reason why these names have been
-+ * deprecated in the latest dev version of OpenSSL. */
-+ SSLv23_client_method(),
-+#endif
-+ callback, cb_data);
- }
-
- #else
-@@ -635,11 +641,6 @@ static struct mailstream_ssl_data * ssl_data_new(int fd, time_t timeout,
- err:
- return NULL;
- }
--static struct mailstream_ssl_data * tls_data_new(int fd, time_t timeout,
-- void (* callback)(struct mailstream_ssl_context * ssl_context, void * cb_data), void * cb_data)
--{
-- return ssl_data_new(fd, timeout, callback, cb_data);
--}
- #endif
-
- static void ssl_data_free(struct mailstream_ssl_data * ssl_data)
-@@ -691,10 +692,7 @@ static mailstream_low * mailstream_low_ssl_open_full(int fd, int starttls, time_
- mailstream_low * s;
- struct mailstream_ssl_data * ssl_data;
-
-- if (starttls)
-- ssl_data = tls_data_new(fd, timeout, callback, cb_data);
-- else
-- ssl_data = ssl_data_new(fd, timeout, callback, cb_data);
-+ ssl_data = ssl_data_new(fd, timeout, callback, cb_data);
-
- if (ssl_data == NULL)
- goto err;
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2016-04-26 14:50:39 UTC (rev 266163)
+++ extra-x86_64/PKGBUILD 2016-04-26 14:50:55 UTC (rev 266164)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=libetpan
-pkgver=1.6
-pkgrel=4
-pkgdesc="A portable middleware for email access"
-arch=('i686' 'x86_64')
-url="http://www.etpan.org/libetpan.html"
-license=("custom:etpan")
-depends=('libsasl' 'curl' 'expat')
-source=($pkgname-$pkgver.tar.gz::https://github.com/dinhviethoa/${pkgname}/archive/${pkgver}.tar.gz
- fix_STARTTLS_negotiation.diff)
-md5sums=('1158c4ce291876c2b7bb003cd4b3566e'
- '63c65052f6cd82a23ba9e15b14c85e24')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- # FS#48531 - https://github.com/dinhviethoa/libetpan/commit/7f1f97f4d59d5724af97f4d32424c2841715561c
- patch -Np1 -i ${srcdir}/fix_STARTTLS_negotiation.diff
-}
-
-build() {
- cd ${pkgname}-${pkgver}
-
- # generate automake files that are not included in the tarball
-# libtoolize --force --copy
-# aclocal -I m4
-# autoheader
-# autoconf
-# automake --add-missing --foreign --force --copy
- #autoreconf -vfi
-
- #./configure --prefix=/usr \
-
- ./autogen.sh --prefix=/usr \
- --disable-static \
- --disable-db
- make
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- make check
- cd tests
- make imap-sample
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/license.txt
-}
Copied: libetpan/repos/extra-x86_64/PKGBUILD (from rev 266163, libetpan/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2016-04-26 14:50:55 UTC (rev 266164)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libetpan
+pkgver=1.7
+pkgrel=1
+pkgdesc="A portable middleware for email access"
+arch=('i686' 'x86_64')
+url="http://www.etpan.org/libetpan.html"
+license=("custom:etpan")
+depends=('libsasl' 'curl' 'expat')
+source=($pkgname-$pkgver.tar.gz::https://github.com/dinhviethoa/${pkgname}/archive/${pkgver}.tar.gz)
+md5sums=('8336a6752c814d83366d9e3f193f5099')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ libtoolize --force --copy
+ aclocal -I m4
+ autoheader
+ autoconf
+ automake --add-missing --foreign --force --copy
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-db
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+ cd tests
+ make imap-sample
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/license.txt
+}
Deleted: extra-x86_64/fix_STARTTLS_negotiation.diff
===================================================================
--- extra-x86_64/fix_STARTTLS_negotiation.diff 2016-04-26 14:50:39 UTC (rev 266163)
+++ extra-x86_64/fix_STARTTLS_negotiation.diff 2016-04-26 14:50:55 UTC (rev 266164)
@@ -1,55 +0,0 @@
-diff --git a/src/data-types/mailstream_ssl.c b/src/data-types/mailstream_ssl.c
-index 9ed676d..05a035b 100644
---- a/src/data-types/mailstream_ssl.c
-+++ b/src/data-types/mailstream_ssl.c
-@@ -495,13 +495,19 @@ static struct mailstream_ssl_data * ssl_data_new_full(int fd, time_t timeout,
- static struct mailstream_ssl_data * ssl_data_new(int fd, time_t timeout,
- void (* callback)(struct mailstream_ssl_context * ssl_context, void * cb_data), void * cb_data)
- {
-- return ssl_data_new_full(fd, timeout, SSLv23_client_method(), callback, cb_data);
--}
--
--static struct mailstream_ssl_data * tls_data_new(int fd, time_t timeout,
-- void (* callback)(struct mailstream_ssl_context * ssl_context, void * cb_data), void * cb_data)
--{
-- return ssl_data_new_full(fd, timeout, TLSv1_client_method(), callback, cb_data);
-+ return ssl_data_new_full(fd, timeout,
-+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
-+ TLS_client_method(),
-+#else
-+ /* Despite their name the SSLv23_*method() functions have nothing to do
-+ * with the availability of SSLv2 or SSLv3. What these functions do is
-+ * negotiate with the peer the highest available SSL/TLS protocol version
-+ * available. The name is as it is for historic reasons. This is a very
-+ * common confusion and is the main reason why these names have been
-+ * deprecated in the latest dev version of OpenSSL. */
-+ SSLv23_client_method(),
-+#endif
-+ callback, cb_data);
- }
-
- #else
-@@ -635,11 +641,6 @@ static struct mailstream_ssl_data * ssl_data_new(int fd, time_t timeout,
- err:
- return NULL;
- }
--static struct mailstream_ssl_data * tls_data_new(int fd, time_t timeout,
-- void (* callback)(struct mailstream_ssl_context * ssl_context, void * cb_data), void * cb_data)
--{
-- return ssl_data_new(fd, timeout, callback, cb_data);
--}
- #endif
-
- static void ssl_data_free(struct mailstream_ssl_data * ssl_data)
-@@ -691,10 +692,7 @@ static mailstream_low * mailstream_low_ssl_open_full(int fd, int starttls, time_
- mailstream_low * s;
- struct mailstream_ssl_data * ssl_data;
-
-- if (starttls)
-- ssl_data = tls_data_new(fd, timeout, callback, cb_data);
-- else
-- ssl_data = ssl_data_new(fd, timeout, callback, cb_data);
-+ ssl_data = ssl_data_new(fd, timeout, callback, cb_data);
-
- if (ssl_data == NULL)
- goto err;
More information about the arch-commits
mailing list