aboutsummaryrefslogtreecommitdiff
path: root/security/courier-authlib/files
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2012-06-24 12:40:40 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2012-06-24 12:40:40 +0000
commitbeeccac843c7f5fe1ee79f19be442541baff3a42 (patch)
treef357cf522efdfa8df52aacd796d1e419285df00a /security/courier-authlib/files
parentda60adebdc9715a3b7abf3c5b1516908594fae60 (diff)
downloadports-beeccac843c7f5fe1ee79f19be442541baff3a42.tar.gz
ports-beeccac843c7f5fe1ee79f19be442541baff3a42.zip
Notes
Diffstat (limited to 'security/courier-authlib/files')
-rw-r--r--security/courier-authlib/files/patch-Makefile.in66
-rw-r--r--security/courier-authlib/files/patch-authvchkpw78
2 files changed, 72 insertions, 72 deletions
diff --git a/security/courier-authlib/files/patch-Makefile.in b/security/courier-authlib/files/patch-Makefile.in
index 160a37de1861..b5668376f21d 100644
--- a/security/courier-authlib/files/patch-Makefile.in
+++ b/security/courier-authlib/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig 2009-12-25 22:53:45.000000000 +0100
-+++ Makefile.in 2010-01-02 09:36:54.000000000 +0100
-@@ -42,11 +42,10 @@
+--- Makefile.in.orig 2012-04-28 15:21:54.000000000 +0200
++++ Makefile.in 2012-06-24 12:11:07.000000000 +0200
+@@ -41,11 +41,10 @@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
@@ -16,7 +16,7 @@
subdir = .
DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-@@ -149,6 +148,12 @@
+@@ -150,6 +149,12 @@
libauthuserdb_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(libauthuserdb_la_LDFLAGS) $(LDFLAGS) -o $@
@@ -29,7 +29,7 @@
libcourierauth_la_DEPENDENCIES = libhmac/libhmac.la md5/libmd5.la \
sha1/libsha1.la numlib/libnumlib.la random128/librandom128.la \
rfc822/libencode.la
-@@ -234,7 +239,8 @@
+@@ -235,7 +240,8 @@
$(libauthmysql_la_SOURCES) $(libauthpam_la_SOURCES) \
$(libauthpgsql_la_SOURCES) $(libauthpipe_la_SOURCES) \
$(libauthpwd_la_SOURCES) $(libauthshadow_la_SOURCES) \
@@ -39,7 +39,7 @@
$(libcourierauthcommon_la_SOURCES) \
$(libcourierauthsasl_la_SOURCES) \
$(libcourierauthsaslclient_la_SOURCES) \
-@@ -246,7 +252,8 @@
+@@ -247,7 +253,8 @@
$(libauthmysql_la_SOURCES) $(libauthpam_la_SOURCES) \
$(libauthpgsql_la_SOURCES) $(libauthpipe_la_SOURCES) \
$(libauthpwd_la_SOURCES) $(libauthshadow_la_SOURCES) \
@@ -49,7 +49,7 @@
$(libcourierauthcommon_la_SOURCES) \
$(libcourierauthsasl_la_SOURCES) \
$(libcourierauthsaslclient_la_SOURCES) \
-@@ -363,6 +370,7 @@
+@@ -365,6 +372,7 @@
LIBAUTHPWD = @LIBAUTHPWD@
LIBAUTHSHADOW = @LIBAUTHSHADOW@
LIBAUTHUSERDB = @LIBAUTHUSERDB@
@@ -57,16 +57,16 @@
LIBDB = @LIBDB@
LIBDL = @LIBDL@
LIBGDBM = @LIBGDBM@
-@@ -481,21 +489,27 @@
- top_srcdir = @top_srcdir@
+@@ -486,21 +494,28 @@
userdb = @userdb@
AUTOMAKE_OPTIONS = dist-bzip2
--SUBDIRS = libltdl gdbmobj bdbobj md5 sha1 libhmac numlib makedat userdb unicode rfc822 random128 liblock liblog
-+SUBDIRS = libltdl gdbmobj bdbobj md5 sha1 libhmac numlib
+ SUBDIRS = gdbmobj bdbobj md5 sha1 libhmac numlib makedat userdb unicode rfc822 random128 liblock liblog
++SUBDIRS = gdbmobj bdbobj md5 sha1 libhmac numlib
+@HAVE_USERDB_TRUE@SUBDIRS+= makedat userdb
+SUBDIRS += unicode rfc822 random128
+@HAVE_BASE_TRUE@SUBDIRS+= liblock liblog
INCLUDES = $(LTDLINCL)
+ AM_CPPFLAGS = -I liblock
modules = @LIBAUTHUSERDB@ \
@LIBAUTHPAM@ @LIBAUTHPWD@ @LIBAUTHSHADOW@ \
@LIBAUTHPGSQL@ @LIBAUTHLDAP@ @LIBAUTHMYSQL@ \
@@ -78,19 +78,19 @@
- libcourierauthsasl.la libcourierauthsaslclient.la \
- libcourierauthcommon.la $(modules)
+@HAVE_BASE_TRUE@pkglib_LTLIBRARIES = libcourierauth.la \
-+@HAVE_BASE_TRUE@ libcourierauthsasl.la libcourierauthsaslclient.la \
-+@HAVE_BASE_TRUE@ libcourierauthcommon.la $(modules)
++@HAVE_BASE_TRUE@ libcourierauthsasl.la libcourierauthsaslclient.la \
++@HAVE_BASE_TRUE@ libcourierauthcommon.la $(modules)
+
+@HAVE_BASE_FALSE@pkglib_LTLIBRARIES = $(modules)
sbin_SCRIPTS = authdaemond
EXTRA_LTLIBRARIES = libauthuserdb.la \
libauthpam.la libauthpwd.la libauthshadow.la \
-+ libauthvchkpw.la \
++ libauthvchkpw.la \
libauthpgsql.la \
libauthldap.la \
libauthmysql.la \
-@@ -567,6 +581,13 @@
+@@ -572,6 +587,13 @@
libauthshadow_la_LIBADD = $(commonlibadd) $(libauthshadow_t)
libauthshadow_la_LDFLAGS = $(commonldflags)
@@ -104,18 +104,18 @@
# The authpgsql module
libauthpgsql_t = @PGSQL_LIBS@ @LIBM@ @NETLIBS@
libauthpgsql_la_SOURCES = authpgsql.c preauthpgsql.c authpgsqllib.c authpgsql.h
-@@ -639,8 +660,8 @@
+@@ -644,8 +666,8 @@
libcourierauthsaslclient_la_LIBADD = libcourierauth.la
libcourierauthsaslclient_la_LDFLAGS = -export-symbols-regex '^auth_sasl_client$$' -avoid-version
-include_HEADERS = courier_auth_config.h courierauth.h courierauthsasl.h \
-- courierauthsaslclient.h courierauthdebug.h
+- courierauthsaslclient.h courierauthdebug.h courierauthstaticlist.h
+@HAVE_BASE_TRUE@include_HEADERS = courier_auth_config.h courierauth.h courierauthsasl.h \
-+@HAVE_BASE_TRUE@ courierauthsaslclient.h courierauthdebug.h
++@HAVE_BASE_TRUE@ courierauthsaslclient.h courierauthdebug.h courierauthstaticlist.h
courierauthconfig_SOURCES = authinfo.c
authpasswd_SOURCES = authpasswd.c
-@@ -681,7 +702,7 @@
+@@ -686,7 +708,7 @@
man3 = authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
auth_enumerate.3 auth_passwd.3 auth_getoption.3 auth_sasl.3
@@ -124,7 +124,7 @@
man_MANS = $(man1) $(man3) auth_sasl_ex.3
BUILT1 = authlib.html authldaprc.h authmysqlrc.h authpgsqlrc.h authpiperc.h \
authdaemonrc.h packageversion.h \
-@@ -782,8 +803,8 @@
+@@ -789,8 +811,8 @@
else :; fi; \
done; \
test -z "$$list2" || { \
@@ -135,7 +135,7 @@
}
uninstall-pkglibLTLIBRARIES:
-@@ -821,6 +842,8 @@
+@@ -828,6 +850,8 @@
$(libauthshadow_la_LINK) $(libauthshadow_la_OBJECTS) $(libauthshadow_la_LIBADD) $(LIBS)
libauthuserdb.la: $(libauthuserdb_la_OBJECTS) $(libauthuserdb_la_DEPENDENCIES)
$(libauthuserdb_la_LINK) $(libauthuserdb_la_OBJECTS) $(libauthuserdb_la_LIBADD) $(LIBS)
@@ -144,7 +144,7 @@
libcourierauth.la: $(libcourierauth_la_OBJECTS) $(libcourierauth_la_DEPENDENCIES)
$(libcourierauth_la_LINK) -rpath $(pkglibdir) $(libcourierauth_la_OBJECTS) $(libcourierauth_la_LIBADD) $(LIBS)
libcourierauthcommon.la: $(libcourierauthcommon_la_OBJECTS) $(libcourierauthcommon_la_DEPENDENCIES)
-@@ -1063,6 +1086,8 @@
+@@ -1070,6 +1094,8 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authtest.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authuserdb.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authuserdbpwd.Plo@am__quote@
@@ -153,7 +153,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkpassword.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkpasswordmd5.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkpasswordsha1.Plo@am__quote@
-@@ -1079,6 +1104,7 @@
+@@ -1086,6 +1112,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthshadow.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthuserdb.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthuserdbcommon.Plo@am__quote@
@@ -161,7 +161,7 @@
.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@@ -1125,8 +1151,8 @@
+@@ -1132,8 +1159,8 @@
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
@@ -172,7 +172,7 @@
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
-@@ -1163,8 +1189,8 @@
+@@ -1170,8 +1197,8 @@
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
@@ -183,7 +183,7 @@
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
-@@ -1595,18 +1621,26 @@
+@@ -1603,18 +1630,26 @@
info-am:
@@ -218,7 +218,7 @@
install-html: install-html-recursive
install-html-am:
-@@ -1686,6 +1720,12 @@
+@@ -1694,6 +1729,12 @@
uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS
@@ -231,7 +231,7 @@
authpgsqllib.lo: authpgsqllib.c authpgsqlrc.h
@HAVE_AUTHPGSQL_TRUE@install-authpgsqlrc:
-@@ -1725,6 +1765,19 @@
+@@ -1733,6 +1774,19 @@
@HAVE_LDAP_FALSE@uninstall-authldaprc:
@HAVE_LDAP_FALSE@ @:
@@ -251,7 +251,7 @@
authldaprc.h:
echo "#define AUTHLDAPRC \"@authldaprc@\"" >authldaprc.h
-@@ -1754,16 +1807,22 @@
+@@ -1762,16 +1816,22 @@
authpiperc.h:
echo "#define PIPE_PROGRAM \"@authProg@\"" >authpiperc.h
@@ -283,7 +283,7 @@
authdaemonrc.h:
echo "#define AUTHDAEMONRC \"@authdaemonrc@\"" >authdaemonrc.h
-@@ -1806,21 +1865,23 @@
+@@ -1814,21 +1874,23 @@
# automake still a bit stupid...
install-data-hook: install-authdaemonrc install-authpgsqlrc \
@@ -316,7 +316,7 @@
$(INSTALL_SCRIPT) userdb/pw2userdb \
$(DESTDIR)$(sbindir)/pw2userdb ; \
$(INSTALL_SCRIPT) userdb/makeuserdb \
-@@ -1834,9 +1895,10 @@
+@@ -1842,9 +1904,10 @@
for f in $(pkglib_LTLIBRARIES); do . ./$$f; rm -f $(DESTDIR)$(pkglibdir)/$$dlname.0 $(DESTDIR)$(pkglibdir)/$$dlname.0.0; ln -s $$dlname $(DESTDIR)$(pkglibdir)/$$dlname.0; done
uninstall-hook: uninstall-authldaprc uninstall-authdaemonrc uninstall-authmysqlrc uninstall-authpgsqlrc
@@ -328,7 +328,7 @@
$(DESTDIR)$(sbindir)/pw2userdb \
$(DESTDIR)$(sbindir)/makeuserdb \
$(DESTDIR)$(sbindir)/userdb \
-@@ -1848,7 +1910,7 @@
+@@ -1856,7 +1919,7 @@
$(SHELL) ./config.status --file=authlib.html
authlib.3: authlib.3.in
@@ -337,7 +337,7 @@
@HAVE_SGML_TRUE@authpasswd.html: authpasswd.sgml docbook/sgml2html
@HAVE_SGML_TRUE@ docbook/sgml2html authpasswd.sgml authpasswd.html
-@@ -1933,10 +1995,10 @@
+@@ -1941,10 +2004,10 @@
@SHELL@ authmigrate
install-configure:
diff --git a/security/courier-authlib/files/patch-authvchkpw b/security/courier-authlib/files/patch-authvchkpw
index 6e14e756e643..a601dda48e7c 100644
--- a/security/courier-authlib/files/patch-authvchkpw
+++ b/security/courier-authlib/files/patch-authvchkpw
@@ -18,7 +18,7 @@
+#include <unistd.h>
+#endif
+#include "auth.h"
-+#include "authstaticlist.h"
++#include "courierauthstaticlist.h"
+#include "courierauthdebug.h"
+#include "vpopmail_config.h"
+#include <vpopmail.h>
@@ -485,44 +485,6 @@
+
+ return ((*callback)(&auth, arg));
+}
---- userdb/Makefile.in.orig 2009-06-27 17:55:52.000000000 +0200
-+++ userdb/Makefile.in 2009-07-02 09:57:06.000000000 +0200
-@@ -50,7 +50,7 @@
- $(srcdir)/../missing $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/makeuserdb.in \
- $(srcdir)/pw2userdb.in $(srcdir)/userdb.pl.in \
-- $(top_srcdir)/configure
-+ $(srcdir)/vchkpw2userdb.in $(top_srcdir)/configure
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- am__aclocal_m4_deps = $(top_srcdir)/configure.in
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-@@ -58,7 +58,7 @@
- am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
- mkinstalldirs = $(install_sh) -d
--CONFIG_CLEAN_FILES = userdb.pl makeuserdb pw2userdb
-+CONFIG_CLEAN_FILES = userdb.pl makeuserdb pw2userdb vchkpw2userdb
- CONFIG_CLEAN_VPATH_FILES =
- LTLIBRARIES = $(noinst_LTLIBRARIES)
- libuserdb_la_LIBADD =
-@@ -252,7 +252,7 @@
- userdb.html.in userdb.8.in \
- userdbpw.html.in userdbpw.8.in
-
--noinst_SCRIPTS = makeuserdb pw2userdb dummy
-+noinst_SCRIPTS = makeuserdb pw2userdb vchkpw2userdb dummy
- noinst_DATA = makeuserdb.html userdb.html userdbpw.html
- userdbpw_SOURCES = userdbpw.c
- userdbpw_LDADD = libuserdb.la @HMACLIB@ @MD5LIB@ @SHA1LIB@ @CRYPTLIBS@
-@@ -306,6 +306,8 @@
- cd $(top_builddir) && $(SHELL) ./config.status $@
- pw2userdb: $(top_builddir)/config.status $(srcdir)/pw2userdb.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
-+vchkpw2userdb: $(top_builddir)/config.status $(srcdir)/vchkpw2userdb.in
-+ cd $(top_builddir) && $(SHELL) ./config.status $@
-
- clean-noinstLTLIBRARIES:
- -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
--- userdb/configure.orig 2009-06-27 17:55:53.000000000 +0200
+++ userdb/configure 2009-07-02 09:56:41.000000000 +0200
@@ -12452,7 +12452,7 @@
@@ -625,3 +587,41 @@
+ close(DIR);
+}
+
+--- userdb/Makefile.in.orig 2011-11-13 02:14:49.000000000 +0100
++++ userdb/Makefile.in 2012-06-24 12:12:52.000000000 +0200
+@@ -49,7 +49,7 @@
+ $(srcdir)/../missing $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ $(srcdir)/makeuserdb.in $(srcdir)/pw2userdb.in \
+- $(srcdir)/userdb.pl.in $(top_srcdir)/configure
++ $(srcdir)/userdb.pl.in $(srcdir)/vchkpw2userdb.in $(top_srcdir)/configure
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ am__aclocal_m4_deps = $(top_srcdir)/configure.in
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+@@ -58,7 +58,7 @@
+ configure.lineno config.status.lineno
+ mkinstalldirs = $(install_sh) -d
+ CONFIG_HEADER = config.h
+-CONFIG_CLEAN_FILES = userdb.pl makeuserdb pw2userdb
++CONFIG_CLEAN_FILES = userdb.pl makeuserdb pw2userdb vchkpw2userdb
+ CONFIG_CLEAN_VPATH_FILES =
+ LTLIBRARIES = $(noinst_LTLIBRARIES)
+ libuserdb_la_LIBADD =
+@@ -255,7 +255,7 @@
+ userdb.html.in userdb.8.in \
+ userdbpw.html.in userdbpw.8.in
+
+-noinst_SCRIPTS = makeuserdb pw2userdb dummy
++noinst_SCRIPTS = makeuserdb pw2userdb vchkpw2userdb dummy
+ noinst_DATA = makeuserdb.html userdb.html userdbpw.html
+ userdbpw_SOURCES = userdbpw.c
+ userdbpw_LDADD = libuserdb.la @HMACLIB@ @MD5LIB@ @SHA1LIB@ @CRYPTLIBS@
+@@ -326,6 +326,8 @@
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+ pw2userdb: $(top_builddir)/config.status $(srcdir)/pw2userdb.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
++vchkpw2userdb: $(top_builddir)/config.status $(srcdir)/vchkpw2userdb.in
++ cd $(top_builddir) && $(SHELL) ./config.status $@
+
+ clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)