View | Details | Raw Unified | Return to bug 115944
Collapse All | Expand All

(-)Makefile (-2 / +26 lines)
Lines 26-31 Link Here
26
27
27
CDIR=		${PREFIX}/ICAClient
28
CDIR=		${PREFIX}/ICAClient
28
BINDIR=		${PREFIX}/bin
29
BINDIR=		${PREFIX}/bin
30
CERTDIR=	${CDIR}/keystore/cacerts
31
32
PLIST_SUB=	MOZILLA_HOME=${MOZILLA_HOME}
33
.if defined(ICA_CERTS)
34
PLIST_SUB+=	HAVE_ICA_CERTS="" ICA_CERTS="${ICA_CERTS}" CERTDIR="${CERTDIR}"
35
.else
36
PLIST_SUB+=	HAVE_ICA_CERTS="@comment "
37
.endif
29
38
30
NSCP=	${LOCALBASE}/libexec/netscape \
39
NSCP=	${LOCALBASE}/libexec/netscape \
31
	${LOCALBASE}/libexec/netscape-linux \
40
	${LOCALBASE}/libexec/netscape-linux \
Lines 35-42 Link Here
35
	${LOCALBASE}/lib/netscape-linux \
44
	${LOCALBASE}/lib/netscape-linux \
36
	${MOZILLA_HOME}
45
	${MOZILLA_HOME}
37
46
38
PLIST_SUB=	MOZILLA_HOME=${MOZILLA_HOME}
39
40
.include <bsd.port.pre.mk>
47
.include <bsd.port.pre.mk>
41
48
42
.if exists(${PREFIX}/bin/kde-config)
49
.if exists(${PREFIX}/bin/kde-config)
Lines 60-65 Link Here
60
	@${FALSE}
67
	@${FALSE}
61
.endif
68
.endif
62
69
70
.if defined(ICA_CERTS)
71
pre-fetch:
72
.for f in ${ICA_CERTS}
73
	@echo "Checking ${f}"
74
.if !exists(${DISTDIR}/${f})
75
	@echo "Cert ${f} not found."
76
	@exit 1
77
.endif
78
.endfor
79
.endif
80
81
63
do-install:
82
do-install:
64
	@if (test -d "${CDIR}") ; \
83
	@if (test -d "${CDIR}") ; \
65
	then \
84
	then \
Lines 80-83 Link Here
80
	${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
99
	${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica
81
# XXX: This is missing a "${BRANDELF} -t Linux <executables>".
100
# XXX: This is missing a "${BRANDELF} -t Linux <executables>".
82
101
102
.if defined(ICA_CERTS)
103
.for f in ${ICA_CERTS}
104
	${INSTALL_DATA} ${DISTDIR}/${f} ${CERTDIR}
105
.endfor
106
.endif
107
83
.include <bsd.port.post.mk>
108
.include <bsd.port.post.mk>
(-)pkg-descr (+11 lines)
Lines 10-13 Link Here
10
are powerful management and configuration tools and faster, more
10
are powerful management and configuration tools and faster, more
11
flexible printing.
11
flexible printing.
12
12
13
14
If your Citrix server does not have one of the supplied root-certificates,
15
you can copy the certificate to /usr/ports/distfiles and add the
16
following line to your /etc/make.conf:
17
18
	ICA_CERTS=mycert.crt
19
20
It will then automatically be installed and removed with the normal
21
FreeBSD package tools.
22
23
13
WWW: http://www.citrix.com/English/ps2/products/product.asp?contentID=186
24
WWW: http://www.citrix.com/English/ps2/products/product.asp?contentID=186
(-)pkg-plist (+1 lines)
Lines 98-103 Link Here
98
ICAClient/keystore/cacerts/GTECTGlobalRoot.crt
98
ICAClient/keystore/cacerts/GTECTGlobalRoot.crt
99
ICAClient/keystore/cacerts/Pcs3ss_v4.crt
99
ICAClient/keystore/cacerts/Pcs3ss_v4.crt
100
ICAClient/keystore/cacerts/SecureServer.crt
100
ICAClient/keystore/cacerts/SecureServer.crt
101
%%HAVE_ICA_CERTS%%@unexec for f in %%ICA_CERTS%%; do rm %%CERTDIR%%/${f}; done
101
ICAClient/libctxssl.so
102
ICAClient/libctxssl.so
102
ICAClient/nls/en/UTF-8/Wfcmgr
103
ICAClient/nls/en/UTF-8/Wfcmgr
103
ICAClient/nls/en/UTF-8/Wfica
104
ICAClient/nls/en/UTF-8/Wfica

Return to bug 115944