Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/nail: nail-12.4.ebuild nail-11.25-r3.ebuild ChangeLog
Date: Tue, 02 Feb 2010 17:45:38
Message-Id: E1NcMoi-0006vi-7I@stork.gentoo.org
1 jer 10/02/02 17:45:36
2
3 Modified: nail-11.25-r3.ebuild ChangeLog
4 Added: nail-12.4.ebuild
5 Log:
6 Version bump thanks to Andreas Niederl and many others (bug #156878). Respect CC (bug #244132).
7 (Portage version: 2.2_rc62/cvs/Linux i686)
8
9 Revision Changes Path
10 1.14 mail-client/nail/nail-11.25-r3.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/nail/nail-11.25-r3.ebuild?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/nail/nail-11.25-r3.ebuild?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/nail/nail-11.25-r3.ebuild?r1=1.13&r2=1.14
15
16 Index: nail-11.25-r3.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/mail-client/nail/nail-11.25-r3.ebuild,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- nail-11.25-r3.ebuild 9 Jul 2007 05:37:56 -0000 1.13
23 +++ nail-11.25-r3.ebuild 2 Feb 2010 17:45:35 -0000 1.14
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2007 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/nail-11.25-r3.ebuild,v 1.13 2007/07/09 05:37:56 redhatter Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/nail-11.25-r3.ebuild,v 1.14 2010/02/02 17:45:35 jer Exp $
29
30 inherit eutils
31 DESCRIPTION="Nail is an enhanced mailx-compatible mail client"
32 @@ -58,7 +58,7 @@
33 #set smtp=localhost
34 EOSMTP
35
36 - make DESTDIR=${D} \
37 + make DESTDIR="${D}" \
38 UCBINSTALL=$(type -p install) \
39 PREFIX=/usr install || die "install failed"
40 dodoc AUTHORS INSTALL README
41
42
43
44 1.56 mail-client/nail/ChangeLog
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/nail/ChangeLog?rev=1.56&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/nail/ChangeLog?rev=1.56&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/nail/ChangeLog?r1=1.55&r2=1.56
49
50 Index: ChangeLog
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/mail-client/nail/ChangeLog,v
53 retrieving revision 1.55
54 retrieving revision 1.56
55 diff -u -r1.55 -r1.56
56 --- ChangeLog 23 Aug 2008 01:42:24 -0000 1.55
57 +++ ChangeLog 2 Feb 2010 17:45:35 -0000 1.56
58 @@ -1,6 +1,12 @@
59 # ChangeLog for mail-client/nail
60 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
61 -# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/ChangeLog,v 1.55 2008/08/23 01:42:24 cardoe Exp $
62 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
63 +# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/ChangeLog,v 1.56 2010/02/02 17:45:35 jer Exp $
64 +
65 +*nail-12.4 (02 Feb 2010)
66 +
67 + 02 Feb 2010; Jeroen Roovers <jer@g.o> +nail-12.4.ebuild:
68 + Version bump thanks to Andreas Niederl and many others (bug #156878).
69 + Respect CC (bug #244132).
70
71 23 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
72 add GLEP 56 USE flag desc from use.local.desc
73
74
75
76 1.1 mail-client/nail/nail-12.4.ebuild
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/nail/nail-12.4.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/nail/nail-12.4.ebuild?rev=1.1&content-type=text/plain
80
81 Index: nail-12.4.ebuild
82 ===================================================================
83 # Copyright 1999-2010 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/mail-client/nail/nail-12.4.ebuild,v 1.1 2010/02/02 17:45:35 jer Exp $
86
87 EAPI="2"
88
89 inherit eutils
90
91 HOMEPAGE="http://heirloom.sourceforge.net/"
92 DESCRIPTION="an enhanced mailx-compatible mail client"
93 LICENSE="BSD"
94
95 MY_PN="mailx"
96 MY_P="${MY_PN}-${PV}"
97 SRC_URI="mirror://sourceforge/project/heirloom/heirloom-${MY_PN}/${PV}/${MY_P}.tar.bz2"
98 SLOT="0"
99 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
100 IUSE="ssl net kerberos"
101
102 PROVIDE="virtual/mailx"
103 RDEPEND="
104 ssl? ( dev-libs/openssl )
105 kerberos? ( virtual/krb5 )
106 !virtual/mailx
107 "
108 DEPEND="${RDEPEND}"
109
110 S=${WORKDIR}/${MY_P}
111
112 remove_ssl() {
113 elog "Disabling SSL support"
114 sed -i -e 's~#define USE_\(OPEN\)\?SSL~#undef USE_\1SSL~' config.h
115 sed -i -e 's~-ssl~~' -e 's~-lcrypto~~' LIBS
116 }
117
118 remove_sockets() {
119 elog "Not enabling sockets (thus disabling IMAP, POP and SMTP)"
120 sed -i -e 's~#define HAVE_SOCKETS~#undef HAVE_SOCKETS~' config.h
121 }
122
123 src_prepare() {
124 # Do not strip the binary
125 sed -i -e '/STRIP/d' Makefile
126 }
127
128 src_configure() {
129 # Build config.h and LIBS, neccesary to tweak the config
130 make config.h LIBS
131
132 # Logic to 'configure' the package
133 if use net && ! use ssl ; then
134 remove_ssl
135 elif ! use net ; then
136 # Linking to ssl without net support is pointless
137 remove_ssl
138 remove_sockets
139 fi
140 }
141
142 src_compile() {
143 # No configure script to check for and set this
144 tc-export CC
145
146 emake \
147 PREFIX=/usr \
148 MAILSPOOL='/var/spool/mail' \
149 || die "emake failed"
150 }
151
152 src_install () {
153 # Use /usr/lib/sendmail by default and provide an example
154 cat <<- EOSMTP >> nail.rc
155
156 # Use the local sendmail (/usr/lib/sendmail) binary by default.
157 # (Uncomment the following line to use a SMTP server)
158 #set smtp=localhost
159 EOSMTP
160
161 make DESTDIR="${D}" \
162 UCBINSTALL=$(type -p install) \
163 PREFIX=/usr install || die "install failed"
164 dodoc AUTHORS INSTALL README
165 dodir /bin
166 dosym /usr/bin/mailx /bin/mail
167 dosym /usr/bin/mailx /usr/bin/mail
168 dosym /usr/bin/mailx /usr/bin/Mail
169 }