Skip to Content.
Sympa Menu

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

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 (8f2f0e1ed3fc339c0f7c9b6b101234c2b6d9d9f1)
  • Date: Thu, 2 Jul 2015 09:48:36 +0000

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

ChangeLog | 7 +++++++
accounts | 2 ++
groups | 2 ++
libs/libasr/DETAILS | 24 ++++++++++++++++++++++++
libs/libasr/HISTORY | 2 ++
mail/opensmtpd/BUILD | 10 ++++++++++
mail/opensmtpd/CONFLICTS | 8 ++++++++
mail/opensmtpd/DEPENDS | 14 ++++++++++++++
mail/opensmtpd/DETAILS | 20 ++++++++++++++++++++
mail/opensmtpd/HISTORY | 3 +++
mail/opensmtpd/INSTALL | 3 +++
mail/opensmtpd/PROVIDES | 2 ++
mail/opensmtpd/init.d/smtpd | 14 ++++++++++++++
13 files changed, 111 insertions(+)

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

opensmtpd: new spell, free server-side SMTP protocol implementation as
defined by RFC 5321

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

libasr: new spell, free, simple and portable asynchronous resolver library

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

added account data for opensmtpd spell

diff --git a/ChangeLog b/ChangeLog
index 709de73..0cc700e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-07-02 Vlad Glagolev <stealth AT sourcemage.org>
+ * accounts, groups: added account data for opensmtpd spell
+ * libs/libasr: new spell, free, simple and portable asynchronous
resolver
+ library
+ * mail/opensmtpd: new spell, free server-side SMTP protocol
+ implementation as defined by RFC 5321
+
2015-06-28 Ismael Luceno <ismael AT sourcemage.org>
* haskell/haskell-silently: new spell, Prevent or capture writing
to stdout and other handles.
diff --git a/accounts b/accounts
index 1a75107..0f576d1 100755
--- a/accounts
+++ b/accounts
@@ -106,4 +106,6 @@ dk-milter:198:199
gnarwl:201:201
sddm:202:202:
rpc:204:204:
+smtpd:206:206:
+smtpq:207:207:
nobody:65534:65534
diff --git a/groups b/groups
index 03f5c6c..8edcc33 100755
--- a/groups
+++ b/groups
@@ -130,5 +130,7 @@ sddm:202:
input:203:
rpc:204:
docker:205:
+smtpd:206:
+smtpq:207:
users:1000:
nogroup:65534:
diff --git a/libs/libasr/DETAILS b/libs/libasr/DETAILS
new file mode 100755
index 0000000..49c92e0
--- /dev/null
+++ b/libs/libasr/DETAILS
@@ -0,0 +1,24 @@
+ SPELL=libasr
+ VERSION=1.0.2
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=https://www.opensmtpd.org/archives/${SOURCE}
+
SOURCE_HASH=sha512:a4825a30130f70a452044c484871ac37459e1c1e6659c4c38dead7d3abbdaecb3517b7accb46586537975fee033857566fd279ecf97ae87dc80bb6bcdd467d3e
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/OpenSMTPD/libasr
+ LICENSE[0]=ISC
+ LICENSE[1]=BSD
+ ENTERED=20150702
+ SHORT="free, simple and portable asynchronous resolver library"
+cat << EOF
+libasr is a free, simple and portable asynchronous resolver library.
+
+It allows to run DNS queries and perform hostname resolutions in a fully
+asynchronous fashion. The implementation is thread-less, fork-less, and does
+not make use of signals or other "tricks" that might get in the developer's
way.
+The API was initially developped for the OpenBSD operating system, where it
is
+natively supported.
+
+This library is intended to bring this interface to other systems. It is
+originally provided as a support library for the portable version of the
+OpenSMTPD daemon, but it can be used in any other contexts.
+EOF
diff --git a/libs/libasr/HISTORY b/libs/libasr/HISTORY
new file mode 100644
index 0000000..b4588a3
--- /dev/null
+++ b/libs/libasr/HISTORY
@@ -0,0 +1,2 @@
+2015-07-02 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: created spell, version 1.0.2
diff --git a/mail/opensmtpd/BUILD b/mail/opensmtpd/BUILD
new file mode 100755
index 0000000..53882b8
--- /dev/null
+++ b/mail/opensmtpd/BUILD
@@ -0,0 +1,10 @@
+create_account smtpd &&
+create_account smtpq &&
+
+OPTS="--with-ca-file=$INSTALL_ROOT/etc/ssl/certs/ca-certificates.crt \
+ --with-privsep-user=smtpd \
+ --with-queue-user=smtpq \
+ $OPENSMTPD_OPTS \
+ $OPTS" &&
+
+default_build
diff --git a/mail/opensmtpd/CONFLICTS b/mail/opensmtpd/CONFLICTS
new file mode 100755
index 0000000..e5b7293
--- /dev/null
+++ b/mail/opensmtpd/CONFLICTS
@@ -0,0 +1,8 @@
+conflicts masqmail &&
+conflicts courier &&
+conflicts exim &&
+conflicts msmtp &&
+conflicts postfix &&
+conflicts sendmail &&
+conflicts esmtp &&
+conflicts netqmail
diff --git a/mail/opensmtpd/DEPENDS b/mail/opensmtpd/DEPENDS
new file mode 100755
index 0000000..96268db
--- /dev/null
+++ b/mail/opensmtpd/DEPENDS
@@ -0,0 +1,14 @@
+depends zlib &&
+depends libasr &&
+depends SSL &&
+depends bison &&
+
+optional_depends db \
+ "--enable-table-db" \
+ "--disable-table-db" \
+ "for building of table-db backend" &&
+
+optional_depends linux-pam \
+ "--with-pam" \
+ "--without-pam" \
+ "for PAM support"
diff --git a/mail/opensmtpd/DETAILS b/mail/opensmtpd/DETAILS
new file mode 100755
index 0000000..444acd8
--- /dev/null
+++ b/mail/opensmtpd/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=opensmtpd
+ VERSION=5.7.1p1
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://www.opensmtpd.org/archives/${SOURCE}
+
SOURCE_HASH=sha256:67e9dd9682ca8c181e84e66c76245a4a8f6205834f915a2c021cdfeb22049e3a:UPSTREAM_HASH
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://www.opensmtpd.org/
+ LICENSE[0]=ISC
+ LICENSE[1]=BSD
+ ENTERED=20150702
+ KEYWORDS="server mail"
+ SHORT="free server-side SMTP protocol implementation as defined
by RFC 5321"
+cat << EOF
+OpenSMTPD is a FREE implementation of the server-side SMTP protocol as
defined
+by RFC 5321, with some additional standard extensions. It allows ordinary
+machines to exchange e-mails with other systems speaking the SMTP protocol.
+
+Started out of dissatisfaction with other implementations, OpenSMTPD
nowadays is
+a fairly complete SMTP implementation.
+EOF
diff --git a/mail/opensmtpd/HISTORY b/mail/opensmtpd/HISTORY
new file mode 100644
index 0000000..7ca368a
--- /dev/null
+++ b/mail/opensmtpd/HISTORY
@@ -0,0 +1,3 @@
+2015-07-02 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, INSTALL, CONFLICTS, PROVIDES, init.d:
created
+ spell, version 5.7.1p1
diff --git a/mail/opensmtpd/INSTALL b/mail/opensmtpd/INSTALL
new file mode 100755
index 0000000..57f4646
--- /dev/null
+++ b/mail/opensmtpd/INSTALL
@@ -0,0 +1,3 @@
+default_install &&
+
+ln -vsf "$TRACK_ROOT/usr/sbin/smtpctl" "$INSTALL_ROOT/usr/sbin/sendmail"
diff --git a/mail/opensmtpd/PROVIDES b/mail/opensmtpd/PROVIDES
new file mode 100755
index 0000000..bebbaa4
--- /dev/null
+++ b/mail/opensmtpd/PROVIDES
@@ -0,0 +1,2 @@
+MAIL-TRANSPORT-AGENT
+SENDMAIL
diff --git a/mail/opensmtpd/init.d/smtpd b/mail/opensmtpd/init.d/smtpd
new file mode 100755
index 0000000..4b2ba4d
--- /dev/null
+++ b/mail/opensmtpd/init.d/smtpd
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+PROGRAM=/usr/sbin/smtpd
+ARGS=""
+PIDFILE="/var/run/smtpd.pid"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+stop() {
+ smtpctl stop
+ evaluate_retval
+}



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (8f2f0e1ed3fc339c0f7c9b6b101234c2b6d9d9f1), Vlad Glagolev, 07/02/2015

Archive powered by MHonArc 2.6.24.

Top of Page