public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jerry A! <jerry@thehutt.org>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Nail portage revision
Date: Wed Jul 11 04:00:03 2001	[thread overview]
Message-ID: <20010711055905.A18578@gemini.thehutt.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

Okay, here's nail-9.27-r1.ebuild.  I made the changes to make it fit
into the mail architecture changes we've been discussing the past few
days.  Dan, Achim and Grant (as well as anyone else who pleases), please
look over the attached ebuild and let me know what you think.  If you
like it, I'll go ahead and commit it.

Dan, if everyone is cool with this revision, then I would say have
nail/ssmtp be the defaults in package.mask.

        --Jerry

name:  Jerry Alexandratos         ||  Open-Source software isn't a
phone: 703.599.6023               ||  matter of life or death...
email: jerry@thehutt.org          ||  ...It's much more important
                                  ||  than that!

[-- Attachment #2: nail-9.27-r1.ebuild --]
[-- Type: text/plain, Size: 2584 bytes --]

# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Grant Goodyear <g2boojum@gentoo.org>
# $Header: /home/cvsroot/gentoo-x86/net-mail/nail/nail-9.27.ebuild,v 1.3 2001/07/08 17:44:37 g2boojum Exp $

S=${WORKDIR}/${P}

DESCRIPTION="Nail is a mail user agent derived from Berkeley Mail 8.1
             and contains builtin support for MIME messages."

SRC_URI="http://omnibus.ruf.uni-freiburg.de/~gritter/archive/nail/${P}.tar.gz"
HOMEPAGE="http://omnibus.ruf.uni-freiburg.de/~gritter/"

DEPEND="virtual/glibc"
RDEPEND="virtual/mta"


src_unpack() {
    cd ${WORKDIR}
    unpack ${A}

    cd ${S}
    echo -e "\n\b" \
        "# Uncomment the following line and change \"localhost\" to point\n\b" \
        "# to your remote smtp server to enable direct smtp connections\n\b" \
        "# instead of using /usr/sbin/sendmail.\n\b" \
        "#set smtp=localhost\n" >> nail.rc
}

src_compile() {
    try ./configure --infodir=/usr/share/info --mandir=/usr/share/man \
        --prefix=/usr --host=${CHOST} --with-mailspool=~/.maildir
# Note the use of --infodir and --mandir, above.
# This is to make this package FHS 2.2-compliant
# (/usr/share is used for info and man now).

    try emake
}

src_install() {
    try make DESTDIR=${D} install

    dodoc AUTHORS COPYING I18N INSTALL README

    dodir /bin
    dosym /usr/bin/nail /bin/mail

    cd ${D}/usr/bin
    ln -sf nail mail
    ln -sf nail Mail
}

pkg_postinst() {
    echo -e "\n" \
        "NOTE: The nail mailer does _not_ support maildir format.  It\n" \
        "      is best to use nail only for outgoing mail, and really\n" \
        "      only use it for scripts that require it.\n" \
        "NOTE: This build has ~/.maildir compiled in as the mail spool\n" \
        "      directory (for incoming mail).  Nail will work for\n" \
        "      sending outgoing mail even if the mail spool directory\n" \
        "      does not exist.\n" \
        "NOTE: When used to send mail via a remote smtp server nail\n" \
        "      does not require a local mail transfer agent.  ISP smtp\n" \
        "      servers tend to have names like:\n" \
        "\n" \
        "        mail.ispname.com\n" \
        "      or\n" \
        "        smtp.ispname.com.\n" \
        "\n" \
        "NOTE: By default nail uses /usr/sbin/sendmail as it's MTA.  If\n" \
        "      you'd prefer to have nail make direct smtp connections\n" \
        "      look look at /etc/nail.rc for instructions on how to set\n" \
        "      this up.\n"
}

             reply	other threads:[~2001-07-11  9:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-11  4:00 Jerry A! [this message]
2001-07-11 12:51 ` [gentoo-dev] Nail portage revision Daniel Robbins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010711055905.A18578@gemini.thehutt.org \
    --to=jerry@thehutt.org \
    --cc=gentoo-dev@cvs.gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox