libetpan: Update to 1.9.4 Changes: - Bugfixes on QUOTA - Various warning fixes & build fixes - Added IMAP CLIENTID / SMTP CLIENTID support - Use Cyrus SASL 2.1.27 - Support of TLS SNI - LMDB for cache DB - Fixed build with recent versions of curldiff -r1.62 -r1.63 pkgsrc/mail/libetpan/Makefile
(nia)
@@ -1,45 +1,35 @@ | @@ -1,45 +1,35 @@ | |||
1 | # $NetBSD: Makefile,v 1.62 2020/05/06 14:04:11 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.63 2020/05/19 09:57:05 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= libetpan-1.9.1 | 3 | DISTNAME= libetpan-1.9.4 | |
4 | PKGREVISION= 8 | |||
5 | CATEGORIES= mail | 4 | CATEGORIES= mail | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=dinhviethoa/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=dinhviethoa/} | |
7 | EXTRACT_USING= bsdtar | 6 | EXTRACT_USING= bsdtar | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://etpan.org/libetpan.html | 9 | HOMEPAGE= https://etpan.org/libetpan.html | |
11 | COMMENT= Really nice mail library | 10 | COMMENT= Really nice mail library | |
12 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
13 | 12 | |||
14 | BDB_ACCEPTED= db3 db4 db5 db6 | 13 | BDB_ACCEPTED= db3 db4 db5 db6 | |
15 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
16 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
17 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
18 | MAKE_JOBS_SAFE= no | 17 | MAKE_JOBS_SAFE= no | |
19 | USE_TOOLS+= autoconf automake | 18 | USE_TOOLS+= autoconf automake | |
20 | TEST_TARGET= check | 19 | TEST_TARGET= check | |
21 | 20 | |||
22 | pre-configure: | 21 | pre-configure: | |
23 | cd ${WRKSRC} && \ | 22 | cd ${WRKSRC} && NOCONFIGURE=1 ${SH} autogen.sh | |
24 | libtoolize --force --copy && \ | |||
25 | aclocal -I m4 && \ | |||
26 | autoheader && \ | |||
27 | autoconf && \ | |||
28 | automake --add-missing --foreign --force --copy | |||
29 | ||||
30 | SUBST_CLASSES+= conf | |||
31 | SUBST_STAGE.conf= pre-configure | |||
32 | SUBST_FILES.conf= libetpan-config.in | |||
33 | SUBST_SED.conf= -e "s|@COMPILERFLAGS@|${COMPILER_RPATH_FLAG}|g" | |||
34 | SUBST_MESSAGE.conf= Fixing libetpan-config. | |||
35 | 23 | |||
36 | LDFLAGS.SunOS+= -lsocket -lnsl | 24 | LDFLAGS.SunOS+= -lsocket -lnsl | |
37 | 25 | |||
26 | PKGCONFIG_OVERRIDE+= libetpan-config.in | |||
27 | ||||
38 | .include "../../converters/libiconv/buildlink3.mk" | 28 | .include "../../converters/libiconv/buildlink3.mk" | |
39 | .include "../../security/cyrus-sasl/buildlink3.mk" | 29 | .include "../../security/cyrus-sasl/buildlink3.mk" | |
40 | .include "../../security/openssl/buildlink3.mk" | 30 | .include "../../security/openssl/buildlink3.mk" | |
41 | .include "../../textproc/expat/buildlink3.mk" | 31 | .include "../../textproc/expat/buildlink3.mk" | |
42 | .include "../../www/curl/buildlink3.mk" | 32 | .include "../../www/curl/buildlink3.mk" | |
43 | .include "../../mk/bdb.buildlink3.mk" | 33 | .include "../../mk/bdb.buildlink3.mk" | |
44 | .include "../../mk/pthread.buildlink3.mk" | 34 | .include "../../mk/pthread.buildlink3.mk" | |
45 | .include "../../mk/bsd.pkg.mk" | 35 | .include "../../mk/bsd.pkg.mk" |
@@ -1,23 +1,23 @@ | @@ -1,23 +1,23 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.11 2015/04/03 12:04:30 nros Exp $ | 1 | @comment $NetBSD: PLIST,v 1.12 2020/05/19 09:57:05 nia Exp $ | |
2 | bin/libetpan-config | |||
3 | include/libetpan.h | 2 | include/libetpan.h | |
4 | include/libetpan/acl.h | 3 | include/libetpan/acl.h | |
5 | include/libetpan/acl_types.h | 4 | include/libetpan/acl_types.h | |
6 | include/libetpan/annotatemore.h | 5 | include/libetpan/annotatemore.h | |
7 | include/libetpan/annotatemore_types.h | 6 | include/libetpan/annotatemore_types.h | |
8 | include/libetpan/carray.h | 7 | include/libetpan/carray.h | |
9 | include/libetpan/charconv.h | 8 | include/libetpan/charconv.h | |
10 | include/libetpan/chash.h | 9 | include/libetpan/chash.h | |
10 | include/libetpan/clientid.h | |||
11 | include/libetpan/clist.h | 11 | include/libetpan/clist.h | |
12 | include/libetpan/condstore.h | 12 | include/libetpan/condstore.h | |
13 | include/libetpan/condstore_types.h | 13 | include/libetpan/condstore_types.h | |
14 | include/libetpan/data_message_driver.h | 14 | include/libetpan/data_message_driver.h | |
15 | include/libetpan/dbdriver.h | 15 | include/libetpan/dbdriver.h | |
16 | include/libetpan/dbdriver_message.h | 16 | include/libetpan/dbdriver_message.h | |
17 | include/libetpan/dbdriver_types.h | 17 | include/libetpan/dbdriver_types.h | |
18 | include/libetpan/dbstorage.h | 18 | include/libetpan/dbstorage.h | |
19 | include/libetpan/enable.h | 19 | include/libetpan/enable.h | |
20 | include/libetpan/feeddriver.h | 20 | include/libetpan/feeddriver.h | |
21 | include/libetpan/feeddriver_message.h | 21 | include/libetpan/feeddriver_message.h | |
22 | include/libetpan/feeddriver_types.h | 22 | include/libetpan/feeddriver_types.h | |
23 | include/libetpan/feedstorage.h | 23 | include/libetpan/feedstorage.h | |
@@ -155,13 +155,14 @@ include/libetpan/pop3storage.h | @@ -155,13 +155,14 @@ include/libetpan/pop3storage.h | |||
155 | include/libetpan/qresync.h | 155 | include/libetpan/qresync.h | |
156 | include/libetpan/qresync_types.h | 156 | include/libetpan/qresync_types.h | |
157 | include/libetpan/quota.h | 157 | include/libetpan/quota.h | |
158 | include/libetpan/quota_parser.h | 158 | include/libetpan/quota_parser.h | |
159 | include/libetpan/quota_sender.h | 159 | include/libetpan/quota_sender.h | |
160 | include/libetpan/quota_types.h | 160 | include/libetpan/quota_types.h | |
161 | include/libetpan/uidplus.h | 161 | include/libetpan/uidplus.h | |
162 | include/libetpan/uidplus_types.h | 162 | include/libetpan/uidplus_types.h | |
163 | include/libetpan/xgmlabels.h | 163 | include/libetpan/xgmlabels.h | |
164 | include/libetpan/xgmmsgid.h | 164 | include/libetpan/xgmmsgid.h | |
165 | include/libetpan/xgmthrid.h | 165 | include/libetpan/xgmthrid.h | |
166 | include/libetpan/xlist.h | 166 | include/libetpan/xlist.h | |
167 | lib/libetpan.la | 167 | lib/libetpan.la | |
168 | lib/pkgconfig/libetpan.pc |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.22 2018/12/10 15:18:21 maya Exp $ | 1 | $NetBSD: distinfo,v 1.23 2020/05/19 09:57:05 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (libetpan-1.9.1.tar.gz) = b7c0b645af9d5e5e250d2085782be4da1698d43b | 3 | SHA1 (libetpan-1.9.4.tar.gz) = cfdfe4329382a30afc5b540e258aaa950fabd25f | |
4 | RMD160 (libetpan-1.9.1.tar.gz) = bb8adc310fb05e32dc22dd1c28373d2063c1d321 | 4 | RMD160 (libetpan-1.9.4.tar.gz) = cc1718182a677bc10aaab726ab0dc3d52de2e2f6 | |
5 | SHA512 (libetpan-1.9.1.tar.gz) = 1dd72644672e15eecc9883ffb4b29ef34d4355c55aec950cac44e7b59f252d9355f37ef0ad37007c89728c09e057144b4c3b853496a011d693598b6027356286 | 5 | SHA512 (libetpan-1.9.4.tar.gz) = 7b7047d084fb4ce0c91821c2ad78e921d6d009106851afb7f5b068713c84ebe6926f6bf7a7423f263eeebef617511e44f6b65448d892bbc058c447235fd55c0f | |
6 | Size (libetpan-1.9.1.tar.gz) = 6189971 bytes | 6 | Size (libetpan-1.9.4.tar.gz) = 5000025 bytes | |
7 | SHA1 (patch-aa) = e783adf544c9a63df584815ee4b033249cecf0ff | 7 | SHA1 (patch-configure.ac) = 9d1562b4dd016fb26372bb437e3f4a0749ab2592 | |
8 | SHA1 (patch-configure.ac) = 45ec1bd4384e3bdd31c1dd7ebef1d855b5c962c6 | 8 | SHA1 (patch-libetpan.pc.in) = b977b0982e3f6d32722eec7222eb3c40476d4fc9 | |
9 | SHA1 (patch-src_low-level_feed_newsfeed.c) = 962f2059bb13a8f9c40cb6845276ee52e3bcd937 | 9 | SHA1 (patch-src_low-level_feed_newsfeed.c) = 962f2059bb13a8f9c40cb6845276ee52e3bcd937 |
@@ -1,13 +1,15 @@ | @@ -1,13 +1,15 @@ | |||
1 | $NetBSD: patch-configure.ac,v 1.2 2016/09/03 17:56:37 nros Exp $ | 1 | $NetBSD: patch-configure.ac,v 1.3 2020/05/19 09:57:05 nia Exp $ | |
2 | Conversion of patch-ab to configure.ac | 2 | ||
3 | Correct db library names for pkgsrc. | |||
4 | ||||
3 | --- configure.ac.orig 2016-05-26 05:27:47.000000000 +0000 | 5 | --- configure.ac.orig 2016-05-26 05:27:47.000000000 +0000 | |
4 | +++ configure.ac | 6 | +++ configure.ac | |
5 | @@ -395,7 +395,7 @@ dnl Look for db3 or superior with db_cre | 7 | @@ -395,7 +395,7 @@ dnl Look for db3 or superior with db_cre | |
6 | case "$DBVERS" in | 8 | case "$DBVERS" in | |
7 | 3) | 9 | 3) | |
8 | AC_MSG_RESULT([version 3.x or above]) | 10 | AC_MSG_RESULT([version 3.x or above]) | |
9 | - for lib in db-6.0 db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do | 11 | - for lib in db-6.0 db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do | |
10 | + for lib in db6 db5 db4 db3 db; do | 12 | + for lib in db6 db5 db4 db3 db; do | |
11 | if test "x$DBLINKED" = "x0"; then | 13 | if test "x$DBLINKED" = "x0"; then | |
12 | dnl AC_CHECK_LIB($lib, db_create, [DBLIB="-l$lib"; DBLINKED=1], []) | 14 | dnl AC_CHECK_LIB($lib, db_create, [DBLIB="-l$lib"; DBLINKED=1], []) | |
13 | dnl installations of libdb4 function names are defined in db.h | 15 | dnl installations of libdb4 function names are defined in db.h |
$NetBSD: patch-libetpan.pc.in,v 1.1 2020/05/19 09:57:05 nia Exp $
Allow PKGCONFIG_OVERRIDE to work properly.
--- libetpan.pc.in.orig 2019-11-01 17:58:50.000000000 +0000
+++ libetpan.pc.in
@@ -6,5 +6,5 @@ libdir=@libdir@
Name: libetpan
Description: Libetpan C library.
Version: @VERSION@
-Libs: -L${libdir} -letpan@LIBSUFFIX@ @LDFLAGS@ @SSLLIBS@ @GNUTLSLIB@ @LIBICONV@ @DBLIB@ @LIBS@ @SASLLIBS@
+Libs: -letpan@LIBSUFFIX@ @SSLLIBS@ @GNUTLSLIB@ @LIBICONV@ @DBLIB@ @LIBS@ @SASLLIBS@
Cflags: -I${includedir}