pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/courier-authlib Update courier-authlib to 0.6...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26ed323e5c0a
branches:  trunk
changeset: 427226:26ed323e5c0a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Apr 13 19:11:07 2020 +0000

description:
Update courier-authlib to 0.69.1. Changes unknown, but necessary for
maildrop.

diffstat:

 security/courier-authlib/Makefile                  |   21 +-
 security/courier-authlib/PLIST                     |   14 +-
 security/courier-authlib/distinfo                  |   14 +-
 security/courier-authlib/patches/patch-Makefile.in |   58 +++++
 security/courier-authlib/patches/patch-aa          |  237 ---------------------
 security/courier-authlib/patches/patch-ab          |   31 --
 security/courier-authlib/patches/patch-configure   |   31 ++
 7 files changed, 116 insertions(+), 290 deletions(-)

diffs (truncated from 499 to 300 lines):

diff -r 4b53b8e4edd1 -r 26ed323e5c0a security/courier-authlib/Makefile
--- a/security/courier-authlib/Makefile Mon Apr 13 19:09:32 2020 +0000
+++ b/security/courier-authlib/Makefile Mon Apr 13 19:11:07 2020 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.56 2020/01/26 17:32:02 rillig Exp $
+# $NetBSD: Makefile,v 1.57 2020/04/13 19:11:07 joerg Exp $
 
 .include "Makefile.common"
 
-DISTNAME=      courier-authlib-0.64.0
-PKGREVISION=   14
+DISTNAME=      courier-authlib-0.69.1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=courier/}
 EXTRACT_SUFX=  .tar.bz2
@@ -71,7 +70,7 @@
 INSTALL_MAKE_FLAGS=    ${MAKE_FLAGS}                                   \
                        AM_MAKEFLAGS=${INSTALL_AM_MAKEFLAGS:Q}
 
-POST_INSTALL_TARGETS=  post-install-common post-install-authdaemon
+POST_INSTALL_TARGETS=  post-install-common
 
 .include "options.mk"
 
@@ -86,23 +85,17 @@
 .endfor
 GENERATE_PLIST+=       ${TRUE};
 
-INSTALLATION_DIRS+=    bin sbin
-
-post-install: ${POST_INSTALL_TARGETS}
+INSTALLATION_DIRS+=    bin sbin ${EGDIR} ${DOCDIR}
 
-post-install-common:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+post-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${DESTDIR}${PREFIX}/sbin
-       ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/INSTALL.html ${DESTDIR}${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/README.authdebug.html ${DESTDIR}${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/README.html ${DESTDIR}${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/README_authlib.html ${DESTDIR}${DOCDIR}
-
-post-install-authdaemon:
-       ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${EGDIR}/authdaemonrc.dist
-       ${CHMOD} ${SHAREMODE} ${DESTDIR}${EGDIR}/authdaemonrc.dist
+       ${INSTALL_DATA} ${WRKSRC}/authdaemonrc ${DESTDIR}/${EGDIR}/authdaemonrc.dist
 
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/libltdl/buildlink3.mk"
+.include "../../mail/courier-unicode/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4b53b8e4edd1 -r 26ed323e5c0a security/courier-authlib/PLIST
--- a/security/courier-authlib/PLIST    Mon Apr 13 19:09:32 2020 +0000
+++ b/security/courier-authlib/PLIST    Mon Apr 13 19:11:07 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2014/03/11 14:05:13 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.12 2020/04/13 19:11:07 joerg Exp $
 bin/courierauthconfig
 include/courier_auth_config.h
 include/courierauth.h
@@ -6,12 +6,16 @@
 include/courierauthsasl.h
 include/courierauthsaslclient.h
 include/courierauthstaticlist.h
+lib/courier-authlib/libauthpipe.la
+lib/courier-authlib/libauthpwd.la
+lib/courier-authlib/libauthuserdb.la
 lib/courier-authlib/libcourierauth.la
 lib/courier-authlib/libcourierauthcommon.la
 lib/courier-authlib/libcourierauthsasl.la
 lib/courier-authlib/libcourierauthsaslclient.la
 libexec/courier-authlib/authdaemond
 libexec/courier-authlib/authsystem.passwd
+libexec/courier-authlib/makedatprog
 man/man1/authpasswd.1
 man/man1/authtest.1
 man/man1/courierlogger.1
@@ -20,11 +24,13 @@
 man/man3/auth_getoption.3
 man/man3/auth_getuserinfo.3
 man/man3/auth_login.3
+man/man3/auth_mkhomedir.3
 man/man3/auth_passwd.3
 man/man3/auth_sasl.3
 man/man3/auth_sasl_ex.3
 man/man3/authlib.3
 man/man8/makeuserdb.8
+man/man8/pw2userdb.8
 man/man8/userdb.8
 man/man8/userdbpw.8
 sbin/authdaemond
@@ -32,8 +38,14 @@
 sbin/authpasswd
 sbin/authtest
 sbin/courierlogger
+sbin/makeuserdb
+sbin/pw2userdb
 sbin/sysconftool
+sbin/userdb
+sbin/userdb-test-cram-md5
+sbin/userdbpw
 share/doc/courier-authlib/INSTALL.html
 share/doc/courier-authlib/README.authdebug.html
 share/doc/courier-authlib/README.html
 share/doc/courier-authlib/README_authlib.html
+share/examples/courier-authlib/authdaemonrc.dist
diff -r 4b53b8e4edd1 -r 26ed323e5c0a security/courier-authlib/distinfo
--- a/security/courier-authlib/distinfo Mon Apr 13 19:09:32 2020 +0000
+++ b/security/courier-authlib/distinfo Mon Apr 13 19:11:07 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.16 2015/11/04 01:17:42 agc Exp $
+$NetBSD: distinfo,v 1.17 2020/04/13 19:11:07 joerg Exp $
 
-SHA1 (courier-authlib-0.64.0.tar.bz2) = ea8a38b81135f23ab8084fc89751fb320fe6b7d1
-RMD160 (courier-authlib-0.64.0.tar.bz2) = a2933436eb4ae799c2ef760a12b94dec6c3747a9
-SHA512 (courier-authlib-0.64.0.tar.bz2) = 9a1cb195bfa00c02294f87e5e01254108d5b2bc9ae2e32abbb38d9dc0af108748eec4fa365efcc244ec194751b69ef7e26963a1b0315c386758502938421fd80
-Size (courier-authlib-0.64.0.tar.bz2) = 2267236 bytes
-SHA1 (patch-aa) = bd3f7cc7a809717be7b32e5eb5890f6a8175b439
-SHA1 (patch-ab) = 89ef33fa3dc4aba6aed2b3fed19ccdcf8b1b47fd
+SHA1 (courier-authlib-0.69.1.tar.bz2) = 4f2a26f05b3b4d2d794974804699a6a3c06542b2
+RMD160 (courier-authlib-0.69.1.tar.bz2) = a29a44f6540f46b853c8b2202f0594e8df87e471
+SHA512 (courier-authlib-0.69.1.tar.bz2) = b6eb14b53ac992fb81b4ef1dd98273b92f5ef61f88bad291de82f9dc0cdf33b7cb01b838472c53c40c292165b5b54d2c3d9aa97d26908b0a4d6344d596181abe
+Size (courier-authlib-0.69.1.tar.bz2) = 2204546 bytes
+SHA1 (patch-Makefile.in) = 01435a04cc4f32badd76ab3edffeb5466099d32d
+SHA1 (patch-configure) = d4139c665f2d2178cf5ca7f9a5928961ad74fbdd
diff -r 4b53b8e4edd1 -r 26ed323e5c0a security/courier-authlib/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/courier-authlib/patches/patch-Makefile.in        Mon Apr 13 19:11:07 2020 +0000
@@ -0,0 +1,58 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/04/13 19:11:07 joerg Exp $
+
+--- Makefile.in.orig   2019-07-24 23:58:04.000000000 +0000
++++ Makefile.in
+@@ -725,7 +725,7 @@ CLEANFILES = authldaprc.h authmysqlrc.h 
+ 
+ DISTCLEANFILES = dbobj.config README_authlib.html
+ commonlibdep = libcourierauthcommon.la
+-commonldflags = -module -rpath $(pkglibdir) -export-symbols-regex 'courier_auth.*_init' -avoid-version
++commonldflags = -module -rpath $(pkglibdir) -export-symbols-regex 'courier_auth.*_init'
+ commonlibadd = libcourierauthcommon.la
+ libcourierauthcommon_t = @CRYPTLIBS@
+ libcourierauthcommon_la_SOURCES = \
+@@ -743,7 +743,7 @@ libcourierauthcommon_la_SOURCES = \
+ 
+ libcourierauthcommon_la_DEPENDENCIES = libcourierauth.la
+ libcourierauthcommon_la_LIBADD = libcourierauth.la
+-libcourierauthcommon_la_LDFLAGS = $(libcourierauthcommon_t:%=-Wl,%) -avoid-version
++libcourierauthcommon_la_LDFLAGS = $(libcourierauthcommon_t)
+ libcourierauth_la_SOURCES = authdaemon.c authdaemonlib.c preauthdaemon.c \
+       authmoduser2.c authmoduser3.c debug.c \
+       courierauthdebug.h \
+@@ -752,7 +752,7 @@ libcourierauth_la_SOURCES = authdaemon.c
+ libcourierauth_la_LIBADD = libs/libhmac/libhmac.la libs/md5/libmd5.la libs/sha1/libsha1.la libs/numlib/libnumlib.la \
+       libs/random128/librandom128.la libs/rfc822/libencode.la
+ 
+-libcourierauth_la_LDFLAGS = @NETLIBS@ -avoid-version
++libcourierauth_la_LDFLAGS = @NETLIBS@
+ 
+ # The userdb module
+ libauthuserdb_t = userdb/libuserdb.la @dblibrary@ @LIBGDBM@ @LIBDB@
+@@ -854,7 +854,7 @@ libcourierauthsasl_la_SOURCES = \
+       authsaslfrombase64.c authsasltobase64.c
+ 
+ libcourierauthsasl_la_LIBADD = libcourierauthcommon.la libcourierauth.la
+-libcourierauthsasl_la_LDFLAGS = -export-symbols-regex '^auth_sasl|auth_sasl_ex|auth_sasl_extract_userid$$' -avoid-version
++libcourierauthsasl_la_LDFLAGS = -export-symbols-regex '^auth_sasl|auth_sasl_ex|auth_sasl_extract_userid$$'
+ libcourierauthsaslclient_la_SOURCES = courierauthsaslclient.h \
+       authsaslclient.c authsaslclient.h authsaslclientcram.c \
+       authsaslclientcrammd5.c authsaslclientcramsha1.c \
+@@ -863,7 +863,7 @@ libcourierauthsaslclient_la_SOURCES = co
+       authsaslfrombase64.c authsasltobase64.c
+ 
+ libcourierauthsaslclient_la_LIBADD = libcourierauth.la
+-libcourierauthsaslclient_la_LDFLAGS = -export-symbols-regex '^auth_sasl_client$$' -avoid-version
++libcourierauthsaslclient_la_LDFLAGS = -export-symbols-regex '^auth_sasl_client$$'
+ include_HEADERS = courier_auth_config.h courierauth.h courierauthsasl.h \
+       courierauthsaslclient.h courierauthdebug.h courierauthstaticlist.h
+ 
+@@ -2234,7 +2234,7 @@ dist-hook:
+ 
+ # automake still a bit stupid...
+ 
+-install-data-hook: install-authdaemonrc install-authpgsqlrc \
++install-data-hook: install-authpgsqlrc \
+       install-authldaprc install-authmysqlrc install-authsqliterc
+       :
+ 
diff -r 4b53b8e4edd1 -r 26ed323e5c0a security/courier-authlib/patches/patch-aa
--- a/security/courier-authlib/patches/patch-aa Mon Apr 13 19:09:32 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,237 +0,0 @@
-$NetBSD: patch-aa,v 1.9 2012/06/09 11:57:20 adam Exp $
-
---- Makefile.in.orig   2012-04-28 13:21:54.000000000 +0000
-+++ Makefile.in
-@@ -516,7 +516,7 @@ CLEANFILES = authldaprc.h authmysqlrc.h 
- 
- DISTCLEANFILES = dbobj.config README_authlib.html
- commonlibdep = libcourierauthcommon.la
--commonldflags = -module -rpath $(pkglibdir) -export-symbols-regex 'courier_auth.*_init' -avoid-version
-+commonldflags = -module -rpath $(pkglibdir) -export-symbols-regex 'courier_auth.*_init'
- commonlibadd = libcourierauthcommon.la
- libcourierauthcommon_t = @CRYPTLIBS@
- libcourierauthcommon_la_SOURCES = \
-@@ -532,7 +532,7 @@ libcourierauthcommon_la_SOURCES = \
- 
- libcourierauthcommon_la_DEPENDENCIES = libcourierauth.la
- libcourierauthcommon_la_LIBADD = libcourierauth.la
--libcourierauthcommon_la_LDFLAGS = $(libcourierauthcommon_t:%=-Wl,%) -avoid-version
-+libcourierauthcommon_la_LDFLAGS = $(libcourierauthcommon_t)
- libcourierauth_la_SOURCES = authdaemon.c authdaemonlib.c preauthdaemon.c \
-       authmoduser2.c authmoduser3.c debug.c \
-       courierauthdebug.h \
-@@ -541,7 +541,7 @@ libcourierauth_la_SOURCES = authdaemon.c
- libcourierauth_la_LIBADD = libhmac/libhmac.la md5/libmd5.la sha1/libsha1.la numlib/libnumlib.la \
-       random128/librandom128.la rfc822/libencode.la
- 
--libcourierauth_la_LDFLAGS = @NETLIBS@ -avoid-version
-+libcourierauth_la_LDFLAGS = @NETLIBS@
- 
- # The userdb module
- libauthuserdb_t = userdb/libuserdb.la @dblibrary@ @LIBGDBM@ @LIBDB@
-@@ -634,7 +634,7 @@ libcourierauthsasl_la_SOURCES = \
-       authsaslfrombase64.c authsasltobase64.c
- 
- libcourierauthsasl_la_LIBADD = libcourierauth.la
--libcourierauthsasl_la_LDFLAGS = -export-symbols-regex '^auth_sasl|auth_sasl_ex$$' -avoid-version
-+libcourierauthsasl_la_LDFLAGS = -export-symbols-regex '^auth_sasl|auth_sasl_ex$$'
- libcourierauthsaslclient_la_SOURCES = courierauthsaslclient.h \
-       authsaslclient.c authsaslclient.h authsaslclientcram.c \
-       authsaslclientcrammd5.c authsaslclientcramsha1.c \
-@@ -643,7 +643,7 @@ libcourierauthsaslclient_la_SOURCES = co
-       authsaslfrombase64.c authsasltobase64.c
- 
- libcourierauthsaslclient_la_LIBADD = libcourierauth.la
--libcourierauthsaslclient_la_LDFLAGS = -export-symbols-regex '^auth_sasl_client$$' -avoid-version
-+libcourierauthsaslclient_la_LDFLAGS = -export-symbols-regex '^auth_sasl_client$$'
- include_HEADERS = courier_auth_config.h courierauth.h courierauthsasl.h \
-       courierauthsaslclient.h courierauthdebug.h courierauthstaticlist.h
- 
-@@ -674,9 +674,9 @@ authdaemondprog_DEPENDENCIES = libcourie
- 
- authdaemondprog_LDADD = $(LIBLTDL) libcourierauthcommon.la liblock/liblock.la \
-       libhmac/libhmac.la md5/libmd5.la sha1/libsha1.la \
--      rfc822/libencode.la numlib/libnumlib.la
-+      rfc822/libencode.la numlib/libnumlib.la $(DL_LIBS)
- 
--authdaemondprog_LDFLAGS = -export-dynamic $(modules:%=-dlopen %) @NETLIBS@
-+authdaemondprog_LDFLAGS = -export-dynamic $(modules:%=-dlopen %) $(DL_LDFLAGS) @NETLIBS@
- authdaemontest_SOURCES = authdaemontest.c
- authdaemontest_DEPENDENCIES = libcourierauthcommon.la
- authdaemontest_LDADD = libcourierauthcommon.la @NETLIBS@
-@@ -1697,14 +1697,14 @@ uninstall-man: uninstall-man1 uninstall-
- authpgsqllib.lo: authpgsqllib.c authpgsqlrc.h
- 
- @HAVE_AUTHPGSQL_TRUE@install-authpgsqlrc:
--@HAVE_AUTHPGSQL_TRUE@ $(mkinstalldirs) $(DESTDIR)`dirname @authpgsqlrc@` || :
-+@HAVE_AUTHPGSQL_TRUE@ $(mkinstalldirs) $(DESTDIR)`dirname $(authpgsqlrc)` || :
- @HAVE_AUTHPGSQL_TRUE@ $(INSTALL_DATA) -m 660 $(srcdir)/authpgsqlrc \
--@HAVE_AUTHPGSQL_TRUE@         $(DESTDIR)@authpgsqlrc@.dist
--@HAVE_AUTHPGSQL_TRUE@ -chown @mailuser@ $(DESTDIR)@authpgsqlrc@.dist
--@HAVE_AUTHPGSQL_TRUE@ -chgrp @mailgroup@ $(DESTDIR)@authpgsqlrc@.dist
-+@HAVE_AUTHPGSQL_TRUE@         $(DESTDIR)$(authpgsqlrc).dist
-+@HAVE_AUTHPGSQL_TRUE@ -chown $(mailuser) $(DESTDIR)$(authpgsqlrc).dist
-+@HAVE_AUTHPGSQL_TRUE@ -chgrp $(mailgroup) $(DESTDIR)$(authpgsqlrc).dist
- 
- @HAVE_AUTHPGSQL_TRUE@uninstall-authpgsqlrc:
--@HAVE_AUTHPGSQL_TRUE@ rm -f $(DESTDIR)@authpgsqlrc@.dist
-+@HAVE_AUTHPGSQL_TRUE@ rm -f $(DESTDIR)$(authpgsqlrc).dist
- 
- @HAVE_AUTHPGSQL_FALSE@install-authpgsqlrc:
- @HAVE_AUTHPGSQL_FALSE@        @:
-@@ -1713,19 +1713,19 @@ authpgsqllib.lo: authpgsqllib.c authpgsq
- @HAVE_AUTHPGSQL_FALSE@        @:
- 
- authpgsqlrc.h:
--      echo "#define AUTHPGSQLRC \"@authpgsqlrc@\"" >authpgsqlrc.h
-+      echo "#define AUTHPGSQLRC \"$(authpgsqlrc)\"" >authpgsqlrc.h
- 
- authldaplib.lo: authldaplib.c authldaprc.h
- 
- @HAVE_LDAP_TRUE@install-authldaprc:
--@HAVE_LDAP_TRUE@      $(mkinstalldirs) $(DESTDIR)`dirname @authldaprc@` || :
-+@HAVE_LDAP_TRUE@      $(mkinstalldirs) $(DESTDIR)`dirname $(authldaprc)` || :
- @HAVE_LDAP_TRUE@      $(INSTALL_DATA) -m 660 $(srcdir)/authldaprc \
--@HAVE_LDAP_TRUE@              $(DESTDIR)@authldaprc@.dist
--@HAVE_LDAP_TRUE@      -chown @mailuser@ $(DESTDIR)@authldaprc@.dist
--@HAVE_LDAP_TRUE@      -chgrp @mailgroup@ $(DESTDIR)@authldaprc@.dist
-+@HAVE_LDAP_TRUE@              $(DESTDIR)$(authldaprc).dist
-+@HAVE_LDAP_TRUE@      -chown $(mailuser) $(DESTDIR)$(authldaprc).dist
-+@HAVE_LDAP_TRUE@      -chgrp $(mailgroup) $(DESTDIR)$(authldaprc).dist
- 
- @HAVE_LDAP_TRUE@uninstall-authldaprc:
--@HAVE_LDAP_TRUE@      rm -f $(DESTDIR)@authldaprc@.dist
-+@HAVE_LDAP_TRUE@      rm -f $(DESTDIR)$(authldaprc).dist
- 
- @HAVE_LDAP_FALSE@install-authldaprc:
- @HAVE_LDAP_FALSE@     @:
-@@ -1734,19 +1734,19 @@ authldaplib.lo: authldaplib.c authldaprc



Home | Main Index | Thread Index | Old Index