summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-02-11 02:52:40 +0000
committerMamoru Komachi <usata@gentoo.org>2005-02-11 02:52:40 +0000
commite4fb95e04fc81a5c76e910a002ca67cde03607a2 (patch)
tree626f70b60b66e1998046b165ef5f252b3ae8c907 /app-text
parentMove updmap.cfg from /usr/share/texmf/web2c to /var/lib/texmf/web2c. (diff)
downloadgentoo-2-e4fb95e04fc81a5c76e910a002ca67cde03607a2.tar.gz
gentoo-2-e4fb95e04fc81a5c76e910a002ca67cde03607a2.tar.bz2
gentoo-2-e4fb95e04fc81a5c76e910a002ca67cde03607a2.zip
Fixed sandbox issue (bug #81533). Uses -sys variants of updmap, texconfig and fmtutil. Moved updmap.cfg from /usr/share/texmf/web2c to /var/lib/texmf/web2c.
(Portage version: 2.0.51.16)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/tetex/ChangeLog9
-rw-r--r--app-text/tetex/Manifest12
-rw-r--r--app-text/tetex/files/digest-tetex-3.0-r13
-rw-r--r--app-text/tetex/tetex-3.0-r1.ebuild78
4 files changed, 91 insertions, 11 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog
index d2807d3e8aff..f58d2c2c38e8 100644
--- a/app-text/tetex/ChangeLog
+++ b/app-text/tetex/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/tetex
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.84 2005/02/08 15:31:37 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.85 2005/02/11 02:52:40 usata Exp $
+
+*tetex-3.0-r1 (11 Feb 2005)
+
+ 11 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> +tetex-3.0-r1.ebuild:
+ Fixed sandbox issue (bug #81533). Uses -sys variants of updmap, texconfig
+ and fmtutil. Moved updmap.cfg from /usr/share/texmf/web2c to
+ /var/lib/texmf/web2c.
*tetex-3.0 (09 Feb 2005)
diff --git a/app-text/tetex/Manifest b/app-text/tetex/Manifest
index 93451cf2200d..2818ca348ed4 100644
--- a/app-text/tetex/Manifest
+++ b/app-text/tetex/Manifest
@@ -1,14 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 94c9b8f315671ab7ec59f27ddd27de6e ChangeLog 15018
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
MD5 8f27cd5e7c06b0c37851607799f69316 tetex-1.0.7-r13.ebuild 4770
MD5 0914a927a521f6171ed062dc16729e5b tetex-3.0.ebuild 2008
+MD5 0914a927a521f6171ed062dc16729e5b tetex-3.0-r1.ebuild 2008
MD5 18a2c88ee01a228f443743b3cbf2a234 tetex-2.0.2-r4.ebuild 611
MD5 e5a8143f0a59c2ca12f664210ec223cb tetex-2.0.2-r5.ebuild 1163
MD5 7184c72f1e38b2f0ddb843687cf80832 files/digest-tetex-3.0 202
MD5 9179c455d1a594b0b06b670e0b051374 files/digest-tetex-1.0.7-r13 343
+MD5 7184c72f1e38b2f0ddb843687cf80832 files/digest-tetex-3.0-r1 202
MD5 6f48f0b987b7ea33b02aea8ba198eeed files/iso-8859-7.def 4419
MD5 ed2101fe2206c296c09f0d2b67759841 files/digest-tetex-2.0.2-r4 282
MD5 41f87c91f8bb6ceeae3c1fb7ca0dce1c files/tetex-texdoctk-gentoo.patch 509
@@ -20,10 +19,3 @@ MD5 5d40ba9d885af84bcc917ad17e2bf8e0 files/xpdf-3.00pl2-CAN-2004-1125.patch 1136
MD5 c32a612ce419b9930ff273cf382558bf files/xpdf-3.00pl3-CAN-2005-0064.patch 346
MD5 87d20c86d1451638e4b7adc2f7ac8067 files/xpdf-CESA-2004-007-xpdf2-newer.diff 2718
MD5 362296e34a1a04a6e5e2a7d9e97547c6 files/xpdf2-underflow.patch 2363
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFCCNlHVWNWqTUmv+0RAlQwAJ9quJcus5BHFtK9vIwn39vcitl4XgCePLOa
-V+VzprKC+d26fQQVGlNRmIM=
-=yus7
------END PGP SIGNATURE-----
diff --git a/app-text/tetex/files/digest-tetex-3.0-r1 b/app-text/tetex/files/digest-tetex-3.0-r1
new file mode 100644
index 000000000000..79805884155f
--- /dev/null
+++ b/app-text/tetex/files/digest-tetex-3.0-r1
@@ -0,0 +1,3 @@
+MD5 944a4641e79e61043fdaf8f38ecbb4b3 tetex-src-3.0.tar.gz 12749314
+MD5 11aa15c8d3e28ee7815e0d5fcdf43fd4 tetex-texmf-3.0.tar.gz 91762123
+MD5 3d45189842f826b84ed867ab74a8b9fe tetex-3.0-gentoo.tar.gz 1352
diff --git a/app-text/tetex/tetex-3.0-r1.ebuild b/app-text/tetex/tetex-3.0-r1.ebuild
new file mode 100644
index 000000000000..8e77ba10b479
--- /dev/null
+++ b/app-text/tetex/tetex-3.0-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-3.0-r1.ebuild,v 1.1 2005/02/11 02:52:40 usata Exp $
+
+inherit tetex eutils flag-o-matic
+
+#TETEX_TEXMF_PV=2.96.5.20040711
+TETEX_TEXMF_PV=${PV}
+TEXMF_PATH=/var/lib/texmf
+S=${WORKDIR}/tetex-src-${PV}
+
+TETEX_SRC="tetex-src-${TETEX_SRC_PV:-${TETEX_PV}}.tar.gz"
+TETEX_TEXMF="tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz"
+#TETEX_TEXMF_SRC="tetex-texmfsrc-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz"
+TETEX_TEXMF_SRC=""
+
+DESCRIPTION="a complete TeX distribution"
+HOMEPAGE="http://tug.org/teTeX/"
+
+SRC_PATH_TETEX=ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib
+SRC_URI="${SRC_PATH_TETEX}/${TETEX_SRC}
+ ${SRC_PATH_TETEX}/${TETEX_TEXMF}
+ mirror://gentoo/${P}-gentoo.tar.gz
+ http://dev.gentoo.org/~usata/distfiles/${P}-gentoo.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sparc ~x86"
+IUSE="motif lesstif Xaw3d neXt"
+
+DEPEND="motif? ( lesstif? ( x11-libs/lesstif )
+ !lesstif? ( x11-libs/openmotif ) )
+ !motif? ( neXt? ( x11-libs/neXtaw )
+ !neXt? ( Xaw3d? ( x11-libs/Xaw3d ) ) )
+ !dev-tex/memoir
+ !dev-tex/lineno
+ !dev-tex/SIunits
+ !dev-tex/floatflt
+ !dev-tex/g-brief
+ !dev-tex/pgf
+ !dev-tex/xcolor
+ !dev-tex/xkeyval"
+
+pkg_setup() {
+ ewarn
+ ewarn "teTeX 3.0 ebuild will remove config files stored in /usr/share/texmf."
+ ewarn "Please make a backup before upgrading if you changed anything."
+ ewarn
+
+ ebeep
+ epause
+}
+
+src_compile() {
+ use amd64 && replace-flags "-O3" "-O2"
+
+ if use motif ; then
+ if use lesstif ; then
+ append-ldflags -L/usr/X11R6/lib/lesstif -R/usr/X11R6/lib/lesstif
+ export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include/lesstif"
+ fi
+ toolkit="motif"
+ elif use neXt ; then
+ toolkit="neXtaw"
+ elif use Xaw3d ; then
+ toolkit="xaw3d"
+ else
+ toolkit="xaw"
+ fi
+
+ TETEX_ECONF="--with-x-toolkit=${toolkit}"
+
+ tetex_src_compile
+}
+
+src_install() {
+ addpredict /usr/share/texmf
+ addpredict /var/cache/fonts
+ tetex_src_install base doc fixup link
+}