| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.129 2018/12/09 18:52:07 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.130 2019/01/06 12:53:56 bsiegert Exp $ |
2 | | | 2 | |
3 | DISTNAME= heimdal-1.5.3 | | 3 | DISTNAME= heimdal-1.5.3 |
4 | PKGREVISION= 19 | | 4 | PKGREVISION= 19 |
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]* |
| @@ -63,35 +63,41 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_vis_h | | | @@ -63,35 +63,41 @@ CONFIGURE_ENV.SunOS+= ac_cv_header_vis_h |
63 | | | 63 | |
64 | .if ${READLINE_TYPE} == "readline" | | 64 | .if ${READLINE_TYPE} == "readline" |
65 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.editlinereadline} | | 65 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.editlinereadline} |
66 | .elif ${READLINE_TYPE} == "editline" | | 66 | .elif ${READLINE_TYPE} == "editline" |
67 | CONFIGURE_ARGS+= --with-libedit=${BUILDLINK_PREFIX.editlinereadline} | | 67 | CONFIGURE_ARGS+= --with-libedit=${BUILDLINK_PREFIX.editlinereadline} |
68 | .endif | | 68 | .endif |
69 | | | 69 | |
70 | PLIST_VARS+= glob vis | | 70 | PLIST_VARS+= glob vis |
71 | .if ${OPSYS} == "SunOS" | | 71 | .if ${OPSYS} == "SunOS" |
72 | PLIST.vis= yes | | 72 | PLIST.vis= yes |
73 | PLIST.glob= yes | | 73 | PLIST.glob= yes |
74 | .endif | | 74 | .endif |
75 | | | 75 | |
| | | 76 | PLIST_VARS+= hcrypto |
76 | # Linux does not have include/vis.h and expected include/glob.h. | | 77 | # Linux does not have include/vis.h and expected include/glob.h. |
77 | .if ${OPSYS} == "Linux" | | 78 | .if ${OPSYS} == "Linux" |
78 | PLIST.vis= yes | | 79 | PLIST.vis= yes |
79 | PLIST.glob= yes | | 80 | PLIST.glob= yes |
80 | # Without this I get undefined references to pthread_getspecific | | 81 | # Without this I get undefined references to pthread_getspecific |
81 | PTHREAD_AUTO_VARS= yes | | 82 | PTHREAD_AUTO_VARS= yes |
| | | 83 | .if ${OS_VARIANT} == "Microsoft" |
| | | 84 | # On Ubuntu hosted via WSL this is needed to avoid a DESTDIR/PLIST |
| | | 85 | # conflict error. |
| | | 86 | PLIST.hcrypto= yes |
| | | 87 | .endif |
82 | .endif | | 88 | .endif |
83 | | | 89 | |
84 | PLIST_VARS+= afskauth hcrypto | | 90 | PLIST_VARS+= afskauth |
85 | .if ${OPSYS} == "IRIX" | | 91 | .if ${OPSYS} == "IRIX" |
86 | PLIST.afskauth= yes | | 92 | PLIST.afskauth= yes |
87 | .endif | | 93 | .endif |
88 | | | 94 | |
89 | OWN_DIRS_PERMS= ${HEIMDAL_HDB_DIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700 | | 95 | OWN_DIRS_PERMS= ${HEIMDAL_HDB_DIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700 |
90 | SPECIAL_PERMS+= ${PREFIX}/bin/otp ${SETUID_ROOT_PERMS} | | 96 | SPECIAL_PERMS+= ${PREFIX}/bin/otp ${SETUID_ROOT_PERMS} |
91 | SPECIAL_PERMS= ${PREFIX}/bin/${KRB5_PREFIX}su ${SETUID_ROOT_PERMS} | | 97 | SPECIAL_PERMS= ${PREFIX}/bin/${KRB5_PREFIX}su ${SETUID_ROOT_PERMS} |
92 | RCD_SCRIPTS= kadmind kcm kdc kpasswdd | | 98 | RCD_SCRIPTS= kadmind kcm kdc kpasswdd |
93 | INFO_FILES= yes | | 99 | INFO_FILES= yes |
94 | | | 100 | |
95 | TEST_TARGET= check | | 101 | TEST_TARGET= check |
96 | | | 102 | |
97 | # remove manpages conficting with OpenSSL keeping only the important ones | | 103 | # remove manpages conficting with OpenSSL keeping only the important ones |