| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.88 2012/03/11 11:30:06 shattered Exp $ | | 1 | # $NetBSD: Makefile,v 1.89 2012/03/13 09:04:49 fhajny Exp $ |
2 | | | 2 | |
3 | DISTNAME= heimdal-1.5.2 | | 3 | DISTNAME= heimdal-1.5.2 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= security | | 5 | CATEGORIES= security |
6 | MASTER_SITES= http://www.h5l.org/dist/src/ | | 6 | MASTER_SITES= http://www.h5l.org/dist/src/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.h5l.org/ | | 9 | HOMEPAGE= http://www.h5l.org/ |
10 | COMMENT= Kerberos 5 implementation | | 10 | COMMENT= Kerberos 5 implementation |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | | | 12 | |
13 | CONFLICTS+= arla-[0-9]* | | 13 | CONFLICTS+= arla-[0-9]* |
14 | CONFLICTS+= mit-krb5-[0-9]* | | 14 | CONFLICTS+= mit-krb5-[0-9]* |
| @@ -49,28 +49,31 @@ CFLAGS.Darwin+= -DBIND_8_COMPAT | | | @@ -49,28 +49,31 @@ CFLAGS.Darwin+= -DBIND_8_COMPAT |
49 | # to the BSD <vis.h> header. | | 49 | # to the BSD <vis.h> header. |
50 | OPSYSVARS+= CONFIGURE_ENV | | 50 | OPSYSVARS+= CONFIGURE_ENV |
51 | CONFIGURE_ENV.SunOS+= ac_cv_header_vis_h=no | | 51 | CONFIGURE_ENV.SunOS+= ac_cv_header_vis_h=no |
52 | | | 52 | |
53 | # Heimdal's configure script expects to find the readline.h header as | | 53 | # Heimdal's configure script expects to find the readline.h header as |
54 | # <readline.h>. | | 54 | # <readline.h>. |
55 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} | | 55 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} |
56 | CPPFLAGS+= -I${BUILDLINK_PREFIX.readline}/include/readline | | 56 | CPPFLAGS+= -I${BUILDLINK_PREFIX.readline}/include/readline |
57 | | | 57 | |
58 | PLIST_VARS+= afskauth hcrypto | | 58 | PLIST_VARS+= afskauth hcrypto |
59 | .if ${OPSYS} == "IRIX" | | 59 | .if ${OPSYS} == "IRIX" |
60 | PLIST.afskauth= yes | | 60 | PLIST.afskauth= yes |
61 | .endif | | 61 | .endif |
| | | 62 | |
| | | 63 | .include "../../security/openssl/builtin.mk" |
| | | 64 | |
62 | .if ${MACHINE_PLATFORM:MNetBSD-[1-3]*} != "" || \ | | 65 | .if ${MACHINE_PLATFORM:MNetBSD-[1-3]*} != "" || \ |
63 | ${OPSYS} == "SunOS" | | 66 | (${OPSYS} == "SunOS" && !empty(USE_BUILTIN.openssl:Myes)) |
64 | PLIST.hcrypto= yes | | 67 | PLIST.hcrypto= yes |
65 | .endif | | 68 | .endif |
66 | | | 69 | |
67 | OWN_DIRS_PERMS= ${HEIMDAL_HDB_DIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700 | | 70 | OWN_DIRS_PERMS= ${HEIMDAL_HDB_DIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700 |
68 | SPECIAL_PERMS+= ${PREFIX}/bin/otp ${SETUID_ROOT_PERMS} | | 71 | SPECIAL_PERMS+= ${PREFIX}/bin/otp ${SETUID_ROOT_PERMS} |
69 | SPECIAL_PERMS= ${PREFIX}/bin/${KRB5_PREFIX}su ${SETUID_ROOT_PERMS} | | 72 | SPECIAL_PERMS= ${PREFIX}/bin/${KRB5_PREFIX}su ${SETUID_ROOT_PERMS} |
70 | RCD_SCRIPTS= kadmind kcm kdc kpasswdd | | 73 | RCD_SCRIPTS= kadmind kcm kdc kpasswdd |
71 | INFO_FILES= yes | | 74 | INFO_FILES= yes |
72 | | | 75 | |
73 | # Dynamically determine the "replacement" headers for bits needed by | | 76 | # Dynamically determine the "replacement" headers for bits needed by |
74 | # Heimdal but are missing in the base system and add them to the PLIST. | | 77 | # Heimdal but are missing in the base system and add them to the PLIST. |
75 | GENERATE_PLIST+= \ | | 78 | GENERATE_PLIST+= \ |
76 | ( cd ${WRKSRC}/lib/roken && ${BUILD_MAKE_CMD} print-xheaders | \ | | 79 | ( cd ${WRKSRC}/lib/roken && ${BUILD_MAKE_CMD} print-xheaders | \ |