network/esmtp: Initial import
This commit is contained in:
parent
0489ac2dab
commit
14220dd89f
|
@ -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.
|
|
@ -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
|
|
@ -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"
|
|
@ -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:
|
Loading…
Reference in New Issue