ncdc 1.16 + 1.16.1 released + misc changes

This commit is contained in:
Yorhel 2013-03-26 09:50:27 +01:00
parent c99ea0d9fc
commit 76bb10482a
14 changed files with 90 additions and 36 deletions

2
Bug.pm
View file

@ -171,7 +171,7 @@ sub htmlItem {
dd sprintf '"%s" to "%s"', $d->[$num-1]{$_}, $m->{$_};
}
}
if($num && !$m->{closed} != !$d->[$num-1]{$_}) {
if($num && !$m->{closed} != !$d->[$num-1]{closed}) {
dt "Closed";
dd sprintf '"%s" to "%s"', $d->[$num-1]{closed}?'yes':'no', $m->{closed}?'yes':'no';
}

View file

@ -34,9 +34,10 @@ L<found on github|https://github.com/yorhel/globster>.
=head2 Requirements
Globster can be compiled with a (moderately recent) GCC or clang. You'll need
the following libraries: L<libdbus|http://dbus.freedesktop.org/> and
L<GnuTLS|http://gnutls.org>. If your GnuTLS is too old (<= 2.12), you also need
libgcrypt. The globsterctl script requires Perl and the Net::DBus module.
the following libraries: L<libdbus|http://dbus.freedesktop.org/>,
L<GnuTLS|http://gnutls.org> and L<zlib|http://zlib.net/>. If your GnuTLS is too
old (<= 2.12), you also need libgcrypt. The globsterctl script requires Perl
and the Net::DBus module.
On Debian and Ubuntu, that boils down to the following:
@ -89,6 +90,8 @@ There are at this point not many scripts or interfaces available for Globster:
=item * L<globster-mhc.pl|http://p.blicky.net/8y8mv> - A hub chat link script. More useful as an example than anything else.
=item * L<globgraph|http://p.blicky.net/qvg59> - Munin plugin to monitor Direct Connect hubs.
=back
There's more to come. I'd love to have at least a convenient console client (a

View file

@ -10,14 +10,14 @@ ncurses interface.
=item Latest version
1.15 ([dllink ncdc-1.15.tar.gz download]
1.16.1 ([dllink ncdc-1.16.1.tar.gz download]
- L<changes|http://dev.yorhel.nl/ncdc/changes>
- L<mirror|https://sourceforge.net/projects/ncdc/files/ncdc/>)
Convenient static binaries for Linux:
L<64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.15.tar.gz> -
L<32-bit|http://dev.yorhel.nl/download/ncdc-linux-i486-1.15.tar.gz> -
L<ARM|http://dev.yorhel.nl/download/ncdc-linux-arm-1.15.tar.gz>.
L<64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.16.1.tar.gz> -
L<32-bit|http://dev.yorhel.nl/download/ncdc-linux-i486-1.16.1.tar.gz> -
L<ARM|http://dev.yorhel.nl/download/ncdc-linux-arm-1.16.1.tar.gz>.
Check the L<installation instructions|http://dev.yorhel.nl/ncdc/install> for
more info.
@ -44,6 +44,7 @@ L<Arch Linux|http://aur.archlinux.org/packages.php?ID=50949> -
L<FreeBSD|http://www.freshports.org/net-p2p/ncdc/> -
L<Frugalware|http://frugalware.org/packages/136807> -
L<Gentoo|http://packages.gentoo.org/package/net-p2p/ncdc> -
L<Homebrew|http://braumeister.org/formula/ncdc> -
L<MacPorts|http://www.macports.org/ports.php?by=name&substr=ncdc> -
L<OpenSUSE|http://packman.links2linux.org/package/ncdc>

View file

@ -1,3 +1,18 @@
1.16.1 - 2013-03-23
- Fix crash when opening connection on ADC in passive mode
- Fix documentation of 'd' key in download_exclude setting
1.16 - 2013-03-21
- List of granted users is now remembered across restarts
- Don't throttle users who are granted a slot
- Support CIDs of variable size on ADC
- Log, but otherwise ignore, DSTA messages on ADC
- Fix possible crash with graceful disconnect on C-C connections
- Fix bug with enabling active mode when active_ip is set
- Fix reporting of active mode on NMDC hubs
- Fix bug with the 'X' key on the queue tab
- Fix idle disconnect timeout when a file transfer is active
1.15 - 2013-03-02
- IPv6 support
- Significantly shorten certificate creation time with old GnuTLS versions

View file

@ -43,7 +43,7 @@ something I wish to spend my free time on.
=head2 What protocol features does ncdc support?
For ADC: BASE, RF, TIGR, BZIP, ADCS, KEYP and SUDP.
For ADC: BASE, RF, TIGR, BZIP, BLOM, ADCS, KEYP and SUDP.
For NMDC: NoGetINFO, NoHello, UserIP2, MiniSlots, XmlBZList, ADCGet, TTHL and TTHF.
@ -85,12 +85,12 @@ may be helpful.
If you're on Linux with ncdc 1.14 or older and a GnuTLS older than 3.0, then
creating the certificates required access to C</dev/random> to obtain random
data. This could take a while to complete, especially on headless servers and
low-end devices. Updating to ncdc 1.15 should fix this.
low-end devices. Updating to ncdc 1.15 or later should fix this.
=head2 Ncdc crashes a lot!
Ncdc 1.15 has no known bugs that may cause a crash. If you're running an older
Ncdc 1.16 has no known bugs that may cause a crash. If you're running an older
version of ncdc, please upgrade. If your ncdc is up to date and you still have
a crash, please report a bug.

View file

@ -52,7 +52,7 @@ the command line.
The binaries include all the required dependencies and are linked against
L<musl|http://www.etalabs.net/musl/>, so they should run on any Linux machine
with the right architecture. If you want binaries for an other OS or
architecture , please bug me and I'll see what I can do.
architecture, please bug me and I'll see what I can do.
@ -93,17 +93,13 @@ Ncdc is available in the Portage tree, so installation is trivial:
=head2 Mac OS X
Ncdc works on Snow Leopard (10.6) and any later version. If you still run
Leopard (10.5) or earlier, you're out of luck. I can probably apply some fixes
if you nag me hard enough, but I don't really have a system to test it on so
you're going to have to help me out. :-)
Ncdc is available in
L<MacPorts|http://www.macports.org/ports.php?by=name&substr=ncdc> and
L<Homebrew|http://braumeister.org/formula/ncdc>.
Anyway, assuming you run a recent enough OS X, the easiest way to install ncdc
is to make use of the port at
L<MacPorts|http://www.macports.org/ports.php?by=name&substr=ncdc>. If you
haven't done so yet, follow the L<instructions on installing
MacPorts|http://www.macports.org/install.php>, then open a terminal and run the
following magical command:
To install from MacPorts, follow the L<instructions on installing
MacPorts|http://www.macports.org/install.php> if you haven't done so already,
then open a terminal and run the following magical command:
sudo port install ncdc
@ -119,9 +115,9 @@ First install some required packages (as root):
Then, fetch the ncdc source tarball, extract and build as follows:
wget http://dev.yorhel.nl/download/ncdc-1.15.tar.gz
tar -xf ncdc-1.15.tar.gz
cd ncdc-1.15
wget http://dev.yorhel.nl/download/ncdc-1.16.1.tar.gz
tar -xf ncdc-1.16.1.tar.gz
cd ncdc-1.16.1
export PATH="$PATH:/usr/perl5/5.10.0/bin"
./configure --prefix=/usr LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib'
make
@ -169,9 +165,9 @@ required libraries:
Then run the following commands to download and install ncdc:
wget http://dev.yorhel.nl/download/ncdc-1.15.tar.gz
tar -xf ncdc-1.15.tar.gz
cd ncdc-1.15
wget http://dev.yorhel.nl/download/ncdc-1.16.1.tar.gz
tar -xf ncdc-1.16.1.tar.gz
cd ncdc-1.16.1
./configure --prefix=/usr
make
sudo make install
@ -213,8 +209,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 http://dev.yorhel.nl/download/ncdc-1.15.tar.gz
tar -xf ncdc-1.15.tar.gz
cd ncdc-1.15
wget http://dev.yorhel.nl/download/ncdc-1.16.1.tar.gz
tar -xf ncdc-1.16.1.tar.gz
cd ncdc-1.16.1
./configure --prefix=/usr
make install

View file

@ -193,7 +193,7 @@ This command may take some time to complete, and will fully block ncdc while it
=item B</grant> [-list|<user>]
Grant someone a slot. This allows the user to download from you even if you have no free slots. The slot will be granted for as long as ncdc stays open or the /ungrant command is used. If you restart ncdc, the user will have to wait for a regular slot. Unless, of course, you /grant a slot again.
Grant someone a slot. This allows the user to download from you even if you have no free slots. The slot will remain granted until the /ungrant command is used, even if ncdc has been restarted in the mean time.
To get a list of users whom you have granted a slot, use `/grant' without arguments or with `-list'. Be warned that using `/grant' without arguments on a PM tab will grant the slot to the user you are talking with. Make sure to use `-list' in that case.
@ -326,7 +326,7 @@ Or:
The full path to the directory will not be visible to others, only the name you give it will be public. An initial `/refresh' is done automatically on the added directory.
=item B</ungrant> [<username>|<id>]
=item B</ungrant> [<user>]
Revoke a granted slot.
@ -450,7 +450,7 @@ The directory where finished downloads are moved to. Finished downloads are by d
=item B<download_exclude> <regex>
When recursively adding a directory to the download queue - by pressing `b' on a directory in the file list browser - any item in the selected directory with a name that matches this regular expression will not be added to the download queue.
When recursively adding a directory to the download queue - by pressing `d' on a directory in the file list browser - any item in the selected directory with a name that matches this regular expression will not be added to the download queue.
This regex is not checked when adding individual files from either the file list browser or the search results.
@ -651,7 +651,7 @@ C</help keys> command, and is reproduced below.
End/Home Select last/first item in the list.
Right/l Open selected directory.
Left/h Open parent directory.
o Toggle sorting directories before files.
t Toggle sorting directories before files.
s Order by file size.
n Order by file name.
d Add selected file/directory to the download queue.

View file

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAABCgAGBQJRTfHRAAoJEGI5TGmMJzn66j4QALkWJ9+LmTzJjQit4uyygX7b
2t3zWwilE8+b6dt28WpuUsFZXVaRyZpnY8RzLvdHzVXf6G2XLyDaGh35onoEeAW9
dVcsM34ZnqYHEb0CKMgZBAwqXOy/Tjw/TjAVZ3xBBCqgAiA32OWttMI3OaJ/nUSa
/PfMxfRfR5Y/x8FJdixSxULMBi1QKqhnaexMg7x0Z/2oL6EHx30ujvm0iLcc4Zji
emVZw31+TRy5zUiv8smaJ2jF/yyvcNLG1Sweb20g3OHqQuvlt2lW8tqpiGnItwlq
W9HqqnsN2g1zW6zg2gurLkWY02cCFBZ6S7ahQpTd2UiwrRHqZr4vvdjbapPvg78s
6JZmybzYCvxgQJcDBf1qaSvQW0j2INo8dey0pz1XBv5XoBT06K75kOh5Jh5aSGCt
jomyVyNvUcN/mZhcGEtHKfmDCS6nvLgvwmb8Tvyxsb09bPIZKA7Em74+/AeHuB2g
HlTxalh/wHc/jTipaT2rFNpe69itLPE0IrXPUs02XzJ2YgVGxRv68Lbtl0gMSKwW
ZlxVb9LTW8JS3BJTZgKEzWWG6w6DOrZMp7BLQ1QtlcCwUGfx/19VLVddyhZVD/Uf
p+DUndNECQoky/O9gAGx9d3g7MZ07GB1eMLCbssvvJDBO2426reDrOIXfcNG1dOd
AqVffZ3hu9ZC533tAvq7
=6pLs
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
baf3478e31616fc28827fc3641bfbe53 ncdc-1.16.1.tar.gz

View file

@ -0,0 +1 @@
3bdbf8c58a95eab2dc318bd853be991343f88fe9 ncdc-1.16.1.tar.gz

View file

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAABCgAGBQJRSvRBAAoJEGI5TGmMJzn6+2wP/3+j76MN1j699KoO9oc7gM89
VUV58WWgvrgj3tEc5LtQQxOjgTuluKJmNYauLxAuQXj+X1cPusNCvX4JXHTxLdZe
+9eEdeoA+IduX8zWzmp4nALK9G1oMBiHALN4hNuf80k5uHAZGp53WSEaKNqXiXBq
jkmp3VO1Tz7RdvIpmN9CSH8JdlEb8m+cSvYbfh4pMXsg7ucoXQyd8VZrd8iitjWL
PVMQ0ceZZCIiQugd0YtbtH00iKxKeVBPhtG/sfOWU2QjYBn9vZ4sPwhEaV+isjN/
cvn+bmcmkwgK3P7t288WsRHrqQqq+FLKJYGNXTsrqe+8HFYsgk+MkvktpH7lz346
nou/MXekZUC5jLLaTOTcy/tT1XSkHYDWmCdXjFQd06hdGbX0HPJZHS51rqDys+Kx
PuilgR3NKSoS5f29ytuIGsNO6lWZd0WWD73S7kkr1Bp6OgNb6KqZLVCsFGIASirR
pjMoHXCtCBNuH6Fd/QWrFsg9TKHtKiKPthdEnK+snVWIpvoD070HxhgrCw3qoYWy
SWWPtjky12TMKPx7B4XHRmP6kUU3YJJrmxESHHpF2DK2bD7wdyN2XHzGC+PQQPCM
SRsTnBr0eNNgXOt8TLDaWnI1jmgUR3iQpWTvjwnfSo2fZkJ0TM4R2E3bUsTG9z4k
k9Bfq9BVojyFRpMU+qsT
=5cYU
-----END PGP SIGNATURE-----

View file

@ -0,0 +1 @@
4a33c6f5393c31d17f36ec871f799e16 ncdc-1.16.tar.gz

View file

@ -0,0 +1 @@
4b3ab1c38557af1edb480b7c694bd28a08af6da8 ncdc-1.16.tar.gz

View file

@ -12,6 +12,7 @@ BEGIN { ($ROOT = abs_path $0) =~ s{index\.cgi$}{}; }
my @changes = (
[ '2013-03-23', '/ncdc', 'ncdc 1.16.1 released.' ],
[ '2013-03-02', '/ncdc', 'ncdc 1.15 released.' ],
[ '2012-12-15', '/globster', 'Announcing yet another awesome project: Globster!' ],
[ '2012-12-02', '/ncdu/jsonfmt', 'Documented the ncdu export file format' ],
@ -130,7 +131,7 @@ sub changelog {
open my $F, '<', "$ROOT/dat/$f" or die $!;
ul;
for my $v (split /\n\n/, join '', <$F>) {
$v =~ s/^([0-9]+\.[0-9]+)\s+-\s+([0-9]{4}-[0-9]{2}-[0-9]{2})//;
$v =~ s/^([0-9]+\.[0-9]+(?:\.[0-9]+)?)\s+-\s+([0-9]{4}-[0-9]{2}-[0-9]{2})//;
li style => 'list-style-type: none; margin: 0';
b $1;
txt " - $2 - ";