Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel grimoire by Chris Dombroski (cdcddb748df7377b23a2f211eed85adacb2d32d6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Chris Dombroski <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel grimoire by Chris Dombroski (cdcddb748df7377b23a2f211eed85adacb2d32d6)
  • Date: Mon, 14 Aug 2006 12:40:14 -0500

GIT changes to devel grimoire by Chris Dombroski <cdombroski AT icanttype.org>:

mail/ssmtp/CONFIGURE | 1 +
mail/ssmtp/DETAILS | 23 +++++++++++++++++++++++
mail/ssmtp/INSTALL | 23 +++++++++++++++++++++++
mail/ssmtp/PRE_BUILD | 3 +++
mail/ssmtp/WIP | 1 +
5 files changed, 51 insertions(+)

New commits:
commit cdcddb748df7377b23a2f211eed85adacb2d32d6
Author: Chris Dombroski <cdombroski AT icanttype.org>
Commit: Chris Dombroski <cdombroski AT icanttype.org>

Adding spell ssmtp for review before publishing to test and beyond.

Signed-off-by: Chris Dombroski <cdombroski AT icanttype.org>

diff --git a/mail/ssmtp/CONFIGURE b/mail/ssmtp/CONFIGURE
new file mode 100755
index 0000000..773b589
--- /dev/null
+++ b/mail/ssmtp/CONFIGURE
@@ -0,0 +1 @@
+#config_query MAIL_RELAY "Where would you like mail to be relayed to?" "mail"
diff --git a/mail/ssmtp/DETAILS b/mail/ssmtp/DETAILS
new file mode 100755
index 0000000..2cf9e18
--- /dev/null
+++ b/mail/ssmtp/DETAILS
@@ -0,0 +1,23 @@
+ SPELL=ssmtp
+ VERSION=2.61
+ PATCHLEVEL=2
+ SOURCE=${SPELL}_${VERSION}.orig.tar.gz
+ SOURCE2=${SPELL}_${VERSION}-${PATCHLEVEL}.diff.gz
+ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-${VERSION//-/}
+ SOURCE_URL=http://ftp.debian.org/debian/pool/main/s/${SPELL}/${SOURCE}
+
SOURCE2_URL=http://ftp.debian.org/debian/pool/main/s/${SPELL}/${SOURCE2}
+ SOURCE_HASH=md5:957e6fff08625fe34f4fc33d0925bbc9:UPSTREAM_HASH
+ SOURCE2_HASH=md5:2433820d5350a5e8920af73d41c7f4ed:UPSTREAM_HASH
+ WEB_SITE=http://packages.debian.org/stable/mail/ssmtp
+ LICENSE[0]=GPL
+ BUILD_API=2
+ ENTERED=20060811
+ KEYWORDS="MTA"
+ SHORT="Extremely simple MTA to get mail off the system to a mail
hub"
+cat << EOF
+A secure, effective and simple way of getting mail off a system to your mail
hub. It contains no suid-binaries or other dangerous things - no mail spool
to poke around in, and no daemons running in the background. Mail is simply
forwarded to the configured mailhost. Extremely easy configuration.
+
+WARNING: the above is all it does; it does not receive mail, expand aliases
or manage a queue. That belongs on a mail hub with a system administrator.
+EOF
+
+
diff --git a/mail/ssmtp/INSTALL b/mail/ssmtp/INSTALL
new file mode 100755
index 0000000..6794e3e
--- /dev/null
+++ b/mail/ssmtp/INSTALL
@@ -0,0 +1,23 @@
+sedit "/\$(GEN_CONFIG) \$(INSTALLED_CONFIGURATION_FILE)/D" Makefile
&&
+mkdir -p /etc/ssmtp
&&
+if [ ! -f /etc/ssmtp/ssmtp.conf ]; then
+ #Create the file
+ cat > ${SOURCE_DIRECTORY}/ssmtp.conf << EOF
+#
+# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
+#
+# The person who gets all mail for userids < 1000
+# Make this empty to disable rewriting.
+#root=postmaster
+# The place where the mail goes. The actual machine name is required
+# no MX records are consulted. Commonly mailhosts are named mail.domain.com
+# The example will fit if you are in domain.com and you mailhub is so named.
+mailhub=mail
+# Where will the mail seem to come from?
+#rewriteDomain=
+# The full hostname
+hostname=`hostname --fqdn`
+EOF
+ install -m 644 ${SOURCE_DIRECTORY}/ssmtp.conf /etc/ssmtp
+fi
+default_install
diff --git a/mail/ssmtp/PRE_BUILD b/mail/ssmtp/PRE_BUILD
new file mode 100755
index 0000000..0b3472e
--- /dev/null
+++ b/mail/ssmtp/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+zcat /var/spool/sorcery/${SOURCE2} | patch -p1
diff --git a/mail/ssmtp/WIP b/mail/ssmtp/WIP
new file mode 100644
index 0000000..c5d4670
--- /dev/null
+++ b/mail/ssmtp/WIP
@@ -0,0 +1 @@
+Chris Dombroski <cdombroski AT icanttype.org>: I want this to be looked at
before inclusion into test, etc.



  • [SM-Commit] GIT changes to devel grimoire by Chris Dombroski (cdcddb748df7377b23a2f211eed85adacb2d32d6), Chris Dombroski, 08/14/2006

Archive powered by MHonArc 2.6.24.

Top of Page