summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando J. Pereda <ferdy@gentoo.org>2005-08-04 17:01:48 +0000
committerFernando J. Pereda <ferdy@gentoo.org>2005-08-04 17:01:48 +0000
commit46d1afbaeadea305417fa62a811c59952e9fa7f0 (patch)
tree40f5182f7916bd84276b95369c774aa143d25b16 /app-misc/muttprint
parentInitial commit for app-editors/scite (diff)
downloadgentoo-2-46d1afbaeadea305417fa62a811c59952e9fa7f0.tar.gz
gentoo-2-46d1afbaeadea305417fa62a811c59952e9fa7f0.tar.bz2
gentoo-2-46d1afbaeadea305417fa62a811c59952e9fa7f0.zip
patch to make REM_SIG work, wrt #100607
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-misc/muttprint')
-rw-r--r--app-misc/muttprint/ChangeLog6
-rw-r--r--app-misc/muttprint/Manifest13
-rw-r--r--app-misc/muttprint/files/muttprint-rem_sig.patch36
-rw-r--r--app-misc/muttprint/muttprint-0.72d.ebuild11
4 files changed, 48 insertions, 18 deletions
diff --git a/app-misc/muttprint/ChangeLog b/app-misc/muttprint/ChangeLog
index 91bd79a4d0c4..cb94d29d3e69 100644
--- a/app-misc/muttprint/ChangeLog
+++ b/app-misc/muttprint/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/muttprint
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/muttprint/ChangeLog,v 1.24 2005/06/19 14:50:03 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/muttprint/ChangeLog,v 1.25 2005/08/04 17:01:48 ferdy Exp $
+
+ 04 Aug 2005; Fernando J. Pereda <ferdy@gentoo.org>
+ +files/muttprint-rem_sig.patch, muttprint-0.72d.ebuild:
+ patch to make REM_SIG work, wrt #100607
*muttprint-0.72d (19 Jun 2005)
diff --git a/app-misc/muttprint/Manifest b/app-misc/muttprint/Manifest
index 81150a2ef98d..4c177a3c31cd 100644
--- a/app-misc/muttprint/Manifest
+++ b/app-misc/muttprint/Manifest
@@ -1,19 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 56f1f46693079526f7ab0f14a037486b muttprint-0.72b.ebuild 832
-MD5 c299a5c394fa30e00d50f44de22ca322 muttprint-0.72d.ebuild 827
+MD5 8c738fb5b198221e84a58da8b5841aec muttprint-0.72d.ebuild 764
MD5 0ee798d5ae90faf6dd44d485446eb07c muttprint-0.72a.ebuild 821
MD5 d35ad1d1e46d3eabba526d294951c79a ChangeLog 3181
MD5 642e99d8f338a7f3dc3d6d0a3300c995 metadata.xml 258
MD5 75129b19f90f3b9e9cd0a258fe884482 files/muttprint-0.72a-platex.patch 654
+MD5 4aba96c36395337654a8c0fb39ccb686 files/muttprint-rem_sig.patch 839
MD5 4f1eb6f695cc9ae2070de833996803ad files/digest-muttprint-0.72a 67
MD5 d14d2a961751226d19bdc060f2531929 files/digest-muttprint-0.72b 67
MD5 a350c4428515da2c3e39246f7cd3b0d1 files/digest-muttprint-0.72d 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCtYZgViELBEf1JB0RAgT4AJ9jP0aSAHGUz8aEP1uaA1fIPEX32ACbBSbm
-aNf54cw0YtetzWryG1NCWHw=
-=gR8r
------END PGP SIGNATURE-----
diff --git a/app-misc/muttprint/files/muttprint-rem_sig.patch b/app-misc/muttprint/files/muttprint-rem_sig.patch
new file mode 100644
index 000000000000..e75a5c1e8d28
--- /dev/null
+++ b/app-misc/muttprint/files/muttprint-rem_sig.patch
@@ -0,0 +1,36 @@
+--- muttprint.old 2005-08-04 10:46:25.000000000 +0200
++++ muttprint 2005-08-04 10:47:25.000000000 +0200
+@@ -362,32 +362,7 @@
+
+ #
+ # signature
+- if (((/$Config{SIG_REGEXP}/o && !($Config{REM_SIG} eq "on")) ||
+- $signature_mode) && $Config{VERBATIMSIG} ne "raw") {
+-
+- if (/$Config{SIG_REGEXP}/o) {
+- $signature_mode = TRUE;
+-
+- # Leerzeile bei 2. Signatur
+- if (defined $signature) {
+- $signature .= "\n";
+- }
+- }
+- else {
+- $signature .= $_;
+- }
+-
+- # 2 Leerzeilen => Ende der Signatur
+- if (/^$/ and $sig_mod_counter == 0) {
+- $sig_mod_counter++;
+- } elsif (/^$/ and $sig_mod_counter == 1) {
+- $signature_mode = FALSE;
+- } else {
+- $sig_mod_counter = 0;
+- }
+-
+- next;
+- }
++ last if (/$Config{SIG_REGEXP}/o && ($Config{REM_SIG} eq "on"));
+
+ #
+ # and what's about Quoting?
diff --git a/app-misc/muttprint/muttprint-0.72d.ebuild b/app-misc/muttprint/muttprint-0.72d.ebuild
index 8907483f3fd5..43be8394f0c5 100644
--- a/app-misc/muttprint/muttprint-0.72d.ebuild
+++ b/app-misc/muttprint/muttprint-0.72d.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/muttprint/muttprint-0.72d.ebuild,v 1.1 2005/06/19 14:50:03 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/muttprint/muttprint-0.72d.ebuild,v 1.2 2005/08/04 17:01:48 ferdy Exp $
inherit eutils
@@ -20,11 +20,10 @@ RDEPEND="virtual/tetex
dev-perl/File-Which
app-text/psutils"
-#src_unpack() {
-# unpack ${A} && cd ${S} || die
-# epatch ${FILESDIR}/${PN}-0.72a-platex.patch
-# make clean # ia32 binaries included in distribution
-#}
+src_unpack() {
+ unpack ${A} && cd ${S} || die
+ epatch ${FILESDIR}/${PN}-rem_sig.patch
+}
src_install() {
make prefix=${D}/usr docdir=${D}/usr/share/doc docdirname=${P} install