Port details
jech-dht Mainline variant of Kademlia Distributed Hash Table (DHT)
0.28 devel Σ=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.27Version of this port present on the latest quarterly branch.
Maintainer: yudikur245@gmail.com search for ports maintained by this maintainer
Port Added: 2012-07-28 20:48:44
Last Update: 2026-11-30 22:39:49
Commit Hash: 734fd14
People watching this port, also watch: png, pcre, p5-Net-SSLeay, popt, libffi
License: MIT
WWW:
http://www.pps.univ-paris-diderot.fr/~jch/software/bittorrent/
Description: #
The files dht.c and dht.h implement the variant of the Kademlia Distributed Hash Table (DHT) used in the Bittorrent network (``mainline'' variant). See also: https://github.com/jech/dht
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (13 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/dht-0.28/catalog.mk
  3. /usr/local/share/licenses/dht-0.28/LICENSE
  4. /usr/local/share/licenses/dht-0.28/MIT
  5. share/sbom/pc/dht.pc
  6. lib/libdht.so.0
  7. lib/libdht.so
  8. lib/libdht.a
  9. bin/dht-example
  10. include/dht/dht.h
  11. @owner
  12. @group
  13. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • dht>0:devel/jech-dht
  • For LIB depends:
    • libdht.so:devel/jech-dht
To install the port: #
cd /usr/ports/devel/jech-dht/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/jech-dht
  • pkg install dht
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: dht
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1795827248 SHA256 (jech-dht-dht-0.28_GH0.tar.gz) = 2f91db29636ca84503b4bb59d7a4a6a681c3a547e12ef775f83e99b69be92f2d SIZE (jech-dht-dht-0.28_GH0.tar.gz) = 29487

Packages (timestamps in pop-ups are UTC): #
dht
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.270.270.270.270.27
FreeBSD:14:quarterly0.270.27-0.270.27
FreeBSD:15:latest0.270.27n/a0.27n/a
FreeBSD:15:quarterly0.270.27n/a-n/a
FreeBSD:16:latest CURRENT0.270.27n/a-n/a
This port has no dependencies. #
This port is required by: #
for Libraries #
  1. net-p2p/transmission-components

Deleted ports which required this port:

Expand this list of 7 deleted ports
  1. net-p2p/transmission-cli*
  2. net-p2p/transmission-daemon*
  3. net-p2p/transmission-gtk*
  4. net-p2p/transmission-qt*
  5. net-p2p/transmission-qt4*
  6. net-p2p/transmission-qt5*
  7. net-p2p/transmission-utils*
  8. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options: #
No options to configure
Options name: #
devel_jech-dht
USES: #
uidfix
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/jech/dht/tar.gz/dht-0.28?dummy=/
Collapse this list.

Number of commits found: 23 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.28
30 Nov 2026 22:39:49
commit hash: 734fd140a0695f2fc5c688962ccd8a7588b03608commit hash: 734fd140a0695f2fc5c688962ccd8a7588b03608commit hash: 734fd140a0695f2fc5c688962ccd8a7588b03608commit hash: 734fd140a0695f2fc5c688962ccd8a7588b03608 files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: Yudi Kurniawan
devel/jech-dht: Update 0.27 => 0.28

Changelog:
* Fix an off-by-one error when computing the time to wake up.
* Avoid starvation of one address family (IPv4 or IPv6) when
  the other address family is not functional.
https://github.com/jech/dht/blob/dht-0.28/CHANGES

While here, take maintainership.

PR:	301251
0.27
10 Sep 2023 23:13:40
commit hash: 53feed73dd10ac72adf0224fac1ff05437f17a5acommit hash: 53feed73dd10ac72adf0224fac1ff05437f17a5acommit hash: 53feed73dd10ac72adf0224fac1ff05437f17a5acommit hash: 53feed73dd10ac72adf0224fac1ff05437f17a5a files touched by this commit
Alexandre C. Guimarães (rigoletto) search for other commits by this committer
Returning all my ports to the pool.

- Unfortunately I have no time to maintain them anymore.
0.27
23 May 2023 21:17:54
commit hash: 5bb24584cf11cf7d2c0bf003803243c4fc2b781bcommit hash: 5bb24584cf11cf7d2c0bf003803243c4fc2b781bcommit hash: 5bb24584cf11cf7d2c0bf003803243c4fc2b781bcommit hash: 5bb24584cf11cf7d2c0bf003803243c4fc2b781b files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/jech-dht: Use valid prototype for dht_init.

This change has already been made upstream.

Differential Revision:	https://reviews.freebsd.org/D40169
0.27
25 Oct 2022 01:37:34
commit hash: c4bb699a3e12886f5716709adc309d648504f7abcommit hash: c4bb699a3e12886f5716709adc309d648504f7abcommit hash: c4bb699a3e12886f5716709adc309d648504f7abcommit hash: c4bb699a3e12886f5716709adc309d648504f7ab files touched by this commit
Alexandre C. Guimarães (rigoletto) search for other commits by this committer
devel/jech-dht: Update to 0.27
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.26
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.26
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.26
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.26
25 Nov 2019 23:25:52
Revision:518434commit hash: f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2fcommit hash: f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2fcommit hash: f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2fcommit hash: f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2fOriginal commit files touched by this commit
brooks search for other commits by this committer
Fix build with src r354909 applied.

The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into
errors causing these ports that declare them and use the FreeBSD make
infrastructure as part of their build to fail.

When the offending variables occur in a BSD Makefile, NO_MAN becomes
MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and
MK_PROFILE=no respectively.  When declared in the environment they
become WITHOUT_<FOO>.
0.26
30 Apr 2019 16:59:16
Revision:500509commit hash: 2ff31ead7ea05a4fa29025db29e01666af4e7f98commit hash: 2ff31ead7ea05a4fa29025db29e01666af4e7f98commit hash: 2ff31ead7ea05a4fa29025db29e01666af4e7f98commit hash: 2ff31ead7ea05a4fa29025db29e01666af4e7f98Original commit files touched by this commit
rigoletto search for other commits by this committer
devel/jech-dht: minor Makefile fixes over r497937.

Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D19828
0.26
05 Apr 2019 06:26:50
Revision:497937commit hash: 4e1ac8bff56a104cfa73100a09915c91dcb70b5acommit hash: 4e1ac8bff56a104cfa73100a09915c91dcb70b5acommit hash: 4e1ac8bff56a104cfa73100a09915c91dcb70b5acommit hash: 4e1ac8bff56a104cfa73100a09915c91dcb70b5aOriginal commit files touched by this commit
rigoletto search for other commits by this committer
devel/jech-dht: Update to 0.26.

PR:		234515
Submitted by:	mi
Reviewed by:	mat (mentor)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D19820
0.25
27 Dec 2018 00:07:25
Revision:488494commit hash: 7bd3cd79624d4c214a940cf704709b6647838da1commit hash: 7bd3cd79624d4c214a940cf704709b6647838da1commit hash: 7bd3cd79624d4c214a940cf704709b6647838da1commit hash: 7bd3cd79624d4c214a940cf704709b6647838da1Original commit files touched by this commit
swills search for other commits by this committer
devel/jech-dht: Update to 0.25

PR:		233729
Submitted by:	mi@ALDAN.algebra.com (maintianer)
Reported by:	Dominik Lisiak <dominik.lisiak@bemsoft.pl>
0.22
27 Oct 2014 10:40:08
Revision:371546commit hash: 831295c29edeeff8ab3c6007683a701f7c5fdb38commit hash: 831295c29edeeff8ab3c6007683a701f7c5fdb38commit hash: 831295c29edeeff8ab3c6007683a701f7c5fdb38commit hash: 831295c29edeeff8ab3c6007683a701f7c5fdb38Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
0.22
05 May 2014 01:52:36
Revision:352977commit hash: 480a41bc536c1a2ce0382a2b67f6cd0ee7d86207commit hash: 480a41bc536c1a2ce0382a2b67f6cd0ee7d86207commit hash: 480a41bc536c1a2ce0382a2b67f6cd0ee7d86207commit hash: 480a41bc536c1a2ce0382a2b67f6cd0ee7d86207Original commit files touched by this commit
mi search for other commits by this committer
Improve the usage-message explaining the new -m option.
0.22
05 May 2014 01:50:12
Revision:352976commit hash: e6973b7a7a9c559c28f5a1fab89d8bafa64a43d3commit hash: e6973b7a7a9c559c28f5a1fab89d8bafa64a43d3commit hash: e6973b7a7a9c559c28f5a1fab89d8bafa64a43d3commit hash: e6973b7a7a9c559c28f5a1fab89d8bafa64a43d3Original commit files touched by this commit
mi search for other commits by this committer
Ratched up warnings for the dht-example. It is good enough for WARNS=3.
0.22
05 May 2014 01:48:38
Revision:352975commit hash: ee6bf5f093b7816b81b7f619e1bba43ac6106e03commit hash: ee6bf5f093b7816b81b7f619e1bba43ac6106e03commit hash: ee6bf5f093b7816b81b7f619e1bba43ac6106e03commit hash: ee6bf5f093b7816b81b7f619e1bba43ac6106e03Original commit files touched by this commit
mi search for other commits by this committer
This library comes with an example program (dht-example).

Build and install it...
0.22
05 May 2014 00:59:29
Revision:352974commit hash: 646c69ebdc757e49a40b75e19e809e3b0cee1eb1commit hash: 646c69ebdc757e49a40b75e19e809e3b0cee1eb1commit hash: 646c69ebdc757e49a40b75e19e809e3b0cee1eb1commit hash: 646c69ebdc757e49a40b75e19e809e3b0cee1eb1Original commit files touched by this commit
mi search for other commits by this committer
Upgrade from 0.21 to 0.22. This introduces an API-incompatibility, but,
because the ABI remains the same, I am not upping shared library
version.

Notified by:	portscout
0.21
19 Feb 2014 09:12:03
Revision:345040commit hash: fe97f36296ab9e6cbdf9deb3a4ed122aa3241e92commit hash: fe97f36296ab9e6cbdf9deb3a4ed122aa3241e92commit hash: fe97f36296ab9e6cbdf9deb3a4ed122aa3241e92commit hash: fe97f36296ab9e6cbdf9deb3a4ed122aa3241e92Original commit files touched by this commit
ehaupt search for other commits by this committer
Support staging
0.21
20 Sep 2013 17:04:44
Revision:327723commit hash: 34b7e6ee7edc38e6303aa5e0ca296c0867ee08d5commit hash: 34b7e6ee7edc38e6303aa5e0ca296c0867ee08d5commit hash: 34b7e6ee7edc38e6303aa5e0ca296c0867ee08d5commit hash: 34b7e6ee7edc38e6303aa5e0ca296c0867ee08d5Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 2)
0.21
14 Aug 2013 22:35:54
Revision:324744commit hash: d4041784dc51fbd5b1e6a77c341ba00b18e4cd60commit hash: d4041784dc51fbd5b1e6a77c341ba00b18e4cd60commit hash: d4041784dc51fbd5b1e6a77c341ba00b18e4cd60commit hash: d4041784dc51fbd5b1e6a77c341ba00b18e4cd60Original commit files touched by this commit Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
0.21
31 Jul 2012 16:23:39
Original commit files touched by this commit
mi search for other commits by this committer
Add NO_PROFILE=yes to these Makefiles to prevent building/installing the
_p.a flavor of the libraries.

Submitted by:	pointyhat's bot
0.21
29 Jul 2012 19:59:21
Original commit files touched by this commit
mi search for other commits by this committer
Remove "net" from categories.
0.21
28 Jul 2012 20:48:23
Original commit files touched by this commit
mi search for other commits by this committer
Add implementation of Kademlia Distributed Hash Table (DHT) used
in the Bittorrent network (``mainline'' variant).

Number of commits found: 23