From: | "Eray Aslan (eras)" <eras@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-client/mailx: mailx-8.1.2.20050715-r4.ebuild ChangeLog |
Date: | Tue, 10 Jan 2012 14:38:30 |
Message-Id: | 20120110143819.6CCD12004B@flycatcher.gentoo.org |
1 | eras 12/01/10 14:38:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mailx-8.1.2.20050715-r4.ebuild |
5 | Log: |
6 | migrate mail command to /usr/bin - bug #398061 |
7 | |
8 | (Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.65 mail-client/mailx/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mailx/ChangeLog?rev=1.65&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mailx/ChangeLog?rev=1.65&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mailx/ChangeLog?r1=1.64&r2=1.65 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v |
20 | retrieving revision 1.64 |
21 | retrieving revision 1.65 |
22 | diff -u -r1.64 -r1.65 |
23 | --- ChangeLog 22 Jan 2011 20:58:36 -0000 1.64 |
24 | +++ ChangeLog 10 Jan 2012 14:38:19 -0000 1.65 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for mail-client/mailx |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.64 2011/01/22 20:58:36 xarthisius Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.65 2012/01/10 14:38:19 eras Exp $ |
31 | + |
32 | +*mailx-8.1.2.20050715-r4 (10 Jan 2012) |
33 | + |
34 | + 10 Jan 2012; Eray Aslan <eras@g.o> +mailx-8.1.2.20050715-r4.ebuild: |
35 | + migrate mail command to /usr/bin - bug #398061 |
36 | |
37 | 22 Jan 2011; Kacper Kowalik <xarthisius@g.o> |
38 | mailx-8.1.2.20050715-r3.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 mail-client/mailx/mailx-8.1.2.20050715-r4.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mailx/mailx-8.1.2.20050715-r4.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mailx/mailx-8.1.2.20050715-r4.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: mailx-8.1.2.20050715-r4.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/mailx-8.1.2.20050715-r4.ebuild,v 1.1 2012/01/10 14:38:19 eras Exp $ |
52 | |
53 | inherit eutils flag-o-matic toolchain-funcs |
54 | |
55 | MX_MAJ_VER=${PV%.*} |
56 | MX_MIN_VER=${PV##*.} |
57 | MY_PV=${MX_MAJ_VER}-0.${MX_MIN_VER}cvs |
58 | S=${WORKDIR}/${PN}-${MY_PV}.orig/ |
59 | debian_patch=${PN}_${MY_PV}-1.diff.gz |
60 | |
61 | DESCRIPTION="The /bin/mail program, which is used to send mail via shell scripts" |
62 | HOMEPAGE="http://www.debian.org/" |
63 | SRC_URI="mirror://gentoo/mailx_${MY_PV}.orig.tar.gz |
64 | mirror://gentoo/${debian_patch}" |
65 | |
66 | LICENSE="BSD" |
67 | SLOT="0" |
68 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
69 | IUSE="" |
70 | |
71 | DEPEND=">=net-libs/liblockfile-1.03 |
72 | virtual/mta |
73 | mail-client/mailx-support" |
74 | |
75 | RDEPEND="${DEPEND} |
76 | !mail-client/nail |
77 | !net-mail/mailutils" |
78 | |
79 | src_unpack() { |
80 | unpack ${A} |
81 | cd "${S}" |
82 | epatch "${DISTDIR}/${debian_patch}" |
83 | epatch "${FILESDIR}/${P}-nostrip.patch" |
84 | sed -i -e "s: -O2: \$(EXTRAFLAGS):g" Makefile |
85 | epatch "${FILESDIR}/${P}-offsetof.patch" |
86 | } |
87 | |
88 | src_compile() { |
89 | emake CC=$(tc-getCC) EXTRAFLAGS="${CFLAGS}" || die |
90 | } |
91 | |
92 | src_install() { |
93 | dodir /usr/bin /usr/share/man/man1 /etc |
94 | |
95 | insinto /usr/bin |
96 | insopts -m 755 |
97 | doins mail || die |
98 | |
99 | doman mail.1 |
100 | |
101 | dosym mail /usr/bin/Mail |
102 | dosym mail /usr/bin/mailx |
103 | dosym mail.1 /usr/share/man/man1/Mail.1 |
104 | |
105 | dodoc misc/mail.help misc/mail.tildehelp || die |
106 | #cd "${S}"/misc |
107 | #insinto /usr/share/${PN}/ |
108 | #insopts -m 644 |
109 | #doins mail.help mail.tildehelp || die |
110 | insinto /etc |
111 | insopts -m 644 |
112 | doins misc/mail.rc || die |
113 | } |
114 | |
115 | pkg_postinst() { |
116 | elog "mail command now lives in /usr/bin." |
117 | elog "Please adjust your scripts if necessary." |
118 | } |