Skip to Content.
Sympa Menu

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

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 (fea1b8b2dac4c11c089f62a61c22b4f9bea396ad)
  • Date: Tue, 28 Dec 2010 16:28:00 -0600

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

ChangeLog | 4 ++++
mail/postgrey/BUILD | 1 +
mail/postgrey/DEPENDS | 6 ++++++
mail/postgrey/DETAILS | 14 ++++++++++++++
mail/postgrey/HISTORY | 3 +++
mail/postgrey/INSTALL | 9 +++++++++
mail/postgrey/PRE_BUILD | 5 +++++
mail/postgrey/init.d/postgrey | 11 +++++++++++
mail/postgrey/init.d/postgrey.conf | 3 +++
perl-cpan/io-multiplex/DEPENDS | 1 +
perl-cpan/io-multiplex/DETAILS | 20 ++++++++++++++++++++
perl-cpan/io-multiplex/HISTORY | 2 ++
12 files changed, 79 insertions(+)

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

postgrey: new spell, Postfix policy server implementing greylisting

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

io-multiplex: new spell, Perl module to manage IO on many file handles

diff --git a/ChangeLog b/ChangeLog
index 7d7fb15..f7309fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2010-12-29 Vlad Glagolev <stealth AT sourcemage.org>
* mail/clamsmtp: new spell, SMTP virus filter
+ * perl-cpan/io-multiplex: new spell, Perl module to manage IO on many
+ file handles
+ * mail/postgrey: new spell, Postfix policy server implementing
+ greylisting

2010-12-28 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* haskell/haskell-utf8-string: new spell, support for reading and
writing
diff --git a/mail/postgrey/BUILD b/mail/postgrey/BUILD
new file mode 100755
index 0000000..a4d6655
--- /dev/null
+++ b/mail/postgrey/BUILD
@@ -0,0 +1 @@
+create_account postgrey
diff --git a/mail/postgrey/DEPENDS b/mail/postgrey/DEPENDS
new file mode 100755
index 0000000..02e90f6
--- /dev/null
+++ b/mail/postgrey/DEPENDS
@@ -0,0 +1,6 @@
+runtime_depends db &&
+runtime_depends berkeleydb &&
+runtime_depends net-server &&
+runtime_depends io-multiplex &&
+
+suggest_depends net-dns "" "" "for DNS resolving in postgreyreport tool"
diff --git a/mail/postgrey/DETAILS b/mail/postgrey/DETAILS
new file mode 100755
index 0000000..a6db5f2
--- /dev/null
+++ b/mail/postgrey/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=postgrey
+ VERSION=1.33
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://postgrey.schweikert.ch/pub/$SOURCE
+ SOURCE_URL[1]=http://postgrey.schweikert.ch/pub/old/$SOURCE
+
SOURCE_HASH=sha512:82fb49283be4912ffffa26e69340c966b3ed378ccd154cdc7e18ecbb39b9f0daca002dbcc475e0cc008b3ff6fe4d313f0b36a515c0b5cd5a8360a51c1a3fcfd8
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://postgrey.schweikert.ch/
+ LICENSE[0]=GPL
+ ENTERED=20101228
+ SHORT="Postfix policy server implementing greylisting"
+cat << EOF
+Postgrey is a Postfix policy server implementing greylisting.
+EOF
diff --git a/mail/postgrey/HISTORY b/mail/postgrey/HISTORY
new file mode 100644
index 0000000..b763e9f
--- /dev/null
+++ b/mail/postgrey/HISTORY
@@ -0,0 +1,3 @@
+2010-12-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS, {PRE_}BUILD, INSTALL,
+ init.d/postgrey{.conf}: spell created
diff --git a/mail/postgrey/INSTALL b/mail/postgrey/INSTALL
new file mode 100755
index 0000000..c65acb4
--- /dev/null
+++ b/mail/postgrey/INSTALL
@@ -0,0 +1,9 @@
+install -vm 755 postgrey "$INSTALL_ROOT/usr/libexec" &&
+install -vm 755 contrib/postgreyreport "$INSTALL_ROOT/usr/sbin" &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/postgrey.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/postgrey"
+fi &&
+
+install -d -o postgrey -g postgrey -vm 755 "$INSTALL_ROOT/var/spool/postgrey"
diff --git a/mail/postgrey/PRE_BUILD b/mail/postgrey/PRE_BUILD
new file mode 100755
index 0000000..d6c2e40
--- /dev/null
+++ b/mail/postgrey/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+sed -i "s:nogroup:postgrey:g" postgrey &&
+sed -i "s:/var/spool/postfix:/var/spool:g" postgrey contrib/postgreyreport
diff --git a/mail/postgrey/init.d/postgrey b/mail/postgrey/init.d/postgrey
new file mode 100755
index 0000000..4af42aa
--- /dev/null
+++ b/mail/postgrey/init.d/postgrey
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+. /etc/sysconfig/postgrey
+
+PROGRAM=/usr/libexec/postgrey
+PIDFILE=/var/run/postgrey.pid
+ARGS="-d --pidfile=$PIDFILE $POSTGREY_ARGS"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
diff --git a/mail/postgrey/init.d/postgrey.conf
b/mail/postgrey/init.d/postgrey.conf
new file mode 100644
index 0000000..b8861dc
--- /dev/null
+++ b/mail/postgrey/init.d/postgrey.conf
@@ -0,0 +1,3 @@
+# For the arguments and description see ``postgrey --help''
+
+POSTGREY_ARGS="-i 2525"
diff --git a/perl-cpan/io-multiplex/DEPENDS b/perl-cpan/io-multiplex/DEPENDS
new file mode 100755
index 0000000..6826bc7
--- /dev/null
+++ b/perl-cpan/io-multiplex/DEPENDS
@@ -0,0 +1 @@
+depends perl
diff --git a/perl-cpan/io-multiplex/DETAILS b/perl-cpan/io-multiplex/DETAILS
new file mode 100755
index 0000000..688345a
--- /dev/null
+++ b/perl-cpan/io-multiplex/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=io-multiplex
+ VERSION=1.10
+ SOURCE=IO-Multiplex-$VERSION.tar.gz
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/IO-Multiplex-$VERSION"
+ SOURCE_URL[0]=http://search.cpan.org/CPAN/authors/id/B/BB/BBB/$SOURCE
+
SOURCE_HASH=sha512:c030a4d399c5bcb5ebcc41126a4a76611b5637d9c1b4977e7a4dd27f8c4f3215dac883e806d49b28cbb0f5b3270e07d34f8ddf7258885d83e3f692178eedcbd9
+ LICENSE[0]=GPL
+ LICENSE[1]=ART
+ WEB_SITE=http://search.cpan.org/dist/IO-Multiplex/
+ ENTERED=20101228
+ KEYWORDS="perl"
+ SHORT="Perl module to manage IO on many file handles"
+cat << EOF
+IO::Multiplex is designed to take the effort out of managing multiple file
+handles. It is essentially a really fancy front end to the select system
call.
+
+In addition to maintaining the select loop, it buffers all input and output
+to/from the file handles. It can also accept incoming connections on one or
+more listen sockets.
+EOF
diff --git a/perl-cpan/io-multiplex/HISTORY b/perl-cpan/io-multiplex/HISTORY
new file mode 100644
index 0000000..6b0b419
--- /dev/null
+++ b/perl-cpan/io-multiplex/HISTORY
@@ -0,0 +1,2 @@
+2010-12-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS: spell created



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fea1b8b2dac4c11c089f62a61c22b4f9bea396ad), Vlad Glagolev, 12/28/2010

Archive powered by MHonArc 2.6.24.

Top of Page