1 |
flameeyes 10/10/03 14:51:29 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: nail-12.4-r2.ebuild |
5 |
Log: |
6 |
Change sendmail default path (bug #339308 by Joakim Tjernlund); link man pages like commends are; use emake for install; add die statements. Take over maintainership. |
7 |
|
8 |
(Portage version: 2.2_rc88/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 mail-client/nail/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nail/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nail/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nail/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/nail/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- metadata.xml 26 Jul 2010 22:50:28 -0000 1.3 |
24 |
+++ metadata.xml 3 Oct 2010 14:51:29 -0000 1.4 |
25 |
@@ -1,22 +1,26 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
-<herd>net-mail</herd> |
30 |
-<use> |
31 |
- <flag name='net'> |
32 |
- Enable support for network protocols (POP, IMAP and SMTP). If you |
33 |
- only need to send mail with the local Transport Agent, disabling |
34 |
- this will get you support for only /usr/sbin/sendmail call. |
35 |
- </flag> |
36 |
+ <herd>net-mail</herd> |
37 |
+ <maintainer> |
38 |
+ <email>flameeyes@g.o</email> |
39 |
+ </maintainer> |
40 |
|
41 |
- <flag name='ssl'> |
42 |
- If network is enabled, this adds support for S/MIME and |
43 |
- SSL/TLS-powered protocols through <pkg>dev-libs/openssl</pkg>. |
44 |
- </flag> |
45 |
+ <use> |
46 |
+ <flag name='net'> |
47 |
+ Enable support for network protocols (POP, IMAP and SMTP). If you |
48 |
+ only need to send mail with the local Transport Agent, disabling |
49 |
+ this will get you support for only /usr/sbin/sendmail call. |
50 |
+ </flag> |
51 |
|
52 |
- <flag name='kerberos'> |
53 |
- If network is enabled, this adds support for GSSAPI login on IMAP |
54 |
- through <pkg>virtual/kerberos</pkg>. |
55 |
- </flag> |
56 |
-</use> |
57 |
+ <flag name='ssl'> |
58 |
+ If network is enabled, this adds support for S/MIME and |
59 |
+ SSL/TLS-powered protocols through <pkg>dev-libs/openssl</pkg>. |
60 |
+ </flag> |
61 |
+ |
62 |
+ <flag name='kerberos'> |
63 |
+ If network is enabled, this adds support for GSSAPI login on IMAP |
64 |
+ through <pkg>virtual/kerberos</pkg>. |
65 |
+ </flag> |
66 |
+ </use> |
67 |
</pkgmetadata> |
68 |
|
69 |
|
70 |
|
71 |
1.75 mail-client/nail/ChangeLog |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nail/ChangeLog?rev=1.75&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nail/ChangeLog?rev=1.75&content-type=text/plain |
75 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nail/ChangeLog?r1=1.74&r2=1.75 |
76 |
|
77 |
Index: ChangeLog |
78 |
=================================================================== |
79 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/nail/ChangeLog,v |
80 |
retrieving revision 1.74 |
81 |
retrieving revision 1.75 |
82 |
diff -u -r1.74 -r1.75 |
83 |
--- ChangeLog 23 Sep 2010 20:51:49 -0000 1.74 |
84 |
+++ ChangeLog 3 Oct 2010 14:51:29 -0000 1.75 |
85 |
@@ -1,6 +1,14 @@ |
86 |
# ChangeLog for mail-client/nail |
87 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
88 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/ChangeLog,v 1.74 2010/09/23 20:51:49 maekke Exp $ |
89 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/ChangeLog,v 1.75 2010/10/03 14:51:29 flameeyes Exp $ |
90 |
+ |
91 |
+*nail-12.4-r2 (03 Oct 2010) |
92 |
+ |
93 |
+ 03 Oct 2010; Diego E. Pettenò <flameeyes@g.o> |
94 |
+ +nail-12.4-r2.ebuild, metadata.xml: |
95 |
+ Change sendmail default path (bug #339308 by Joakim Tjernlund); link man |
96 |
+ pages like commends are; use emake for install; add die statements. Take |
97 |
+ over maintainership. |
98 |
|
99 |
23 Sep 2010; Markus Meier <maekke@g.o> nail-12.4-r1.ebuild: |
100 |
add ~arm, bug #324129 |
101 |
|
102 |
|
103 |
|
104 |
1.1 mail-client/nail/nail-12.4-r2.ebuild |
105 |
|
106 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nail/nail-12.4-r2.ebuild?rev=1.1&view=markup |
107 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nail/nail-12.4-r2.ebuild?rev=1.1&content-type=text/plain |
108 |
|
109 |
Index: nail-12.4-r2.ebuild |
110 |
=================================================================== |
111 |
# Copyright 1999-2010 Gentoo Foundation |
112 |
# Distributed under the terms of the GNU General Public License v2 |
113 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/nail-12.4-r2.ebuild,v 1.1 2010/10/03 14:51:29 flameeyes Exp $ |
114 |
|
115 |
EAPI="3" |
116 |
|
117 |
inherit eutils toolchain-funcs |
118 |
|
119 |
HOMEPAGE="http://heirloom.sourceforge.net/" |
120 |
DESCRIPTION="an enhanced mailx-compatible mail client" |
121 |
LICENSE="BSD" |
122 |
|
123 |
MY_PN="mailx" |
124 |
MY_P="${MY_PN}-${PV}" |
125 |
SRC_URI="mirror://sourceforge/project/heirloom/heirloom-${MY_PN}/${PV}/${MY_P}.tar.bz2" |
126 |
SLOT="0" |
127 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos" |
128 |
IUSE="ssl net kerberos" |
129 |
|
130 |
PROVIDE="virtual/mailx" |
131 |
RDEPEND=" |
132 |
net? ( |
133 |
ssl? ( dev-libs/openssl ) |
134 |
kerberos? ( virtual/krb5 ) |
135 |
) |
136 |
!virtual/mailx |
137 |
" |
138 |
DEPEND="${RDEPEND}" |
139 |
|
140 |
S=${WORKDIR}/${MY_P} |
141 |
|
142 |
undef() { |
143 |
sed -i -e "/$1/s:#define:#undef:" config.h || die |
144 |
} |
145 |
|
146 |
droplib() { |
147 |
sed -i -e "/$1/s:^:#:" LIBS || die |
148 |
} |
149 |
|
150 |
src_prepare() { |
151 |
epatch "${FILESDIR}"/${P}-debian.patch \ |
152 |
"${FILESDIR}"/${P}-openssl-1.patch |
153 |
# Do not strip the binary |
154 |
sed -i -e '/STRIP/d' Makefile |
155 |
} |
156 |
|
157 |
src_configure() { |
158 |
# Build config.h and LIBS, neccesary to tweak the config |
159 |
make config.h LIBS |
160 |
|
161 |
# Logic to 'configure' the package |
162 |
|
163 |
if ! use ssl || ! use net ; then |
164 |
undef 'USE_\(OPEN\)\?SSL' |
165 |
droplib -lssl |
166 |
fi |
167 |
|
168 |
if ! use kerberos || ! use net ; then |
169 |
undef 'USE_GSSAPI' |
170 |
droplib -lgssapi_krb5 |
171 |
fi |
172 |
|
173 |
if ! use net ; then |
174 |
undef 'HAVE_SOCKETS' |
175 |
fi |
176 |
} |
177 |
|
178 |
src_compile() { |
179 |
# No configure script to check for and set this |
180 |
tc-export CC |
181 |
|
182 |
emake \ |
183 |
CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" \ |
184 |
PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc \ |
185 |
SENDMAIL="${EPREFIX}/usr/sbin/sendmail" \ |
186 |
MAILSPOOL='/var/spool/mail' \ |
187 |
|| die "emake failed" |
188 |
} |
189 |
|
190 |
src_install () { |
191 |
# Use /usr/sbin/sendmail by default and provide an example |
192 |
cat <<- EOSMTP >> nail.rc |
193 |
|
194 |
# Use the local sendmail (/usr/sbin/sendmail) binary by default. |
195 |
# (Uncomment the following line to use a SMTP server) |
196 |
#set smtp=localhost |
197 |
|
198 |
# Ask for CC: list too. |
199 |
set askcc |
200 |
EOSMTP |
201 |
|
202 |
emake DESTDIR="${D}" \ |
203 |
UCBINSTALL=$(type -p install) \ |
204 |
PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc install \ |
205 |
|| die |
206 |
|
207 |
dodoc AUTHORS README || die |
208 |
|
209 |
dodir /bin |
210 |
dosym ../usr/bin/mailx /bin/mail || die |
211 |
dosym mailx /usr/bin/mail || die |
212 |
dosym mailx /usr/bin/Mail || die |
213 |
|
214 |
dosym mailx.1 /usr/share/man/man1/mail.1 || die |
215 |
dosym mailx.1 /usr/share/man/man1/Mail.1 || die |
216 |
} |