pkgsrc/mail/courier-auth/patches/patch-af
jlam 627daeab62 Update mail/courier-auth* packages to 0.44.2 from the courier-0.44.2
source distribution.  Changes from version 0.37.1 include fixing minor
bugs, plugging memory leaks, and improving documentation.  The
authentication daemons also have improved behaviour when idling.
2004-02-21 14:43:15 +00:00

47 lines
1.3 KiB
Text

$NetBSD: patch-af,v 1.2 2004/02/21 14:43:16 jlam Exp $
--- userdb/Makefile.in.orig Sat Nov 15 12:54:43 2003
+++ userdb/Makefile.in
@@ -462,6 +462,30 @@ uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install-exec-local:
+ $(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
+
+man8dir=@mandir@/man8
+
+install-data-local:
+ $(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
+
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
@@ -500,9 +524,9 @@ info: info-am
info-am:
-install-data-am:
+install-data-am: install-data-local
-install-exec-am:
+install-exec-am: install-exec-local
install-info: install-info-am