update buildroot to 2017.02.11
This commit is contained in:
17
bsp/buildroot-2017.02.11/package/ftop/0001-overflow.patch
Normal file
17
bsp/buildroot-2017.02.11/package/ftop/0001-overflow.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Set tmp_buf and rate_buf to something ridiculously high to fix a buffer
|
||||
overflow when COLUMNS is large. - JeR
|
||||
|
||||
(Taken from gentoo portage)
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
--- 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;
|
||||
8
bsp/buildroot-2017.02.11/package/ftop/Config.in
Normal file
8
bsp/buildroot-2017.02.11/package/ftop/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_FTOP
|
||||
bool "ftop"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Ftop is to files what top is to processes.
|
||||
The progress of all open files and file systems can be monitored.
|
||||
|
||||
https://sourceforge.net/projects/ftop/
|
||||
5
bsp/buildroot-2017.02.11/package/ftop/ftop.hash
Normal file
5
bsp/buildroot-2017.02.11/package/ftop/ftop.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://sourceforge.net/projects/ftop/files/ftop/1.0/
|
||||
md5 57c68b6e7431f4219d9eddaebcb395da ftop-1.0.tar.bz2
|
||||
sha1 d3ef1b74825f50c7c442d299b29d23c2478f199b ftop-1.0.tar.bz2
|
||||
# Locally computed
|
||||
sha256 3a705f4f291384344cd32c3dd5f5f6a7cd7cea7624c83cb7e923966dbcd47f82 ftop-1.0.tar.bz2
|
||||
14
bsp/buildroot-2017.02.11/package/ftop/ftop.mk
Normal file
14
bsp/buildroot-2017.02.11/package/ftop/ftop.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# ftop
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FTOP_VERSION = 1.0
|
||||
FTOP_SOURCE = ftop-$(FTOP_VERSION).tar.bz2
|
||||
FTOP_SITE = https://sourceforge.net/projects/ftop/files/ftop/$(FTOP_VERSION)
|
||||
FTOP_DEPENDENCIES = ncurses
|
||||
FTOP_LICENSE = GPLv3+
|
||||
FTOP_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user