net-p2p/*: revert unjust deprecation of three useful ports
These are written in traditional languages and do not require
complex, resource-consuming bootstrap or runtime, contrary to
the suggested alternatives.
net-p2p/mktorrent: Deprecate and set expiration date to 2025-03-31
Abandonware, new upstream which also seems to have abandoned the project.
Point users to net-p2p/mkbrr
Reference: https://github.com/pobrn/mktorrent/issues/67
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)
net-p2p/mktorrent: increase max piece size and make tracker optional
Optimal piece count is ~1500. mktorrent allows up to 2^28 currently, thus
providing ability to create torrents for 375 GiB of data with optimal piece
count. Increase maximum piece size to 2^30 thus allowing torrents for 1.5
TiB of data (again, with optimal piece count).
mktorrent currently can't create torrents without announce URL. Since DHT
works perfectly well nowadays, this limitation doesn't make much sense.
Change to require tracker only when creating private torrent (i.e. DHT,
PEX, etc. disabled).
While here: define LICENSE (GPLv2+), make options actually work, remove
redundant THREADS_DESC, and clean up Makefile a bit.
PR: 210374
Submitted by: Anton Sayetsky
Approved by: maintainer timeout
2 ports categories: Remove $PTHREAD_LIBS
Categories: net-p2p, comms
Note that qrq was not properly staged, it failed stage-QA.
aprsd failed check-plist; it had a plist orphan. Now it fails stage-QA
with a fs violation, but it may be acceptable. Fixes added to both.
approved by: PTHREAD blanket
mktorrent is a simple command-line utility to create BitTorrent
metainfo files. It supports multiple trackers, private trackers,
custom comments, and is multi-threaded to support multiple CPUs.
WWW: http://mktorrent.sourceforge.net/
PR: 146479
Submitted by: Damian Gerow <dgerow@afflictions.org>
Feature safe: yes