sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bc53a5375e1633cd12186b52b4d8e7e209335146)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bc53a5375e1633cd12186b52b4d8e7e209335146)
- Date: Sun, 27 Jan 2013 15:22:48 -0600
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 3 +++
mail/greylist/DETAILS | 2 +-
mail/greylist/HISTORY | 3 +++
mail/greylstd/BUILD | 1 +
mail/greylstd/DEPENDS | 1 +
mail/greylstd/DETAILS | 21 +++++++++++++++++++++
mail/greylstd/HISTORY | 3 +++
mail/greylstd/INSTALL | 6 ++++++
mail/greylstd/init.d/greylstd | 25 +++++++++++++++++++++++++
mail/greylstd/init.d/greylstd.conf | 5 +++++
10 files changed, 69 insertions(+), 1 deletion(-)
New commits:
commit bc53a5375e1633cd12186b52b4d8e7e209335146
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
greylstd: new spell, simple SQLite-based greylisting daemon
commit 9492fa337647c22de50dc84ffa4b7bbf43389a3e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
greylist: corrected license array
diff --git a/ChangeLog b/ChangeLog
index 5f483b8..b92b37c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-01-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * mail/greylstd: new spell, simple SQLite-based greylisting daemon
+
2013-01-23 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* utils/wyrd: new spell, a curses based front-end to remind
diff --git a/mail/greylist/DETAILS b/mail/greylist/DETAILS
index 3a317fc..7ca9c6b 100755
--- a/mail/greylist/DETAILS
+++ b/mail/greylist/DETAILS
@@ -8,7 +8,7 @@ SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
ENTERED=20130121
DOCS="README.txt"
LICENSE[0]=LGPL
- LICENSE[0]=GPL
+ LICENSE[1]=GPL
KEYWORDS="mail greylist postfix"
SHORT="greylist policy service for postfix"
cat << EOF
diff --git a/mail/greylist/HISTORY b/mail/greylist/HISTORY
index ffb7deb..6398dda 100644
--- a/mail/greylist/HISTORY
+++ b/mail/greylist/HISTORY
@@ -1,3 +1,6 @@
+2013-01-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: corrected license array
+
2013-01-21 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, init.d/greylist{,.conf},
files/mysql.schema.sql, boost-{149,detect}.patch, dbi.patch,
diff --git a/mail/greylstd/BUILD b/mail/greylstd/BUILD
new file mode 100755
index 0000000..6dfecc1
--- /dev/null
+++ b/mail/greylstd/BUILD
@@ -0,0 +1 @@
+default_build_make
diff --git a/mail/greylstd/DEPENDS b/mail/greylstd/DEPENDS
new file mode 100755
index 0000000..1f6ab23
--- /dev/null
+++ b/mail/greylstd/DEPENDS
@@ -0,0 +1 @@
+depends sqlite
diff --git a/mail/greylstd/DETAILS b/mail/greylstd/DETAILS
new file mode 100755
index 0000000..12b7cb8
--- /dev/null
+++ b/mail/greylstd/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=greylstd
+ VERSION=0.4.1
+ SOURCE=${SPELL}_${VERSION}.tar.gz
+ SOURCE_URL[0]=http://download.cmeerw.net/debian/${SPELL}/source/${SOURCE}
+
SOURCE_HASH=sha512:3206f220436c5cfbe46589ac74fcd56e57c043945b631952ab8d10ddd27fe1cf740b6b84bcc4156457e2b96e1a8bb10287a29ddc9866d40f29623e6cf5e3ec46
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://dev.cmeerw.org/Projects/greylstd
+ ENTERED=20130128
+ DOCS="README"
+ LICENSE[0]=GPL
+ KEYWORDS="mail greylist sqlite"
+ SHORT="simple SQLite-based greylisting daemon"
+cat << EOF
+greylstd is a simple SQLite-based greylisting daemon.
+
+Features:
+ * implemented as a stand-alone daemon with a simple Unix domain socket
+ interface (suitable for integration with Exim4)
+ * uses a SQLite 3 database backend
+ * per user and per domain configuration and whitelists
+EOF
diff --git a/mail/greylstd/HISTORY b/mail/greylstd/HISTORY
new file mode 100644
index 0000000..923d9fe
--- /dev/null
+++ b/mail/greylstd/HISTORY
@@ -0,0 +1,3 @@
+2013-01-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, INSTALL, init.d/greylstd{,.conf}: spell
+ created
diff --git a/mail/greylstd/INSTALL b/mail/greylstd/INSTALL
new file mode 100755
index 0000000..496c828
--- /dev/null
+++ b/mail/greylstd/INSTALL
@@ -0,0 +1,6 @@
+default_install &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/greylstd.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/greylstd"
+fi
diff --git a/mail/greylstd/init.d/greylstd b/mail/greylstd/init.d/greylstd
new file mode 100755
index 0000000..7d2c7c3
--- /dev/null
+++ b/mail/greylstd/init.d/greylstd
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+. /etc/sysconfig/greylstd
+
+PROGRAM=/usr/sbin/greylstd
+PIDFILE="/var/run/greylstd/greylstd.pid"
+ARGS="-d $DBPATH"
+RUNLEVEL=3
+NEEDS="+network"
+
+start() {
+ required_executable /bin/su
+ required_executable /bin/id
+
+ echo "Starting $NAME..."
+
+ GROUP="$(id -ng $USER)"
+ RUNDIR="$(dirname $PIDFILE)"
+ [[ -d $RUNDIR ]] || mkdir -p $RUNDIR && chown $USER:$GROUP $RUNDIR
+
+ su $USER -s /bin/sh -c "$PROGRAM $ARGS"
+ evaluate_retval
+}
+
+. /etc/init.d/smgl_init
diff --git a/mail/greylstd/init.d/greylstd.conf
b/mail/greylstd/init.d/greylstd.conf
new file mode 100644
index 0000000..66d2ccb
--- /dev/null
+++ b/mail/greylstd/init.d/greylstd.conf
@@ -0,0 +1,5 @@
+# Run under non-privileged user
+USER="nobody"
+
+# SQLite3 database path
+DBPATH="/var/lib/greylstd/greylstd.db"
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bc53a5375e1633cd12186b52b4d8e7e209335146), Vlad Glagolev, 01/27/2013
Archive powered by MHonArc 2.6.24.