diff options
Diffstat (limited to 'sys-process/ftop')
-rw-r--r-- | sys-process/ftop/ChangeLog | 11 | ||||
-rw-r--r-- | sys-process/ftop/Manifest | 19 | ||||
-rw-r--r-- | sys-process/ftop/files/ftop-1.0-overflow.patch | 14 | ||||
-rw-r--r-- | sys-process/ftop/ftop-1.0.ebuild | 20 | ||||
-rw-r--r-- | sys-process/ftop/metadata.xml | 8 |
5 files changed, 72 insertions, 0 deletions
diff --git a/sys-process/ftop/ChangeLog b/sys-process/ftop/ChangeLog new file mode 100644 index 000000000000..30de39aba688 --- /dev/null +++ b/sys-process/ftop/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-process/ftop +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/ftop/ChangeLog,v 1.1 2014/01/30 00:21:21 tomwij Exp $ + +*ftop-1.0 (30 Jan 2014) + + 30 Jan 2014; Tom Wijsman <TomWij@gentoo.org> +files/ftop-1.0-overflow.patch, + +ftop-1.0.ebuild, +metadata.xml: + New package for sys-process/ftop, monitors open files and filesystems; tested + and adapted the ebuild and patch provided by Jeroen Roovers (rej), fixes bug + #483772 reported by Jesse Adelman. diff --git a/sys-process/ftop/Manifest b/sys-process/ftop/Manifest new file mode 100644 index 000000000000..ad6006db3d16 --- /dev/null +++ b/sys-process/ftop/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX ftop-1.0-overflow.patch 480 SHA256 799944a33ae10060e7c7c2d223d914b9d6a4eceb087f5588986e19b2b1a2ccbd SHA512 8057c3e938c0e3d53fa6925bb11d5ea5596343fc82c7bf0e3e32461f11b86c0e3f62b7eedd597b31dad587c585a5b99cd1f4c3d99c13c6825e59278ad1f17d2f WHIRLPOOL 03d4ab44971690edff282deabd844a5d75db46202e4fbf4e84c51b1ff4e19334db4eea1f28ffb2ff6dc522fd0002f60c7615a962d713b491beeb812b2556b8dc +DIST ftop-1.0.tar.bz2 143122 SHA256 3a705f4f291384344cd32c3dd5f5f6a7cd7cea7624c83cb7e923966dbcd47f82 SHA512 f572a52481db7d52a1e384500f5ec57eec36fefab95c7237197d69650e6522dd5ddd4c4425a08ffe853ba730519b90de522186aad5d8bd94cece6e66db5e634a WHIRLPOOL 091fd2e25770f77423fbd137d7a4f5b2989d9ac7478b360d7e7d1a22649dcd68b922882d30159e6e136309f92b156f07fb4c9ac886e7c569d17b3084938c89a7 +EBUILD ftop-1.0.ebuild 537 SHA256 97564d40e46670016aca178b89f0dc0b47c046cf7ac0945a7fb5ff186d06b3e0 SHA512 37354aa1602e4f632a0f55242d09842d14c233b1e2bc5ed6f0d5d1c6374eee7788cc4e8b26b709b53c64855f0aeeeea8e07b54cf567902612dbd4d5300dcf701 WHIRLPOOL 4588c025c6d2195e91f1ca2d3719abeb78d0d6169198ef9db37c3850e332e7c9a3a38d33796a095d70e7838686be1cc12cf8b4cd261874ae486b5019fc578a87 +MISC ChangeLog 540 SHA256 80105f558839333f4ae6aec8eed12b26b6accce0201b8205a2348454a3846734 SHA512 f075b03d09621cb89a6ef9bbbcb93a62a4a2a17933d5a49e24a9e7c501af280b33018a46d368e51784b05d34561f1ad75ab9085ae6fa8e6b3e983bff03c71c4b WHIRLPOOL 3a3eb2763f2712b22bcc0ada06e34894793577c62a189e3dd193cc646012ef3f412c038280085c4876a62307836d3f5b624e1706b8ad3f452aa2e967dc9cb2ec +MISC metadata.xml 230 SHA256 c188c403bd41d5dfe348e4809c2350a5a2fca98d46f8adae83a36d89af439ecd SHA512 17d13ca08cb96bf73a2c821019fd00677f17579c54b5543c1653c9f6106d7c52ad14b4a7ff72000ab7f59b7031e4471756b96864ca2fedef2e3a047fa0eb71eb WHIRLPOOL 39073c2fd817e3c41775408adf7271656a744ccd967e74770c673506c8c78cd11356b0cd28eeb16fe7350e8708141ad25037c45066263f2ed1b85d5270743986 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQEcBAEBCAAGBQJS6Zq/AAoJEJWyH81tNOV9bUsIAJrGLDuhakTubqH1Lpnox8nf +KjypmirnVX+hd52LQRpc7r/TG+9lebDM6EZZfdlIeG8+R57IHhcIr6vtDKCZTUl2 +nA0Do01yqu4hHrCDfXWOfaWSmS8sVo9Pll1fDTspX6qyQ0ZKTCKKeEHWxWrAWBN+ +2I4JlDGfE4WrfU4x+CoiskOZHBUUc1XKnmBEW962iA2MKdzlqPXm5/g/0uTyzG9A +KUr9InVpJXs37/YGQMbUqzunX8GQqAI9YumDk86d+lXwhLqCjeKUxmArD30nT9+m +FZ8Mf2zQ0iT4AKvPGWrRLzK+tF6NenaQtxFFZbNwb3DMTHhgWyHVuCDe/RfyNHM= +=smZR +-----END PGP SIGNATURE----- diff --git a/sys-process/ftop/files/ftop-1.0-overflow.patch b/sys-process/ftop/files/ftop-1.0-overflow.patch new file mode 100644 index 000000000000..f6503fcdbc19 --- /dev/null +++ b/sys-process/ftop/files/ftop-1.0-overflow.patch @@ -0,0 +1,14 @@ +Set tmp_buf and rate_buf to something ridiculously high to fix a buffer +overflow when COLUMNS is large. - JeR + +--- a/src/ftop.c 2009-02-16 07:00:00.000000000 +0100 ++++ b/src/ftop.c 2013-09-06 14:42:41.788852952 +0200 +@@ -736,7 +736,7 @@ + { + size_t i, j, bytes, bar_total; + char more_procs_ch, more_files_ch, expanded_ch; +- char tmp_buf[80], rate_buf[80]; ++ char tmp_buf[2048], rate_buf[2048]; + char *tmp_str; + snapshot *s, *s_prev; + file_info *tmp_file; diff --git a/sys-process/ftop/ftop-1.0.ebuild b/sys-process/ftop/ftop-1.0.ebuild new file mode 100644 index 000000000000..18539a914e27 --- /dev/null +++ b/sys-process/ftop/ftop-1.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/ftop/ftop-1.0.ebuild,v 1.1 2014/01/30 00:21:21 tomwij Exp $ + +EAPI="5" + +inherit autotools-utils + +DESCRIPTION="Monitor open files and filesystems" +HOMEPAGE="https://code.google.com/p/ftop/" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-overflow.patch )
\ No newline at end of file diff --git a/sys-process/ftop/metadata.xml b/sys-process/ftop/metadata.xml new file mode 100644 index 000000000000..dca1781cb290 --- /dev/null +++ b/sys-process/ftop/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> +</pkgmetadata> |