summaryrefslogtreecommitdiff
path: root/mail/sqwebmail/files
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-23 23:41:42 +0000
committerjlam <jlam>2004-02-23 23:41:42 +0000
commit70ecd1095e344ecc7d29757c80db9a822cf60051 (patch)
treedd98eb0006b096b2fb6d65efc47f734c2bf2fbf3 /mail/sqwebmail/files
parente1e2eb6b6f4534c84fc66035ecb8793135710ac7 (diff)
downloadpkgsrc-70ecd1095e344ecc7d29757c80db9a822cf60051.tar.gz
Update mail/sqwebmail to 3.6.2. Changes from version 3.3.1 include:
Split sqwebmail into sqwebmail and sqwebmaild. sqwebmaild is now a root daemon process that listens on a UNIX domain socket. sqwebmail is a tiny, unprivileged cgi-bin stub that forwards the HTTP request to the daemon process. The stub passes the client's file descriptor to sqwebmaild, on platforms that support passing file descriptors, else it proxies http traffic in both directions. Replace GIFs with PNGs Do GPG functions via a library instead of invoking mimegpg. RFC 2231 support
Diffstat (limited to 'mail/sqwebmail/files')
-rw-r--r--mail/sqwebmail/files/pcpd.sh39
-rw-r--r--mail/sqwebmail/files/sqwebmaild.sh39
2 files changed, 78 insertions, 0 deletions
diff --git a/mail/sqwebmail/files/pcpd.sh b/mail/sqwebmail/files/pcpd.sh
new file mode 100644
index 00000000000..3e9977a0b34
--- /dev/null
+++ b/mail/sqwebmail/files/pcpd.sh
@@ -0,0 +1,39 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: pcpd.sh,v 1.1 2004/02/23 23:41:43 jlam Exp $
+#
+# Courier SqWebMail calendaring services daemon
+#
+# PROVIDE: pcpd
+# REQUIRE: authdaemond
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+name="pcpd"
+rcvar=${name}
+command="@PREFIX@/libexec/courier/sqwebmail/pcpd"
+required_files="@PKG_SYSCONFDIR@/calendarmode"
+
+start_cmd="courier_doit start"
+stop_cmd="courier_doit stop"
+
+courier_doit()
+{
+ action=$1
+ case ${action} in
+ start) @ECHO@ "Starting ${name}." ;;
+ stop) @ECHO@ "Stopping ${name}." ;;
+ esac
+
+ ${command} ${action}
+}
+
+if [ -f /etc/rc.subr ]; then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ @ECHO@ -n " ${name}"
+ ${start_cmd}
+fi
diff --git a/mail/sqwebmail/files/sqwebmaild.sh b/mail/sqwebmail/files/sqwebmaild.sh
new file mode 100644
index 00000000000..98c33e6522e
--- /dev/null
+++ b/mail/sqwebmail/files/sqwebmaild.sh
@@ -0,0 +1,39 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: sqwebmaild.sh,v 1.1 2004/02/23 23:41:43 jlam Exp $
+#
+# Courier SqWebMail services daemon
+#
+# PROVIDE: sqwebmail
+# REQUIRE: authdaemond
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+name="sqwebmaild"
+rcvar=${name}
+command="@PREFIX@/libexec/courier/sqwebmail/sqwebmaild"
+required_files="@PKG_SYSCONFDIR@/authmodulelist"
+
+start_cmd="courier_doit start"
+stop_cmd="courier_doit stop"
+
+courier_doit()
+{
+ action=$1
+ case ${action} in
+ start) @ECHO@ "Starting ${name}." ;;
+ stop) @ECHO@ "Stopping ${name}." ;;
+ esac
+
+ ${command} ${action}
+}
+
+if [ -f /etc/rc.subr ]; then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ @ECHO@ -n " ${name}"
+ ${start_cmd}
+fi