diff options
author | Tuan Van <langthang@gentoo.org> | 2006-03-14 22:41:29 +0000 |
---|---|---|
committer | Tuan Van <langthang@gentoo.org> | 2006-03-14 22:41:29 +0000 |
commit | a660a0184a4c214f56bb71f9dc7e5d7ffb8abbca (patch) | |
tree | 0c0b6aa9eda1ada42210d9ef543c0735d2ace6e8 /mail-client/mailx | |
parent | New release for gnome-2.14 (diff) | |
download | gentoo-2-a660a0184a4c214f56bb71f9dc7e5d7ffb8abbca.tar.gz gentoo-2-a660a0184a4c214f56bb71f9dc7e5d7ffb8abbca.tar.bz2 gentoo-2-a660a0184a4c214f56bb71f9dc7e5d7ffb8abbca.zip |
Add nostrip patch. Patch by Diego Pettenò <flameeyes@gentoo.org> . Bugs #125557 .
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'mail-client/mailx')
-rw-r--r-- | mail-client/mailx/ChangeLog | 12 | ||||
-rw-r--r-- | mail-client/mailx/Manifest | 37 | ||||
-rw-r--r-- | mail-client/mailx/files/digest-mailx-8.1.2.20050715-r1 | 6 | ||||
-rw-r--r-- | mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch | 22 | ||||
-rw-r--r-- | mail-client/mailx/mailx-8.1.2.20050715-r1.ebuild | 63 |
5 files changed, 125 insertions, 15 deletions
diff --git a/mail-client/mailx/ChangeLog b/mail-client/mailx/ChangeLog index cad970ba2db9..dc71b0e4ec8f 100644 --- a/mail-client/mailx/ChangeLog +++ b/mail-client/mailx/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for mail-client/mailx -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.42 2005/09/16 22:25:23 ciaranm Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.43 2006/03/14 22:41:29 langthang Exp $ + +*mailx-8.1.2.20050715-r1 (14 Mar 2006) + + 14 Mar 2006; Tuấn Văn <langthang@gentoo.org> + +files/mailx-8.1.2.20050715-nostrip.patch, + +mailx-8.1.2.20050715-r1.ebuild: + Add nostrip patch. Patch by Diego Pettenò <flameeyes@gentoo.org> . Bugs + #125557 . 16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog: Converted to UTF-8, fixed encoding screwups diff --git a/mail-client/mailx/Manifest b/mail-client/mailx/Manifest index 27c1873aa6b7..8f9251880392 100644 --- a/mail-client/mailx/Manifest +++ b/mail-client/mailx/Manifest @@ -1,16 +1,27 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 b57600af1b93a73eee15bb6180959e28 mailx-8.1.2.20040524-r1.ebuild 1347 -MD5 22ba7a8d058eaf6459d7944724c10e1d mailx-8.1.2.20050715.ebuild 1432 -MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 78536212a55709556aea59bf39f3300b ChangeLog 8202 +RMD160 f95b85f8918cb48dfec8126c1436b18b4a9d048d ChangeLog 8202 +SHA256 b51e538d9cc7ef7d24fb24dd02c946607d641ce89aad0136daa2bb3caa11b86c ChangeLog 8202 MD5 455a91688ea40637788a8a20ae4a6f89 files/digest-mailx-8.1.2.20040524-r1 138 +RMD160 f5cbaffca90ec78506ccbb0e66a0e6b3cb0e974a files/digest-mailx-8.1.2.20040524-r1 138 +SHA256 76dee5f3e13cd641a29746239f1c479dd28f6ada0e2e9048217a07568a7f11af files/digest-mailx-8.1.2.20040524-r1 138 MD5 7e174a201729641f08ffa430c26388ed files/digest-mailx-8.1.2.20050715 160 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDK0aHLLFUmVNQ7rkRAgDmAKCKSYFaqQ9CFTXHoPXTBnDU/l7hpgCfUT81 -ggtndpPqAoflpgTxvzSBM+Q= -=EjKB ------END PGP SIGNATURE----- +RMD160 aee55e5d133bb7f4ee0a779891309e4c15b6a048 files/digest-mailx-8.1.2.20050715 160 +SHA256 c6d74875a8657bbad2472bd3b14c1838f3fe805227ba297ea41c16b01aca4c97 files/digest-mailx-8.1.2.20050715 160 +MD5 6de5150b550aada5f66bde59d06ff3f4 files/digest-mailx-8.1.2.20050715-r1 572 +RMD160 6e8a670b274f197cf0967ac383121d8bce945a90 files/digest-mailx-8.1.2.20050715-r1 572 +SHA256 eb13b97d8826c2ab63a8e57eca6bbaf252dbd54d8c8ad6fa4b462744dde3c94a files/digest-mailx-8.1.2.20050715-r1 572 +MD5 de67e900710441eeb0bb2f4ff43aeb6b files/mailx-8.1.2.20050715-nostrip.patch 668 +RMD160 86080719a66d0889f6fa6458ab65e72b670b3ce8 files/mailx-8.1.2.20050715-nostrip.patch 668 +SHA256 0636586473c198918e8db1d1ebfc006d3312935959532f8c2742b882da5e391e files/mailx-8.1.2.20050715-nostrip.patch 668 +MD5 b57600af1b93a73eee15bb6180959e28 mailx-8.1.2.20040524-r1.ebuild 1347 +RMD160 5c7ac98bb90084fd7c44c2699ccc4a1ecfd67678 mailx-8.1.2.20040524-r1.ebuild 1347 +SHA256 2ad35c30e2d3ebfa909a560750a6c97a0e265e6bdfc4e57ea264eb985c4a71c3 mailx-8.1.2.20040524-r1.ebuild 1347 +MD5 ab3d619a97298108d76df3d637d0a581 mailx-8.1.2.20050715-r1.ebuild 1452 +RMD160 2341dff9daf5d87d21df3bb669dd814eed399ec9 mailx-8.1.2.20050715-r1.ebuild 1452 +SHA256 b426d9cc9a7a0e05a15cf58c47147d2d2691ec854b336aa9599bcc9c9b31cc00 mailx-8.1.2.20050715-r1.ebuild 1452 +MD5 22ba7a8d058eaf6459d7944724c10e1d mailx-8.1.2.20050715.ebuild 1432 +RMD160 8eea15c2293c7867e0f7c8399a21248b84c51a4f mailx-8.1.2.20050715.ebuild 1432 +SHA256 72f6727cab0cc37ddd5337ebc86cdd5fe9f651d901f1bbcf81cbcc5b73fcb896 mailx-8.1.2.20050715.ebuild 1432 +MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 +RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 metadata.xml 161 +SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 metadata.xml 161 diff --git a/mail-client/mailx/files/digest-mailx-8.1.2.20050715-r1 b/mail-client/mailx/files/digest-mailx-8.1.2.20050715-r1 new file mode 100644 index 000000000000..777a447718d2 --- /dev/null +++ b/mail-client/mailx/files/digest-mailx-8.1.2.20050715-r1 @@ -0,0 +1,6 @@ +MD5 38de40f8b082f4d592262c04275e2f30 mailx_8.1.2-0.20050715cvs-1.diff.gz 36758 +RMD160 bf116b8e7d1207b37d0f9451771f0f318880aff2 mailx_8.1.2-0.20050715cvs-1.diff.gz 36758 +SHA256 2fb891f912624766d0bef765d69cec75ad3334dda1aa58659f3c3c1d0579c2c3 mailx_8.1.2-0.20050715cvs-1.diff.gz 36758 +MD5 3ba08abd8bbd0a87ea5bad05cded3bc3 mailx_8.1.2-0.20050715cvs.orig.tar.gz 94664 +RMD160 9fdf63d616f2240141bf06dc1fbf6457ddd5fc1c mailx_8.1.2-0.20050715cvs.orig.tar.gz 94664 +SHA256 5c578a8c573b4430358d4f6523f8acd8b2c5039579d907c88ec09dab13b226d3 mailx_8.1.2-0.20050715cvs.orig.tar.gz 94664 diff --git a/mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch b/mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch new file mode 100644 index 000000000000..14a05ba4d6dc --- /dev/null +++ b/mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch @@ -0,0 +1,22 @@ +Index: mailx-8.1.2-0.20050715cvs.orig/Makefile +=================================================================== +--- mailx-8.1.2-0.20050715cvs.orig.orig/Makefile ++++ mailx-8.1.2-0.20050715cvs.orig/Makefile +@@ -3,16 +3,7 @@ + PROG=mail + CC=gcc + +-CFLAGS=-D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT +- +-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +- CFLAGS += -O0 +-else +- CFLAGS += -O2 +-endif +-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +- LDFLAGS += -s +-endif ++CFLAGS=-D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT ${EXTRAFLAGS} + + SRCS= version.c aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c \ + edit.c fio.c getname.c head.c v7.local.c lex.c list.c main.c names.c \ diff --git a/mail-client/mailx/mailx-8.1.2.20050715-r1.ebuild b/mail-client/mailx/mailx-8.1.2.20050715-r1.ebuild new file mode 100644 index 000000000000..8857f08e1cd7 --- /dev/null +++ b/mail-client/mailx/mailx-8.1.2.20050715-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/mailx-8.1.2.20050715-r1.ebuild,v 1.1 2006/03/14 22:41:29 langthang Exp $ + +inherit ccc eutils flag-o-matic + +IUSE="" +MX_MAJ_VER=${PV%.*} +MX_MIN_VER=${PV##*.} +MY_PV=${MX_MAJ_VER}-0.${MX_MIN_VER}cvs +S=${WORKDIR}/${PN}-${MY_PV}.orig/ +debian_patch=${PN}_${MY_PV}-1.diff.gz + +DESCRIPTION="The /bin/mail program, which is used to send mail via shell scripts." +SRC_URI="mirror://gentoo/mailx_${MY_PV}.orig.tar.gz + mirror://gentoo/${debian_patch}" +HOMEPAGE="http://www.debian.org" + +DEPEND=">=net-libs/liblockfile-1.03 + virtual/mta + !mail-client/mailutils + mail-client/mailx-support + !virtual/mailx" +PROVIDE="virtual/mailx" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${DISTDIR}/${debian_patch}" + epatch "${FILESDIR}/${P}-nostrip.patch" + sed -i -e "s: -O2: \$(EXTRAFLAGS):g" Makefile +} + +src_compile() { + is-ccc && replace-cc-hardcode + make EXTRAFLAGS="${CFLAGS}" || die +} + +src_install() { + dodir /bin /usr/share/man/man1 /etc /usr/lib + + insinto /bin + insopts -m 755 + doins mail + + doman mail.1 + + dosym mail /bin/Mail + dosym mail /bin/mailx + dosym mail.1 /usr/share/man/man1/Mail.1 + + cd ${S}/misc + insinto /usr/share/${PN}/ + insopts -m 644 + doins mail.help mail.tildehelp + insinto /etc + insopts -m 644 + doins mail.rc +} |