Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/feynmf: ChangeLog feynmf-1.08-r2.ebuild
Date: Tue, 06 Nov 2007 09:13:08
Message-Id: E1IpKUZ-0003Xn-6V@stork.gentoo.org
1 ulm 07/11/06 09:13:03
2
3 Modified: ChangeLog
4 Added: feynmf-1.08-r2.ebuild
5 Log:
6 Fix insecure temp file creation, security bug #198231.
7 (Portage version: 2.1.3.18)
8
9 Revision Changes Path
10 1.11 dev-tex/feynmf/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/feynmf/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 15 Oct 2007 21:40:42 -0000 1.10
23 +++ ChangeLog 6 Nov 2007 09:13:02 -0000 1.11
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-tex/feynmf
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/feynmf/ChangeLog,v 1.10 2007/10/15 21:40:42 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/feynmf/ChangeLog,v 1.11 2007/11/06 09:13:02 ulm Exp $
29 +
30 +*feynmf-1.08-r2 (06 Nov 2007)
31 +
32 + 06 Nov 2007; Ulrich Mueller <ulm@g.o>
33 + +files/feynmf-1.08-tempfile.patch, +feynmf-1.08-r2.ebuild:
34 + Fix insecure temp file creation, security bug #198231.
35
36 15 Oct 2007; Alexis Ballier <aballier@g.o> feynmf-1.08-r1.ebuild:
37 adapt deps for texlive, bug #195894
38
39
40
41 1.1 dev-tex/feynmf/feynmf-1.08-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/feynmf-1.08-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/feynmf/feynmf-1.08-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: feynmf-1.08-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-tex/feynmf/feynmf-1.08-r2.ebuild,v 1.1 2007/11/06 09:13:02 ulm Exp $
51
52 inherit eutils latex-package
53
54 DESCRIPTION="Combined LaTeX/Metafont package for drawing of Feynman diagrams"
55 HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/feynmf/"
56 #Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz
57 SRC_URI="mirror://gentoo/${P}.tar.gz
58 doc? ( mirror://gentoo/${PN}-cnl.tar.gz )"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="doc"
64
65 DEPEND="|| ( dev-texlive/texlive-metapost virtual/tetex )"
66 RDEPEND="${DEPEND}
67 virtual/perl-File-Temp"
68
69 S="${WORKDIR}/${PN}"
70
71 src_unpack() {
72 unpack ${A}
73 epatch "${FILESDIR}/${P}.patch"
74 epatch "${FILESDIR}/${P}-tempfile.patch"
75 }
76
77 src_compile() {
78 addwrite /var/cache/fonts
79 emake MP=mpost all manual.ps || die "emake failed"
80 if use doc; then
81 emake -f Makefile.cnl ps || die "emake fmfcnl failed"
82 fi
83 }
84
85 src_install() {
86 newbin feynmf.pl feynmf
87 doman feynmf.1
88 insinto ${TEXMF}/tex/latex/${PN}; doins feynmf.sty feynmp.sty
89 insinto ${TEXMF}/metafont/${PN}; doins feynmf.mf
90 insinto ${TEXMF}/metapost/${PN}; doins feynmp.mp
91 dodoc README manual.ps template.tex
92 use doc && dodoc fmfcnl*.ps
93 }
94
95
96
97 --
98 gentoo-commits@g.o mailing list