summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-29 00:27:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-29 00:27:11 +0000
commit533bc2f4a7870d2ddb19f5f8a14a02100e6372c2 (patch)
tree3997dda207e62b8a70972c33594df2ebf8347031 /app-admin/gtkdiskfree/gtkdiskfree-1.9.3-r1.ebuild
parentMake sure we control X11/GL/rle dependencies via USE #107497. (diff)
downloadgentoo-2-533bc2f4a7870d2ddb19f5f8a14a02100e6372c2.tar.gz
gentoo-2-533bc2f4a7870d2ddb19f5f8a14a02100e6372c2.tar.bz2
gentoo-2-533bc2f4a7870d2ddb19f5f8a14a02100e6372c2.zip
Fix by Tavis Ormandy for insecure tempfile usage #104565.
(Portage version: 2.0.52-r1 http://www.bash.org/?136501 )
Diffstat (limited to 'app-admin/gtkdiskfree/gtkdiskfree-1.9.3-r1.ebuild')
-rw-r--r--app-admin/gtkdiskfree/gtkdiskfree-1.9.3-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-admin/gtkdiskfree/gtkdiskfree-1.9.3-r1.ebuild b/app-admin/gtkdiskfree/gtkdiskfree-1.9.3-r1.ebuild
new file mode 100644
index 000000000000..a4d4f59110cd
--- /dev/null
+++ b/app-admin/gtkdiskfree/gtkdiskfree-1.9.3-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gtkdiskfree/gtkdiskfree-1.9.3-r1.ebuild,v 1.1 2005/09/29 00:27:11 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Graphical tool to show free disk space"
+HOMEPAGE="http://gtkdiskfree.tuxfamily.org/"
+SRC_URI="http://gtkdiskfree.tuxfamily.org/src_tgz/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+DEPEND=">=x11-libs/gtk+-2
+ >=dev-libs/glib-2
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-tempfile.patch #104565
+ epatch "${FILESDIR}"/${PV}-makefile-DESTDIR.patch
+}
+
+src_compile() {
+ econf $(use_enable nls) || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}