blob: ecf6f489c05627e04a02d7de332753012e33fe87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.16 1999/09/13 13:24:48 kim Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
DISTNAME= cu-sudo.v1.5.9p4
PKGNAME= sudo-1.5.9p4
WRKSRC= ${WRKDIR}/sudo.v1.5.9p4
CATEGORIES= security
MASTER_SITES= ftp://ftp.cs.colorado.edu/pub/sudo/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.courtesan.com/sudo/
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_KERBEROS4 USE_KERBEROS5
GNU_CONFIGURE= yes
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+=--with-skey
.elif ${OPSYS} == "SunOS"
CONFIGURE_ARGS+=--without-skey
.endif
.ifdef ${USE_KERBEROS4}
CONFIGURE_ARGS+=--with-kerb4
.endif
.ifdef ${USE_KERBEROS5}
CONFIGURE_ARGS+=--with-kerb5
.endif
CONFIGURE_ARGS+=--with-C2 --with-nbsdops --disable-path-info
pre-configure:
cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sudo
${INSTALL_DATA} ${WRKSRC}/sudoers ${PREFIX}/share/examples/sudo/sudoers
${INSTALL_DATA} ${WRKSRC}/sample.sudoers \
${PREFIX}/share/examples/sudo/sudoers.sample
.include "../../mk/bsd.pkg.mk"
|