From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mt076-00012q-Pk for garchives@archives.gentoo.org; Wed, 30 Sep 2009 14:25:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 511DBE0984; Wed, 30 Sep 2009 14:25:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A78F6E0984 for ; Wed, 30 Sep 2009 14:25:03 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 52CBE6799B for ; Wed, 30 Sep 2009 14:25:03 +0000 (UTC) Received: from matsuu by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1Mt074-0002V2-Da for gentoo-commits@lists.gentoo.org; Wed, 30 Sep 2009 14:25:02 +0000 From: "Matsuu Takuto (matsuu)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, matsuu@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-text/ptex: ChangeLog ptex-3.1.10_p20090610.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog ptex-3.1.10_p20090610.ebuild X-VCS-Directories: app-text/ptex X-VCS-Committer: matsuu X-VCS-Committer-Name: Matsuu Takuto Content-Type: text/plain; charset=utf8 Message-Id: Sender: Matsuu Takuto Date: Wed, 30 Sep 2009 14:25:02 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ecdd5f6a-0577-4fe2-a75c-6a1520b3577b X-Archives-Hash: acc7e97707d11682ee17fea25506aed4 matsuu 09/09/30 14:25:02 Modified: ChangeLog Added: ptex-3.1.10_p20090610.ebuild Log: Fixed #126092, #223793, #226877, #284825 and #282874. (Portage version: 2.1.6.13/cvs/Linux x86_64) Revision Changes Path 1.82 app-text/ptex/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ptex/Chan= geLog?rev=3D1.82&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ptex/Chan= geLog?rev=3D1.82&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ptex/Chan= geLog?r1=3D1.81&r2=3D1.82 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- ChangeLog 31 Oct 2008 21:08:57 -0000 1.81 +++ ChangeLog 30 Sep 2009 14:25:02 -0000 1.82 @@ -1,6 +1,13 @@ # ChangeLog for app-text/ptex -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.81 2008/1= 0/31 21:08:57 ulm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.82 2009/0= 9/30 14:25:02 matsuu Exp $ + +*ptex-3.1.10_p20090610 (30 Sep 2009) + + 30 Sep 2009; MATSUU Takuto + +ptex-3.1.10_p20090610.ebuild, +files/ptex-3.1.10_p20090610-gentoo.pat= ch, + +files/ptex-3.1.10_p20090610-getline.patch, +files/CVE-2009-1284.patch= : + Fixed #126092, #223793, #226877, #284825 and #282874. =20 31 Oct 2008; Ulrich Mueller ptex-3.1.10_p20071203.ebu= ild, ptex-3.1.10_p20080128.ebuild, ptex-3.1.10_p20080414.ebuild: 1.1 app-text/ptex/ptex-3.1.10_p20090610.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ptex/ptex= -3.1.10_p20090610.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ptex/ptex= -3.1.10_p20090610.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: ptex-3.1.10_p20090610.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.10_p20090610.eb= uild,v 1.1 2009/09/30 14:25:02 matsuu Exp $ # jmbreuer FOR DEV ONLY RESTRICT=3D"mirror test" TETEX_PV=3D3.0_p1 inherit eutils tetex-3 flag-o-matic autotools multilib SMALL_PV=3D"${TETEX_PV/_p*}" TETEX_TEXMF_PV=3D"${SMALL_PV}" TETEX_S=3D"${WORKDIR}/tetex-src-${SMALL_PV}" DESCRIPTION=3D"TeX distribution teTeX with Japanese patch collection 'pte= tex3'" HOMEPAGE=3D"http://www.nn.iij4u.or.jp/~tutimura/tex/ptetex.html" TETEX_SRC=3D"tetex-src-${SMALL_PV}.tar.gz" TETEX_TEXMF=3D"tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}" TETEX_TEXMF_SRC=3D"tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}po.tar.gz" PTETEX=3D"ptetex3-${PV/*_p}" PTETEX_CMAP=3D"ptetex-cmap-20090506" SRC_PATH_TETEX=3D"http://www.ctan.org/tex-archive/obsolete/systems/unix/t= eTeX/3.0/distrib" SRC_URI=3D"${SRC_PATH_TETEX}/${TETEX_SRC} ${SRC_PATH_TETEX}/${TETEX_TEXMF_SRC} http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/${PTETEX}.tar.gz http://tutimura.ath.cx/~nob/tex/ptetex/ptetex-cmap/${PTETEX_CMAP}.tar.gz mirror://gentoo/${PN}-3.1.10_p20071122-dviljk-security-fixes.patch.bz2" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" BUILD_DIR=3D"${WORKDIR}/build/usr" LICENSE=3D"GPL-2 BSD" IUSE=3D"X motif Xaw3d neXt iconv unicode" RDEPEND=3D"!app-text/tetex !=3Dmedia-libs/freetype-2.3.4 || ( media-fonts/ja-ipafonts media-fonts/ipamonafont media-fonts/vlgothic media-fonts/sazanami media-fonts/kochi-substitute ) )" DEPEND=3D"${RDEPEND} app-arch/unzip" S=3D"${WORKDIR}/${PTETEX}" src_unpack() { mkdir -p "${WORKDIR}/${TETEX_TEXMF}" cd "${WORKDIR}/${TETEX_TEXMF}" unpack ${TETEX_TEXMF_SRC} cd "${WORKDIR}" unpack ${TETEX_SRC} cd "${WORKDIR}" unpack ${PN}-3.1.10_p20071122-dviljk-security-fixes.patch.bz2 unpack ${PTETEX}.tar.gz unpack ${PTETEX_CMAP}.tar.gz echo ">>> Unpacking jis and morisawa fonts ..." tar xzf "${WORKDIR}"/${PTETEX}/archive/jis.tar.gz -C "${WORKDIR}" || die tar xzf "${WORKDIR}"/${PTETEX}/archive/morisawa.tar.gz -C "${WORKDIR}" |= | die # Gentoo box reserves variable ${P}!! cd "${S}" epatch "${FILESDIR}"/${P}-gentoo.patch cat < "${S}"/my_option SRC_DIR=3D"${WORKDIR}" TMP_PREFIX=3D"${BUILD_DIR}" PREFIX=3D/usr DATADIR=3D/usr/share TEXMFDIST=3D"${WORKDIR}/${TETEX_TEXMF}" TEXSRC_EXTRACTED=3D"${WORKDIR}" #make_option vartexfonts=3D/var/lib/texmf make_option vartexfonts=3D"${T}/texfonts" make_option CC=3D"$(tc-getCC)" make_option CXX=3D"$(tc-getCXX)" JAPANESE=3Dinternational XDVI=3Decho PXDVI=3Decho PLATEX209=3Dno STRIP=3Dno conf_option --without-dviljk conf_option --without-dvipng conf_option --without-info conf_option --without-texi2html conf_option --without-texinfo conf_option --with-system-zlib conf_option --with-system-pnglib conf_option --with-system-gd conf_option --with-system-ncurses conf_option --with-system-t1lib conf_option --enable-shared EOF if use iconv ; then echo "conf_option --enable-kanji-iconv" >> "${S}"/my_option fi if use unicode ; then echo "KANJI_CODE=3DUTF8" >> "${S}"/my_option else echo "KANJI_CODE=3DEUC" >> "${S}"/my_option fi # copied from tetex-3.eclass and modified if use X ; then if use motif ; then toolkit=3D"motif" elif use neXt ; then toolkit=3D"neXtaw" elif use Xaw3d ; then toolkit=3D"xaw3d" else toolkit=3D"xaw" fi echo "export CPPFLAGS=3D\"${CPPFLAGS} $(freetype-config --cflags)\"" >>= "${S}"/my_option echo "export LDFLAGS=3D\"${LDFLAGS} $(freetype-config --libs)\"" >> "${= S}"/my_option echo "conf_option --with-xdvi-x-toolkit=3D${toolkit}" >> "${S}"/my_opti= on else echo "conf_option --without-x" >> "${S}"/my_option echo "conf_option --without-xdvik" >> "${S}"/my_option echo "conf_option --without-pxdvik" >> "${S}"/my_option fi cd "${S}" unset TEXMFMAIN TEXMF HOME emake -j1 x || die "emake x failed" cd "${TETEX_S}" epatch "${FILESDIR}/tetex-${SMALL_PV}-kpathsea-pic.patch" # bug 85404 epatch "${FILESDIR}/${PN}-3.1.10_p20071122-epstopdf-wrong-rotation.patch= " # ptetex included #epatch "${FILESDIR}/tetex-${TETEX_PV}-amd64-xdvik-wp.patch" epatch "${FILESDIR}/tetex-${TETEX_PV}-mptest.patch" #bug 98029 # no need #epatch "${FILESDIR}/${PN}-3.1.10_p20071122-fmtutil-etex.patch" #bug 115775 # ptex included #epatch "${FILESDIR}/tetex-${TETEX_PV}-xpdf-vulnerabilities.patch" # bug 94860 epatch "${FILESDIR}/${PN}-3.1.10_p20071122-pdftosrc-install.patch" # bug 126918 epatch "${FILESDIR}/tetex-${TETEX_PV}-create-empty-files.patch" # bug 94901 epatch "${FILESDIR}/tetex-${TETEX_PV}-dvipdfm-timezone.patch" # security bug #170861 # ptetex included # epatch "${FILESDIR}/tetex-${TETEX_PV}-CVE-2007-0650.patch" # security bug #188172 # ptetex included #epatch "${FILESDIR}/tetex-${TETEX_PV}-xpdf-CVE-2007-3387.patch" # security bug #198238 epatch "${FILESDIR}/tetex-${TETEX_PV}-dvips_bufferoverflow.patch" # securty bug #196735 epatch "${FILESDIR}/xpdf-3.02pl2.patch" # Construct a Gentoo site texmf directory # that overlays the upstream supplied # target not found #epatch "${FILESDIR}/tetex-${TETEX_PV}-texmf-site.patch" # security bug #198238 epatch "${WORKDIR}/${PN}-3.1.10_p20071122-dviljk-security-fixes.patch" # security bug #198238 and bug #193437 epatch "${FILESDIR}/tetex-${TETEX_PV}-t1lib-SA26241_buffer_overflow.patc= h" # security bug #282874 epatch "${FILESDIR}/CVE-2009-1284.patch" epatch "${FILESDIR}/${P}-getline.patch" cd "${TETEX_S}/texk/dviljk" eautoreconf } src_compile() { unset TEXMFMAIN TEXMF HOME emake -j1 c || die "emake c failed" emake -j1 macro || die "emake macro failed" emake -j1 otf || die "emake otf failed" emake -j1 fonty || die "emake fonty failed" emake -j1 babel || die "emake babel failed" einfo "Setting ptetex-cmap ..." cd "${WORKDIR}/${PTETEX_CMAP}" PATH=3D"${BUILD_DIR}/bin:${PATH}" \ LD_LIBRARY_PATH=3D"${BUILD_DIR}/lib:${LD_LIBRARY_PATH}" \ TEXMFMAIN=3D"${BUILD_DIR}/share/texmf" \ ./setup.sh "${BUILD_DIR}"/share/texmf/fonts/cmap } src_test() { PATH=3D"${BUILD_DIR}/bin:${PATH}" \ LD_LIBRARY_PATH=3D"${BUILD_DIR}/lib:${LD_LIBRARY_PATH}" \ TEXMFMAIN=3D"${BUILD_DIR}/share/texmf" \ emake -j1 test || die "emake test failed" } src_install() { einfo "Installing ptetex3 binaries ..." dobin "${BUILD_DIR}"/bin/* dolib "${BUILD_DIR}"/lib/* einfo "Installing /usr/include/* files ..." insinto /usr/include doins -r "${BUILD_DIR}"/include/* einfo "Installing /usr/share/* files ..." insinto /usr/share cp -dr "${BUILD_DIR}"/share/* "${D}"/usr/share einfo "Installing document files ..." doman "${BUILD_DIR}"/man/*/* doinfo "${BUILD_DIR}"/info/* einfo "Installing jis and morisawa fonts ..." insinto /usr/share/texmf/fonts/tfm doins -r "${WORKDIR}"/jis/tfm/* || die "installing jis/tfm failed= " doins -r "${WORKDIR}"/morisawa/tfm/* || die "installing morisawa/tfm f= ailed" einfo "Installing texmf files ..." find "${WORKDIR}"/${TETEX_TEXMF} -maxdepth 1 -mindepth 1 -type f | xargs= rm -f insinto /usr/share/texmf doins -r "${WORKDIR}"/${TETEX_TEXMF}/* einfo "Installing other files ..." insinto /usr/share/texmf/fonts/map/dvips/tetex insinto /usr/share/texmf/web2c doins -r "${BUILD_DIR}"/share/texmf-var/web2c/*.fmt einfo "Removing unnecessary files ..." rm -r "${D}"/usr/share/texmf/doc rm -r "${D}"/usr/share/texmf/web2c/texmf.cnf.* rm -r "${D}"/usr/share/texmf/web2c/fmtutil.cnf.* find "${D}"/usr/share/texmf | grep "ls-R" | xargs rm -f einfo "Installing texmf-update scripte ..." dosbin "${FILESDIR}"/texmf-update dodoc ChangeLog* README* } pkg_postinst() { tetex-3_pkg_postinst elog elog "Japanese dvips and xdvi have been renamed to pdvipsk and pxdvik." elog elog "To use proper Japanese font in dvips/dvipdfmx/xdvi/pdftex, you" elog "needs to run updmap or updmap-sys w/ map. More deteil info about" elog "this fonts central configuration can be available at following" elog "ptetex Wiki:" elog " http://tutimura.ath.cx/ptetex/?%A5%D5%A5%A9%A5%F3%A5%C8%A4%CE%BD%= B8%C3%E6%B4%C9%CD%FD" elog }