2021-04-11 09:10:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2021/04/11 07:10:06 kim Exp $
|
2000-07-14 12:53:26 +02:00
|
|
|
#
|
|
|
|
|
2004-03-04 03:57:00 +01:00
|
|
|
DISTNAME= priv-1.0-beta2
|
|
|
|
PKGNAME= priv-1.0beta2
|
2021-02-16 10:42:06 +01:00
|
|
|
PKGREVISION= 5
|
2000-07-14 12:53:26 +02:00
|
|
|
CATEGORIES= security
|
2004-03-04 03:57:00 +01:00
|
|
|
MASTER_SITES= ftp://ftp.thistledown.com.au/pub/simonb/
|
2000-07-14 12:53:26 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= simonb@NetBSD.org
|
2003-07-21 19:20:17 +02:00
|
|
|
COMMENT= Execute commands as a different user
|
2021-02-05 14:18:48 +01:00
|
|
|
LICENSE= original-bsd
|
2000-07-14 12:53:26 +02:00
|
|
|
|
2004-04-28 13:27:54 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2000-07-14 14:39:30 +02:00
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2004-11-30 16:26:03 +01:00
|
|
|
SUBST_CLASSES+= sysconfdir
|
|
|
|
SUBST_STAGE.sysconfdir= post-configure
|
|
|
|
SUBST_FILES.sysconfdir= priv.1
|
|
|
|
SUBST_SED.sysconfdir= -e "s|/usr/local/etc/|${PKG_SYSCONFDIR}/|g"
|
2004-06-14 05:16:42 +02:00
|
|
|
|
2010-01-27 17:52:13 +01:00
|
|
|
INSTALL_MAKE_FLAGS= bindir=${DESTDIR}${PREFIX}/bin \
|
|
|
|
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2007-03-20 18:04:13 +01:00
|
|
|
|
2010-02-15 18:06:18 +01:00
|
|
|
SPECIAL_PERMS+= bin/priv ${SETUID_ROOT_PERMS}
|
|
|
|
|
2004-04-28 13:27:54 +02:00
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/priv
|
2000-07-14 14:39:30 +02:00
|
|
|
|
2021-04-11 09:10:06 +02:00
|
|
|
# XXX: Regenerate patches/patch-configure and patches/patch-config.h.in
|
|
|
|
# if patches/patch-configure.in changes.
|
|
|
|
#
|
|
|
|
# Having these additional patch files instead of running autoreconf
|
|
|
|
# makes priv available sooner when doing a fresh pkgsrc build, as there
|
|
|
|
# will be no need to pull in other (possibly large) tools.
|
|
|
|
#
|
|
|
|
#USE_TOOLS= autoconf automake autoreconf
|
|
|
|
#
|
2021-04-11 08:52:54 +02:00
|
|
|
#pre-configure:
|
|
|
|
# cd "${WRKSRC}" && autoreconf -fi
|
2021-02-16 10:42:06 +01:00
|
|
|
|
2000-07-14 12:53:26 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|