From 07143cfb36451e9ce5beb2b2dab1dcc842769ccf Mon Sep 17 00:00:00 2001 From: Yorhel Date: Fri, 30 Dec 2016 13:46:17 +0100 Subject: [PATCH] New ncdu, ncdc + btrfssize + misc changes --- Bug.pm | 2 +- dat/dump-btrfssize | 40 ++++++++++++++++++++ dat/ncdc | 21 +++++------ dat/ncdc-changelog | 10 +++++ dat/ncdc-install | 68 ++++++++++------------------------ dat/ncdc-man | 24 ++++++++++-- dat/ncdu | 21 +++++------ dat/ncdu-changelog | 5 +++ dat/ncdu-jsonfmt | 4 +- dat/ncdu-man | 23 ++++++++++-- download/ncdc-1.20.tar.gz.asc | 16 ++++++++ download/ncdc-1.20.tar.gz.md5 | 1 + download/ncdc-1.20.tar.gz.sha1 | 1 + download/ncdu-1.12.tar.gz.asc | 17 +++++++++ download/ncdu-1.12.tar.gz.md5 | 1 + download/ncdu-1.12.tar.gz.sha1 | 1 + index.cgi | 11 ++++-- 17 files changed, 182 insertions(+), 84 deletions(-) create mode 100644 dat/dump-btrfssize create mode 100644 download/ncdc-1.20.tar.gz.asc create mode 100644 download/ncdc-1.20.tar.gz.md5 create mode 100644 download/ncdc-1.20.tar.gz.sha1 create mode 100644 download/ncdu-1.12.tar.gz.asc create mode 100644 download/ncdu-1.12.tar.gz.md5 create mode 100644 download/ncdu-1.12.tar.gz.sha1 diff --git a/Bug.pm b/Bug.pm index 8e39459..92c145b 100644 --- a/Bug.pm +++ b/Bug.pm @@ -103,7 +103,7 @@ sub dbSave { $TUWF::OBJ->dbExec( "INSERT INTO !s (issue, date, closed, summary, name, email, type, status, message, admin) VALUES ($issue, ?, ?, !l)", $self->{table}, $id || $self->{table}, time(), $closed?1:0, \@a); - return $TUWF::OBJ->dbRow('SELECT MAX(issue) AS issue FROM !s', $self->{table})->{issue}; + return $TUWF::OBJ->dbRow('SELECT issue FROM !s ORDER BY date DESC LIMIT 1 ', $self->{table})->{issue}; } diff --git a/dat/dump-btrfssize b/dat/dump-btrfssize new file mode 100644 index 0000000..a7dab0e --- /dev/null +++ b/dat/dump-btrfssize @@ -0,0 +1,40 @@ +=pod + +I<2016-08-16> - btrfs-size.pl is a quick little script to provide an overview +of the disk space used by btrfs subvolumes. It's comparable to +L, +but is somewhat faster and has a few options to sort the output. + +Honestly, it's still hard to draw any conclusions from the sizes provided by +btrfs, but sadly, L is useless for +snapshot-heavy filesystems. + +Only tested with btrfs-progs v4.4.1. + +B L +(L). + + +=head2 Usage + + btrfs-size.pl --help [-nser] + -n Order by path name + -s Order by (total) subvolume size + -e Order by exclusive subvolume size + -r Reverse order + + +=head2 Example output + + # btrfs-size.pl /data + gfbf007/cur 46.32 GiB 16.00 KiB + gfbf007/snap/2016-08-14.08 46.32 GiB 428.00 KiB + gfbf007/snap/2016-08-15.03 46.32 GiB 428.00 KiB + gfbf007/snap/2016-08-16.03 46.32 GiB 16.00 KiB + ggit011/cur 23.92 MiB 16.00 KiB + ggit011/snap/2016-08-14.08 23.90 MiB 300.00 KiB + ggit011/snap/2016-08-15.08 23.92 MiB 16.00 KiB + gman015/cur 3.74 GiB 16.00 KiB + gman015/snap/2016-08-14.08 3.74 GiB 112.00 KiB + gman015/snap/2016-08-15.02 3.74 GiB 96.00 KiB + gman015/snap/2016-08-16.02 3.74 GiB 16.00 KiB diff --git a/dat/ncdc b/dat/ncdc index 7a33560..ebeaaf7 100644 --- a/dat/ncdc +++ b/dat/ncdc @@ -10,13 +10,13 @@ ncurses interface. =item Latest version -1.19.1 ([dllink ncdc-1.19.1.tar.gz download] +1.20 ([dllink ncdc-1.20.tar.gz download] - L) Convenient static binaries for Linux: -L<64-bit|https://dev.yorhel.nl/download/ncdc-linux-x86_64-1.19.1-12-g55616.tar.gz> - -L<32-bit|https://dev.yorhel.nl/download/ncdc-linux-i486-1.19.1-12-g55616.tar.gz> - -L. Check the +L<64-bit|https://dev.yorhel.nl/download/ncdc-linux-x86_64-1.20.tar.gz> - +L<32-bit|https://dev.yorhel.nl/download/ncdc-linux-i486-1.20.tar.gz> - +L. Check the L for more info. =item Development version @@ -36,25 +36,24 @@ Ncdc is entirely written in C and available under a liberal MIT license. [html] L - For bugs reports, feature requests and patches.
-L - For general discussions, questions and feedback.
-C - If the mailing list is too slow for you. +C - For real-time chat. É =item Packages and ports Are available for the following systems: -L - +L - L - L - -L - +L - L - L - L - -L - L -I also have a few packages on the L. +I have a few old packages on the L, +but these are unmaintained. The static binaries are preferred. A convenient installer is available for L. diff --git a/dat/ncdc-changelog b/dat/ncdc-changelog index ca41515..92fee7b 100644 --- a/dat/ncdc-changelog +++ b/dat/ncdc-changelog @@ -1,3 +1,13 @@ +1.20 - 2016-12-30 + - Support bracketed paste mode in input handling (cologic) + - Add 'geoip_cc4' and 'geoip_cc6' settings + - Add 'log_hubchat' setting + - Add 'local' option to 'active_ip' setting + - Add support for multistream bzip2 filelists + - Disable RC4 ciphers by default from tls_priority + - Fix potential null pointer deference + - Fix chmod of destination directories (Johannes Beisswenger) + 1.19.1 - 2014-04-23 - Fix remote null pointer dereference - Searching now works in the search results list diff --git a/dat/ncdc-install b/dat/ncdc-install index df15bdc..3764677 100644 --- a/dat/ncdc-install +++ b/dat/ncdc-install @@ -38,11 +38,11 @@ compiling and/or installing it, I also offer statically linked binaries: =over -=item * L +=item * L -=item * L +=item * L -=item * L +=item * L =back @@ -66,11 +66,11 @@ available for Android 2.3 and later, which makes use of the static binary. =head2 Arch Linux -Ncdc is available on L, to +Ncdc is available on L, to install it you can use your favorite AUR-installer. If you don't have a favorite, go for the manual approach: - wget https://aur.archlinux.org/packages/nc/ncdc/ncdc.tar.gz + wget https://aur.archlinux.org/cgit/aur.git/snapshot/ncdc.tar.gz tar -xf ncdc.tar.gz cd ncdc makepkg -si @@ -81,10 +81,6 @@ favorite, go for the manual approach: There's a L available for Fedora. -Alternatively, I also have packages on the L. - - =head2 FreeBSD @@ -108,16 +104,7 @@ Ncdc is available in the Portage tree, so installation is trivial: =head2 Mac OS X -Ncdc is available in -L and -L. - -To install from MacPorts, follow the L if you haven't done so already, -then open a terminal and run the following magical command: - - sudo port install ncdc - +Ncdc is available in L. =head2 OpenIndiana @@ -130,9 +117,9 @@ First install some required packages (as root): Then, fetch the ncdc source tarball, extract and build as follows: - wget https://dev.yorhel.nl/download/ncdc-1.19.1.tar.gz - tar -xf ncdc-1.19.1.tar.gz - cd ncdc-1.19.1 + wget https://dev.yorhel.nl/download/ncdc-1.20.tar.gz + tar -xf ncdc-1.20.tar.gz + cd ncdc-1.20 export PATH="$PATH:/usr/perl5/5.10.0/bin" ./configure --prefix=/usr LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib' make @@ -148,41 +135,24 @@ necessary in order for C<./configure> and C to find C. Get the package from L: Select your openSUSE release and hit the "1 click install" button. -Alternatively, I also have packages on the L, -but I suspect their quality isn't really on the same level as those on PackMan -because I am not an openSUSE developer. :-) - =head2 Ubuntu & Debian -The preferred way of installing ncdc on Ubuntu or Debian is to use the packages -provided on the L. -Select your distribution and follow the instructions. The listed commands -should be run with superuser privileges; To get a root shell on Ubuntu type -C. When installing the package, you may get a warning about how the -package is not authenticated or verified, this can be safely ignored. Just -confirm the installation when prompted whether it should continue or not. +The preferred way of installing ncdc on Ubuntu or Debian is to use the static +binaries provided above. -You only have to follow the above steps once, newer versions will be installed -automatically with regular system updates. - -=head3 Building from source - -In the event that there is no up-to-date package available for your version, -you can also try to compile ncdc from source. To do so, first install the -required libraries: +Alternatively, you can also try to compile ncdc from source. To do so, first +install the required libraries: sudo apt-get install libbz2-dev libsqlite3-dev libncurses5-dev\ libncursesw5-dev libglib2.0-dev libgnutls-dev zlib1g-dev Then run the following commands to download and install ncdc: - wget https://dev.yorhel.nl/download/ncdc-1.19.1.tar.gz - tar -xf ncdc-1.19.1.tar.gz - cd ncdc-1.19.1 + wget https://dev.yorhel.nl/download/ncdc-1.20.tar.gz + tar -xf ncdc-1.20.tar.gz + cd ncdc-1.20 ./configure --prefix=/usr make sudo make install @@ -224,8 +194,8 @@ website|http://cygwin.com/> and use it to install the following packages: Then open a Cygwin terminal and run the following commands to download, compile, and install ncdc: - wget https://dev.yorhel.nl/download/ncdc-1.19.1.tar.gz - tar -xf ncdc-1.19.1.tar.gz - cd ncdc-1.19.1 + wget https://dev.yorhel.nl/download/ncdc-1.20.tar.gz + tar -xf ncdc-1.20.tar.gz + cd ncdc-1.20 ./configure --prefix=/usr make install diff --git a/dat/ncdc-man b/dat/ncdc-man index 7bb929a..2519cb2 100644 --- a/dat/ncdc-man +++ b/dat/ncdc-man @@ -81,6 +81,10 @@ Display summary of options. Don't automatically connect to hubs with the C option set. +=item B<--no-bracketed-paste> + +Disable bracketed pasting. + =item B<-v, --version> Display ncdc version. @@ -376,13 +380,15 @@ Your public IP address for use in active mode. If this is not set or set to '0.0 Both an IPv4 and an IPv6 address are set by providing two IP addresses separated with a comma. When unset, '0.0.0.0,::' is assumed. Only the IP version used to connect to the hub is used. That is, if you connect to an IPv6 hub, then the configured IPv6 address is used and the IPv4 address is ignored. +When set to the special value `local', ncdc will automatically get your IP address from the local network interface that is used to connect to the hub. This option should only be used if there is no NAT between you and the hub, because this will give the wrong IP if you are behind a NAT. + =item B The listen port for incoming connections in active mode. Set to `0' to automatically assign a random port. This setting is by default also used for the UDP port, see the `active_tls_port' settings to change that. If you are behind a router or firewall, make sure that you have configured it to forward and allow these ports. =item B -The listen port for incoming UDP connections in active mode. Defaults to the `active_port' setting, or to a random number of `active_port' is not set. +The listen port for incoming UDP connections in active mode. Defaults to the `active_port' setting, or to a random number if `active_port' is not set. =item B @@ -489,6 +495,14 @@ The maximum age of a downloaded file list. If a file list was downloaded longer Tell the OS to flush the file (disk) cache for file contents read while hashing and/or uploading or written to while downloading. On one hand, this will avoid trashing your disk cache with large files and thus improve the overall responsiveness of your system. On the other hand, ncdc may purge any shared files from the cache, even if they are still used by other applications. In general, it is a good idea to enable this if you also use your system for other things besides ncdc, you share large files (>100MB) and people are not constantly downloading the same file from you. +=item B |disabled + +Path to the GeoIP Country database file for IPv4, or 'disabled' to disable GeoIP lookup for IPv4 addresses. + +=item B |disabled + +Path to the GeoIP Country database file for IPv6, or 'disabled' to disable GeoIP lookup for IPv6 addresses. + =item B Maximum file hashing speed. See the `download_rate' setting for allowed formats for this setting. @@ -515,6 +529,10 @@ Log debug messages to stderr.log in the session directory. It is highly recommen Log downloaded files to transfers.log. +=item B + +Log the main hub chat. Note that changing this requires any affected hub tabs to be closed and reopened before the change is effective. + =item B Log file uploads to transfers.log. @@ -907,7 +925,7 @@ more information. =head1 BUGS Please report bugs or feature requests to the bug tracker or the mailing list. -Both can be found on the ncdc homepage at L. There +Both can be found on the ncdc homepage at L. There is also an ADC hub available at C for general support and discussions. @@ -915,4 +933,4 @@ support and discussions. ncdc is written by Yoran Heling -Web: L +Web: L diff --git a/dat/ncdu b/dat/ncdu index 6372a6e..bcd92e1 100644 --- a/dat/ncdu +++ b/dat/ncdu @@ -13,12 +13,12 @@ POSIX-like environment with ncurses installed. =item Latest version -1.11 ([dllink ncdu-1.11.tar.gz download] +1.12 ([dllink ncdu-1.12.tar.gz download] - L) I also have convenient static binaries for Linux -L and -L. Download, +L and +L. Download, extract and run; no compilation or installation necessary (uses L). @@ -38,25 +38,24 @@ Ncdu is entirely written in C and available under a liberal MIT license. Ncdu has been packaged for quite a few systems, here's a list of the ones I am aware of: -L - L - -L - +L - L - -L - -L - -L - +L - +L - +L - L - L - -L - +L - L - -L - +L - L - L - L - Mac OS X (L - L - L) - L - L - -Slackware (L - L) - +L - L - L diff --git a/dat/ncdu-changelog b/dat/ncdu-changelog index fec291c..7db6875 100644 --- a/dat/ncdu-changelog +++ b/dat/ncdu-changelog @@ -1,3 +1,8 @@ +1.12 - 2016-08-24 + - Add NCDU_SHELL environment variable + - Add --confirm-quit flag + - Fix compilation due to missing sys/wait.h include + 1.11 - 2015-04-05 - Added 'b' key to spawn shell in the current directory - Support scanning (and refreshing) of empty directories diff --git a/dat/ncdu-jsonfmt b/dat/ncdu-jsonfmt index 54f62ca..b2e35c6 100644 --- a/dat/ncdu-jsonfmt +++ b/dat/ncdu-jsonfmt @@ -29,7 +29,7 @@ the existing format. =head2 Metadata The C<< >> element is a JSON object holding whatever (short) -metadata you'd want. This block is currently (1.9-1.11) ignored by ncdu when +metadata you'd want. This block is currently (1.9-1.12) ignored by ncdu when importing, but it writes out the following keys when exporting: =over @@ -109,7 +109,7 @@ C<< 0 <= dev < 2^64 >>. Number. Inode number as reported by C. Together with the Device ID this uniquely identifies a file in this dump. In the case of hard links, two objects may appear with the same (C,C) combination. A value of 0 is -assumed if this field is absent. This is currently (ncdu 1.9-1.11) not a +assumed if this field is absent. This is currently (ncdu 1.9-1.12) not a problem as long as the C field is false, otherwise it will consider everything with the same C and empty C values as a single hardlinked file. Accepted values are in the range of C<< 0 <= ino < 2^64 >>. diff --git a/dat/ncdu-man b/dat/ncdu-man index 6b429f3..f752232 100644 --- a/dat/ncdu-man +++ b/dat/ncdu-man @@ -103,6 +103,11 @@ List sizes using base 10 prefixes, that is, powers of 1000 (KB, MB, etc), as defined in the International System of Units (SI), instead of the usual base 2 prefixes, that is, powers of 1024 (KiB, MiB, etc). +=item --confirm-quit + +Requires a confirmation before quitting ncdu. Very helpful when you +accidentally press 'q' during or after a very long scan. + =back =head2 Scan Options @@ -214,9 +219,14 @@ Refresh/recalculate the current directory. Spawn shell in current directory. -We first check the $SHELL environment variable of the user for the preferred -shell interpreter. If it's not set, we fall back to the compile time -configured default shell (usually /bin/bash). +Ncdu will determine your preferred shell from the C or C +variable (in that order), or will call C if neither are set. This +allows you to also configure another command to be run when he 'b' key is +pressed. For example, to spawn the L file manager instead of a shell, +run ncdu as follows: + + export NCDU_SHELL=vifm + ncdu =item q @@ -307,7 +317,12 @@ or multicolumn characters. All sizes are internally represented as a signed 64bit integer. If you have a directory larger than 8 EiB minus one byte, ncdu will clip its size to 8 EiB -minus one byte. +minus one byte. When deleting items in a directory with a clipped size, the +resulting sizes will be incorrect. + +Item counts are stored in a signed 32-bit integer without overflow detection. +If you have a directory with more than 2 billion files, quite literally +anything can happen. Please report any other bugs you may find at the bug tracker, which can be found on the web site at https://dev.yorhel.nl/ncdu diff --git a/download/ncdc-1.20.tar.gz.asc b/download/ncdc-1.20.tar.gz.asc new file mode 100644 index 0000000..026063a --- /dev/null +++ b/download/ncdc-1.20.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIcBAABCgAGBQJYZkvqAAoJEGI5TGmMJzn653IQAJmPCbJOYMzObXGY+HvLM719 +ZzTT060NWBMJzLMNTa1wygpSrnYva/v1/T1VLHL9/PcLqV6no+J0mJmw+BpNX1Zg +HIdJIEBgL76JfsCqOheKV3mPWbCI9KoFRnd7lAHOfMSW/yuzQ+H+wJTFamO6op2y +8M4FGHxVxUqe9QNs++QGS3mPVTTd75vB7Whv0iHU+mLB5fldxgyf11LEowouJb9Z +khdYRWLChzbG7ycKRYjd3VXRrDybAI8gsBuc9i37AtTQnhCnymipSF3O2X+vYApX +Dgq9SoLbpsJB9cZU93qrpBQVmD8yBVlLcUxS255V+iszvtDVPG+BliQxiKlz+CxL +wL0KAtMqu5kPOd1B+R1pBcitXRlZ/p/UfUKliUsTxIn8m8sJApt5WDb7ino/kWwb +BqQ7dS5gVKeY+zP4ksNABQHseAmDdXlGMZSXR6iK5ucbCWc/pVOnIczYY+IIyu3T +jTPhttaxDzg7+Bjn8owdu8I/rxFgNPs779R8JYp3iTahmYf73epHs870g8vOJDAt +j+6Pn0u/MGpwJsAM5lrev0djv2RhULq84pWeESIuCIO1PX0EIS+3G6A6kPD2k3D9 +ceIaj9gjLv5aRwnFolEKYgp/ChOdDFqW4tLOT7RvE2htRu10HkNJT1QWmrZvzBrt +/R+0i5+oRip1E3HNsbcq +=//tc +-----END PGP SIGNATURE----- diff --git a/download/ncdc-1.20.tar.gz.md5 b/download/ncdc-1.20.tar.gz.md5 new file mode 100644 index 0000000..f4bb834 --- /dev/null +++ b/download/ncdc-1.20.tar.gz.md5 @@ -0,0 +1 @@ +662fbddf17392cdb963d480af1812ae7 ncdc-1.20.tar.gz diff --git a/download/ncdc-1.20.tar.gz.sha1 b/download/ncdc-1.20.tar.gz.sha1 new file mode 100644 index 0000000..e4851dc --- /dev/null +++ b/download/ncdc-1.20.tar.gz.sha1 @@ -0,0 +1 @@ +cc8b0543423a552a9974445659c59e2723e1452b ncdc-1.20.tar.gz diff --git a/download/ncdu-1.12.tar.gz.asc b/download/ncdu-1.12.tar.gz.asc new file mode 100644 index 0000000..552bee6 --- /dev/null +++ b/download/ncdu-1.12.tar.gz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAABCgAGBQJXve7uAAoJEGI5TGmMJzn6KSgQANBWNkj7HPYaO6tGAA4X8f81 +gfHEPDSIXXboPpbLQQ4b4wPpDRCESgn9pmmemFRDI6JbBBLU2m21GTZlyRW3eFyC +hDH82QcsuZZilqb/DSeEjklhF46C4UqEwMNQTHVJZ2MYFDJNq4RIliSs8yQzS7+g +zGZ9CfGccvGFlogC2eDyFjQhGl9cY3m51hd4hh7ITxtJ4B+kJko8bXMFDC4islbi +ybz9DW4GTXEwzKFsqsKt++ECau1npuJGQ3MHiGgje0OjsRIZvtogyYFnfvW81VMp +6k8s3DqtZhOFtdWDVmkWinWlcRUkdA8MFqow/69W2O0Ro8hzL7Wq07igs4VzwwNl +ZyVsUH9/an/284xsFkKigC6EtgqN/1TEfLvIrCiINsmCqnXQXzzUF7mCC22v3bFt +B3PCC1bqAWcoLLMgRPai8NyYHHpv8/YlbBSgABsQ4CC1UekO+jNB91hmMgN9LcPK +vlB7zS3qBPGGgQtKsHVl6ypTPyrSjCmAVKiezPTCGMLC+MU5MxER9GTn/copRXyg +CBNSGGM1caziK9OYr3eHK1B7BNGA0obb7hIntvXZONfJ+XTD2wTBUYHAAtRtcaAm +Sf6p4H+mb7352evUa8/2n9ybcj/4tqgtrwJ/fh6gdIT5E0FzHRa1EIgzIJZKh9Xl +CNr5Q312Soqccoqhzurm +=Ihe8 +-----END PGP SIGNATURE----- diff --git a/download/ncdu-1.12.tar.gz.md5 b/download/ncdu-1.12.tar.gz.md5 new file mode 100644 index 0000000..a5db397 --- /dev/null +++ b/download/ncdu-1.12.tar.gz.md5 @@ -0,0 +1 @@ +7365ac46c420bc511621216b1747984f ncdu-1.12.tar.gz diff --git a/download/ncdu-1.12.tar.gz.sha1 b/download/ncdu-1.12.tar.gz.sha1 new file mode 100644 index 0000000..35dfbc4 --- /dev/null +++ b/download/ncdu-1.12.tar.gz.sha1 @@ -0,0 +1 @@ +b79b1c44784f334dca74d89a49f49274f14cfeef ncdu-1.12.tar.gz diff --git a/index.cgi b/index.cgi index 95f515e..eafc80a 100755 --- a/index.cgi +++ b/index.cgi @@ -12,6 +12,9 @@ BEGIN { ($ROOT = abs_path $0) =~ s{index\.cgi$}{}; } my @changes = ( + [ '2016-12-30', '/ncdc', 'ncdc 1.20 released' ], + [ '2016-08-24', '/ncdu', 'ncdu 1.12 released' ], + [ '2016-08-16', '/dump/btrfssize', 'Uploaded btrfs-size.pl' ], [ '2015-09-27', '/tuwf', 'TUWF 1.0 released' ], [ '2015-04-05', '/ncdu', 'ncdu 1.11 released' ], [ '2014-07-29', '/doc/easyipc', 'New article: The Sorry State of Convenient IPC' ], @@ -120,9 +123,10 @@ TUWF::register( qr{dump} => sub { podpage(shift, 'dump', 'dump', '', 'Code dump') }, qr{demo} => sub { podpage(shift, 'dump-demo', 'dump', 'demo', 'Demos') }, qr{dump/awshrink} => sub { podpage(shift, 'dump-awshrink', 'dump', 'awshrink', 'AWStats Data File Shrinker') }, + qr{dump/btrfssize}=> sub { podpage(shift, 'dump-btrfssize', 'dump', 'btrfssize', 'btrfs-size.pl') }, qr{dump/grenamr} => sub { podpage(shift, 'dump-grenamr', 'dump', 'grenamr', 'GTK+ Mass File Renamer') }, - qr{dump/nccolour} => sub { podpage(shift, 'dump-nccolour', 'dump', 'nccolour', 'Colours in NCurses') }, qr{dump/insbench} => sub { podpage(shift, 'dump-insbench', 'dump', 'insbench', 'Insertion Performance Benchmarks') }, + qr{dump/nccolour} => sub { podpage(shift, 'dump-nccolour', 'dump', 'nccolour', 'Colours in NCurses') }, qr{(?:($feedreg)/)?feed\.atom} => \&atom, qr{(ncdc|ncdu|globster|yxml)/bug} => \&bug_list, qr{(ncdc|ncdu|globster|yxml)/bug/feed\.atom} => \&bug_atom, @@ -465,6 +469,7 @@ sub htmlHeader { br; b '= donate ='; a href => 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BBF8LGT2LLNFN&lc=US¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted', 'paypal'; br; b '= pgp ='; + txt 'only used for releases'; br; a href => 'https://yorhel.nl/key.asc', 'key'; txt ' - '; a href => 'http://pgp.mit.edu:11371/pks/lookup?search=0x8c2739fa', 'mit'; br; i '7446 0D32 B808 10EB A9AF A2E9 6239 4C69 8C27 39FA'; @@ -519,7 +524,6 @@ sub htmlMenu { $m->('/ncdc/changes', 'Changelog', $o{sec} eq 'changes'); $m->('/ncdc/scr', 'Screenshots', $o{sec} eq 'scr'); $m->('/ncdc/bug', 'Bug tracker', $o{sec} eq 'bug'); - $m->('http://l.blicky.net/listinfo/ncdc', 'Mailing list '); } elsif($o{page} eq 'globster') { $m->('/globster', 'Info', !$o{sec}); $m->('/globster/daemon', 'Commands', (scalar $o{sec} =~ /(daemon|ctl|launch)/), sub { @@ -548,7 +552,6 @@ sub htmlMenu { $m->('/', 'Home', !$o{page}); $m->('/ncdu', 'Ncdu '); $m->('/ncdc', 'Ncdc '); - $m->('/globster', 'Globster '); $m->('/tuwf', 'Tuwf '); $m->('/yxml', 'Yxml '); $m->('/ylib', 'Ylib', $o{page} eq 'ylib'); @@ -560,7 +563,9 @@ sub htmlMenu { $m->('/dump/grenamr', 'Grenamr', $o{page} eq 'dump' && $o{sec} eq 'grenamr'); $m->('/dump/nccolour','NC-Colour', $o{page} eq 'dump' && $o{sec} eq 'nccolour'); $m->('/dump/insbench','Ins-bench', $o{page} eq 'dump' && $o{sec} eq 'insbench'); + $m->('/dump/btrfssize','Btrfs-size', $o{page} eq 'dump' && $o{sec} eq 'btrfssize'); }); + $m->('/globster', 'Globster '); } if($o{spec}{$o{page}}) { li;