diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2005-05-30 17:36:43 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2005-05-30 17:36:43 +0000 |
commit | d0da2a9482cd0e243a64ff0a71d50538644e2bb9 (patch) | |
tree | 4ae324ba47e413b1b6a22bd1ec16498a0e86344f /mail-mta/nbsmtp | |
parent | Stable on x86 (diff) | |
download | historical-d0da2a9482cd0e243a64ff0a71d50538644e2bb9.tar.gz historical-d0da2a9482cd0e243a64ff0a71d50538644e2bb9.tar.bz2 historical-d0da2a9482cd0e243a64ff0a71d50538644e2bb9.zip |
cleanup old files
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'mail-mta/nbsmtp')
-rw-r--r-- | mail-mta/nbsmtp/ChangeLog | 6 | ||||
-rw-r--r-- | mail-mta/nbsmtp/Manifest | 18 | ||||
-rw-r--r-- | mail-mta/nbsmtp/files/digest-nbsmtp-0.98 | 1 | ||||
-rwxr-xr-x | mail-mta/nbsmtp/files/nbqueue | 91 | ||||
-rwxr-xr-x | mail-mta/nbsmtp/files/wrapper-nbsmtp | 27 | ||||
-rw-r--r-- | mail-mta/nbsmtp/nbsmtp-0.98.ebuild | 36 |
6 files changed, 12 insertions, 167 deletions
diff --git a/mail-mta/nbsmtp/ChangeLog b/mail-mta/nbsmtp/ChangeLog index 6cb794729abb..cfb22dc14669 100644 --- a/mail-mta/nbsmtp/ChangeLog +++ b/mail-mta/nbsmtp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-mta/nbsmtp # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nbsmtp/ChangeLog,v 1.23 2005/05/10 15:35:45 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/nbsmtp/ChangeLog,v 1.24 2005/05/30 17:36:43 ferdy Exp $ + + 30 May 2005; Fernando J. Pereda <ferdy@gentoo.org> -files/nbqueue, + -files/wrapper-nbsmtp, -nbsmtp-0.98.ebuild: + cleanup old files 10 May 2005; Gustavo Zacarias <gustavoz@gentoo.org> nbsmtp-0.99.ebuild: Stable on sparc diff --git a/mail-mta/nbsmtp/Manifest b/mail-mta/nbsmtp/Manifest index 2bf1b1db1acd..c60d5156b99c 100644 --- a/mail-mta/nbsmtp/Manifest +++ b/mail-mta/nbsmtp/Manifest @@ -1,21 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 7fd7f75b4a9eb0aac9cee271c2b5de80 ChangeLog 4538 -MD5 2fc9863fa18fa7e25fedaa87a92a3c43 metadata.xml 259 MD5 9dd2e50dc83a84f395ea49d77562ca65 nbsmtp-0.99-r1.ebuild 1356 MD5 3382c19d527239abb8d0aca0c99b10f5 nbsmtp-0.99.ebuild 880 -MD5 62a08f03f2896feac3b7547606c7ddf4 nbsmtp-0.98.ebuild 849 +MD5 9db0ce5b6beca3c19bc11fb82690b871 ChangeLog 4671 +MD5 2fc9863fa18fa7e25fedaa87a92a3c43 metadata.xml 259 +MD5 3533060b1f277b5d74140ebf8c87a9ad files/digest-nbsmtp-0.99-r1 64 MD5 02906beafefaf79dd565570de5541a06 files/mailer.conf 348 -MD5 961b6dc8a63bc79755fec60255097c0e files/wrapper-nbsmtp 380 -MD5 58c75e9e9d9e915802e95794f16c2f32 files/nbqueue 1756 MD5 3533060b1f277b5d74140ebf8c87a9ad files/digest-nbsmtp-0.99 64 -MD5 200a5cc8c73df6a5a37a3cd5c34ab0b4 files/digest-nbsmtp-0.98 63 -MD5 3533060b1f277b5d74140ebf8c87a9ad files/digest-nbsmtp-0.99-r1 64 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCgNTlKRy60XGEcJIRAiaOAJ9Uz2LUX3LjpFpgeUWGSdqvjsfemwCgm/nX -aBVJBhUJCxHdNVGMZ1zJ/ww= -=sFGW +iD8DBQFCm09EViELBEf1JB0RAmLCAJ9rwVMTQDaPcSAoMJsNnoWYJPY+dACePAvM +lxFMl24NM2lq2FYNI7vLgeU= +=F+yN -----END PGP SIGNATURE----- diff --git a/mail-mta/nbsmtp/files/digest-nbsmtp-0.98 b/mail-mta/nbsmtp/files/digest-nbsmtp-0.98 deleted file mode 100644 index bc7567ad5158..000000000000 --- a/mail-mta/nbsmtp/files/digest-nbsmtp-0.98 +++ /dev/null @@ -1 +0,0 @@ -MD5 a3e650aae097d41e326978112918d03e nbsmtp-0.98.tar.bz2 95678 diff --git a/mail-mta/nbsmtp/files/nbqueue b/mail-mta/nbsmtp/files/nbqueue deleted file mode 100755 index 6eeee7e83d18..000000000000 --- a/mail-mta/nbsmtp/files/nbqueue +++ /dev/null @@ -1,91 +0,0 @@ -#!/usr/bin/env bash - -## -# nbQUEUE adds queue support for nbsmtp -# -# To use nbQUEUE just create ${QUEUEDIR} and then set -# nbqueue as your sendmail program. To flush the queue -# (i.e. send all queued mails) just run nbqueue --flush. -## - -shopt -s nullglob - -QUEUEDIR=${QUEUEDIR:-~/.nbsmtp/.queue} - -messageid() { - sed -n -e '1,/^$/ { - /^Message-[iI][dD]: *<\([^>]*\)>.*$/s//\1/p - }' $1 -} - -messageinfo() { - sed -n -e '1,/^$/ { - /^From: .*$/p - /^To: .*$/p - /^[Bb]\?[cC]\{2\}: .*$/p - /^Subject: .*$/p - }' $1 -} - -[[ -d "${QUEUEDIR}" ]] || mkdir -p "${QUEUEDIR}" || { - echo "${0}: ${QUEUEDIR} does not exist and I cannot create it" - exit 1 -} - -case "$1" in - --flush|-f) - for i in ${QUEUEDIR}/* ; do - echo -n "Sending ${i}... " - nbsmtp < "${i}" - - if [[ $? -eq 0 ]] ; then - rm "${i}" - echo "ok." - else - echo "failed, keeping message in queue." - fi - done - ;; - --list|-l) - echo "Showing queued mails in ${QUEUEDIR}:" - echo - for i in ${QUEUEDIR}/* ; do - echo "* <${i##*/}>" - echo - messageinfo "${i}" - echo - done - ;; - --wipe|-w) - echo "Removing mails in ${QUEUEDIR}:" - for i in ${QUEUEDIR}/* ; do - echo -e "\t${i##*/}" - rm "${i}" - done - ;; - --help|-h) - cat << EOH -nbQUEUE Copyright (C) 2005 Fernando J. Pereda -nbQUEUE is supplied with nbSMTP [ http://nbsmtp.ferdyx.org ] -nbQUEUE and nbSMTP are released under the GPLv2 - -${0##*/} [ action ] - -Possible actions are: - --flush | -f - Send all mails in the queue - --wipe | -w - Remove all mail in the queue - --list | -l - List all messages in the queue - --help | -h - Print this help message -EOH - exit 0 - ;; - --) - # Asume queue mode - tmpfile=$(tempfile) - cat - > ${tmpfile} - newname=$(messageid ${tmpfile}) - mv "${tmpfile}" "${QUEUEDIR}/${newname}" - ;; -esac - -exit 0 diff --git a/mail-mta/nbsmtp/files/wrapper-nbsmtp b/mail-mta/nbsmtp/files/wrapper-nbsmtp deleted file mode 100755 index cd0abdf2ed41..000000000000 --- a/mail-mta/nbsmtp/files/wrapper-nbsmtp +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -_newaliases() { - echo "newaliases: nbSMTP does not support aliases" -} - -case "${0##*/}" in - sendmail|sendmail.nbsmtp) - if [[ "${1}" = "-I" ]] ; then - _newaliases - else - nbsmtp - fi - ;; - mailq|mailq.nbsmtp) - if [[ "${1}" = "-q" ]] ; then - nbqueue --flush - else - nbqueue --list - fi - ;; - newaliases|newaliases.nbsmtp) - _newaliases - ;; -esac - -exit $? diff --git a/mail-mta/nbsmtp/nbsmtp-0.98.ebuild b/mail-mta/nbsmtp/nbsmtp-0.98.ebuild deleted file mode 100644 index 5c7b0c61a922..000000000000 --- a/mail-mta/nbsmtp/nbsmtp-0.98.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nbsmtp/nbsmtp-0.98.ebuild,v 1.4 2005/01/17 19:25:42 gustavoz Exp $ - -DESCRIPTION="Extremely simple MTA to get mail off the system to a relayhost" -SRC_URI="http://www.gentoo-es.org/~ferdy/${P}.tar.bz2" -#SRC_URI="http://www.it.uc3m.es/~ferdy/${PN}/${P}.tar.bz2" -HOMEPAGE="http://nbsmtp.ferdyx.org" - -SLOT="0" -KEYWORDS="x86 ~ppc ~hppa ~amd64 sparc" -LICENSE="GPL-2" -IUSE="ssl ipv6 debug" - -DEPEND="virtual/libc - ssl? ( dev-libs/openssl )" - -PROVIDE="virtual/mta" - -src_compile() { - local myconf - - econf `use_enable ssl` \ - `use_enable debug` \ - `use_enable ipv6` \ - ${myconf} || die - - make || die -} - -src_install() { - dodir /usr/bin - dobin nbsmtp - doman nbsmtprc.5 nbsmtp.8 - dodoc INSTALL DOCS Doxyfile -} |