Add nostrip patch. Patch by Diego Pettenò <flameeyes@gentoo.org> . Bugs #125557 .
authorTuan Van <langthang@gentoo.org>
Tue, 14 Mar 2006 22:41:29 +0000 (22:41 +0000)
committerTuan Van <langthang@gentoo.org>
Tue, 14 Mar 2006 22:41:29 +0000 (22:41 +0000)
Package-Manager: portage-2.1_pre5-r4

mail-client/mailx/ChangeLog
mail-client/mailx/Manifest
mail-client/mailx/files/digest-mailx-8.1.2.20050715-r1 [new file with mode: 0644]
mail-client/mailx/files/mailx-8.1.2.20050715-nostrip.patch [new file with mode: 0644]
mail-client/mailx/mailx-8.1.2.20050715-r1.ebuild [new file with mode: 0644]

index cad970ba2db9d3f64fd73a3b939eb3a4ab6c58b6..dc71b0e4ec8f80d4b76ab4fb75a75d09ec296578 100644 (file)
@@ -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
index 27c1873aa6b7fa5aeecb166f6b91d1c7dceccc4e..fc17cc2a3a59a08fc2917055ab94b9b00f8471a3 100644 (file)
@@ -1,16 +1,37 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+MD5 9ba0bb61533c6e8d2cdf0f62a8c81c9b ChangeLog 8462
+RMD160 fb4a13148e37b0f87c8eeb82528f2fc513be4b05 ChangeLog 8462
+SHA256 6bf77e01649a25e832447ce65b12d3f0e9aeb087b7d88cb16545aa3994613e8f ChangeLog 8462
+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
+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 aaec8378c64eba90c51b788181a0ec8e mailx-8.1.2.20050715-r1.ebuild 1459
+RMD160 80af6190c9e72bfa34ee1f431bd442c7d24e899c mailx-8.1.2.20050715-r1.ebuild 1459
+SHA256 f8574aed2a20575f1c86bf0725ee7bebb4b6317431747cb333ffc48c8ef47371 mailx-8.1.2.20050715-r1.ebuild 1459
 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
-MD5 78536212a55709556aea59bf39f3300b ChangeLog 8202
-MD5 455a91688ea40637788a8a20ae4a6f89 files/digest-mailx-8.1.2.20040524-r1 138
-MD5 7e174a201729641f08ffa430c26388ed files/digest-mailx-8.1.2.20050715 160
+RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 metadata.xml 161
+SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 metadata.xml 161
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2.2 (GNU/Linux)
 
-iD8DBQFDK0aHLLFUmVNQ7rkRAgDmAKCKSYFaqQ9CFTXHoPXTBnDU/l7hpgCfUT81
-ggtndpPqAoflpgTxvzSBM+Q=
-=EjKB
+iD8DBQFEF0ar5FrxP71izLARAkFhAJ9Kh1xixLVvhXMf5hWS6PI/SUFukACePlDO
+ImNfJP5ulleDmpXcNRtPn8k=
+=OanR
 -----END PGP SIGNATURE-----
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 (file)
index 0000000..777a447
--- /dev/null
@@ -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 (file)
index 0000000..14a05ba
--- /dev/null
@@ -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 (file)
index 0000000..8857f08
--- /dev/null
@@ -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
+}