0a17064336
Major changes between version 1.7.2p3 and 1.7.2p4: * Fix a bug that could allow users with permission to run sudoedit to run arbitrary commands. Major changes between version 1.7.2p2 and 1.7.2p3: * Fix printing of entries with multiple host entries on a single line. * Fix use after free when sending error messages via email. * Use setrlimit64(), if available, instead of setrlimit() when setting AIX resource limits since rlim_t is 32bits. * Fix size arg when realloc()ing include stack. * Avoid a duplicate fclose() of the sudoers file.
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.119 2010/02/26 01:08:38 taca Exp $
|
|
#
|
|
|
|
DISTNAME= sudo-1.7.2p4
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.courtesan.com/sudo/dist/ \
|
|
ftp://ftp.courtesan.com/pub/sudo/ \
|
|
ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \
|
|
ftp://ftp.twaren.net/Unix/Security/Sudo/ \
|
|
http://ftp.tux.org/pub/security/sudo/
|
|
|
|
DIST_SUBDIR= ${DISTNAME}-200805130
|
|
|
|
MAINTAINER= kim@tac.nyc.ny.us
|
|
HOMEPAGE= http://www.courtesan.com/sudo/
|
|
COMMENT= Allow others to run commands as root
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= yes
|
|
OWN_DIRS+= ${VARBASE}/run
|
|
GNU_CONFIGURE= yes
|
|
BUILD_DEFS+= VARBASE
|
|
PKG_DESTDIR_SUPPORT= destdir
|
|
PLIST_VARS+= ldap
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# to always install man instead of cat
|
|
CONFIGURE_ENV+= NROFFPROG=${CAT:Q}
|
|
CONFIGURE_ENV+= mansectsu=8
|
|
CONFIGURE_ENV+= mansectform=5
|
|
CONFIGURE_ARGS+= --disable-root-mailer --with-ignore-dot
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-timedir=${VARBASE}/run/sudo
|
|
CONFIGURE_ARGS+= --with-logpath=${VARBASE}/log/sudo.log
|
|
|
|
.include "options.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-nbsdops --disable-path-info
|
|
|
|
DOCDIR= share/doc/${PKGBASE}
|
|
EGDIR= share/examples/${PKGBASE}
|
|
CONF_FILES_PERMS= ${EGDIR}/sudoers ${PKG_SYSCONFDIR}/sudoers \
|
|
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0440
|
|
SPECIAL_PERMS+= bin/sudo ${SETUID_ROOT_PERMS}
|
|
|
|
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sudoers ${DESTDIR}${PREFIX}/${EGDIR}/sudoers
|
|
${INSTALL_DATA} ${WRKSRC}/README* ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|