Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (31e5acf5580c19e2b19e62e1df465095252759a3)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (31e5acf5580c19e2b19e62e1df465095252759a3)
  • Date: Wed, 5 Feb 2014 00:07:14 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 4 ++++
accounts | 1 +
groups | 3 ++-
mail/gnarwl/BUILD | 5 +++++
mail/gnarwl/DEPENDS | 4 ++++
mail/gnarwl/DETAILS | 30 ++++++++++++++++++++++++++++++
mail/gnarwl/HISTORY | 2 ++
mail/gnarwl/INSTALL | 27 +++++++++++++++++++++++++++
mail/gnarwl/PRE_BUILD | 10 ++++++++++
mail/gnarwl/excluded | 1 +
10 files changed, 86 insertions(+), 1 deletion(-)

New commits:
commit 31e5acf5580c19e2b19e62e1df465095252759a3
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

gnarwl: new spell, LDAP based email autoresponder

commit 64cc30f6744ec27c22881d51186eb6081355a9e2
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

accounts, groups: added account data for gnarwl spell

diff --git a/ChangeLog b/ChangeLog
index c43c345..4fae9d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * accounts, groups: added account data for gnarwl spell
+ * mail/gnarwl: new spell, LDAP based email autoresponder
+
2014-02-03 Treeve Jelbert <treeve AT sourcemage.org>
* disk/gnu-efi: new spell, Develop EFI applications

diff --git a/accounts b/accounts
index 3e3b23e..08ae4c0 100755
--- a/accounts
+++ b/accounts
@@ -103,4 +103,5 @@ mdm:195:196
polkitd:196:197
opendkim:197:198
dk-milter:198:199
+gnarwl:201:201
nobody:65534:65534
diff --git a/groups b/groups
index 47a59ac..25f9eaa 100755
--- a/groups
+++ b/groups
@@ -124,6 +124,7 @@ mdm:196:
polkitd:197:
opendkim:198:
dk-milter:199:
-kde5:200
+kde5:200:
+gnarwl:201:
users:1000:
nogroup:65534:
diff --git a/mail/gnarwl/BUILD b/mail/gnarwl/BUILD
new file mode 100755
index 0000000..88fd2d7
--- /dev/null
+++ b/mail/gnarwl/BUILD
@@ -0,0 +1,5 @@
+create_account gnarwl &&
+
+OPTS="--with-homedir=$INSTALL_ROOT/var/lib/gnarwl $OPTS" &&
+
+default_build
diff --git a/mail/gnarwl/DEPENDS b/mail/gnarwl/DEPENDS
new file mode 100755
index 0000000..4747d8b
--- /dev/null
+++ b/mail/gnarwl/DEPENDS
@@ -0,0 +1,4 @@
+depends gdbm &&
+depends openldap &&
+
+suggest_depends MAIL-TRANSPORT-AGENT "" "" "to use MTA"
diff --git a/mail/gnarwl/DETAILS b/mail/gnarwl/DETAILS
new file mode 100755
index 0000000..ce9e5c6
--- /dev/null
+++ b/mail/gnarwl/DETAILS
@@ -0,0 +1,30 @@
+ SPELL=gnarwl
+ VERSION=3.6
+ SOURCE=$SPELL-$VERSION.tgz
+
SOURCE_URL[0]=http://www.onyxbits.de/sites/default/files/upload_cck/node/526/$SOURCE
+
SOURCE_HASH=sha512:acb9e90cc61d48f57a141625d3584710260aea08e228f3f10fffec57b50b33cf120da26718c9e2d8685939a458768fb33c6d7cce26c93cd2ecc28386b8aec652
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ DOC_DIRS=""
+ WEB_SITE=http://www.onyxbits.de/gnarwl
+ LICENSE[0]=GPL
+ ENTERED=20140205
+ SHORT="LDAP based email autoresponder"
+cat << EOF
+Gnarwl is a email autoreply/vacation agent, intented to be used on
mailservers,
+where users may not (nescessarily) have systemaccoounts, but
accountinformation
+is kept within an LDAP database.
+
+Features:
+- User information is kept in an LDAP database.
+- Configurable via single systemwide configuration file.
+- Careful about not creating mail loops by answering to mailing lists or
other
+ automated user agents.
+- Configurable blacklist of corporate email addresses for which to never send
+ out vacation notifications, even if an associated user is out of office.
+- Works with all major mail transport agents (postfix, sendmail and qmail).
+- Highly configurable output generation. Gnarwl allows the administrator to
+ force headers and footers, users may reference fields of their own LDAP
+ object in the outgoing mail.
+- Unicode support.
+- Status reports via syslog.
+EOF
diff --git a/mail/gnarwl/HISTORY b/mail/gnarwl/HISTORY
new file mode 100644
index 0000000..db6860d
--- /dev/null
+++ b/mail/gnarwl/HISTORY
@@ -0,0 +1,2 @@
+2014-02-03 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS, {PRE_,}BUILD, INSTALL, excluded: spell created
diff --git a/mail/gnarwl/INSTALL b/mail/gnarwl/INSTALL
new file mode 100755
index 0000000..65a82c0
--- /dev/null
+++ b/mail/gnarwl/INSTALL
@@ -0,0 +1,27 @@
+default_install &&
+
+local CONFIG_FILE="/etc/gnarwl.cfg" &&
+
+install_config_file "data/gnarwl.cfg" "$CONFIG_FILE" &&
+chown gnarwl:gnarwl "$CONFIG_FILE" &&
+chmod 600 "$CONFIG_FILE" &&
+
+local HOME_DIR="$INSTALL_ROOT/var/lib/gnarwl" &&
+
+if [[ ! -d "$HOME_DIR/block" ]]; then
+ mkdir -p "$HOME_DIR/block"
+fi &&
+
+for tmpl in header footer; do
+ if [[ ! -r "$HOME_DIR/$tmpl.txt" ]]; then
+ install -vm 644 "data/$tmpl.txt" "$HOME_DIR/$tmpl.txt"
+ fi
+done &&
+
+for tmpl in badheaders blacklist; do
+ if [[ ! -r "$HOME_DIR/$tmpl.db" ]]; then
+ cat "data/$tmpl.txt" | "$TRACK_ROOT/usr/sbin/damnit" -a
"$HOME_DIR/$tmpl.db"
+ fi
+done &&
+
+chown -R gnarwl:gnarwl "$HOME_DIR"
diff --git a/mail/gnarwl/PRE_BUILD b/mail/gnarwl/PRE_BUILD
new file mode 100755
index 0000000..9129419
--- /dev/null
+++ b/mail/gnarwl/PRE_BUILD
@@ -0,0 +1,10 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+# use custom CFLAGS
+sedit "s:-g -Wall -O2:$CFLAGS:" Makefile.in &&
+
+# use custom LDFLAGS
+sedit "s:^LFLAGS=\(.*\):LFLAGS=\1 $LDFLAGS:" Makefile.in &&
+
+sedit "/data install/d" Makefile.in
diff --git a/mail/gnarwl/excluded b/mail/gnarwl/excluded
new file mode 100644
index 0000000..11818c4
--- /dev/null
+++ b/mail/gnarwl/excluded
@@ -0,0 +1 @@
+^/var/lib/gnarwl



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (31e5acf5580c19e2b19e62e1df465095252759a3), Vlad Glagolev, 02/05/2014

Archive powered by MHonArc 2.6.24.

Top of Page