diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-12-02 08:47:19 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-12-02 08:47:19 +0000 |
commit | 811d0dd686988de36f3b0af85c6ff123d33fd402 (patch) | |
tree | 7282d1e846e35078ec356b22226472fa5559d39a /app-sci/tilp | |
parent | un-masking latest tilp (diff) | |
download | gentoo-2-811d0dd686988de36f3b0af85c6ff123d33fd402.tar.gz gentoo-2-811d0dd686988de36f3b0af85c6ff123d33fd402.tar.bz2 gentoo-2-811d0dd686988de36f3b0af85c6ff123d33fd402.zip |
forced stable for x86 because of older tilp version security problems
Diffstat (limited to 'app-sci/tilp')
-rw-r--r-- | app-sci/tilp/ChangeLog | 10 | ||||
-rw-r--r-- | app-sci/tilp/Manifest | 12 | ||||
-rw-r--r-- | app-sci/tilp/files/6.76-makefile-desktop.patch | 16 | ||||
-rw-r--r-- | app-sci/tilp/files/6.76-makefile.patch | 65 | ||||
-rw-r--r-- | app-sci/tilp/files/digest-tilp-6.76 | 1 | ||||
-rw-r--r-- | app-sci/tilp/tilp-6.76.ebuild | 54 |
6 files changed, 152 insertions, 6 deletions
diff --git a/app-sci/tilp/ChangeLog b/app-sci/tilp/ChangeLog index e91ddb2e5252..77fba15942f0 100644 --- a/app-sci/tilp/ChangeLog +++ b/app-sci/tilp/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-sci/tilp # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/tilp/ChangeLog,v 1.11 2004/09/03 15:28:15 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/tilp/ChangeLog,v 1.12 2004/12/02 08:47:19 phosphan Exp $ + +*tilp-6.76 (02 Dec 2004) + + 02 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> + +files/6.76-makefile-desktop.patch, +files/6.76-makefile.patch, + +tilp-6.76.ebuild: + Version bump. Fixes a security problem of older versions (temporary file with + fixed name in /tmp) 03 Sep 2004; David Holm <dholm@gentoo.org> tilp-6.74.ebuild: Added to ~ppc. diff --git a/app-sci/tilp/Manifest b/app-sci/tilp/Manifest index 2dd4f785c1a3..20fc596e0bde 100644 --- a/app-sci/tilp/Manifest +++ b/app-sci/tilp/Manifest @@ -1,10 +1,12 @@ +MD5 1cef7468aa785a6211ba6931363a06a4 tilp-6.74.ebuild 1361 +MD5 429ce8f7f9ec8520a8862b5feda45756 tilp-6.68-r2.ebuild 1377 +MD5 5c9dc32498fac24d79befa75bc4087ea tilp-6.76.ebuild 1400 MD5 67fb4a8f4862e9ec7fd956917f9f94cb ChangeLog 1943 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -MD5 429ce8f7f9ec8520a8862b5feda45756 tilp-6.68-r2.ebuild 1377 -MD5 1cef7468aa785a6211ba6931363a06a4 tilp-6.74.ebuild 1361 -MD5 85eb0fa9a7b3fb2b8a27f8589b96dcaa files/digest-tilp-6.68-r2 62 +MD5 06d7047c0e38a61469e836701cd8e0e4 files/keepdir.patch 384 MD5 f235d3d15c4b0687241a0c4b3d0d9013 files/formatbug.patch 492 -MD5 bc48a68d03eb437fcd76f7bd8993fac8 files/6.74-makefile-desktop.patch 706 MD5 19f22f6cd7f216bca36431149033c082 files/6.74-makefile.patch 2495 +MD5 85eb0fa9a7b3fb2b8a27f8589b96dcaa files/digest-tilp-6.68-r2 62 +MD5 bc48a68d03eb437fcd76f7bd8993fac8 files/6.74-makefile-desktop.patch 706 MD5 41f9e0437c9b7230232d5cc7c5c6df59 files/digest-tilp-6.74 62 -MD5 06d7047c0e38a61469e836701cd8e0e4 files/keepdir.patch 384 +MD5 708836f6ae250add32825e8e7595d9b1 files/digest-tilp-6.76 62 diff --git a/app-sci/tilp/files/6.76-makefile-desktop.patch b/app-sci/tilp/files/6.76-makefile-desktop.patch new file mode 100644 index 000000000000..ce7c30cd64ec --- /dev/null +++ b/app-sci/tilp/files/6.76-makefile-desktop.patch @@ -0,0 +1,16 @@ +--- desktop/Makefile.in 2004-06-29 17:02:14.000000000 -0400 ++++ desktop/Makefile.in.new 2004-08-22 00:25:48.029609736 -0400 +@@ -340,8 +340,11 @@ + @echo "---"; + + @echo Installing Gnome VFS MIME magic patterns... +- @if ! grep "\*\*TI" /etc/gnome-vfs-mime-magic; then \ +- cat gnome/gnome-vfs-mime-magic >> /etc/gnome-vfs-mime-magic; \ ++ @if ! grep "\*\*TI" $(sysconfdir)/gnome-vfs-mime-magic; then \ ++ cp $(sysconfdir)/gnome-vfs-mime-magic .; \ ++ cat gnome/gnome-vfs-mime-magic >> gnome-vfs-mime-magic; \ ++ cp gnome-vfs-mime-magic $(DESTDIR)$(sysconfdir)/gnome-vfs-mime-magic; \ ++ cp gnome-vfs-mime-magic $(DESTDIR)$(sysconfdir)/pokpok; \ + fi; + + @echo Installing application registry in Gnome... diff --git a/app-sci/tilp/files/6.76-makefile.patch b/app-sci/tilp/files/6.76-makefile.patch new file mode 100644 index 000000000000..e13924980428 --- /dev/null +++ b/app-sci/tilp/files/6.76-makefile.patch @@ -0,0 +1,65 @@ +--- /tmp/tilp-6.74/desktop/Makefile.in 2004-06-29 23:02:14.000000000 +0200 ++++ ./desktop/Makefile.in 2004-08-14 14:20:51.929766560 +0200 +@@ -331,9 +331,15 @@ + + + install: $(FILES) ++ @mkdir $(DESTDIR)$(sysconfdir); + @echo Installing magic local data for file\(1\) command... +- @if ! grep "\*\*TI85\*\*" /etc/magic; then \ +- cat others/magic >> /etc/magic; \ ++ @if ! grep "\*\*TI85\*\*" $(sysconfdir)/magic; \ ++ then \ ++ mkdir etc; \ ++ rm etc/magic; \ ++ cp $(sysconfdir)/magic etc/; \ ++ cat others/magic >> etc/magic; \ ++ $(INSTALL_DATA) etc/magic $(DESTDIR)$(sysconfdir)/magic; \ + fi; + @echo Done. + +@@ -345,29 +351,35 @@ + fi; + + @echo Installing application registry in Gnome... +- @$(INSTALL) -m644 gnome/tilp.applications /usr/share/application-registry ++ @mkdir -p $(DESTDIR)/usr/share/application-registry/ ++ @$(INSTALL) -m644 gnome/tilp.applications $(DESTDIR)/usr/share/application-registry + + @echo Installing file and icons handling in Gnome... +- @$(INSTALL) -m644 gnome/tilp.keys /usr/share/mime-info +- @$(INSTALL) -m644 gnome/tilp.mime /usr/share/mime-info ++ @mkdir -p $(DESTDIR)/usr/share/mime-info; ++ @$(INSTALL) -m644 gnome/tilp.keys $(DESTDIR)/usr/share/mime-info ++ @$(INSTALL) -m644 gnome/tilp.mime $(DESTDIR)/usr/share/mime-info + + @echo Installing TiLP menu entry in Gnome... +- @$(INSTALL) -m644 gnome/TiLP.desktop /usr/share/applications ++ @mkdir -p $(DESTDIR)/usr/share/applications ++ @$(INSTALL) -m644 gnome/TiLP.desktop $(DESTDIR)/usr/share/applications + @echo Done. + + @echo "---"; + + @echo Installing KMimeMagic local data... +- @if ! grep "\*\*TI85" /usr/share/mimelnk/magic; then \ +- cat kde/magic >> /usr/share/mimelnk/magic; \ ++ ++#confusing kde mime type resolution ++# @if ! grep "\*\*TI85" /usr/share/mimelnk/magic; then \ ++ cat kde/magic >> $(DESTDIR)/usr/share/mimelnk/magic; \ + fi; + + @echo Installing TiLP menu entry in KDE... +- @$(INSTALL) -d /usr/share/applnk/Edutainment/Mathematics +- @$(INSTALL) -m644 kde/tilp.desktop /usr/share/applnk/Edutainment/Mathematics/ ++ @$(INSTALL) -d $(DESTDIR)/usr/share/applnk/Edutainment/Mathematics ++ @$(INSTALL) -m644 kde/tilp.desktop $(DESTDIR)/usr/share/applnk/Edutainment/Mathematics/ + + @echo Installing file and icons handling in KDE... +- @$(INSTALL) -m644 kde/x-tilp.desktop /usr/share/mimelnk/application ++ @mkdir -p $(DESTDIR)/usr/share/mimelnk/application ++ @$(INSTALL) -m644 kde/x-tilp.desktop $(DESTDIR)/usr/share/mimelnk/application + @echo Done. + + uninstall: $(FILES) diff --git a/app-sci/tilp/files/digest-tilp-6.76 b/app-sci/tilp/files/digest-tilp-6.76 new file mode 100644 index 000000000000..b21a644d6754 --- /dev/null +++ b/app-sci/tilp/files/digest-tilp-6.76 @@ -0,0 +1 @@ +MD5 8519462a9d9b21c1bc9e76116ccd276f tilp-6.76.tar.gz 1187328 diff --git a/app-sci/tilp/tilp-6.76.ebuild b/app-sci/tilp/tilp-6.76.ebuild new file mode 100644 index 000000000000..2a44fe20202d --- /dev/null +++ b/app-sci/tilp/tilp-6.76.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/tilp/tilp-6.76.ebuild,v 1.1 2004/12/02 08:47:19 phosphan Exp $ + +inherit eutils + +DESCRIPTION="TiLP - A linking program for Texas Instruments' graphing calculators" +HOMEPAGE="http://tilp.info/" +SRC_URI="mirror://sourceforge/tilp/${P}.tar.gz + mirror://gentoo/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="x86 ~ppc" +IUSE="nls" + +DEPEND=">=dev-libs/libticables-3.8.6 + >=dev-libs/libticalcs-4.5.5 + >=dev-libs/libtifiles-0.6.1 + app-text/dos2unix + >=x11-libs/gtk+-2 + >=gnome-base/libglade-2 + nls? sys-devel/gettext" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-makefile.patch + epatch ${FILESDIR}/${PV}-makefile-desktop.patch + epatch ${FILESDIR}/keepdir.patch +} + +src_compile() { + # Note the special option --with-fontpath-prefix below. + cd ${WORKDIR}/${P}/ + ./configure \ + $(use_enable nls) \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --with-fontpath-prefix=${D}/usr/X11R6/lib/X11/fonts \ + --enable-exit-homedir || die + + emake || die +} + +src_install() { + # The SHARE_DIR is required since it isn't set properly in a makefile. + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog NEWS README README.linux RELEASE THANKS TODO + keepdir /usr/lib/tilp +} |