pkgsrc/security/sudo/Makefile
taca ec3c1a879c Update sudo package to 1.6.5.2 (1.6.5p2).
469) Older versions of BSDi have getifaddrs() but no freeifaddrs().

470) BSDi has a fake setreuid() as do certain versions of FreeBSD and NetBSD.

471) Ignore the return value of pam_setcred().  In Linux-PAM 0.75,
     pam_setcred() will return PAM_PERM_DENIED even if the setcred function
     of the module succeeds when pam_authenticate() has not been called.

472) Avoid giving PAM a NULL password response, use the empty string instead.
     This avoids a log warning when the user hits ^C at the password prompt
     when Linux-PAM is in use.  This also prevents older versions of
     Linux-PAM from dereferencing the NULL pointer.

473) The user's password was not zeroed after use when AIX authentication,
     BSD authentication, FWTK or PAM was in use.

Sudo 1.6.5p2 released.
2002-01-24 16:01:02 +00:00

55 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2002/01/24 16:01:02 taca Exp $
#
DISTNAME= sudo-1.6.5p2
PKGNAME= ${DISTNAME:S/p1/.2/}
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/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.courtesan.com/sudo/
COMMENT= Allow others to run commands as root
USE_BUILDLINK_ONLY= # defined
GNU_CONFIGURE= # defined
.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
.if defined(KERBEROS)
USE_KERBEROS= # defined
CONFIGURE_ARGS+= --with-kerb4 --with-kerb5
.else
CONFIGURE_ARGS+= --without-kerb4 --without-kerb5
.endif
CONFIGURE_ARGS+= --with-nbsdops --disable-path-info
PLIST_SRC= ${PKGDIR}/PLIST.common
PLIST_SRC+= ${PKGDIR}/PLIST.${LOWER_OPSYS}
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.install.mk"
.include "../../mk/bsd.pkg.mk"