Message ID | 20200821193707.5633-1-smooky@v16.de |
---|---|
State | Accepted |
Commit | 34a831e0d630dc298ab055b64502b2da45c86aaf |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4BYBcR5cJZz3x16 for <patchwork@web04.haj.ipfire.org>; Fri, 21 Aug 2020 19:37:27 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4BYBcQ1Qd3zsL; Fri, 21 Aug 2020 19:37:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4BYBcP1kTFz2yHl; Fri, 21 Aug 2020 19:37:25 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4BYBcM3v4Lz2xl3 for <development@lists.ipfire.org>; Fri, 21 Aug 2020 19:37:23 +0000 (UTC) Received: from malta2912.startdedicated.de (v16.de [85.93.91.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4BYBcF04YbznK for <development@lists.ipfire.org>; Fri, 21 Aug 2020 19:37:16 +0000 (UTC) Received: from router.home.v16.de (ip1f109aa8.dynamic.kabel-deutschland.de [31.16.154.168]) (Authenticated sender: smooky.v16) by malta2912.startdedicated.de (Postfix) with ESMTPA id CCE92EC0E70; Fri, 21 Aug 2020 21:37:09 +0200 (CEST) From: smooky@v16.de To: development@lists.ipfire.org Subject: [PATCH] ncdu-1.15.1 Date: Fri, 21 Aug 2020 21:37:07 +0200 Message-Id: <20200821193707.5633-1-smooky@v16.de> X-Mailer: git-send-email 2.12.2 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1598038640; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=XbdJyM8f5sJ3EfZ/Yll6anoIzmotHdm0qS5QnAZiORU=; b=YWh4MtM1ctPg1oFqBYAN69xP49nqALR27UYBjgks1LeSEc8S/UtXrm/QgMSM2M7eiEH/Eg TPFsJ5YcIAcI3g5qvQLk1Ai5/0kqNLvGgeJVpiQGGiF/ldPldlbhDHJq9vKcwYLQHp5c6n Za3Ew9AbPq0zKEfsHa4yvK43TCR5iSrAu2YdXyemJZiP6ST3MuKOgvVDVrOs7SnBkWb+6e lMlEihBfvrcCAZyJMwQ7p5mY2DLujDJFArNN7Hlp4lOa0uNvy3eOhJj3C3WFzDwxlIVrz1 umIgm1OLwL24ikrt9KQfT3hCAXqxgaZlLcvBvsXkM0GH32S29EvqBoMfzvaBbA== ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1598038640; a=rsa-sha256; cv=none; b=Gxv6PGK/MPdXdnRu3Rh/VznsBnNvHesl9km3Y6mYZ0by7QbeibpnSf4elxETDBpAGOWeF5 5IIaZIgOI9LmDPN5Jmojysbxu1g9poMBZWhGhfGhz5nLTHOKxoIRlEHjIpsdscnf6rrDr0 eC1is+Hwhqmjk5kjYiTwb6JCCxyuanYngyTBHp3W415a0rUQKScROg1Sdh4AL9ZPpUbOUV Yg6OqXLmsUdGzyscZbTCK5OvmfcaKn2dmHWvVCpdDs5Q/o0IVJ7alLFBLdSgyhlPbubt6d /0YSza52yhE1MqXrUaclB7WfI3BeghaDzhH7g7fKwf8+3t29PV3MmkaKSuqRqg== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=none; spf=none (mail01.ipfire.org: domain of smooky@v16.de has no SPF policy when checking 85.93.91.151) smtp.mailfrom=smooky@v16.de Authentication-Results: mail01.ipfire.org; dkim=none; dmarc=none; spf=none (mail01.ipfire.org: domain of smooky@v16.de has no SPF policy when checking 85.93.91.151) smtp.mailfrom=smooky@v16.de X-Rspamd-Queue-Id: 4BYBcF04YbznK X-Spamd-Result: default: False [-2.06 / 11.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; IP_REPUTATION_HAM(-0.00)[asn: 8972(0.00), country: DE(-0.00), ip: 85.93.91.151(0.00)]; MIME_GOOD(-0.10)[text/plain]; ARC_SIGNED(0.00)[i=1]; DMARC_NA(0.00)[v16.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-0.96)[-0.955]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8972, ipnet:85.93.91.0/24, country:DE]; RCVD_COUNT_TWO(0.00)[2]; BAYES_HAM(-3.00)[99.99%]; RECEIVED_SPAMHAUS_PBL(0.00)[31.16.154.168:received] X-Rspamd-Server: mail01.haj.ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Cc: Marcel Follert <smooky@16.de> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Series |
ncdu-1.15.1
|
|
Commit Message
smooky
Aug. 21, 2020, 7:37 p.m. UTC
>>> https://dev.yorhel.nl/ncdu <<< Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don't have an entire graphical setup available, but it is a useful tool even on regular desktop systems. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed. Signed-off-by: Marcel Follert (Smooky) <smooky@16.de> --- config/rootfiles/packages/ncdu | 2 + lfs/ncdu | 85 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 config/rootfiles/packages/ncdu create mode 100644 lfs/ncdu
Comments
Hello Marcel, Thank you for your patch. Before we talk about the actual patch I would like to know the use case for this package in IPFire. Best, -Michael > On 21 Aug 2020, at 20:37, smooky@v16.de wrote: > >>>> https://dev.yorhel.nl/ncdu <<< > > Ncdu is a disk usage analyzer with an ncurses interface. > It is designed to find space hogs on a remote server where you don't > have an entire graphical setup available, > but it is a useful tool even on regular desktop systems. > Ncdu aims to be fast, simple and easy to use, > and should be able to run in any minimal POSIX-like environment > with ncurses installed. > > Signed-off-by: Marcel Follert (Smooky) <smooky@16.de> > --- > config/rootfiles/packages/ncdu | 2 + > lfs/ncdu | 85 ++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 87 insertions(+) > create mode 100644 config/rootfiles/packages/ncdu > create mode 100644 lfs/ncdu > > diff --git a/config/rootfiles/packages/ncdu b/config/rootfiles/packages/ncdu > new file mode 100644 > index 000000000..0dd1d7ac6 > --- /dev/null > +++ b/config/rootfiles/packages/ncdu > @@ -0,0 +1,2 @@ > +usr/bin/ncdu > +#usr/share/man/man1/ncdu.1 > diff --git a/lfs/ncdu b/lfs/ncdu > new file mode 100644 > index 000000000..0ea9370b2 > --- /dev/null > +++ b/lfs/ncdu > @@ -0,0 +1,85 @@ > +############################################################################### > +# # > +# IPFire.org - A linux based firewall # > +# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> # > +# # > +# This program is free software: you can redistribute it and/or modify # > +# it under the terms of the GNU General Public License as published by # > +# the Free Software Foundation, either version 3 of the License, or # > +# (at your option) any later version. # > +# # > +# This program is distributed in the hope that it will be useful, # > +# but WITHOUT ANY WARRANTY; without even the implied warranty of # > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # > +# GNU General Public License for more details. # > +# # > +# You should have received a copy of the GNU General Public License # > +# along with this program. If not, see <http://www.gnu.org/licenses/>. # > +# # > +############################################################################### > + > + > +############################################################################### > +# Definitions > +############################################################################### > + > +include Config > + > +VER = 1.15.1 > + > +THISAPP = ncdu-$(VER) > +DL_FILE = $(THISAPP).tar.gz > +DL_FROM = $(URL_IPFIRE) > +DIR_APP = $(DIR_SRC)/$(THISAPP) > +TARGET = $(DIR_INFO)/$(THISAPP) > +PROG = ncdu > +PAK_VER = 1 > + > +DEPS = > + > +############################################################################### > +# Top-level Rules > +############################################################################### > + > +objects = $(DL_FILE) > + > +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) > + > +$(DL_FILE)_MD5 = af25aa8462a6f29c8a0c4d3d83d186e7 > + > +install : $(TARGET) > + > +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) > + > +download :$(patsubst %,$(DIR_DL)/%,$(objects)) > + > +md5 : $(subst %,%_MD5,$(objects)) > + > +dist: > + @$(PAK) > + > +############################################################################### > +# Downloading, checking, md5sum > +############################################################################### > + > +$(patsubst %,$(DIR_CHK)/%,$(objects)) : > + @$(CHECK) > + > +$(patsubst %,$(DIR_DL)/%,$(objects)) : > + @$(LOAD) > + > +$(subst %,%_MD5,$(objects)) : > + @$(MD5) > + > +############################################################################### > +# Installation Details > +############################################################################### > + > +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > + @$(PREBUILD) > + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE) > + cd $(DIR_APP) && ./configure --prefix=/usr > + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) > + cd $(DIR_APP) && make install > + @rm -rf $(DIR_APP) > + @$(POSTBUILD) > -- > 2.12.2 >
Hi Michael.I use this tool to quickly and easily find the largest memory consumers on my hard drives. I have e.g. Samba run as a file server where there are always many files quickly. With this tool it is possible for me to find the biggest memory hogs very quickly. It can search directly in the whole system or in individual folders. It is also very pleasant that the tool shows everything in a tree hierarchy, which speeds up the search enormously.best regardsMarcel -------- Ursprüngliche Nachricht --------Von: Michael Tremer <michael.tremer@ipfire.org> Datum: 24.08.20 16:38 (GMT+01:00) An: smooky@v16.de Cc: "IPFire: Development-List" <development@lists.ipfire.org>, Marcel Follert <smooky@16.de> Betreff: Re: [PATCH] ncdu-1.15.1 Hello Marcel,Thank you for your patch.Before we talk about the actual patch I would like to know the use case for this package in IPFire.Best,-Michael> On 21 Aug 2020, at 20:37, smooky@v16.de wrote:> >>>> https://dev.yorhel.nl/ncdu <<<> > Ncdu is a disk usage analyzer with an ncurses interface. > It is designed to find space hogs on a remote server where you don't > have an entire graphical setup available, > but it is a useful tool even on regular desktop systems. > Ncdu aims to be fast, simple and easy to use, > and should be able to run in any minimal POSIX-like environment > with ncurses installed.> > Signed-off-by: Marcel Follert (Smooky) <smooky@16.de>> ---> config/rootfiles/packages/ncdu | 2 +> lfs/ncdu | 85 ++++++++++++++++++++++++++++++++++++++++++> 2 files changed, 87 insertions(+)> create mode 100644 config/rootfiles/packages/ncdu> create mode 100644 lfs/ncdu> > diff --git a/config/rootfiles/packages/ncdu b/config/rootfiles/packages/ncdu> new file mode 100644> index 000000000..0dd1d7ac6> --- /dev/null> +++ b/config/rootfiles/packages/ncdu> @@ -0,0 +1,2 @@> +usr/bin/ncdu> +#usr/share/man/man1/ncdu.1> diff --git a/lfs/ncdu b/lfs/ncdu> new file mode 100644> index 000000000..0ea9370b2> --- /dev/null> +++ b/lfs/ncdu> @@ -0,0 +1,85 @@> +###############################################################################> +# #> +# IPFire.org - A linux based firewall #> +# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> #> +# #> +# This program is free software: you can redistribute it and/or modify #> +# it under the terms of the GNU General Public License as published by #> +# the Free Software Foundation, either version 3 of the License, or #> +# (at your option) any later version. #> +# #> +# This program is distributed in the hope that it will be useful, #> +# but WITHOUT ANY WARRANTY; without even the implied warranty of #> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #> +# GNU General Public License for more details. #> +# #> +# You should have received a copy of the GNU General Public License #> +# along with this program. If not, see <http://www.gnu.org/licenses/>. #> +# #> +###############################################################################> +> +> +###############################################################################> +# Definitions> +###############################################################################> +> +include Config> +> +VER = 1.15.1> +> +THISAPP = ncdu-$(VER)> +DL_FILE = $(THISAPP).tar.gz> +DL_FROM = $(URL_IPFIRE)> +DIR_APP = $(DIR_SRC)/$(THISAPP)> +TARGET = $(DIR_INFO)/$(THISAPP)> +PROG = ncdu> +PAK_VER = 1> +> +DEPS = > +> +###############################################################################> +# Top-level Rules> +###############################################################################> +> +objects = $(DL_FILE)> +> +$(DL_FILE) = $(DL_FROM)/$(DL_FILE)> +> +$(DL_FILE)_MD5 = af25aa8462a6f29c8a0c4d3d83d186e7> +> +install : $(TARGET)> +> +check : $(patsubst %,$(DIR_CHK)/%,$(objects))> +> +download :$(patsubst %,$(DIR_DL)/%,$(objects))> +> +md5 : $(subst %,%_MD5,$(objects))> +> +dist: > + @$(PAK)> +> +###############################################################################> +# Downloading, checking, md5sum> +###############################################################################> +> +$(patsubst %,$(DIR_CHK)/%,$(objects)) :> + @$(CHECK)> +> +$(patsubst %,$(DIR_DL)/%,$(objects)) :> + @$(LOAD)> +> +$(subst %,%_MD5,$(objects)) :> + @$(MD5)> +> +###############################################################################> +# Installation Details> +###############################################################################> +> +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))> + @$(PREBUILD)> + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE)> + cd $(DIR_APP) && ./configure --prefix=/usr> + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)> + cd $(DIR_APP) && make install> + @rm -rf $(DIR_APP)> + @$(POSTBUILD)> -- > 2.12.2> <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Hi Michael.</div><div><br></div><div><span class="tlid-translation translation" lang="en"><span title="">I use this tool to quickly and easily find the largest memory consumers on my hard drives.</span> <span title="">I have e.g.</span> <span title="">Samba run as a file server where there are always many files quickly.</span> <span title="">With this tool it is possible for me to find the biggest memory hogs very quickly.</span> <span title="">It can search directly in the whole system or in individual folders.</span> <span title="">It is also very pleasant that the tool shows everything in a tree hierarchy, which speeds up the search enormously.</span><br><br><span title="">best regards</span><br><br><span title="">Marcel</span></span></div><div><br></div><div><br></div><div style="font-size:100%;color:#000000"></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Ursprüngliche Nachricht --------</div><div>Von: Michael Tremer <michael.tremer@ipfire.org> </div><div>Datum: 24.08.20 16:38 (GMT+01:00) </div><div>An: smooky@v16.de </div><div>Cc: "IPFire: Development-List" <development@lists.ipfire.org>, Marcel Follert <smooky@16.de> </div><div>Betreff: Re: [PATCH] ncdu-1.15.1 </div><div><br></div></div>Hello Marcel,<br><br>Thank you for your patch.<br><br>Before we talk about the actual patch I would like to know the use case for this package in IPFire.<br><br>Best,<br>-Michael<br><br>> On 21 Aug 2020, at 20:37, smooky@v16.de wrote:<br>> <br>>>>> https://dev.yorhel.nl/ncdu <<<<br>> <br>> Ncdu is a disk usage analyzer with an ncurses interface. <br>> It is designed to find space hogs on a remote server where you don't <br>> have an entire graphical setup available, <br>> but it is a useful tool even on regular desktop systems. <br>> Ncdu aims to be fast, simple and easy to use, <br>> and should be able to run in any minimal POSIX-like environment <br>> with ncurses installed.<br>> <br>> Signed-off-by: Marcel Follert (Smooky) <smooky@16.de><br>> ---<br>> config/rootfiles/packages/ncdu | 2 +<br>> lfs/ncdu | 85 ++++++++++++++++++++++++++++++++++++++++++<br>> 2 files changed, 87 insertions(+)<br>> create mode 100644 config/rootfiles/packages/ncdu<br>> create mode 100644 lfs/ncdu<br>> <br>> diff --git a/config/rootfiles/packages/ncdu b/config/rootfiles/packages/ncdu<br>> new file mode 100644<br>> index 000000000..0dd1d7ac6<br>> --- /dev/null<br>> +++ b/config/rootfiles/packages/ncdu<br>> @@ -0,0 +1,2 @@<br>> +usr/bin/ncdu<br>> +#usr/share/man/man1/ncdu.1<br>> diff --git a/lfs/ncdu b/lfs/ncdu<br>> new file mode 100644<br>> index 000000000..0ea9370b2<br>> --- /dev/null<br>> +++ b/lfs/ncdu<br>> @@ -0,0 +1,85 @@<br>> +###############################################################################<br>> +# #<br>> +# IPFire.org - A linux based firewall #<br>> +# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> #<br>> +# #<br>> +# This program is free software: you can redistribute it and/or modify #<br>> +# it under the terms of the GNU General Public License as published by #<br>> +# the Free Software Foundation, either version 3 of the License, or #<br>> +# (at your option) any later version. #<br>> +# #<br>> +# This program is distributed in the hope that it will be useful, #<br>> +# but WITHOUT ANY WARRANTY; without even the implied warranty of #<br>> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #<br>> +# GNU General Public License for more details. #<br>> +# #<br>> +# You should have received a copy of the GNU General Public License #<br>> +# along with this program. If not, see <http://www.gnu.org/licenses/>. #<br>> +# #<br>> +###############################################################################<br>> +<br>> +<br>> +###############################################################################<br>> +# Definitions<br>> +###############################################################################<br>> +<br>> +include Config<br>> +<br>> +VER = 1.15.1<br>> +<br>> +THISAPP = ncdu-$(VER)<br>> +DL_FILE = $(THISAPP).tar.gz<br>> +DL_FROM = $(URL_IPFIRE)<br>> +DIR_APP = $(DIR_SRC)/$(THISAPP)<br>> +TARGET = $(DIR_INFO)/$(THISAPP)<br>> +PROG = ncdu<br>> +PAK_VER = 1<br>> +<br>> +DEPS = <br>> +<br>> +###############################################################################<br>> +# Top-level Rules<br>> +###############################################################################<br>> +<br>> +objects = $(DL_FILE)<br>> +<br>> +$(DL_FILE) = $(DL_FROM)/$(DL_FILE)<br>> +<br>> +$(DL_FILE)_MD5 = af25aa8462a6f29c8a0c4d3d83d186e7<br>> +<br>> +install : $(TARGET)<br>> +<br>> +check : $(patsubst %,$(DIR_CHK)/%,$(objects))<br>> +<br>> +download :$(patsubst %,$(DIR_DL)/%,$(objects))<br>> +<br>> +md5 : $(subst %,%_MD5,$(objects))<br>> +<br>> +dist: <br>> + @$(PAK)<br>> +<br>> +###############################################################################<br>> +# Downloading, checking, md5sum<br>> +###############################################################################<br>> +<br>> +$(patsubst %,$(DIR_CHK)/%,$(objects)) :<br>> + @$(CHECK)<br>> +<br>> +$(patsubst %,$(DIR_DL)/%,$(objects)) :<br>> + @$(LOAD)<br>> +<br>> +$(subst %,%_MD5,$(objects)) :<br>> + @$(MD5)<br>> +<br>> +###############################################################################<br>> +# Installation Details<br>> +###############################################################################<br>> +<br>> +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))<br>> + @$(PREBUILD)<br>> + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE)<br>> + cd $(DIR_APP) && ./configure --prefix=/usr<br>> + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)<br>> + cd $(DIR_APP) && make install<br>> + @rm -rf $(DIR_APP)<br>> + @$(POSTBUILD)<br>> -- <br>> 2.12.2<br>> <br><br></body></html>
Hello, cool. That is good to know. You should include those things in your commit message. I wrote a blog post a couple of years ago now which outlines a little bit what is helpful to others: https://blog.ipfire.org/post/how-to-write-a-good-commit-message There is more detailed information here: https://wiki.ipfire.org/devel/git/commit-messages And this is well a reminder for everybody else :) Best, -Michael > On 24 Aug 2020, at 16:21, smooky <smooky@v16.de> wrote: > > Hi Michael. > > I use this tool to quickly and easily find the largest memory consumers on my hard drives. I have e.g. Samba run as a file server where there are always many files quickly. With this tool it is possible for me to find the biggest memory hogs very quickly. It can search directly in the whole system or in individual folders. It is also very pleasant that the tool shows everything in a tree hierarchy, which speeds up the search enormously. > > best regards > > Marcel > > > -------- Ursprüngliche Nachricht -------- > Von: Michael Tremer <michael.tremer@ipfire.org> > Datum: 24.08.20 16:38 (GMT+01:00) > An: smooky@v16.de > Cc: "IPFire: Development-List" <development@lists.ipfire.org>, Marcel Follert <smooky@16.de> > Betreff: Re: [PATCH] ncdu-1.15.1 > > Hello Marcel, > > Thank you for your patch. > > Before we talk about the actual patch I would like to know the use case for this package in IPFire. > > Best, > -Michael > > > On 21 Aug 2020, at 20:37, smooky@v16.de wrote: > > > >>>> https://dev.yorhel.nl/ncdu <<< > > > > Ncdu is a disk usage analyzer with an ncurses interface. > > It is designed to find space hogs on a remote server where you don't > > have an entire graphical setup available, > > but it is a useful tool even on regular desktop systems. > > Ncdu aims to be fast, simple and easy to use, > > and should be able to run in any minimal POSIX-like environment > > with ncurses installed. > > > > Signed-off-by: Marcel Follert (Smooky) <smooky@16.de> > > --- > > config/rootfiles/packages/ncdu | 2 + > > lfs/ncdu | 85 ++++++++++++++++++++++++++++++++++++++++++ > > 2 files changed, 87 insertions(+) > > create mode 100644 config/rootfiles/packages/ncdu > > create mode 100644 lfs/ncdu > > > > diff --git a/config/rootfiles/packages/ncdu b/config/rootfiles/packages/ncdu > > new file mode 100644 > > index 000000000..0dd1d7ac6 > > --- /dev/null > > +++ b/config/rootfiles/packages/ncdu > > @@ -0,0 +1,2 @@ > > +usr/bin/ncdu > > +#usr/share/man/man1/ncdu.1 > > diff --git a/lfs/ncdu b/lfs/ncdu > > new file mode 100644 > > index 000000000..0ea9370b2 > > --- /dev/null > > +++ b/lfs/ncdu > > @@ -0,0 +1,85 @@ > > +############################################################################### > > +# # > > +# IPFire.org - A linux based firewall # > > +# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> # > > +# # > > +# This program is free software: you can redistribute it and/or modify # > > +# it under the terms of the GNU General Public License as published by # > > +# the Free Software Foundation, either version 3 of the License, or # > > +# (at your option) any later version. # > > +# # > > +# This program is distributed in the hope that it will be useful, # > > +# but WITHOUT ANY WARRANTY; without even the implied warranty of # > > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # > > +# GNU General Public License for more details. # > > +# # > > +# You should have received a copy of the GNU General Public License # > > +# along with this program. If not, see <http://www.gnu.org/licenses/>. # > > +# # > > +############################################################################### > > + > > + > > +############################################################################### > > +# Definitions > > +############################################################################### > > + > > +include Config > > + > > +VER = 1.15.1 > > + > > +THISAPP = ncdu-$(VER) > > +DL_FILE = $(THISAPP).tar.gz > > +DL_FROM = $(URL_IPFIRE) > > +DIR_APP = $(DIR_SRC)/$(THISAPP) > > +TARGET = $(DIR_INFO)/$(THISAPP) > > +PROG = ncdu > > +PAK_VER = 1 > > + > > +DEPS = > > + > > +############################################################################### > > +# Top-level Rules > > +############################################################################### > > + > > +objects = $(DL_FILE) > > + > > +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) > > + > > +$(DL_FILE)_MD5 = af25aa8462a6f29c8a0c4d3d83d186e7 > > + > > +install : $(TARGET) > > + > > +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) > > + > > +download :$(patsubst %,$(DIR_DL)/%,$(objects)) > > + > > +md5 : $(subst %,%_MD5,$(objects)) > > + > > +dist: > > + @$(PAK) > > + > > +############################################################################### > > +# Downloading, checking, md5sum > > +############################################################################### > > + > > +$(patsubst %,$(DIR_CHK)/%,$(objects)) : > > + @$(CHECK) > > + > > +$(patsubst %,$(DIR_DL)/%,$(objects)) : > > + @$(LOAD) > > + > > +$(subst %,%_MD5,$(objects)) : > > + @$(MD5) > > + > > +############################################################################### > > +# Installation Details > > +############################################################################### > > + > > +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > > + @$(PREBUILD) > > + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE) > > + cd $(DIR_APP) && ./configure --prefix=/usr > > + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) > > + cd $(DIR_APP) && make install > > + @rm -rf $(DIR_APP) > > + @$(POSTBUILD) > > -- > > 2.12.2 > > >
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> > On 21 Aug 2020, at 20:37, smooky@v16.de wrote: > >>>> https://dev.yorhel.nl/ncdu <<< > > Ncdu is a disk usage analyzer with an ncurses interface. > It is designed to find space hogs on a remote server where you don't > have an entire graphical setup available, > but it is a useful tool even on regular desktop systems. > Ncdu aims to be fast, simple and easy to use, > and should be able to run in any minimal POSIX-like environment > with ncurses installed. > > Signed-off-by: Marcel Follert (Smooky) <smooky@16.de> > --- > config/rootfiles/packages/ncdu | 2 + > lfs/ncdu | 85 ++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 87 insertions(+) > create mode 100644 config/rootfiles/packages/ncdu > create mode 100644 lfs/ncdu > > diff --git a/config/rootfiles/packages/ncdu b/config/rootfiles/packages/ncdu > new file mode 100644 > index 000000000..0dd1d7ac6 > --- /dev/null > +++ b/config/rootfiles/packages/ncdu > @@ -0,0 +1,2 @@ > +usr/bin/ncdu > +#usr/share/man/man1/ncdu.1 > diff --git a/lfs/ncdu b/lfs/ncdu > new file mode 100644 > index 000000000..0ea9370b2 > --- /dev/null > +++ b/lfs/ncdu > @@ -0,0 +1,85 @@ > +############################################################################### > +# # > +# IPFire.org - A linux based firewall # > +# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> # > +# # > +# This program is free software: you can redistribute it and/or modify # > +# it under the terms of the GNU General Public License as published by # > +# the Free Software Foundation, either version 3 of the License, or # > +# (at your option) any later version. # > +# # > +# This program is distributed in the hope that it will be useful, # > +# but WITHOUT ANY WARRANTY; without even the implied warranty of # > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # > +# GNU General Public License for more details. # > +# # > +# You should have received a copy of the GNU General Public License # > +# along with this program. If not, see <http://www.gnu.org/licenses/>. # > +# # > +############################################################################### > + > + > +############################################################################### > +# Definitions > +############################################################################### > + > +include Config > + > +VER = 1.15.1 > + > +THISAPP = ncdu-$(VER) > +DL_FILE = $(THISAPP).tar.gz > +DL_FROM = $(URL_IPFIRE) > +DIR_APP = $(DIR_SRC)/$(THISAPP) > +TARGET = $(DIR_INFO)/$(THISAPP) > +PROG = ncdu > +PAK_VER = 1 > + > +DEPS = > + > +############################################################################### > +# Top-level Rules > +############################################################################### > + > +objects = $(DL_FILE) > + > +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) > + > +$(DL_FILE)_MD5 = af25aa8462a6f29c8a0c4d3d83d186e7 > + > +install : $(TARGET) > + > +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) > + > +download :$(patsubst %,$(DIR_DL)/%,$(objects)) > + > +md5 : $(subst %,%_MD5,$(objects)) > + > +dist: > + @$(PAK) > + > +############################################################################### > +# Downloading, checking, md5sum > +############################################################################### > + > +$(patsubst %,$(DIR_CHK)/%,$(objects)) : > + @$(CHECK) > + > +$(patsubst %,$(DIR_DL)/%,$(objects)) : > + @$(LOAD) > + > +$(subst %,%_MD5,$(objects)) : > + @$(MD5) > + > +############################################################################### > +# Installation Details > +############################################################################### > + > +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > + @$(PREBUILD) > + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE) > + cd $(DIR_APP) && ./configure --prefix=/usr > + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) > + cd $(DIR_APP) && make install > + @rm -rf $(DIR_APP) > + @$(POSTBUILD) > -- > 2.12.2 >
diff --git a/config/rootfiles/packages/ncdu b/config/rootfiles/packages/ncdu new file mode 100644 index 000000000..0dd1d7ac6 --- /dev/null +++ b/config/rootfiles/packages/ncdu @@ -0,0 +1,2 @@ +usr/bin/ncdu +#usr/share/man/man1/ncdu.1 diff --git a/lfs/ncdu b/lfs/ncdu new file mode 100644 index 000000000..0ea9370b2 --- /dev/null +++ b/lfs/ncdu @@ -0,0 +1,85 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see <http://www.gnu.org/licenses/>. # +# # +############################################################################### + + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.15.1 + +THISAPP = ncdu-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = ncdu +PAK_VER = 1 + +DEPS = + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = af25aa8462a6f29c8a0c4d3d83d186e7 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD)