summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/ssmtp')
-rw-r--r--net-mail/ssmtp/files/digest-ssmtp-2.38.141
-rw-r--r--net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild67
-rw-r--r--net-mail/ssmtp/ssmtp-2.38.14.ebuild44
3 files changed, 32 insertions, 80 deletions
diff --git a/net-mail/ssmtp/files/digest-ssmtp-2.38.14 b/net-mail/ssmtp/files/digest-ssmtp-2.38.14
deleted file mode 100644
index 1df109a694c6..000000000000
--- a/net-mail/ssmtp/files/digest-ssmtp-2.38.14
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1567b221a5853da63a286e90c3240601 ssmtp-2.38.14.tar.gz 72326
diff --git a/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild b/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild
index 494a10093a44..2bef966f64a5 100644
--- a/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild
+++ b/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild
@@ -1,53 +1,50 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild,v 1.7 2002/07/11 06:30:47 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ssmtp/ssmtp-2.38.14-r1.ebuild,v 1.8 2002/07/16 04:54:33 seemant Exp $
-
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub"
-SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/system/mail/mta/${A}"
+SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/system/mail/mta/${P}.tar.gz"
DEPEND="virtual/glibc"
-
-
RDEPEND="!virtual/mta net-mail/mailbase"
-
PROVIDE="virtual/mta"
-src_compile() {
- try make clean
- try make ${MAKEOPTS}
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc"
+
+src_compile() {
+ make clean || die
+ make ${MAKEOPTS} || die
}
-src_install() {
- dodir /usr/bin /usr/sbin /usr/lib
- dosbin ssmtp
- chmod 755 ${D}/usr/sbin/ssmtp
- dosym /usr/sbin/ssmtp /usr/bin/mailq
- dosym /usr/sbin/ssmtp /usr/bin/newaliases
- dosym /usr/sbin/ssmtp /usr/bin/mail
- dosym /usr/sbin/ssmtp /usr/sbin/sendmail
- dosym /usr/sbin/ssmtp /usr/lib/sendmail
- doman ssmtp.8
- dosym /usr/share/man/man8/ssmtp.8 /usr/share/man/man8/sendmail.8
- dodoc CHANGELOG INSTALL MANIFEST README
- newdoc ssmtp.lsm DESC
- insinto /etc/ssmtp
- doins ssmtp.conf revaliases
+src_install() {
+ dodir /usr/bin /usr/sbin /usr/lib
+ dosbin ssmtp
+ chmod 755 ${D}/usr/sbin/ssmtp
+ dosym /usr/sbin/ssmtp /usr/bin/mailq
+ dosym /usr/sbin/ssmtp /usr/bin/newaliases
+ dosym /usr/sbin/ssmtp /usr/bin/mail
+ dosym /usr/sbin/ssmtp /usr/sbin/sendmail
+ dosym /usr/sbin/ssmtp /usr/lib/sendmail
+ doman ssmtp.8
+ dosym /usr/share/man/man8/ssmtp.8 /usr/share/man/man8/sendmail.8
+ dodoc CHANGELOG INSTALL MANIFEST README
+ newdoc ssmtp.lsm DESC
+ insinto /etc/ssmtp
+ doins ssmtp.conf revaliases
}
pkg_config() {
-conffile="/etc/ssmtp/ssmtp.conf"
-hostname=`hostname -f`
-domainame=`hostname -d`
-mv ${conffile} ${conffile}.orig
-cat ${conffile}.orig \
-| sed -e "s:rewriteDomain\=:rewriteDomain\=${domainame}:g" \
-| sed -e "s:_HOSTNAME_:${hostname}:" \
-| sed -e "s:\=mail:\=mail.${domainame}:g" > ${conffile}
+ conffile="/etc/ssmtp/ssmtp.conf"
+ hostname=`hostname -f`
+ domainame=`hostname -d`
+ mv ${conffile} ${conffile}.orig
+ sed -e "s:rewriteDomain\=:rewriteDomain\=${domainame}:g" \
+ -e "s:_HOSTNAME_:${hostname}:" \
+ -e "s:\=mail:\=mail.${domainame}:g" \
+ ${conffile}.orig > ${conffile}
}
-
-
diff --git a/net-mail/ssmtp/ssmtp-2.38.14.ebuild b/net-mail/ssmtp/ssmtp-2.38.14.ebuild
deleted file mode 100644
index 18af4f0e41ea..000000000000
--- a/net-mail/ssmtp/ssmtp-2.38.14.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-mail/ssmtp/ssmtp-2.38.14.ebuild,v 1.4 2002/07/11 06:30:47 drobbins Exp $
-
-
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub"
-SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/system/mail/mta/${A}"
-
-DEPEND="virtual/glibc
- >=net-mail/mailbase-0.00"
-
-RDEPEND="!virtual/mta"
-
-PROVIDE="virtual/mta"
-
-src_compile() {
- try make clean
- try make ${MAKEOPTS}
-}
-
-src_install() {
- dodir /usr/bin /usr/sbin /usr/lib
- dosbin ssmtp
- chmod 755 ${D}/usr/sbin/ssmtp
- dosym /usr/sbin/ssmtp /usr/bin/mailq
- dosym /usr/sbin/ssmtp /usr/bin/newaliases
- dosym /usr/sbin/ssmtp /usr/bin/mail
- dosym /usr/sbin/ssmtp /usr/sbin/sendmail
- dosym /usr/sbin/ssmtp /usr/lib/sendmail
- doman ssmtp.8
- dosym /usr/share/man/man8/ssmtp.8 /usr/share/man/man8/sendmail.8
- dodoc CHANGELOG INSTALL MANIFEST README
- newdoc ssmtp.lsm DESC
- insinto /etc/ssmtp
- doins ssmtp.conf revaliases
-}
-
-pkg_config() {
- echo "Please edit /etc/ssmtp/ssmtp.conf"
-}
-
-