summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schwyn (svoop) <gentoo@bitcetera.com>2008-07-23 07:59:32 +0000
committerSven Schwyn (svoop) <gentoo@bitcetera.com>2008-07-23 07:59:32 +0000
commita68dbcf0c1020257d3d849e784f15a6e554f3866 (patch)
tree6e2bdc0864a8a0811f8f9c8dbda280084779b59f /mail-filter/postwhite/files/0.1.0
parentNo longer required, because the version bump is not hard masked (diff)
downloadsunrise-a68dbcf0c1020257d3d849e784f15a6e554f3866.tar.gz
sunrise-a68dbcf0c1020257d3d849e784f15a6e554f3866.tar.bz2
sunrise-a68dbcf0c1020257d3d849e784f15a6e554f3866.zip
mail-filter/postwhite: New ebuild mail-filter/postwhite for bug 232647
svn path=/sunrise/; revision=6556
Diffstat (limited to 'mail-filter/postwhite/files/0.1.0')
-rw-r--r--mail-filter/postwhite/files/0.1.0/postwhite.conf5
-rw-r--r--mail-filter/postwhite/files/0.1.0/postwhite.init21
2 files changed, 26 insertions, 0 deletions
diff --git a/mail-filter/postwhite/files/0.1.0/postwhite.conf b/mail-filter/postwhite/files/0.1.0/postwhite.conf
new file mode 100644
index 000000000..4f676290b
--- /dev/null
+++ b/mail-filter/postwhite/files/0.1.0/postwhite.conf
@@ -0,0 +1,5 @@
+# Config file for /etc/init.d/postwhite
+
+# See "postwhite --help" for a list of available options.
+#
+POSTWHITE_OPTS=""
diff --git a/mail-filter/postwhite/files/0.1.0/postwhite.init b/mail-filter/postwhite/files/0.1.0/postwhite.init
new file mode 100644
index 000000000..e2261c481
--- /dev/null
+++ b/mail-filter/postwhite/files/0.1.0/postwhite.init
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ need net
+ before postfix
+}
+
+start() {
+ ebegin "Starting Postwhite"
+ /usr/sbin/postwhite --quiet --detach ${POSTWHITE_OPTS} start
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping Postwhite"
+ /usr/sbin/postwhite --quiet stop
+ eend ${?}
+}