From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.7 required=5.0 tests=DATE_IN_PAST_06_12,DMARC_QUAR, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from cj647207-a.reston1.va.home.com ([65.1.132.232] helo=gemini.thehutt.org) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15KGmO-0007SL-00 for gentoo-dev@gentoo.org; Wed, 11 Jul 2001 03:59:36 -0600 Received: from jerry by gemini.thehutt.org with local (Exim 3.30 #1) id 15KGlt-0004pw-00 for gentoo-dev@gentoo.org; Wed, 11 Jul 2001 05:59:05 -0400 From: Jerry A! To: gentoo-dev@gentoo.org Message-ID: <20010711055905.A18578@gemini.thehutt.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Broken Toys Unlimited Subject: [gentoo-dev] Nail portage revision Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org X-Reply-To: jerry@thehutt.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Wed Jul 11 04:00:03 2001 X-Original-Date: Wed, 11 Jul 2001 05:59:05 -0400 X-Archives-Salt: 36185805-74cd-4442-ac1c-ace4a8a33aa0 X-Archives-Hash: 24446409a26ddbe4a581549e8590ab23 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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! --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nail-9.27-r1.ebuild" # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Grant Goodyear # $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" } --4Ckj6UjgE2iN1+kY--