diff options
author | jlam <jlam@pkgsrc.org> | 2002-01-27 22:39:14 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-01-27 22:39:14 +0000 |
commit | 3d098a07066ce9f7660e6932c02ea5733b7698c4 (patch) | |
tree | 59da48b66f93d140d707f6062c11b8a23de42dbc /mail/courier-authmysql | |
parent | 82d973c52a0d62bd40924e248e2801e0efa1ddd6 (diff) | |
download | pkgsrc-3d098a07066ce9f7660e6932c02ea5733b7698c4.tar.gz |
Initial import of mail/courier-authmysql, which contains the Courier
authentication module that can authenticate against a list of mail accounts
stored in a MySQL database.
Diffstat (limited to 'mail/courier-authmysql')
-rw-r--r-- | mail/courier-authmysql/DESCR | 2 | ||||
-rw-r--r-- | mail/courier-authmysql/MESSAGE | 12 | ||||
-rw-r--r-- | mail/courier-authmysql/Makefile | 33 | ||||
-rw-r--r-- | mail/courier-authmysql/PLIST | 5 |
4 files changed, 52 insertions, 0 deletions
diff --git a/mail/courier-authmysql/DESCR b/mail/courier-authmysql/DESCR new file mode 100644 index 00000000000..f4835821fef --- /dev/null +++ b/mail/courier-authmysql/DESCR @@ -0,0 +1,2 @@ +This package contains the Courier authenticiation module that can +authenticate against a list of mail accounts stored in a MySQL database. diff --git a/mail/courier-authmysql/MESSAGE b/mail/courier-authmysql/MESSAGE new file mode 100644 index 00000000000..5580a072cbc --- /dev/null +++ b/mail/courier-authmysql/MESSAGE @@ -0,0 +1,12 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2002/01/27 22:39:14 jlam Exp $ + +To use ${PKGNAME}, you will need to make the following +changes to ${PKG_SYSCONFDIR}/authdaemonrc: + + 1) Add "authmysql" to the lists of available authentication modules + in "authmodulelist" and "authmodulelistorig", and + + 2) Set version="authdaemond.mysql" to start the correct authentication + daemon. +=========================================================================== diff --git a/mail/courier-authmysql/Makefile b/mail/courier-authmysql/Makefile new file mode 100644 index 00000000000..4314a4c9c79 --- /dev/null +++ b/mail/courier-authmysql/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/27 22:39:14 jlam Exp $ + +PKGNAME= courier-authmysql-${BASE_VERS} +PKGREVISION?= # empty +COMMENT= Courier MySQL authentication module + +USE_BUILDLINK_ONLY= yes + +.include "../../mail/courier-auth/Makefile.authdaemond" + +CONFIGURE_ARGS+= --with-authmysql +LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib/mysql + +GEN_FILES= authmysqlrc +CONF_FILES_PERMS= # empty +.for FILE in ${GEN_FILES} +CONF_FILES_PERMS+= ${EGDIR}/${FILE}.dist ${PKG_SYSCONFDIR}/${FILE} \ + ${ROOT_USER} ${ROOT_GROUP} 0600 +.endfor + +INSTALL_EXTRA_TMPL= ${.CURDIR}/../../mail/courier-auth/INSTALL +FILES_SUBST+= GEN_FILES=${GEN_FILES:Q} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.mysql ${AUTHLIBDIR} + ${INSTALL_DATA} ${WRKSRC}/authlib/authmysqlrc ${EGDIR}/authmysqlrc.dist + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/courier + ${INSTALL_DATA} ${WRKSRC}/authlib/README.authmysql.html \ + ${PREFIX}/share/doc/html/courier + +.include "../../databases/mysql-client/buildlink.mk" +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/courier-authmysql/PLIST b/mail/courier-authmysql/PLIST new file mode 100644 index 00000000000..0b9e3ea9388 --- /dev/null +++ b/mail/courier-authmysql/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/27 22:39:14 jlam Exp $ +libexec/courier/authlib/authdaemond.mysql +share/doc/html/courier/README.authmysql.html +share/examples/courier/authmysqlrc.dist +@unexec ${RMDIR} -p %D/share/doc/html/courier 2>/dev/null || ${TRUE} |