Lines 8-17
CATEGORIES= security
Link Here
|
8 |
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ |
8 |
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ |
9 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed |
9 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed |
10 |
EXTRACT_SUFX= .tar |
10 |
EXTRACT_SUFX= .tar |
11 |
PATCHFILES= 2015-001-patch-r113.txt |
|
|
12 |
|
11 |
|
13 |
PATCH_SITES= http://web.mit.edu/kerberos/advisories/ |
12 |
PATCH_SITES= http://web.mit.edu/kerberos/advisories/ |
14 |
PATCH_DIST_STRIP= -p2 |
13 |
PATCH_DIST_STRIP= -p2 |
|
|
14 |
PATCHFILES= 2015-001-patch-r113.txt |
15 |
|
15 |
|
16 |
MAINTAINER= cy@FreeBSD.org |
16 |
MAINTAINER= cy@FreeBSD.org |
17 |
COMMENT= Authentication system developed at MIT, successor to Kerberos IV |
17 |
COMMENT= Authentication system developed at MIT, successor to Kerberos IV |
Lines 29-36
USE_CSTD= gnu99
Link Here
|
29 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
30 |
USES= gettext gmake perl5 libtool:build |
30 |
USES= gettext gmake perl5 libtool:build |
31 |
CONFIGURE_ARGS?= --enable-shared --without-system-verto |
31 |
CONFIGURE_ARGS?= --enable-shared --without-system-verto |
32 |
CONFIGURE_ENV= INSTALL="${INSTALL}" YACC="${YACC}" |
32 |
CONFIGURE_ENV= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}" |
33 |
MAKE_ARGS= INSTALL="${INSTALL}" |
33 |
MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" |
34 |
|
34 |
|
35 |
OPTIONS_DEFINE= KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP READLINE |
35 |
OPTIONS_DEFINE= KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP READLINE |
36 |
OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML |
36 |
OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML |
Lines 71-78
PLIST_SUB+= LDAP="@comment "
Link Here
|
71 |
.if ${PORT_OPTIONS:MREADLINE} |
71 |
.if ${PORT_OPTIONS:MREADLINE} |
72 |
.if ${OSVERSION} >= 1100000 |
72 |
.if ${OSVERSION} >= 1100000 |
73 |
# libtool has some gas with libreadline in 11-CURRENT. |
73 |
# libtool has some gas with libreadline in 11-CURRENT. |
74 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline |
74 |
BUILD_DEPENDS+= libreadline.so:${PORTSDIR}/devel/readline |
75 |
LIB_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline |
75 |
LIB_DEPENDS+= libreadline.so:${PORTSDIR}/devel/readline |
76 |
.else |
76 |
.else |
77 |
USES+= readline:port |
77 |
USES+= readline:port |
78 |
.endif |
78 |
.endif |
Lines 123-137
post-install:
Link Here
|
123 |
.endif |
123 |
.endif |
124 |
.if ${PORT_OPTIONS:MKRB5_PDF} |
124 |
.if ${PORT_OPTIONS:MKRB5_PDF} |
125 |
for i in $${pdf_dirs}; do \ |
125 |
for i in $${pdf_dirs}; do \ |
126 |
${ECHO_CMD} @dirrm share/doc/krb5/$${i} >> ${TMPPLIST}; \ |
126 |
${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ |
127 |
done | ${TAIL} -r >> ${TMPPLIST} |
127 |
done | ${TAIL} -r >> ${TMPPLIST} |
128 |
.endif |
128 |
.endif |
129 |
.if ${PORT_OPTIONS:MKRB5_HTML} |
129 |
.if ${PORT_OPTIONS:MKRB5_HTML} |
130 |
for i in $${html_dirs}; do \ |
130 |
for i in $${html_dirs}; do \ |
131 |
${ECHO_CMD} @dirrm share/doc/krb5/$${i} >> ${TMPPLIST}; \ |
131 |
${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ |
132 |
done | ${TAIL} -r >> ${TMPPLIST} |
132 |
done | ${TAIL} -r >> ${TMPPLIST} |
133 |
.endif |
133 |
.endif |
134 |
${ECHO_CMD} @dirrm share/doc/krb5 >> ${TMPPLIST} |
134 |
${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST} |
135 |
@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD |
135 |
@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD |
136 |
@${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD |
136 |
@${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD |
137 |
@${ECHO} "------------------------------------------------------" |
137 |
@${ECHO} "------------------------------------------------------" |