From fa4494be578769fd2bb356c1f8ece27fcd2a8788 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 22 Feb 2004 02:18:31 +0000 Subject: [PATCH] Add the example PAM file to the installation. --- mail/courier-auth/Makefile | 5 ++++- mail/courier-auth/PLIST | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mail/courier-auth/Makefile b/mail/courier-auth/Makefile index db47729d7cc0..8be0150ac960 100644 --- a/mail/courier-auth/Makefile +++ b/mail/courier-auth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/02/21 14:43:15 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2004/02/22 02:18:31 jlam Exp $ PKGNAME= courier-auth-${BASE_VERS} CATEGORIES= security @@ -16,6 +16,8 @@ INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL .include "../courier-auth/Makefile.authdaemond" +WRKSRC_FILES+= imap/system-auth.authpam + .if defined(_STRIPFLAG_INSTALL) && !empty(_STRIPFLAG_INSTALL:M-s) INSTALL_TARGET= install-strip .endif @@ -36,6 +38,7 @@ post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/authlib/authdaemonrc \ ${EGDIR}/authdaemonrc.dist + ${INSTALL_DATA} ${WRKSRC}/imap/system-auth.authpam ${EGDIR} ${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${SYSCONFTOOL} .include "../../mk/bsd.pkg.mk" diff --git a/mail/courier-auth/PLIST b/mail/courier-auth/PLIST index 43af3708c1fc..e9633959a510 100644 --- a/mail/courier-auth/PLIST +++ b/mail/courier-auth/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/22 22:00:22 jlam Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/02/22 02:18:31 jlam Exp $ etc/rc.d/authdaemond libexec/courier/authdaemon.passwd libexec/courier/authlib/authdaemon @@ -34,6 +34,7 @@ share/courier/pw2userdb share/courier/userdb share/courier/vchkpw2userdb share/examples/courier/authdaemonrc.dist +share/examples/courier/system-auth.authpam @unexec ${RMDIR} -p %D/share/examples/courier 2>/dev/null || ${TRUE} @unexec ${RMDIR} -p %D/share/courier 2>/dev/null || ${TRUE} @unexec ${RMDIR} -p %D/libexec/courier/authlib 2>/dev/null || ${TRUE}