summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-07-08 16:42:16 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-07-08 16:42:16 +0000
commit5956a262e3151d2d1546e4d2d5c3a3da4b65daef (patch)
treea07901c1947c2abb9abc836b72a0d5f2d2fe5ed8 /mail-mta
parentVersion bumped. Added prelink USE flag. (diff)
downloadhistorical-5956a262e3151d2d1546e4d2d5c3a3da4b65daef.tar.gz
historical-5956a262e3151d2d1546e4d2d5c3a3da4b65daef.tar.bz2
historical-5956a262e3151d2d1546e4d2d5c3a3da4b65daef.zip
Respect CC/LDFLAGS. Thanks to Kevin Pyle. Fixes bug #244152
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/nbsmtp/ChangeLog7
-rw-r--r--mail-mta/nbsmtp/Manifest3
-rw-r--r--mail-mta/nbsmtp/nbsmtp-1.00-r3.ebuild53
3 files changed, 60 insertions, 3 deletions
diff --git a/mail-mta/nbsmtp/ChangeLog b/mail-mta/nbsmtp/ChangeLog
index 0206b96313c0..f0a3bdb20d84 100644
--- a/mail-mta/nbsmtp/ChangeLog
+++ b/mail-mta/nbsmtp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/nbsmtp
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/nbsmtp/ChangeLog,v 1.44 2009/09/23 18:06:28 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/nbsmtp/ChangeLog,v 1.45 2010/07/08 16:42:16 hwoarang Exp $
+
+ 08 Jul 2010; Markos Chandras <hwoarang@gentoo.org> +nbsmtp-1.00-r3.ebuild:
+ Respect CC/LDFLAGS. Thanks to Kevin Pyle. Fixes bug #244152
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> nbsmtp-1.00.ebuild,
nbsmtp-1.00-r2.ebuild:
diff --git a/mail-mta/nbsmtp/Manifest b/mail-mta/nbsmtp/Manifest
index 618a9f780348..8f45d7084f7f 100644
--- a/mail-mta/nbsmtp/Manifest
+++ b/mail-mta/nbsmtp/Manifest
@@ -2,6 +2,7 @@ AUX mailer.conf 348 RMD160 f73aa1491684e0418fef370c2b6e7a7cd6b95fee SHA1 5bf91af
AUX nbsmtp-1.00-openssl.patch 259 RMD160 2eaa419bd5e98d9ce51029d610dfd4e7048def6d SHA1 d19af8d840461ed3d95b132e25ad09f0d0c1520c SHA256 b47c89ea273a4b9228d47722b2e811a240e13625f0b37e22c48666282627943f
DIST nbsmtp-1.00.tar.bz2 104090 RMD160 a701bca7715c5965f8ac337225d01c4f86abca36 SHA1 02a2a4967c06afd862f943e6594c08eed8c6674a SHA256 9e63fe490ce4df513d1c61640deaf9b603ba96ab4afd0f306d584c11b2e2989f
EBUILD nbsmtp-1.00-r2.ebuild 1183 RMD160 f81a93f6073b7ad7759529eed42b2d36799b6d3b SHA1 a006a27b55c3ffdfc4995250834bee371ef43ec9 SHA256 eff62c787cd8d5d780957f0600e428248b42bd932876637d62a349c68c8b3d4a
+EBUILD nbsmtp-1.00-r3.ebuild 1334 RMD160 625d4ca985e5fde1891cb90b2aa137fd13c8a129 SHA1 3a1afc64fc9affe3b9d86c07755b4554191cdb84 SHA256 881368ccc24350524ac877d1fcc64038c403e49aa882025425016265d93dd04c
EBUILD nbsmtp-1.00.ebuild 851 RMD160 24158536bd6dc72ef1e92977b71444b9a2e5e95e SHA1 efc6cfe1fe47031885339d532388afc48a78d632 SHA256 bf3622f59d3a1dc644575c23ec5c4160c0799d871e552f6a8170967252d79b2b
-MISC ChangeLog 7359 RMD160 5ae4db875e00102a0b8975dfe956318617bac096 SHA1 5cface0ed0c9fec006df8f79f2d83de7abdb3e5f SHA256 91f05de70cb2c0e00d3a210cf7ec98e83c755a4bfb763c0f737b0420741c5167
+MISC ChangeLog 7500 RMD160 5e45eb6ac10f981e3ae158cf634d05d038a31718 SHA1 a3593750f235cb7d20f89aa25737771ac0a1ffd6 SHA256 f168a2f99297f4d571177e657e5f55ebdaf488145473cb6a35c70392805e0556
MISC metadata.xml 163 RMD160 9d7831690071ef6a890ce066c38c9c4e851a2107 SHA1 6dcd4fa8a9b5cfcc7c0ae80c09e43395fe8e71a7 SHA256 38427b537ef2f561a685876ae3a7799382a1bf7fabef6c2d8765ca9d05056aa2
diff --git a/mail-mta/nbsmtp/nbsmtp-1.00-r3.ebuild b/mail-mta/nbsmtp/nbsmtp-1.00-r3.ebuild
new file mode 100644
index 000000000000..821666770c91
--- /dev/null
+++ b/mail-mta/nbsmtp/nbsmtp-1.00-r3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/nbsmtp/nbsmtp-1.00-r3.ebuild,v 1.5 2010/07/08 16:42:16 hwoarang Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Extremely simple MTA to get mail off the system to a relayhost"
+SRC_URI="http://www.gentoo-es.org/~ferdy/${P}.tar.bz2"
+HOMEPAGE="http://nbsmtp.ferdyx.org"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+IUSE="ssl ipv6 debug"
+
+DEPEND="ssl? ( dev-libs/openssl )
+ !virtual/mta"
+
+PROVIDE="virtual/mta"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-openssl.patch
+ sed -i \
+ -e '/CFLAGS=/a\LDLIBS=@LIBS@' \
+ -e '/$(CC) -o/d' \
+ Makefile.in || die 'Failed to sed Makefile.in'
+}
+
+src_compile() {
+ tc-export CC
+ econf $(use_enable ssl) \
+ $(use_enable debug) \
+ $(use_enable ipv6) || die
+
+ emake || die
+}
+
+src_install() {
+ dodir /usr/{{s,}bin,lib}
+ dobin nbsmtp
+ dobin scripts/nbqueue
+ dobin scripts/wrapper-nbsmtp
+ doman nbsmtprc.5 nbsmtp.8
+ dodoc INSTALL DOCS Doxyfile
+
+ dohard /usr/bin/wrapper-nbsmtp /usr/bin/sendmail
+ dohard /usr/bin/wrapper-nbsmtp /usr/sbin/sendmail
+ dohard /usr/bin/wrapper-nbsmtp /usr/lib/sendmail
+ dohard /usr/bin/wrapper-nbsmtp /usr/bin/mailq
+ dohard /usr/bin/wrapper-nbsmtp /usr/bin/newaliases
+}