mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
40 lines
1014 B
Makefile
40 lines
1014 B
Makefile
PORTNAME= msktutil
|
|
PORTVERSION= 1.2.2
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Utility to manage Active Directory interoperability
|
|
WWW= https://github.com/msktutil/msktutil
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
|
|
|
|
USES= autoreconf ldap ssl
|
|
USE_GITHUB= yes
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
CONFIGURE_ARGS+=--with-sasldir=${LOCALBASE} --with-ldapdir=${LOCALBASE}
|
|
|
|
OPTIONS_SINGLE= GSSAPI
|
|
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
|
|
|
OPTIONS_DEFAULT=GSSAPI_BASE
|
|
|
|
GSSAPI_BASE_USES= gssapi
|
|
GSSAPI_HEIMDAL_USES= gssapi:heimdal
|
|
GSSAPI_MIT_USES= gssapi:mit
|
|
|
|
GSSAPI_BASE_CONFIGURE_ON= --with-krb5=heimdal
|
|
GSSAPI_HEIMDAL_CONFIGURE_ON= --with-krb5=heimdal
|
|
GSSAPI_MIT_CONFIGURE_ON= --with-krb5=mit
|
|
CONFIGURE_ARGS+= --with-krb5-config=${KRB5CONFIG}
|
|
|
|
PLIST_FILES= sbin/msktutil share/man/man1/msktutil.1.gz
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/msktutil
|
|
|
|
.include <bsd.port.mk>
|