Index: Makefile =================================================================== --- Makefile (revision 395224) +++ Makefile (working copy) @@ -41,6 +41,14 @@ IGNORE=May not be redistributed due to licensing. Please visit http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-13-2.html accept their license and download ${DISTFILES} into ${DISTDIR} .endif +.if defined(ICA_CERTS) +.for f in ${ICA_CERTS} +PLIST_FILES+= ${CERTDIR}/${f} +HASH_${f}!= openssl x509 -noout -hash -in ${DISTDIR}/${f} +PLIST_FILES+= ${CERTDIR}/${HASH_${f}}.0 +.endfor +.endif + pre-fetch: .if defined(ICA_CERTS) .for f in ${ICA_CERTS} @@ -77,6 +85,7 @@ ${MKDIR} ${STAGEDIR}${CERTDIR} .for f in ${ICA_CERTS} ${INSTALL_DATA} ${DISTDIR}/${f} ${STAGEDIR}${CERTDIR} + ${LN} -sf ${f} ${STAGEDIR}${CERTDIR}/$$(openssl x509 -noout -hash -in ${DISTDIR}/${f}).0 .endfor .endif