summaryrefslogtreecommitdiffstats
path: root/testing/cgiirc/cgiirc.post-install
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-03-08 21:48:55 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-03-08 21:49:11 +0000
commit81d00b2da8ddeb425e5f7837204ef475bf6b02d0 (patch)
tree4af135d639b6b6f7435db3e411620b12b63dfb7f /testing/cgiirc/cgiirc.post-install
parent8d5c18079bbea00f75141ec09eef3a1dd857c20b (diff)
downloadaports-81d00b2da8ddeb425e5f7837204ef475bf6b02d0.tar.bz2
aports-81d00b2da8ddeb425e5f7837204ef475bf6b02d0.tar.xz
testing/cgiirc: new aport
Diffstat (limited to 'testing/cgiirc/cgiirc.post-install')
-rw-r--r--testing/cgiirc/cgiirc.post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/cgiirc/cgiirc.post-install b/testing/cgiirc/cgiirc.post-install
new file mode 100644
index 000000000..f6907c64c
--- /dev/null
+++ b/testing/cgiirc/cgiirc.post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+echo "*" >&2
+echo "* CGI:IRC has been installed to:" >&2
+echo "* /usr/share/webapps/cgiirc" >&2
+echo "* An config file has been installed to:" >&2
+echo "* /etc/cgiirc/cgiirc.config" >&2
+echo "* If you use lighttpd:" >&2
+echo "* 1) Enable mod_cgi from lighttpd.conf and modify it adding in cgi.assign section:" >&2
+echo "* cgi.assign = ( " >&2
+echo "* ".pl" => "/usr/bin/perl", " >&2
+echo "* ".cgi" => "/usr/bin/perl", " >&2
+echo "* " >&2
+echo "* ) " >&2
+echo "* 2) Create a symlink to /usr/share/webapps/cgiirc:" >&2
+echo "* ln -s /usr/share/webapps/cgiirc /var/www/localhost/htdocs/cgi-bin" >&2
+echo "* This is needed because lighttpd mod_cgi matches cgi-bin dir in order to allow exec cgi." >&2
+echo "* " >&2
+echo "* 3) Restart lighttpd when done." >&2
+echo "* " >&2
+echo "* 4) Go with your browser in http://your.ip.address/cgi-bin/irc.cgi" >&2
+echo "*" >&2
+exit 0