aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorVasilis Papavasileiou <el03020@mail.ntua.gr>2010-05-11 15:01:27 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 15:01:27 +0200
commit14220dd89fc8ee20206a64d0ba795bdc7cbae5fe (patch)
treefdcf48fb8f674d01ae00a9032d9f400992a93c3b /network
parent0489ac2dab7283952218ddf4704163f431a88caf (diff)
network/esmtp: Initial import
Diffstat (limited to 'network')
-rw-r--r--network/esmtp/README11
-rw-r--r--network/esmtp/esmtp.SlackBuild59
-rw-r--r--network/esmtp/esmtp.info8
-rw-r--r--network/esmtp/slack-desc11
4 files changed, 89 insertions, 0 deletions
diff --git a/network/esmtp/README b/network/esmtp/README
new file mode 100644
index 0000000000000..04252c67f9d50
--- /dev/null
+++ b/network/esmtp/README
@@ -0,0 +1,11 @@
+ESMTP is a user-configurable relay-only MTA with a sendmail-compatible syntax,
+based on libESMTP and supporting the AUTH (including the CRAM-MD5 and NTLM
+SASL mechanisms) and StartTLS SMTP extensions.
+
+The doinst.sh script will create symlinks from /usr/sbin/sendmail and other
+typical sendmail paths to /usr/bin/esmtp if sendmail is not already installed.
+
+ESMTP requires LibESMTP, also available at SlackBuilds.org
+
+NOTE: The esmtp package conflicts with the stock sendmail package - you must
+ uninstall sendmail before installing esmtp.
diff --git a/network/esmtp/esmtp.SlackBuild b/network/esmtp/esmtp.SlackBuild
new file mode 100644
index 0000000000000..f8644562b657d
--- /dev/null
+++ b/network/esmtp/esmtp.SlackBuild
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+# Slackware build script for esmtp
+# Written by Vasilis Papavasileiou <el03020 at mail dot ntua dot gr>
+# Modified by the SlackBuilds.org project
+
+PRGNAM=esmtp
+VERSION=0.5.1
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+DOCS="AUTHORS COPYING INSTALL NEWS README TODO sample.esmtprc"
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP || exit 1
+rm -rf $PRGNAM-$VERSION
+tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+cd $PRGNAM-$VERSION || exit 1
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ || exit 1
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/network/esmtp/esmtp.info b/network/esmtp/esmtp.info
new file mode 100644
index 0000000000000..532a4ee835039
--- /dev/null
+++ b/network/esmtp/esmtp.info
@@ -0,0 +1,8 @@
+PRGNAM="esmtp"
+VERSION="0.5.1"
+HOMEPAGE="http://esmtp.sourceforge.net/"
+DOWNLOAD="http://switch.dl.sourceforge.net/sourceforge/esmtp/esmtp-0.5.1.tar.bz2"
+MD5SUM="9f0b809e891a548910f099efc4315b02"
+MAINTAINER="Vasilis Papavasileiou"
+EMAIL="el03020@mail.ntua.gr"
+APPROVED="rworkman"
diff --git a/network/esmtp/slack-desc b/network/esmtp/slack-desc
new file mode 100644
index 0000000000000..adc31ece0d9c5
--- /dev/null
+++ b/network/esmtp/slack-desc
@@ -0,0 +1,11 @@
+esmtp: esmtp (A simple relay-only MTA)
+esmtp:
+esmtp: ESMTP is a user-configurable relay-only MTA with a sendmail-compatible
+esmtp: syntax, based on libESMTP and supporting the AUTH (including the
+esmtp: CRAM-MD5 and NTLM SASL mechanisms) and StartTLS SMTP extensions.
+esmtp:
+esmtp: Homepage: http://esmtp.sourceforge.net/
+esmtp:
+esmtp:
+esmtp:
+esmtp: