diff options
-rw-r--r-- | net/citrix_ica/Makefile | 14 | ||||
-rw-r--r-- | net/citrix_ica/files/wfcmgr.in | 2 | ||||
-rw-r--r-- | net/citrix_ica/pkg-plist | 50 |
3 files changed, 38 insertions, 28 deletions
diff --git a/net/citrix_ica/Makefile b/net/citrix_ica/Makefile index 69ed77d63307..b97da370f138 100644 --- a/net/citrix_ica/Makefile +++ b/net/citrix_ica/Makefile @@ -3,7 +3,7 @@ PORTNAME= citrix_ica PORTVERSION= 13.2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net comms linux MASTER_SITES= # DISTNAME= linuxx86-13.2.0.322243 @@ -26,6 +26,7 @@ CDIR= ${PREFIX}/ICAClient CERTDIR= ${CDIR}/keystore/cacerts PLIST_SUB= MOZILLA_HOME=${MOZILLA_HOME} + .if defined(ICA_CERTS) PLIST_SUB+= HAVE_ICA_CERTS="" ICA_CERTS="${ICA_CERTS}" CERTDIR="${CERTDIR}" .else @@ -41,6 +42,14 @@ SUB_LIST= CDIR=${CDIR} 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} @@ -76,12 +85,13 @@ do-install: ${MKDIR} ${STAGEDIR}${CDIR} ${MKDIR} ${STAGEDIR}${CDIR}/config cd ${WRKDIR}/linuxx86/linuxx86.cor/ && ${COPYTREE_SHARE} . ${STAGEDIR}${CDIR} - cp ${WRKDIR}/setupwfc ${STAGEDIR}${CDIR} + ${CP} ${WRKDIR}/setupwfc ${STAGEDIR}${CDIR} .if defined(ICA_CERTS) ${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 diff --git a/net/citrix_ica/files/wfcmgr.in b/net/citrix_ica/files/wfcmgr.in index 6c28ad601484..24bf9cf1ed1c 100644 --- a/net/citrix_ica/files/wfcmgr.in +++ b/net/citrix_ica/files/wfcmgr.in @@ -1,3 +1,3 @@ #!/bin/sh export ICAROOT=%%CDIR%% -exec $ICAROOT/wfcmgr +exec $ICAROOT/util/configmgr diff --git a/net/citrix_ica/pkg-plist b/net/citrix_ica/pkg-plist index edebaa148550..b95e8836db93 100644 --- a/net/citrix_ica/pkg-plist +++ b/net/citrix_ica/pkg-plist @@ -472,31 +472,31 @@ %%WEBPLUGIN_DIR%%/usb/ctxusbd.rc %%WEBPLUGIN_DIR%%/usb/ica-usb.rules %%WEBPLUGIN_DIR%%/usb/usb.conf -%%WEBPLUGIN_DIR%%/util/DeleteCompleteFlashCache.sh -%%WEBPLUGIN_DIR%%/util/configmgr -%%WEBPLUGIN_DIR%%/util/conncenter -%%WEBPLUGIN_DIR%%/util/ctx_app_bind -%%WEBPLUGIN_DIR%%/util/ctx_rehash -%%WEBPLUGIN_DIR%%/util/echo_cmd -%%WEBPLUGIN_DIR%%/util/gst_aud_play -%%WEBPLUGIN_DIR%%/util/gst_aud_read -%%WEBPLUGIN_DIR%%/util/gst_play -%%WEBPLUGIN_DIR%%/util/gst_read -%%WEBPLUGIN_DIR%%/util/hdxcheck.sh -%%WEBPLUGIN_DIR%%/util/hinst -%%WEBPLUGIN_DIR%%/util/icalicense.sh -%%WEBPLUGIN_DIR%%/util/libgstflatstm.so -%%WEBPLUGIN_DIR%%/util/lurdump -%%WEBPLUGIN_DIR%%/util/new_store -%%WEBPLUGIN_DIR%%/util/nslaunch -%%WEBPLUGIN_DIR%%/util/pac.js -%%WEBPLUGIN_DIR%%/util/pacexec -%%WEBPLUGIN_DIR%%/util/pnabrowse -%%WEBPLUGIN_DIR%%/util/pnabrowse_launch -%%WEBPLUGIN_DIR%%/util/storebrowse -%%WEBPLUGIN_DIR%%/util/sunraymac.sh -%%WEBPLUGIN_DIR%%/util/what -%%WEBPLUGIN_DIR%%/util/xcapture +@(,,00555) %%WEBPLUGIN_DIR%%/util/DeleteCompleteFlashCache.sh +@(,,00555) %%WEBPLUGIN_DIR%%/util/configmgr +@(,,00555) %%WEBPLUGIN_DIR%%/util/conncenter +@(,,00555) %%WEBPLUGIN_DIR%%/util/ctx_app_bind +@(,,00555) %%WEBPLUGIN_DIR%%/util/ctx_rehash +@(,,00555) %%WEBPLUGIN_DIR%%/util/echo_cmd +@(,,00555) %%WEBPLUGIN_DIR%%/util/gst_aud_play +@(,,00555) %%WEBPLUGIN_DIR%%/util/gst_aud_read +@(,,00555) %%WEBPLUGIN_DIR%%/util/gst_play +@(,,00555) %%WEBPLUGIN_DIR%%/util/gst_read +@(,,00555) %%WEBPLUGIN_DIR%%/util/hdxcheck.sh +@(,,00555) %%WEBPLUGIN_DIR%%/util/hinst +@(,,00555) %%WEBPLUGIN_DIR%%/util/icalicense.sh +@(,,00555) %%WEBPLUGIN_DIR%%/util/libgstflatstm.so +@(,,00555) %%WEBPLUGIN_DIR%%/util/lurdump +@(,,00555) %%WEBPLUGIN_DIR%%/util/new_store +@(,,00555) %%WEBPLUGIN_DIR%%/util/nslaunch +@(,,00555) %%WEBPLUGIN_DIR%%/util/pac.js +@(,,00555) %%WEBPLUGIN_DIR%%/util/pacexec +@(,,00555) %%WEBPLUGIN_DIR%%/util/pnabrowse +@(,,00555) %%WEBPLUGIN_DIR%%/util/pnabrowse_launch +@(,,00555) %%WEBPLUGIN_DIR%%/util/storebrowse +@(,,00555) %%WEBPLUGIN_DIR%%/util/sunraymac.sh +@(,,00555) %%WEBPLUGIN_DIR%%/util/what +@(,,00555) %%WEBPLUGIN_DIR%%/util/xcapture @(,,00555) %%WEBPLUGIN_DIR%%/wfica bin/wfcmgr bin/wfica |