Lose the only patch, since upstream fixed the "test ==" bashisms.
Use curl to fetch distfile from https site
From the CHANGES file:
btpd 0.16:
----------
Misc:
- Added "start all" (start -a) command.
- Allow adding multiple torrents at once.
- Custom list formatting options.
- Man pages for btpd, btcli, and btinfo.
Bug fixes:
- Handle .torrent files larger than 2MB.
- http parsing and addrinfo freeing fixes.
btpd 0.15:
----------
Bug fixes:
- The event loop could busy loop for up to a millisecond sometimes.
- On some platforms btpd couldn't initiate connections to other peers.
- The timer code was broken on MacOS X.
btpd 0.14:
----------
Misc:
- IPv6 support.
- Bans peers with bad data.
- Better tracker compatability and more reliable tracker communication.
- Show tracker counts in btcli stat.
- Compiles on Solaris 10.
- Btpd will now signal startup failures via the process exit value and
print the failure reason to stdout.
- Better shutdown and torrent stop behaviour.
- Needs pthreads again.
- Removed libevent in favour of own event loop code.
Bug fixes:
- An integer array was misaligned, which could cause crashes on systems
with alignment requirements. E.g., on XScale arm.
- An error in the torrent parsing code could cause crashes.
- The '--topdir' option to btcli add didn't work properly for single file
torrents.
- The system name lookup scheme is now used. In btpd 0.13 only dns lookups
were performed.
btpd 0.13:
----------
Misc:
- cURL is no longer required. btpd now uses its own http client.
- btpd doesn't use threads anymore, so pthreads are not required.
- Needed parts of libevent are now included in btpd.
- I/O errors for torrents no longer make btpd shut down. Instead the
problematic torrent is stopped.
- Added the option '--ip' to specify the ip address btpd will report
to trackers.
- Resume file format changed. Already added torrents will be retested once.
- The torrent info (ratio etc.) are now saved regularly.
- Reduced the amount of outgoing data kept in memory.
I've also included pthread.buildlink3.mk to define PTHREAD_CFLAGS et. al.
for configure and USE_FEATURES.openssl=threads.
Changes:
btpd 0.12:
----------
Misc:
- btpd now starts with the same set of active torrents as it had when it was
last shut down. The new '--empty-start' option disables this feature.
- btpd now supports the key tracker extension.
- btpd now supports the multi tracker extension.
- btcli list and stat print headers for the presented data. Both commands
displays more data than before.
- Torrent management has changed, with changes to the add and del commands
and two new commands, start and stop, as a result. Operation on torrents
can now be done by number as well as torrent file.
- A small delay has been added for contacting the same announce URL.
- btpd sends keepalive messages.
- The number of have messages sent has been reduced by not sending them to
peers that already have the piece.
- The structure of the torrents directory in the btpd directory has changed.
It is best to remove it before running btpd 0.12.
Bug fixes:
- Zero sized files in a torrent were not always created.
btpd 0.11:
----------
Bug fixes:
- A file descriptor was closed too early, which could cause btpd to exit
with an error message on systems using epoll.
btpd 0.10:
----------
Misc:
- The protection mode of the ipc socket can now be specified via the new
"--ipcprot" option for btpd.
Bug fixes:
- The pid file is now written correctly.
- btpd's "-d" option now works for relative paths too.
- Add a time out for handshake completion. Prevously btpd could slowly
fill with unused incoming connections.
btpd 0.9:
---------
Misc:
- Small changes to 'btcli stat' output.
Bug fixes:
- Use correct value for '--prealloc' default.
- Stopped torrents now show correct rates (0kB/s).
- The test of content that has been modified between runs was broken.
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
btpd is a bittorrent client consisting of a daemon and client commands,
which can be used to read and/or manipulate the daemon state. The daemon
is capable of running several torrents simultaneously and only uses one
tcp port. It's fairly low on resource usage and should be perfect for a
torrent distribution site. Efficient downloads and ease of use makes this
client a good choice for the casual user as well.
Packaged by Richard Nyberg.