summaryrefslogtreecommitdiff
path: root/mail/courier-auth/patches
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-22 22:00:22 +0000
committerjlam <jlam>2002-01-22 22:00:22 +0000
commitf7535f0a9e8b261959dbf00cdf1f46944439e199 (patch)
tree928d851950a7b87a1e7310fe78876a18b3a2fd96 /mail/courier-auth/patches
parent9eddb7b203f23d779df53c501a53782a29a82dcf (diff)
downloadpkgsrc-f7535f0a9e8b261959dbf00cdf1f46944439e199.tar.gz
Initial import of mail/courier-auth-0.37.1.
This package contains the authentication daemon, modules, and utilities for the Courier mail packages.
Diffstat (limited to 'mail/courier-auth/patches')
-rw-r--r--mail/courier-auth/patches/patch-aa43
-rw-r--r--mail/courier-auth/patches/patch-ab13
-rw-r--r--mail/courier-auth/patches/patch-ac13
-rw-r--r--mail/courier-auth/patches/patch-ad12
-rw-r--r--mail/courier-auth/patches/patch-ae15
-rw-r--r--mail/courier-auth/patches/patch-af36
6 files changed, 132 insertions, 0 deletions
diff --git a/mail/courier-auth/patches/patch-aa b/mail/courier-auth/patches/patch-aa
new file mode 100644
index 00000000000..ff54898715d
--- /dev/null
+++ b/mail/courier-auth/patches/patch-aa
@@ -0,0 +1,43 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/01/22 22:00:22 jlam Exp $
+
+--- authlib/Makefile.in.orig Fri Jan 18 22:04:42 2002
++++ authlib/Makefile.in
+@@ -1823,6 +1823,30 @@
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+ install-exec-am:
++ for d in $(sbindir) $(libexecdir) $(libexecdir)/authlib; do $(mkinstalldirs) $(DESTDIR)$$d || exit 1; done
++ for f in `cat ../authlib/installlist`; do test -z "$$f" && continue; \
++ test -f ../authlib/$$f || continue; \
++ $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) ../authlib/$$f \
++ $(DESTDIR)$(libexecdir)/authlib/$$f ; done
++ for f in `cat ../authlib/installlist.sh`; do test -z "$$f" && continue; \
++ test -f ../authlib/$$f || continue; \
++ $(INSTALL_SCRIPT) ../authlib/$$f \
++ $(DESTDIR)$(libexecdir)/authlib/$$f ; done
++ for f in makeuserdb userdb pw2userdb vchkpw2userdb ; do rm -f $(DESTDIR)$(sbindir)/$$f ; \
++ $(LN_S) $(datadir)/$$f $(DESTDIR)$(sbindir)/$$f ; done
++ $(mkinstalldirs) $(DESTDIR)@authchangepwdir@
++ . ../authlib/authpwdprogs ; for f in `echo $$PWPROGS dummy` ; do \
++ test "$$f" = "dummy" && continue ; \
++ $(INSTALL_PROGRAM) ../authlib/$$f \
++ $(DESTDIR)@authchangepwdir@/$$f ; done
++ . ../authlib/authpwdprogs ; for f in `echo $$PWSCRIPTS dummy` ; do \
++ test "$$f" = "dummy" && continue ; \
++ $(INSTALL_SCRIPT) ../authlib/$$f \
++ $(DESTDIR)$(datadir)/$$f ; \
++ rm -f $(DESTDIR)@authchangepwdir@/$$f ; \
++ $(LN_S) $(datadir)/$$f \
++ $(DESTDIR)@authchangepwdir@/$$f ; done
++
+ install-exec: install-exec-am
+
+ install-data-am: install-man install-data-local
+@@ -2068,7 +2092,6 @@
+ for f in $(man_LINKS) "" ; do \
+ test "$$f" = "" && continue ; \
+ rm -f $$f; $(LN_S) authlib.7 $$f ; \
+- test -w /etc && chown bin $$f && chgrp bin $$f ; \
+ done ; exit 0
+
+ uninstall-local: uninstall-authldaprc uninstall-authdaemonrc uninstall-authmysqlrc uninstall-authpgsqlrc
diff --git a/mail/courier-auth/patches/patch-ab b/mail/courier-auth/patches/patch-ab
new file mode 100644
index 00000000000..06c06c054c9
--- /dev/null
+++ b/mail/courier-auth/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/01/22 22:00:22 jlam Exp $
+
+--- authlib/configure.in.orig Thu Dec 27 17:26:43 2001
++++ authlib/configure.in
+@@ -411,8 +411,6 @@
+ STATIC_LIST="authldap_info $STATIC_LIST"
+ LIBAUTH="$LIBAUTH libauth-authldap.a"
+ echo authldaprc.dist >>authconfiglist
+-else
+- authldaprc=""
+ fi
+ AC_SUBST(LDAPLIBS)
+
diff --git a/mail/courier-auth/patches/patch-ac b/mail/courier-auth/patches/patch-ac
new file mode 100644
index 00000000000..0f7f8ac019b
--- /dev/null
+++ b/mail/courier-auth/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/01/22 22:00:22 jlam Exp $
+
+--- authlib/configure.orig Thu Dec 27 17:27:05 2001
++++ authlib/configure
+@@ -2689,8 +2689,6 @@
+ STATIC_LIST="authldap_info $STATIC_LIST"
+ LIBAUTH="$LIBAUTH libauth-authldap.a"
+ echo authldaprc.dist >>authconfiglist
+-else
+- authldaprc=""
+ fi
+
+
diff --git a/mail/courier-auth/patches/patch-ad b/mail/courier-auth/patches/patch-ad
new file mode 100644
index 00000000000..6dc4959e2a5
--- /dev/null
+++ b/mail/courier-auth/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/01/22 22:00:22 jlam Exp $
+
+--- authlib/cryptpassword.c.orig Wed Jun 20 21:44:30 2001
++++ authlib/cryptpassword.c
+@@ -6,6 +6,7 @@
+ #if HAVE_CONFIG_H
+ #include "config.h"
+ #endif
++#include <stdlib.h>
+ #include <string.h>
+ #if HAVE_UNISTD_H
+ #include <unistd.h>
diff --git a/mail/courier-auth/patches/patch-ae b/mail/courier-auth/patches/patch-ae
new file mode 100644
index 00000000000..cd7cd83080f
--- /dev/null
+++ b/mail/courier-auth/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/01/22 22:00:22 jlam Exp $
+
+--- makedat/Makefile.in.orig Fri Jan 18 22:04:44 2002
++++ makedat/Makefile.in
+@@ -281,6 +281,10 @@
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+ install-exec-am:
++ $(mkinstalldirs) $(DESTDIR)$(libexecdir)
++ rm -f $(DESTDIR)$(libexecdir)/makedatprog
++ $(INSTALL_PROGRAM) makedatprog $(DESTDIR)$(libexecdir)/makedatprog
++
+ install-exec: install-exec-am
+
+ install-data-am:
diff --git a/mail/courier-auth/patches/patch-af b/mail/courier-auth/patches/patch-af
new file mode 100644
index 00000000000..bc8845be8c5
--- /dev/null
+++ b/mail/courier-auth/patches/patch-af
@@ -0,0 +1,36 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/01/22 22:00:22 jlam Exp $
+
+--- userdb/Makefile.in.orig Fri Jan 18 22:04:41 2002
++++ userdb/Makefile.in
+@@ -332,9 +332,31 @@
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+ install-exec-am:
++ $(mkinstalldirs) $(DESTDIR)$(sbindir)
++ $(INSTALL_PROGRAM) userdbpw $(DESTDIR)$(sbindir)/userdbpw
++ $(mkinstalldirs) $(DESTDIR)$(datadir)
++ cp userdb.pl userdb
++ for f in makeuserdb userdb pw2userdb vchkpw2userdb; do \
++ $(INSTALL_SCRIPT) $$f $(DESTDIR)$(datadir)/$$f; \
++ rm -f $(DESTDIR)$(sbindir)/$$f; \
++ $(LN_S) $(datadir)/$$f $(DESTDIR)$(sbindir)/$$f; \
++ done
++
+ install-exec: install-exec-am
+
++man8dir = @mandir@/man8
++
+ install-data-am:
++ $(mkinstalldirs) $(DESTDIR)$(man8dir)
++ for i in $(man8); do \
++ echo " $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i"; \
++ $(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
++ done
++ cd $(DESTDIR)$(man8dir) ; \
++ rm -f pw2userdb.8 vchkpw2userdb.8; \
++ $(LN_S) makeuserdb.8 pw2userdb.8 ; \
++ $(LN_S) makeuserdb.8 vchkpw2userdb.8 ; \
++
+ install-data: install-data-am
+
+ install-am: all-am