Return to Makefile CVS log | Up to [cvs.NetBSD.org] / pkgsrc / security / sudo |
File: [cvs.NetBSD.org] / pkgsrc / security / sudo / Makefile (download)
Revision 1.65, Sun Aug 22 19:32:52 2004 UTC (19 years, 8 months ago) by jlam
Change the way that legacy USE_* and FOO_USE_* options are converted into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590. |
# $NetBSD: Makefile,v 1.65 2004/08/22 19:32:52 jlam Exp $ # DISTNAME= sudo-1.6.7p5 PKGNAME= ${DISTNAME:S/p/./} CATEGORIES= security MASTER_SITES= http://www.courtesan.com/sudo/dist/ \ ftp://ftp.courtesan.com/pub/sudo/ \ ftp://ftp.cs.colorado.edu/pub/sudo/ \ ftp://ftp.uu.net/pub/security/sudo/ \ ftp://ftp.tux.org/pub/security/sudo/ \ http://www.courtesan.com/sudo/dist/beta/ MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://www.courtesan.com/sudo/ COMMENT= Allow others to run commands as root PKG_INSTALLATION_TYPES= overwrite pkgviews USE_BUILDLINK3= yes USE_PKGINSTALL= yes GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" CONFIGURE_ARGS+= --disable-root-mailer --disable-setreuid CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} .if ${OPSYS} == "NetBSD" CONFIGURE_ARGS+= --with-skey .elif ${OPSYS} == "SunOS" CONFIGURE_ARGS+= --without-skey .endif PKG_OPTIONS_VAR= PKG_OPTIONS.sudo PKG_SUPPORTED_OPTIONS= kerberos .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mkerberos) . include "../../mk/krb5.buildlink3.mk" CONFIGURE_ARGS+= --without-kerb4 CONFIGURE_ARGS+= --with-kerb5 .else CONFIGURE_ARGS+= --without-kerb5 .endif CONFIGURE_ARGS+= --with-nbsdops --disable-path-info DOCDIR= ${PREFIX}/share/doc/${PKGBASE} EGDIR= ${PREFIX}/share/examples/${PKGBASE} CONF_FILES_PERMS= ${EGDIR}/sudoers ${PKG_SYSCONFDIR}/sudoers 0 0 0440 post-install: ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DOCDIR} ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/sudoers ${EGDIR}/sudoers ${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${EGDIR}/sudoers.sample .include "../../mk/bsd.pkg.mk"