head 1.15; access; symbols pkgsrc-2023Q4:1.15.0.22 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.15.0.20 pkgsrc-2023Q3-base:1.15 pkgsrc-2023Q2:1.15.0.18 pkgsrc-2023Q2-base:1.15 pkgsrc-2023Q1:1.15.0.16 pkgsrc-2023Q1-base:1.15 pkgsrc-2022Q4:1.15.0.14 pkgsrc-2022Q4-base:1.15 pkgsrc-2022Q3:1.15.0.12 pkgsrc-2022Q3-base:1.15 pkgsrc-2022Q2:1.15.0.10 pkgsrc-2022Q2-base:1.15 pkgsrc-2022Q1:1.15.0.8 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.15.0.6 pkgsrc-2021Q4-base:1.15 pkgsrc-2021Q3:1.15.0.4 pkgsrc-2021Q3-base:1.15 pkgsrc-2021Q2:1.15.0.2 pkgsrc-2021Q2-base:1.15 pkgsrc-2021Q1:1.14.0.8 pkgsrc-2021Q1-base:1.14 pkgsrc-2020Q4:1.14.0.6 pkgsrc-2020Q4-base:1.14 pkgsrc-2020Q3:1.14.0.4 pkgsrc-2020Q3-base:1.14 pkgsrc-2020Q2:1.14.0.2 pkgsrc-2020Q2-base:1.14 pkgsrc-2020Q1:1.13.0.56 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.78 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.74 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.72 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.70 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.68 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.66 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.64 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.62 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.60 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.58 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.54 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.52 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.50 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.48 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.46 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.44 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.42 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.13.0.40 pkgsrc-2015Q3-base:1.13 pkgsrc-2015Q2:1.13.0.38 pkgsrc-2015Q2-base:1.13 pkgsrc-2015Q1:1.13.0.36 pkgsrc-2015Q1-base:1.13 pkgsrc-2014Q4:1.13.0.34 pkgsrc-2014Q4-base:1.13 pkgsrc-2014Q3:1.13.0.32 pkgsrc-2014Q3-base:1.13 pkgsrc-2014Q2:1.13.0.30 pkgsrc-2014Q2-base:1.13 pkgsrc-2014Q1:1.13.0.28 pkgsrc-2014Q1-base:1.13 pkgsrc-2013Q4:1.13.0.26 pkgsrc-2013Q4-base:1.13 pkgsrc-2013Q3:1.13.0.24 pkgsrc-2013Q3-base:1.13 pkgsrc-2013Q2:1.13.0.22 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.13.0.20 pkgsrc-2013Q1-base:1.13 pkgsrc-2012Q4:1.13.0.18 pkgsrc-2012Q4-base:1.13 pkgsrc-2012Q3:1.13.0.16 pkgsrc-2012Q3-base:1.13 pkgsrc-2012Q2:1.13.0.14 pkgsrc-2012Q2-base:1.13 pkgsrc-2012Q1:1.13.0.12 pkgsrc-2012Q1-base:1.13 pkgsrc-2011Q4:1.13.0.10 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q3:1.13.0.8 pkgsrc-2011Q3-base:1.13 pkgsrc-2011Q2:1.13.0.6 pkgsrc-2011Q2-base:1.13 pkgsrc-2011Q1:1.13.0.4 pkgsrc-2011Q1-base:1.13 pkgsrc-2010Q4:1.13.0.2 pkgsrc-2010Q4-base:1.13 pkgsrc-2010Q3:1.12.0.24 pkgsrc-2010Q3-base:1.12 pkgsrc-2010Q2:1.12.0.22 pkgsrc-2010Q2-base:1.12 pkgsrc-2010Q1:1.12.0.20 pkgsrc-2010Q1-base:1.12 pkgsrc-2009Q4:1.12.0.18 pkgsrc-2009Q4-base:1.12 pkgsrc-2009Q3:1.12.0.16 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.12.0.14 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.12.0.12 pkgsrc-2009Q1-base:1.12 pkgsrc-2008Q4:1.12.0.10 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.12.0.8 pkgsrc-2008Q3-base:1.12 cube-native-xorg:1.12.0.6 cube-native-xorg-base:1.12 pkgsrc-2008Q2:1.12.0.4 pkgsrc-2008Q2-base:1.12 cwrapper:1.12.0.2 pkgsrc-2008Q1:1.11.0.2 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.10.0.14 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.10.0.12 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.10.0.10 pkgsrc-2007Q2-base:1.10 pkgsrc-2007Q1:1.10.0.8 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.10.0.6 pkgsrc-2006Q4-base:1.10 pkgsrc-2006Q3:1.10.0.4 pkgsrc-2006Q3-base:1.10 pkgsrc-2006Q2:1.10.0.2 pkgsrc-2006Q2-base:1.10 pkgsrc-2006Q1:1.8.0.2 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.2 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.5.0.2 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.15 date 2021.05.06.08.45.00; author wiz; state Exp; branches; next 1.14; commitid RDm3RNZZ7aQW64SC; 1.14 date 2020.05.25.05.44.49; author rillig; state Exp; branches; next 1.13; commitid DDJhOiW8Fg1ZeA9C; 1.13 date 2010.11.10.10.37.48; author adam; state Exp; branches; next 1.12; 1.12 date 2008.04.10.20.56.33; author jlam; state Exp; branches; next 1.11; 1.11 date 2008.02.18.20.26.33; author jlam; state Exp; branches; next 1.10; 1.10 date 2006.05.31.18.22.25; author ghen; state Exp; branches; next 1.9; 1.9 date 2006.04.13.18.27.24; author jlam; state Exp; branches; next 1.8; 1.8 date 2006.01.10.12.39.04; author ghen; state Exp; branches; next 1.7; 1.7 date 2005.11.07.16.43.49; author jlam; state Exp; branches; next 1.6; 1.6 date 2005.08.11.00.03.16; author jlam; state Exp; branches; next 1.5; 1.5 date 2005.05.31.11.24.32; author dillo; state Exp; branches; next 1.4; 1.4 date 2005.05.31.10.01.39; author dillo; state Exp; branches; next 1.3; 1.3 date 2005.03.18.20.20.48; author jlam; state Exp; branches; next 1.2; 1.2 date 2005.02.26.22.14.01; author jlam; state Exp; branches; next 1.1; 1.1 date 2005.02.10.03.21.31; author jlam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.02.10.03.21.31; author jlam; state Exp; branches; next ; desc @@ 1.15 log @courier-authlib: fix options Fix post-install target handling. Fix file name for ldap config. Clean up pkglint. @ text @# $NetBSD: options.mk,v 1.14 2020/05/25 05:44:49 rillig Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.courier-authlib PKG_SUPPORTED_OPTIONS= pam bdb ldap mysql pgsql PKG_SUGGESTED_OPTIONS= bdb .include "../../mk/bsd.options.mk" ### ### UNIX (shadow) password authentication ### CONFIGURE_ARGS+= --with-authpwd CONFIGURE_ARGS+= --with-authshadow AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthpwd.la AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthshadow.la ### ### "pipe-to-external-program" authentication ### CONFIGURE_ARGS+= --with-authpipe REPLACE_PERL+= samplepipe.pl AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthpipe.la AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/samplepipe.pl .PHONY: post-install-pipe post-install: post-install-pipe post-install-pipe: ${INSTALL_SCRIPT} ${WRKSRC}/samplepipe.pl ${DESTDIR}${EGDIR} ### ### PAM authentication ### .if !empty(PKG_OPTIONS:Mpam) . include "../../mk/pam.buildlink3.mk" CONFIGURE_ARGS+= --with-authpam AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthpam.la .else CONFIGURE_ARGS+= --without-authpam .endif ### ### Berkeley DB password authentication ### .if !empty(PKG_OPTIONS:Mbdb) USE_DB185= yes . include "../../mk/bdb.buildlink3.mk" CONFIGURE_ARGS+= --with-db=db CONFIGURE_ARGS+= --with-authuserdb AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthuserdb.la AUTHLIB_PLIST+= ${AUTHLIBEXECDIR}/makedatprog AUTHLIB_PLIST+= sbin/makeuserdb AUTHLIB_PLIST+= sbin/pw2userdb AUTHLIB_PLIST+= sbin/userdb AUTHLIB_PLIST+= sbin/userdb-test-cram-md5 AUTHLIB_PLIST+= sbin/userdbpw AUTHLIB_PLIST+= sbin/vchkpw2userdb .else CONFIGURE_ARGS+= --without-authuserdb .endif ### ### LDAP authentication ### .if !empty(PKG_OPTIONS:Mldap) . include "../../databases/openldap-client/buildlink3.mk" CONFIGURE_ARGS+= --with-authldap AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthldap.la AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/authldaprc.dist AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/authldap.schema AUTHLIB_PLIST+= ${AUTHDOCDIR}/README.ldap GEN_FILES+= authldaprc .PHONY: post-install-ldap post-install: post-install-ldap post-install-ldap: ${MV} ${DESTDIR}${PREFIX}/etc/authlib/authldaprc.dist ${DESTDIR}${EGDIR}/authldaprc.dist ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${EGDIR}/authldaprc.dist ${CHMOD} ${SHAREMODE} ${DESTDIR}${EGDIR}/authldaprc.dist ${INSTALL_DATA} ${WRKSRC}/README.ldap ${DESTDIR}${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/authldap.schema ${DESTDIR}${EGDIR} .else CONFIGURE_ARGS+= --without-authldap .endif ### ### MySQL authentication ### .if !empty(PKG_OPTIONS:Mmysql) . include "../../mk/mysql.buildlink3.mk" CONFIGURE_ARGS+= --with-authmysql AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthmysql.la AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/authmysqlrc.dist AUTHLIB_PLIST+= ${AUTHDOCDIR}/README.authmysql.html GEN_FILES+= authmysqlrc .PHONY: post-install-mysql post-install: post-install-mysql post-install-mysql: ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${EGDIR}/authmysqlrc.dist ${CHMOD} ${SHAREMODE} ${DESTDIR}${EGDIR}/authmysqlrc.dist ${INSTALL_DATA} ${WRKSRC}/README.authmysql.html ${DESTDIR}${DOCDIR} .else CONFIGURE_ARGS+= --without-authmysql .endif ### ### PostgreSQL authentication ### .if !empty(PKG_OPTIONS:Mpgsql) # # Prevent auto-adding gettext libraries to LIBS -- we only want them # used when we link with -lpq. # . include "../../mk/pgsql.buildlink3.mk" CONFIGURE_ARGS+= --with-authpgsql CONFIGURE_ENV+= PGSQL_LIBS=${BUILDLINK_LDADD.${PGSQL_TYPE}:Q} AUTHLIB_PLIST+= ${AUTHLIBDIR}/libauthpgsql.la AUTHLIB_PLIST+= ${AUTHEXAMPLEDIR}/authpgsqlrc.dist AUTHLIB_PLIST+= ${AUTHDOCDIR}/README.authpostgres.html GEN_FILES+= authpgsqlrc .PHONY: post-install-pgsql post-install: post-install-pgsql post-install-pgsql: ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${EGDIR}/authpgsqlrc.dist ${CHMOD} ${SHAREMODE} ${DESTDIR}${EGDIR}/authpgsqlrc.dist ${INSTALL_DATA} ${WRKSRC}/README.authpostgres.html ${DESTDIR}${DOCDIR} .else CONFIGURE_ARGS+= --without-authpgsql .endif ### ### We never build the following modules (unsupported by author). ### CONFIGURE_ARGS+= --without-authcustom @ 1.14 log @security/courier-authlib: fix unknown configure option @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.13 2010/11/10 10:37:48 adam Exp $ a23 1 POST_INSTALL_TARGETS+= post-install-pipe d25 2 a71 1 POST_INSTALL_TARGETS+= post-install-ldap d73 2 d76 1 a94 1 POST_INSTALL_TARGETS+= post-install-mysql d96 2 a120 1 POST_INSTALL_TARGETS+= post-install-pgsql d122 2 @ 1.13 log @pkglint fixes @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.12 2008/04/10 20:56:33 jlam Exp $ a129 1 CONFIGURE_ARGS+= --without-authvchkpw @ 1.12 log @Remove unnecessary PLIST_SUBST definition -- the PLIST is dynamic through the use of AUTHLIB_PLIST, so we don't need to comment stuff out. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.11 2008/02/18 20:26:33 jlam Exp $ d112 1 a112 1 CONFIGURE_ENV+= PGSQL_LIBS="${BUILDLINK_LDADD.${PGSQL_TYPE}}" @ 1.11 log @+ Add full DESTDIR support. + Create any required directories with the right ownership and permissions as a "prestart" action in the authdaemond rc.d script. Bump the PKGREVISION to 1. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.10 2006/05/31 18:22:25 ghen Exp $ a57 1 PLIST_SUBST+= BDB="@@comment " @ 1.10 log @The databases/openldap package has been split in -client and -server component packages. Convert LDAP-based applications to depend on openldap-client, and bump PKGREVISION for those that depend on it by default. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.9 2006/04/13 18:27:24 jlam Exp $ d27 1 a27 1 ${INSTALL_SCRIPT} ${WRKSRC}/samplepipe.pl ${EGDIR} d75 4 a78 4 ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${EGDIR}/authldaprc.dist ${CHMOD} ${SHAREMODE} ${EGDIR}/authldaprc.dist ${INSTALL_DATA} ${WRKSRC}/README.ldap ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/authldap.schema ${EGDIR} d96 3 a98 3 ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${EGDIR}/authmysqlrc.dist ${CHMOD} ${SHAREMODE} ${EGDIR}/authmysqlrc.dist ${INSTALL_DATA} ${WRKSRC}/README.authmysql.html ${DOCDIR} d121 3 a123 3 ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${EGDIR}/authpgsqlrc.dist ${CHMOD} ${SHAREMODE} ${EGDIR}/authpgsqlrc.dist ${INSTALL_DATA} ${WRKSRC}/README.authpostgres.html ${DOCDIR} @ 1.9 log @BROKEN_GETTEXT_DETECTION already defaults to "no". @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.8 2006/01/10 12:39:04 ghen Exp $ d65 1 a65 1 . include "../../databases/openldap/buildlink3.mk" @ 1.8 log @Use mk/mysql.buildlink3.mk instead of databases/mysqlX-client/bl3.mk, same for pgsql.bl3.mk. Bump PKGREVISION. Ok by wiz. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.7 2005/11/07 16:43:49 jlam Exp $ a110 1 BROKEN_GETTEXT_DETECTION= no @ 1.7 log @Only install the authldap.schema file if the "ldap" package option is specified. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.6 2005/08/11 00:03:16 jlam Exp $ d87 1 a87 1 . include "../../databases/mysql4-client/buildlink3.mk" @ 1.6 log @Update security/courier-authlib to 0.57. Changes from version 0.55 include: * authlib: create the authtest and authpasswd manual pages. * authdaemon.c (auth_generic): Silly bug in auth_generic(). * authldaplib.c (auth_ldap_do3): Fix call of authcryptpasswd(). * authpgsqllib.c (auth_pgsql_setpass): Ditto. * authmysqllib.c (auth_mysql_setpass): Ditto. * authmysqllib.c (auth_mysql_setpass): Fix a memory leak. * authpipe: more fixes to the authpipe module. * authpipe: various fixes to the authpipe module. * authpipe.c (auth_pipe_pre): Fix zombies created by the authpipe module. * New authpipe authentication module. * authldap.schema: Add mailhost to the recommended LDAP schema. * README_authlib.sgml: Document updated authpipe protocol. * cryptpassword.c (authcryptpasswd): Fix handling of encryption hints. * checkpassword.c (do_authcheckpassword): Ignore {CRYPT} prefix on crypted passwords. * checkpasswordsha1.c (authcheckpasswordsha1): Fix {SHA256} passwords. * authdaemond.c: Strip full name/gecos field after the first comma. * authdaemond: Pass LOGGEROPTS option to authdaemond. * liblog/logger.c: Fix wrong args to setuidgid(). * liblog/logger.c: Added -droproot option to courierlogger. * liblock/lockdaemon.c: Try to recover if upgraded daemon process runs under a different uid. * Changed -uid and -gid options to -user and -group for consistency with couriertcpd. Change them to affect courierlogger itself, after it has spawned any child. * Optional default domain for authentication requests. * Fix the error code when an empty password is provided. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.5 2005/05/31 11:24:32 dillo Exp $ d78 1 @ 1.5 log @Rename option PAM to pam (so all options are lower case). Backwards compatibility provided via PKG_OPTIONS_LEGACY_OPTS. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.4 2005/05/31 10:01:39 dillo Exp $ d12 2 d18 12 d50 1 a50 1 AUTHLIB_PLIST+= sbin/vchkpw2userdb a51 1 AUTHLIB_PLIST+= sbin/makeuserdb d53 1 d55 1 a55 1 AUTHLIB_PLIST+= sbin/userdb-test-cram-md5 d75 2 d95 2 d121 2 @ 1.4 log @Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.3 2005/03/18 20:20:48 jlam Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= PAM bdb ldap mysql pgsql d18 1 a18 1 .if !empty(PKG_OPTIONS:MPAM) @ 1.3 log @Avoid possibly linking everything against -lintl when PostgreSQL support is built into courier-authlib -- -lintl is only needed by the authpgsql authentication module. This avoids problems when linking clients with -lcourierauth and the linker thinks -lintl is needed when it really doesn't. Bump the PKGREVISION to 3. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.2 2005/02/26 22:14:01 jlam Exp $ d5 1 a6 3 .if !defined(PKG_OPTIONS.courier-auth) PKG_DEFAULT_OPTIONS+= bdb .endif @ 1.2 log @Install some documentation files for courier-authlib, but only install the relevant ones depending on the options chosen. This fixes PR pkg/29465. Bump the PKGREVISION to 2. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.1.1.1 2005/02/10 03:21:31 jlam Exp $ d90 5 d97 1 d100 1 a100 1 AUTHLIB_PLIST+= ${AUTHDOCDIR}/authpostgres.html @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d58 1 d60 4 d76 1 d78 4 d94 1 d96 4 @ 1.1.1.1 log @Import courier-authlib-0.53 as security/courier-authlib. The Courier authentication library provides authentication services for other Courier applications. In this context, the term "authentication" refers to the following functions: 1. Take a userid or a loginid, and a password. Determine whether the loginid and the password are valid. 2. Given a userid, obtain the following information about the userid: A. The account's home directory. B. The numeric system userid and groupid that owns all files associated with this account. C. The location of the account's maildir. D. Any maildir quota defined for this account. See the Courier documentation for more information on maildir quotas. E. Other miscellaneous account-specific options. 3. Change the password associated with a loginid. 4. Obtain a complete list of all loginids. @ text @@