1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/security/pam_krb5-rh/Makefile
Ryan Steinmetz 9c125da852 - Update MASTER_SITES
PR:		218085
Submitted by:	w.schwarzenfeld@utanet.at
Reported by:	Alan Somers
2018-05-29 15:26:24 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= pam_krb5
DISTVERSION= 2.4.13
CATEGORIES= security
MASTER_SITES= https://releases.pagure.org/${PORTNAME}/ \
ZI
PKGNAMESUFFIX= -rh
MAINTAINER= zi@FreeBSD.org
COMMENT= The Red Hat Pluggable Authentication Module for Kerberos 5
LICENSE= LGPL21 BSD3CLAUSE
LICENSE_COMB= dual
CONFLICTS= pam_krb5-4.*
USES= iconv libtool ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-afs --without-keyutils --without-krb4
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_LIBS= -lintl
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e 's|libdir)/security|libdir)|g' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|/lib64/security|${LOCALBASE}/lib|g' \
${WRKSRC}/src/*.8
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/tests/tools/Makefile.in
@${REINPLACE_CMD} -e 's|PAM_BAD_ITEM|PAM_SYMBOL_ERR|g' ${WRKSRC}/src/conv.c
@${REINPLACE_CMD} -e 's|PAM_AUTHTOK_RECOVER_ERR|PAM_AUTHTOK_RECOVERY_ERR|g' \
${WRKSRC}/src/password.c
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_krb5.so
.include <bsd.port.mk>