diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-process/ftop |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-process/ftop')
-rw-r--r-- | sys-process/ftop/Manifest | 7 | ||||
-rw-r--r-- | sys-process/ftop/files/ftop-1.0-overflow.patch | 14 | ||||
-rw-r--r-- | sys-process/ftop/files/ftop-1.0-tinfo.patch | 10 | ||||
-rw-r--r-- | sys-process/ftop/ftop-1.0.ebuild | 23 | ||||
-rw-r--r-- | sys-process/ftop/metadata.xml | 7 |
5 files changed, 61 insertions, 0 deletions
diff --git a/sys-process/ftop/Manifest b/sys-process/ftop/Manifest new file mode 100644 index 000000000000..db491575e483 --- /dev/null +++ b/sys-process/ftop/Manifest @@ -0,0 +1,7 @@ +AUX ftop-1.0-overflow.patch 480 SHA256 799944a33ae10060e7c7c2d223d914b9d6a4eceb087f5588986e19b2b1a2ccbd SHA512 8057c3e938c0e3d53fa6925bb11d5ea5596343fc82c7bf0e3e32461f11b86c0e3f62b7eedd597b31dad587c585a5b99cd1f4c3d99c13c6825e59278ad1f17d2f WHIRLPOOL 03d4ab44971690edff282deabd844a5d75db46202e4fbf4e84c51b1ff4e19334db4eea1f28ffb2ff6dc522fd0002f60c7615a962d713b491beeb812b2556b8dc +AUX ftop-1.0-tinfo.patch 194 SHA256 9db007202a8dbd59ba04522427fcf98fd5b9d630081b8e6714a0aa8810b816a2 SHA512 a15acc7acd78ca2abc166ff9f9fc66f3b2c5f1348d6d416d70520a8e07cc128529129d217045ca16a115b1a18e0729cacf0f5fc711d3a8da5b56466ddc1650b6 WHIRLPOOL 19bfa15580134dcef8d27cd9263933e4900183b1e6b67cac6404061ee5fed4df482c2e927e4a274d2d9b3dccbec0e514497d133c6247ea6ae2f04816631ec9d9 +DIST ftop-1.0.tar.bz2 143122 SHA256 3a705f4f291384344cd32c3dd5f5f6a7cd7cea7624c83cb7e923966dbcd47f82 SHA512 f572a52481db7d52a1e384500f5ec57eec36fefab95c7237197d69650e6522dd5ddd4c4425a08ffe853ba730519b90de522186aad5d8bd94cece6e66db5e634a WHIRLPOOL 091fd2e25770f77423fbd137d7a4f5b2989d9ac7478b360d7e7d1a22649dcd68b922882d30159e6e136309f92b156f07fb4c9ac886e7c569d17b3084938c89a7 +EBUILD ftop-1.0.ebuild 501 SHA256 2551a659fbdc3cdcb8fca4c7f4e2ab2d23d9ef44140a67271530a799a844fc43 SHA512 c73952cc3f929fe27712c26f1fc2e4d3c240f81787eb2fce271477d4ffe49e400f22bad6d26620428df555e1bb937e6e573fe2c9c54789c6c206fc2ac6776fb9 WHIRLPOOL e2bdf290fd072d1b32000c6f4b587d0d950ac2fc882291765f697a281decc1296eda0b5640a8ccc1eb51c6afec680edfda5a1a7a740a53c9a2eac00b1b276b87 +MISC ChangeLog 3195 SHA256 c403602d4c2558e72766fd233b95f480f47152e3da7e5a3e0da285c7bc1857e3 SHA512 e576f96bbce92002e32a5cf71553fefcd991ff3118424a8114d844e937d8cf4c984e8604db8157c9abcccdd9413580df6d40ac9d07c4175167a4db1fbb5e6b3d WHIRLPOOL eff38fb0ac05dd2cc03a104d0559a73a9bcbc824142ef5e9b87caa5d70823d46765c453e872b223ff46971c985f46b299280f2af312571e8e00dbdfe5803648f +MISC ChangeLog-2015 1055 SHA256 41512de44d946b93ae695816eec033ab1762123eb3edb645ab6fec9405bd8363 SHA512 f178877a773892b30f3cd2571c40126cae38a69a373ea4b85fd53c05f49a8b24447fd728ec10b623758d43d4245ee1a8ee2069789ed428ef1e12c4b449e7f3bc WHIRLPOOL ca8ac6fe2d94d897d95c54644bb7ee5212a795e27c1600166451ffd72eecb298cc6749b7845e852494c9fb8fbccdd5f3761779186253aacbb504945dc1ab029d +MISC metadata.xml 224 SHA256 ac3edf52832f461791959c8bdcd28822502e10ec02f961682dbda42216f9b1a4 SHA512 50fd033081cbd709e8dbd3441700c8301309ccfbf81200ea387916a3e95d88b231748df77c3f6ec62207d02fc268d4841679374e06abee36bf196eeecfac64e5 WHIRLPOOL 3166e67c06c16ee2b8eb9b37606a674b674e49524d82cd9c987fab4e039adc11639f38762e803781aa95ce3cf16d7c9188cc3286b17d25d7601cef98bf45024d 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/files/ftop-1.0-tinfo.patch b/sys-process/ftop/files/ftop-1.0-tinfo.patch new file mode 100644 index 000000000000..cdbc30efa48e --- /dev/null +++ b/sys-process/ftop/files/ftop-1.0-tinfo.patch @@ -0,0 +1,10 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -15,6 +15,7 @@ + + # Checks for libraries. + AC_CHECK_LIB([curses], [initscr]) ++AC_SEARCH_LIBS(stdscr,tinfo) + + # Checks for header files. + AC_HEADER_STDC diff --git a/sys-process/ftop/ftop-1.0.ebuild b/sys-process/ftop/ftop-1.0.ebuild new file mode 100644 index 000000000000..ed63276afe3d --- /dev/null +++ b/sys-process/ftop/ftop-1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=frob +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 ~hppa ~x86" + +DEPEND="sys-libs/ncurses:0=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-overflow.patch + "${FILESDIR}"/${P}-tinfo.patch +) diff --git a/sys-process/ftop/metadata.xml b/sys-process/ftop/metadata.xml new file mode 100644 index 000000000000..0ae91bddd943 --- /dev/null +++ b/sys-process/ftop/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>monsieurp@gentoo.org</email> + </maintainer> +</pkgmetadata> |