aboutsummaryrefslogtreecommitdiff
path: root/www/thundercache
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-04-07 14:06:17 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-04-07 14:06:17 +0000
commit8b93f9f519a386566e8d574ea004d67fe72edc7b (patch)
tree9c3c474d1b767117f12b2934f9922048f1a1c417 /www/thundercache
parent94d74e79590391265aa5df97e1e7ae0b4372e102 (diff)
downloadports-8b93f9f519a386566e8d574ea004d67fe72edc7b.tar.gz
ports-8b93f9f519a386566e8d574ea004d67fe72edc7b.zip
Notes
Diffstat (limited to 'www/thundercache')
-rw-r--r--www/thundercache/files/test-deps.sh.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/thundercache/files/test-deps.sh.in b/www/thundercache/files/test-deps.sh.in
new file mode 100644
index 000000000000..bdefb6316c3e
--- /dev/null
+++ b/www/thundercache/files/test-deps.sh.in
@@ -0,0 +1,16 @@
+#!/bin/sh
+ if ! ldd %%PREFIX%%/bin/curl | %%GREP%% "libssh" >/dev/null 2>&1 ; then
+ BARRIER=1
+ fi
+ if ! ldd %%PREFIX%%/bin/curl | %%GREP%% "libssl" >/dev/null 2>&1 ; then
+ BARRIER=1
+ fi
+ if ! %%PREFIX%%/bin/curl -h | %%GREP%% "proxy <host" >/dev/null 2>&1 ; then
+ BARRIER=1
+ fi
+
+ if [ "${BARRIER}" = 1 ] ; then
+ false
+ else
+ true
+ fi