diff options
author | José MarÃa Alonso <nimiux@gentoo.org> | 2013-09-28 15:32:25 +0000 |
---|---|---|
committer | José MarÃa Alonso <nimiux@gentoo.org> | 2013-09-28 15:32:25 +0000 |
commit | cc425ee235e2915992e34ad9852f02be4153660a (patch) | |
tree | 79dad3eadb63d675f2efecfa366650f1210a3880 /app-misc/muttprint | |
parent | Stable for amd64 wrt bug #480038 (diff) | |
download | gentoo-2-cc425ee235e2915992e34ad9852f02be4153660a.tar.gz gentoo-2-cc425ee235e2915992e34ad9852f02be4153660a.tar.bz2 gentoo-2-cc425ee235e2915992e34ad9852f02be4153660a.zip |
Drop old
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key D628E536)
Diffstat (limited to 'app-misc/muttprint')
-rw-r--r-- | app-misc/muttprint/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/muttprint/files/muttprint-0.72d-warning.patch | 9 | ||||
-rw-r--r-- | app-misc/muttprint/files/muttprint-CVE-2008-5368.patch | 80 | ||||
-rw-r--r-- | app-misc/muttprint/files/muttprint-ldflags.patch | 19 | ||||
-rw-r--r-- | app-misc/muttprint/files/muttprint-no_html_docs.patch | 148 | ||||
-rw-r--r-- | app-misc/muttprint/muttprint-0.72d-r3.ebuild | 40 |
6 files changed, 6 insertions, 297 deletions
diff --git a/app-misc/muttprint/ChangeLog b/app-misc/muttprint/ChangeLog index 7717d4139728..49943f0dd42b 100644 --- a/app-misc/muttprint/ChangeLog +++ b/app-misc/muttprint/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/muttprint # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/muttprint/ChangeLog,v 1.59 2013/05/15 12:40:16 nimiux Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/muttprint/ChangeLog,v 1.60 2013/09/28 15:32:25 nimiux Exp $ + + 28 Sep 2013; Chema Alonso <nimiux@gentoo.org> -muttprint-0.72d-r3.ebuild, + -files/muttprint-0.72d-warning.patch, -files/muttprint-CVE-2008-5368.patch, + -files/muttprint-ldflags.patch, -files/muttprint-no_html_docs.patch: + Drop old 15 May 2013; Chema Alonso <nimiux@gentoo.org> -muttprint-0.72d-r1.ebuild, -muttprint-0.72d-r2.ebuild, -files/muttprint-rem_sig.patch: diff --git a/app-misc/muttprint/files/muttprint-0.72d-warning.patch b/app-misc/muttprint/files/muttprint-0.72d-warning.patch deleted file mode 100644 index 739b02c94c38..000000000000 --- a/app-misc/muttprint/files/muttprint-0.72d-warning.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- muttprint-0.72d/muttprint 2010-06-15 14:42:37.711037595 +0200 -+++ muttprint-0.72d/muttprint 2010-06-15 14:42:44.591037171 +0200 -@@ -740,6 +740,8 @@ - } - } - -+chdir($ENV{HOME}) || chdir('/'); -+ -################################### ENDE #################################### diff --git a/app-misc/muttprint/files/muttprint-CVE-2008-5368.patch b/app-misc/muttprint/files/muttprint-CVE-2008-5368.patch deleted file mode 100644 index d80b12dfc91f..000000000000 --- a/app-misc/muttprint/files/muttprint-CVE-2008-5368.patch +++ /dev/null @@ -1,80 +0,0 @@ - ---- muttprint-0.72d/muttprint 2008/11/27 20:21:34 235 -+++ muttprint-0.72d/muttprint 2008/12/25 14:26:39 236 -@@ -38,6 +46,9 @@ - use POSIX; - use Text::Wrap; - use File::Temp qw(tempdir); -+use File::Temp qw(tempfile); -+use File::Spec qw(tmpdir); -+use File::stat qw(stat); - use utf8; - - # boolean type -@@ -1122,21 +1131,49 @@ - } - } - --sub createTemp () { -- # -- # temp directory / temp files -- $Temp{dir} = tempdir("muttprint-XXXXXX", TMPDIR => 1, CLEANUP => 1); -- $Temp{content} = "$Temp{dir}/content"; -- $Temp{latex} = "$Temp{dir}/mail.tex"; -- $Temp{logf} = "/tmp/muttprint.log"; -- $Temp{dvi} = "$Temp{dir}/mail.dvi"; -- $Temp{ps} = "$Temp{dir}/mail.ps"; -- $Temp{psnew} = "$Temp{dir}/mail-new.ps"; -- $Temp{ps1} = "$Temp{dir}/mail1.ps"; -- $Temp{ps2} = "$Temp{dir}/mail2.ps"; -- $Temp{xf_raw} = "$Temp{dir}/xface.raw"; -- $Temp{xf_xbm} = "$Temp{dir}/xface.xbm"; -- $Temp{xf_eps} = "$Temp{dir}/xface.eps"; -+sub createTemp () -+{ ## set temporary directories and files ## -+ -+ my $logf = "/tmp/muttprint.log"; -+ -+ if (-e $logf) -+ { ## 2008-12-24 -- Lukas Ruf -+ # close CVE-2008-5368 -- muttprint vulnerable to symlink attack -+ # ensure "/tmp/muttprint.log" adheres to the following constraints -+ # - owner is current user -+ # - only real files are allowed -+ # if any of these fail, create a temporary file by use of tempfile() -+ -+ ## check ownership ## -+ my $stat = stat($logf) || die "ERROR: no $logf"; -+ my $is_owner = $stat->uid == $< || $stat->uid == $>; -+ my $is_regfile = (-f $logf); -+ -+ ## adjust the logfile if any of those checks fails ## -+ if (!$is_owner || !$is_regfile) -+ { ## create a temporary logfile ## -+ my $logfh = 0; -+ ($logfh, $logf) = tempfile("muttprint-XXXXXX", UNLINK => 0, SUFFIX => ".log"); -+ -+ my $logd = File::Spec->tmpdir(); -+ $logf = "$logd"."/"."$logf"; -+ close $logfh || die "ERROR: closing $logf"; -+ } -+ } -+ -+ $Temp{dir} = tempdir("muttprint-XXXXXX", TMPDIR => 1, CLEANUP => 1); -+ $Temp{content} = "$Temp{dir}/content"; -+ $Temp{latex} = "$Temp{dir}/mail.tex"; -+ $Temp{logf} = "$logf"; -+ $Temp{dvi} = "$Temp{dir}/mail.dvi"; -+ $Temp{ps} = "$Temp{dir}/mail.ps"; -+ $Temp{psnew} = "$Temp{dir}/mail-new.ps"; -+ $Temp{ps1} = "$Temp{dir}/mail1.ps"; -+ $Temp{ps2} = "$Temp{dir}/mail2.ps"; -+ $Temp{xf_raw} = "$Temp{dir}/xface.raw"; -+ $Temp{xf_xbm} = "$Temp{dir}/xface.xbm"; -+ $Temp{xf_eps} = "$Temp{dir}/xface.eps"; -+ - } - - ############################################################################## - - diff --git a/app-misc/muttprint/files/muttprint-ldflags.patch b/app-misc/muttprint/files/muttprint-ldflags.patch deleted file mode 100644 index abbd0cde4aa0..000000000000 --- a/app-misc/muttprint/files/muttprint-ldflags.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- muttprint-0.72d/langinfo/Makefile -+++ muttprint-0.72d/langinfo/Makefile -@@ -21,13 +21,13 @@ - all: muttprint-langinfo - - muttprint-langinfo: main.o muttprint-langinfo.o muttprint-langinfo.h -- $(CC) $(CCFLAGS) -o muttprint-langinfo muttprint-langinfo.o main.o -+ $(CC) $(LDFLAGS) -o muttprint-langinfo muttprint-langinfo.o main.o - - main.o: main.c muttprint-langinfo.h -- $(CC) $(CCFLAGS) -c -o main.o main.c -+ $(CC) $(CFLAGS) -c -o main.o main.c - - muttprint-langinfo.o: muttprint-langinfo.c -- $(CC) $(CCFLAGS) -c -o muttprint-langinfo.o muttprint-langinfo.c -+ $(CC) $(CFLAGS) -c -o muttprint-langinfo.o muttprint-langinfo.c - - install: - test -x muttprint-langinfo && \ diff --git a/app-misc/muttprint/files/muttprint-no_html_docs.patch b/app-misc/muttprint/files/muttprint-no_html_docs.patch deleted file mode 100644 index f5787102db2a..000000000000 --- a/app-misc/muttprint/files/muttprint-no_html_docs.patch +++ /dev/null @@ -1,148 +0,0 @@ ---- muttprint-0.72d/doc/manpages/de/muttprint.pod -+++ muttprint-0.72d/doc/manpages/de/muttprint.pod -@@ -22,7 +22,7 @@ - nur die wichtigen Header und nicht alle. - - Eine ausfürliche Benutzeranleitung finden Sie in --F<##DOCDIR##/muttprint/> im PDF- und HTML-Format. -+F<##DOCDIR##/muttprint/> im PDF--Format. - - Wie auch immer, Sie müssen folgende Zeile in Ihre F<##SYSCONFDIR##/Muttrc> oder - F<~/.muttrc> eintragen: ---- muttprint-0.72d/doc/manpages/en/muttprint.pod -+++ muttprint-0.72d/doc/manpages/en/muttprint.pod -@@ -22,7 +22,7 @@ - whole plethora of them. - - For detailed information about Muttprint look read the User's guide in PDF --and HTML format at F<##DOCDIR##/muttprint/>. -+format at F<##DOCDIR##/muttprint/>. - - Anyway, you have to put the following line in your F<##SYSCONFDIR##/Muttrc> or - F<~/.muttrc>: ---- muttprint-0.72d/doc/manual/de/Makefile -+++ muttprint-0.72d/doc/manual/de/Makefile -@@ -39,7 +39,7 @@ - - # - # we will not make 'all' but only the 'standard' by default --default: pdf html sed-clean -+default: pdf sed-clean - all: ps dvi pdf html rtf sed-clean - ps: manual-$(lang).ps - pdf: manual-$(lang).pdf -@@ -88,10 +88,10 @@ - ##install: manual-$(lang).pdf manual-$(lang)/muttprint.html - install: - $(INSTALL) *.pdf $(docdir)/$(docdirname) -- mkdir -p $(docdir)/$(docdirname)/manual-$(lang) -+ #mkdir -p $(docdir)/$(docdirname)/manual-$(lang) - # ignore the stylesheet-images/ directory because the files are not needed -- $(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -- $(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ - - gzip: - $(gzip) *.ps *.txt ---- muttprint-0.72d/doc/manual/en/Makefile -+++ muttprint-0.72d/doc/manual/en/Makefile -@@ -39,7 +39,7 @@ - - # - # we will not make 'all' but only the 'standard' by default --default: pdf html sed-clean -+default: pdf sed-clean - all: ps dvi pdf html rtf sed-clean - ps: manual-$(lang).ps - pdf: manual-$(lang).pdf -@@ -88,10 +88,10 @@ - ##install: manual-$(lang).pdf manual-$(lang)/muttprint.html - install: - $(INSTALL) *.pdf $(docdir)/$(docdirname) -- mkdir -p $(docdir)/$(docdirname)/manual-$(lang) -+ #mkdir -p $(docdir)/$(docdirname)/manual-$(lang) - # ignore the stylesheet-images/ directory because the files are not needed -- $(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -- $(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ - - gzip: - $(gzip) *.ps *.txt ---- muttprint-0.72d/doc/manual/es/Makefile -+++ muttprint-0.72d/doc/manual/es/Makefile -@@ -39,7 +39,7 @@ - - # - # we will not make 'all' but only the 'standard' by default --default: pdf html sed-clean -+default: pdf sed-clean - all: ps dvi pdf html rtf sed-clean - ps: manual-$(lang).ps - pdf: manual-$(lang).pdf -@@ -88,10 +88,10 @@ - ##install: manual-$(lang).pdf manual-$(lang)/muttprint.html - install: - $(INSTALL) *.pdf $(docdir)/$(docdirname) -- mkdir -p $(docdir)/$(docdirname)/manual-$(lang) -+ #mkdir -p $(docdir)/$(docdirname)/manual-$(lang) - # ignore the stylesheet-images/ directory because the files are not needed -- $(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -- $(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ - - gzip: - $(gzip) *.ps *.txt ---- muttprint-0.72d/doc/manual/it/Makefile -+++ muttprint-0.72d/doc/manual/it/Makefile -@@ -39,7 +39,7 @@ - - # - # we will not make 'all' but only the 'standard' by default --default: pdf html sed-clean -+default: pdf sed-clean - all: ps dvi pdf html rtf sed-clean - ps: manual-$(lang).ps - pdf: manual-$(lang).pdf -@@ -88,10 +88,10 @@ - ##install: manual-$(lang).pdf manual-$(lang)/muttprint.html - install: - $(INSTALL) *.pdf $(docdir)/$(docdirname) -- mkdir -p $(docdir)/$(docdirname)/manual-$(lang) -+ #mkdir -p $(docdir)/$(docdirname)/manual-$(lang) - # ignore the stylesheet-images/ directory because the files are not needed -- $(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -- $(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ - - gzip: - $(gzip) *.ps *.txt ---- muttprint-0.72d/doc/manual/sl/Makefile -+++ muttprint-0.72d/doc/manual/sl/Makefile -@@ -39,7 +39,7 @@ - - # - # we will not make 'all' but only the 'standard' by default --default: pdf html sed-clean -+default: pdf sed-clean - all: ps dvi pdf html rtf sed-clean - ps: manual-$(lang).ps - pdf: manual-$(lang).pdf -@@ -88,10 +88,10 @@ - ##install: manual-$(lang).pdf manual-$(lang)/muttprint.html - install: - $(INSTALL) *.pdf $(docdir)/$(docdirname) -- mkdir -p $(docdir)/$(docdirname)/manual-$(lang) -+ #mkdir -p $(docdir)/$(docdirname)/manual-$(lang) - # ignore the stylesheet-images/ directory because the files are not needed -- $(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -- $(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.html $(docdir)/$(docdirname)/manual-$(lang)/ -+ #$(INSTALL) manual-$(lang)/*.css $(docdir)/$(docdirname)/manual-$(lang)/ - - gzip: - $(gzip) *.ps *.txt - diff --git a/app-misc/muttprint/muttprint-0.72d-r3.ebuild b/app-misc/muttprint/muttprint-0.72d-r3.ebuild deleted file mode 100644 index 895a836e1e13..000000000000 --- a/app-misc/muttprint/muttprint-0.72d-r3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/muttprint/muttprint-0.72d-r3.ebuild,v 1.6 2012/04/16 21:17:20 ranger Exp $ - -EAPI=4 - -inherit eutils toolchain-funcs - -DESCRIPTION="Script for pretty printing of your mails" -HOMEPAGE="http://muttprint.sf.net/" -SRC_URI="mirror://sourceforge/muttprint/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="" - -RDEPEND="virtual/latex-base - dev-texlive/texlive-latexextra - dev-lang/perl - dev-perl/TimeDate - dev-perl/Text-Iconv - dev-perl/File-Which - app-text/psutils" - -src_prepare() { - epatch "${FILESDIR}/${PN}-ldflags.patch" - epatch "${FILESDIR}/${PN}-no_html_docs.patch" - epatch "${FILESDIR}/${PN}-CVE-2008-5368.patch" - epatch "${FILESDIR}/${P}-warning.patch" -} - -src_compile() { - tc-export CC - default -} - -src_install() { - einstall prefix="${D}"/usr docdir="${D}"/usr/share/doc docdirname=${PF} -} |