notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
nats-server Messaging system written in Go
2.14.0_1 net on this many watch lists=0 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 2.12.4_5Version of this port present on the latest quarterly branch.
Maintainer: olgeni@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-01-06 22:25:37
Last Update: 2026-05-09 17:25:51
Commit Hash: 4e243a83
License: APACHE20
WWW:
https://nats.io/
Description:
NATS is an open-source, cloud-native messaging system written in Go. It provides high-performance pub/sub, request/reply, and distributed queue patterns for microservices, IoT, and cloud-native applications. Features include JetStream for persistence and streaming, NATS KV for key-value storage, NATS Object Store, and built-in security with TLS and authentication.
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 (96 items)
Collapse this list.
  1. /usr/local/share/licenses/nats-server-2.14.0_1/catalog.mk
  2. /usr/local/share/licenses/nats-server-2.14.0_1/LICENSE
  3. /usr/local/share/licenses/nats-server-2.14.0_1/APACHE20
  4. bin/nats-server
  5. @sample etc/nats.conf.sample
  6. share/doc/nats-server/README.md
  7. share/doc/nats-server/configs/accounts.conf
  8. share/doc/nats-server/configs/authorization.conf
  9. share/doc/nats-server/configs/certs/cert.new.pem
  10. share/doc/nats-server/configs/certs/key.new.pem
  11. share/doc/nats-server/configs/certs/key.pem
  12. share/doc/nats-server/configs/certs/server.pem
  13. share/doc/nats-server/configs/certs/tls/benchmark-ca-cert.pem
  14. share/doc/nats-server/configs/certs/tls/benchmark-ca-key.pem
  15. share/doc/nats-server/configs/certs/tls/benchmark-server-cert-ed25519.pem
  16. share/doc/nats-server/configs/certs/tls/benchmark-server-cert-rsa-1024.pem
  17. share/doc/nats-server/configs/certs/tls/benchmark-server-cert-rsa-2048.pem
  18. share/doc/nats-server/configs/certs/tls/benchmark-server-cert-rsa-4096.pem
  19. share/doc/nats-server/configs/certs/tls/benchmark-server-key-ed25519.pem
  20. share/doc/nats-server/configs/certs/tls/benchmark-server-key-rsa-1024.pem
  21. share/doc/nats-server/configs/certs/tls/benchmark-server-key-rsa-2048.pem
  22. share/doc/nats-server/configs/certs/tls/benchmark-server-key-rsa-4096.pem
  23. share/doc/nats-server/configs/cluster.conf
  24. share/doc/nats-server/configs/gwa.conf
  25. share/doc/nats-server/configs/gwb.conf
  26. share/doc/nats-server/configs/gws.conf
  27. share/doc/nats-server/configs/include_bad_conf_check_a.conf
  28. share/doc/nats-server/configs/include_bad_conf_check_b.conf
  29. share/doc/nats-server/configs/include_conf_check_a.conf
  30. share/doc/nats-server/configs/include_conf_check_b.conf
  31. share/doc/nats-server/configs/include_conf_check_c.conf
  32. share/doc/nats-server/configs/js-op.conf
  33. share/doc/nats-server/configs/listen-1.conf
  34. share/doc/nats-server/configs/listen.conf
  35. share/doc/nats-server/configs/listen_port.conf
  36. share/doc/nats-server/configs/listen_port_with_colon.conf
  37. share/doc/nats-server/configs/malformed_cluster_address.conf
  38. share/doc/nats-server/configs/malformed_listen_address.conf
  39. share/doc/nats-server/configs/multiple_errors.conf
  40. share/doc/nats-server/configs/multiple_users.conf
  41. share/doc/nats-server/configs/new_style_authorization.conf
  42. share/doc/nats-server/configs/one.creds
  43. share/doc/nats-server/configs/reload/authorization_1.conf
  44. share/doc/nats-server/configs/reload/authorization_2.conf
  45. share/doc/nats-server/configs/reload/basic.conf
  46. share/doc/nats-server/configs/reload/file_rotate.conf
  47. share/doc/nats-server/configs/reload/file_rotate1.conf
  48. share/doc/nats-server/configs/reload/invalid.conf
  49. share/doc/nats-server/configs/reload/max_connections.conf
  50. share/doc/nats-server/configs/reload/max_connections_refuse_all.conf
  51. share/doc/nats-server/configs/reload/max_payload.conf
  52. share/doc/nats-server/configs/reload/multiple_users_1.conf
  53. share/doc/nats-server/configs/reload/multiple_users_2.conf
  54. share/doc/nats-server/configs/reload/reload.conf
  55. share/doc/nats-server/configs/reload/reload_unsupported.conf
  56. share/doc/nats-server/configs/reload/single_user_authentication_1.conf
  57. share/doc/nats-server/configs/reload/single_user_authentication_2.conf
  58. share/doc/nats-server/configs/reload/srv_a_1.conf
  59. share/doc/nats-server/configs/reload/srv_a_2.conf
  60. share/doc/nats-server/configs/reload/srv_a_3.conf
  61. share/doc/nats-server/configs/reload/srv_a_4.conf
  62. share/doc/nats-server/configs/reload/srv_b_1.conf
  63. share/doc/nats-server/configs/reload/srv_b_2.conf
  64. share/doc/nats-server/configs/reload/srv_c_1.conf
  65. share/doc/nats-server/configs/reload/test.conf
  66. share/doc/nats-server/configs/reload/tls_multi_cert_1.conf
  67. share/doc/nats-server/configs/reload/tls_multi_cert_2.conf
  68. share/doc/nats-server/configs/reload/tls_multi_cert_3.conf
  69. share/doc/nats-server/configs/reload/tls_test.conf
  70. share/doc/nats-server/configs/reload/tls_verify_test.conf
  71. share/doc/nats-server/configs/reload/token_authentication_1.conf
  72. share/doc/nats-server/configs/reload/token_authentication_2.conf
  73. share/doc/nats-server/configs/seed.conf
  74. share/doc/nats-server/configs/seed_tls.conf
  75. share/doc/nats-server/configs/srv_a.conf
  76. share/doc/nats-server/configs/srv_a_bcrypt.conf
  77. share/doc/nats-server/configs/srv_b.conf
  78. share/doc/nats-server/configs/srv_b_bcrypt.conf
  79. share/doc/nats-server/configs/test.conf
  80. share/doc/nats-server/configs/tls.conf
  81. share/doc/nats-server/configs/tls/tls-ed25519.conf
  82. share/doc/nats-server/configs/tls/tls-none.conf
  83. share/doc/nats-server/configs/tls/tls-rsa-1024.conf
  84. share/doc/nats-server/configs/tls/tls-rsa-2048.conf
  85. share/doc/nats-server/configs/tls/tls-rsa-4096.conf
  86. share/doc/nats-server/configs/tls_bad_cipher.conf
  87. share/doc/nats-server/configs/tls_bad_curve_prefs.conf
  88. share/doc/nats-server/configs/tls_ciphers.conf
  89. share/doc/nats-server/configs/tls_curve_prefs.conf
  90. share/doc/nats-server/configs/tls_empty_cipher.conf
  91. share/doc/nats-server/configs/tls_empty_curve_prefs.conf
  92. share/doc/nats-server/configs/tls_insecure_ciphers.conf
  93. share/doc/nats-server/configs/tls_insecure_ciphers_allowed.conf
  94. @owner
  95. @group
  96. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • nats.sh
Dependency lines:
  • nats-server>0:net/nats-server
To install the port:
cd /usr/ports/net/nats-server/ && make install clean
To add the package, run one of these commands:
  • pkg install net/nats-server
  • pkg install nats-server
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: nats-server
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1778314969 SHA256 (go/net_nats-server/nats-server-v2.14.0/v2.14.0.mod) = 003c41ec6213a7bcfbd681008d218b7e4b95a8c619de963ef8304ea6dd6570d3 SIZE (go/net_nats-server/nats-server-v2.14.0/v2.14.0.mod) = 476

Expand this list (2 items)

Collapse this list.

SHA256 (go/net_nats-server/nats-server-v2.14.0/v2.14.0.zip) = 3be0f4e9e9836c2bf66965eb6ba1b7ca26020acff4f8101d17df5b7359843c54 SIZE (go/net_nats-server/nats-server-v2.14.0/v2.14.0.zip) = 3220731

Collapse this list.


Packages (timestamps in pop-ups are UTC):
nats-server
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.12.72.12.8-2.12.02.12.7n/an/an/a
FreeBSD:13:quarterly2.12.4_42.12.4_4-2.11.52.12.4_4n/an/an/a
FreeBSD:14:latest2.12.82.12.8-2.11.82.12.8---
FreeBSD:14:quarterly2.12.4_42.12.4_4-2.11.52.12.4_4---
FreeBSD:15:latest2.12.82.12.8n/a-n/an/a--
FreeBSD:15:quarterly2.12.4_42.12.4_4n/a-n/an/a--
FreeBSD:16:latest2.12.72.12.8n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go125 : lang/go125
Fetch dependencies:
  1. go125 : lang/go125
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for nats-server-2.14.0_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
net_nats-server
USES:
go:modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/nats-io/nats-server/v2/@v/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2022-03-11
    Affects: users of net/nats-server
    Author: olgeni@FreeBSD.org
    Reason: 
      A dedicated 'nats' user was added, replacing 'nobody' in the startup script.
      You should check your configuration and assign updated ownership to your data
      files.
    
    

Number of commits found: 130 (showing only 30 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.7.3_1
11 Mar 2022 07:22:43
commit hash: 0b0963234709b713a02afd660465649cb88a6da1commit hash: 0b0963234709b713a02afd660465649cb88a6da1commit hash: 0b0963234709b713a02afd660465649cb88a6da1commit hash: 0b0963234709b713a02afd660465649cb88a6da1 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: improve rc.d

- Add nats to UIDs and GIDs
- Add extra commands for logrotate and 'lame duck mode'.

From the docs:

    In production we recommend that a server is shut down with "lame duck mode"
    as a graceful way to slowly evict clients. With large deployments this
    mitigates the "thundering herd" situation that will place CPU pressure on
    servers as TLS enabled clients reconnect.

    After entering lame duck mode, the server will stop accepting new
    connections, wait for a 10 second grace period, then begin to evict clients
    over a period of time configurable by the configuration option. This
    period defaults to 2 minutes.
2.7.3
27 Feb 2022 12:13:37
commit hash: ff83213572be623f1d6b468df62663bab022d058commit hash: ff83213572be623f1d6b468df62663bab022d058commit hash: ff83213572be623f1d6b468df62663bab022d058commit hash: ff83213572be623f1d6b468df62663bab022d058 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: update to version 2.7.3

Fix LICENSE and set it to APACHE20.
2.7.2
08 Feb 2022 19:56:48
commit hash: 0fef0510bb79ccac9c92e0e946b05ceb3a16d9adcommit hash: 0fef0510bb79ccac9c92e0e946b05ceb3a16d9adcommit hash: 0fef0510bb79ccac9c92e0e946b05ceb3a16d9adcommit hash: 0fef0510bb79ccac9c92e0e946b05ceb3a16d9ad files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.7.2
2.7.1
30 Jan 2022 16:33:12
commit hash: b9e622b3a9838bb3d271e1abaed65f1b378bd3ffcommit hash: b9e622b3a9838bb3d271e1abaed65f1b378bd3ffcommit hash: b9e622b3a9838bb3d271e1abaed65f1b378bd3ffcommit hash: b9e622b3a9838bb3d271e1abaed65f1b378bd3ff files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.7.1
2.7.0
21 Jan 2022 22:58:07
commit hash: a9eea0346d28e912c7259f8a63188180f90a73fdcommit hash: a9eea0346d28e912c7259f8a63188180f90a73fdcommit hash: a9eea0346d28e912c7259f8a63188180f90a73fdcommit hash: a9eea0346d28e912c7259f8a63188180f90a73fd files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.7.0
2.6.6
09 Jan 2022 18:29:36
commit hash: 5fd58d41b39a13b7b1932fbb9edc32df96994947commit hash: 5fd58d41b39a13b7b1932fbb9edc32df96994947commit hash: 5fd58d41b39a13b7b1932fbb9edc32df96994947commit hash: 5fd58d41b39a13b7b1932fbb9edc32df96994947 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.6.6
2.6.5
26 Nov 2021 15:43:54
commit hash: 5c6545a633d6857409d0defd610ca24321be7f1ccommit hash: 5c6545a633d6857409d0defd610ca24321be7f1ccommit hash: 5c6545a633d6857409d0defd610ca24321be7f1ccommit hash: 5c6545a633d6857409d0defd610ca24321be7f1c files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.6.5
2.6.2
19 Oct 2021 15:33:43
commit hash: 52febb3af6f8ccfe7ca7089fa7012bfca2bd655acommit hash: 52febb3af6f8ccfe7ca7089fa7012bfca2bd655acommit hash: 52febb3af6f8ccfe7ca7089fa7012bfca2bd655acommit hash: 52febb3af6f8ccfe7ca7089fa7012bfca2bd655a files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.6.2
2.6.1
24 Sep 2021 14:53:14
commit hash: 6ae8585b1e25383a713d1c23ab1d9b34079c37f6commit hash: 6ae8585b1e25383a713d1c23ab1d9b34079c37f6commit hash: 6ae8585b1e25383a713d1c23ab1d9b34079c37f6commit hash: 6ae8585b1e25383a713d1c23ab1d9b34079c37f6 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.6.1.
2.5.0
21 Sep 2021 08:48:29
commit hash: af56a8aac72e0dbea679d6973420e950bb84d152commit hash: af56a8aac72e0dbea679d6973420e950bb84d152commit hash: af56a8aac72e0dbea679d6973420e950bb84d152commit hash: af56a8aac72e0dbea679d6973420e950bb84d152 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.5.0.
2.4.0
29 Aug 2021 16:28:06
commit hash: 67ba9d5ebe8306b487e01794c9f841610b824a81commit hash: 67ba9d5ebe8306b487e01794c9f841610b824a81commit hash: 67ba9d5ebe8306b487e01794c9f841610b824a81commit hash: 67ba9d5ebe8306b487e01794c9f841610b824a81 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.4.0.
2.3.2
07 Jul 2021 09:06:09
commit hash: 7ae97a125094444a3ead90d69ede63f7c2dc1c59commit hash: 7ae97a125094444a3ead90d69ede63f7c2dc1c59commit hash: 7ae97a125094444a3ead90d69ede63f7c2dc1c59commit hash: 7ae97a125094444a3ead90d69ede63f7c2dc1c59 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.3.2.
2.3.1
30 Jun 2021 12:20:12
commit hash: 99e85f388cdb4a3d6609684722a3b74d930a866ccommit hash: 99e85f388cdb4a3d6609684722a3b74d930a866ccommit hash: 99e85f388cdb4a3d6609684722a3b74d930a866ccommit hash: 99e85f388cdb4a3d6609684722a3b74d930a866c files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.3.1.
2.3.0
28 Jun 2021 16:02:37
commit hash: a6b462e57d7f98c7fabc47e390b4ef6f13cd1264commit hash: a6b462e57d7f98c7fabc47e390b4ef6f13cd1264commit hash: a6b462e57d7f98c7fabc47e390b4ef6f13cd1264commit hash: a6b462e57d7f98c7fabc47e390b4ef6f13cd1264 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.3.0.
2.2.6
25 May 2021 09:04:07
commit hash: efa1759db24648583bb3f45c002c5dc40cc5742dcommit hash: efa1759db24648583bb3f45c002c5dc40cc5742dcommit hash: efa1759db24648583bb3f45c002c5dc40cc5742dcommit hash: efa1759db24648583bb3f45c002c5dc40cc5742d files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.2.6.
2.2.5
21 May 2021 09:29:39
commit hash: 649c55c3d8f16d8abf45f3aefc42310b47692b58commit hash: 649c55c3d8f16d8abf45f3aefc42310b47692b58commit hash: 649c55c3d8f16d8abf45f3aefc42310b47692b58commit hash: 649c55c3d8f16d8abf45f3aefc42310b47692b58 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.2.5.
2.2.4
13 May 2021 14:58:36
commit hash: 57745e5d17d3531936afc5752dfed15a8ed0b89dcommit hash: 57745e5d17d3531936afc5752dfed15a8ed0b89dcommit hash: 57745e5d17d3531936afc5752dfed15a8ed0b89dcommit hash: 57745e5d17d3531936afc5752dfed15a8ed0b89d files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.2.4.
2.2.3
08 May 2021 09:26:36
commit hash: 56dcb1c19322f8ad260d90e3fcd4b6342fefd5dacommit hash: 56dcb1c19322f8ad260d90e3fcd4b6342fefd5dacommit hash: 56dcb1c19322f8ad260d90e3fcd4b6342fefd5dacommit hash: 56dcb1c19322f8ad260d90e3fcd4b6342fefd5da files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: Update to version 2.2.3.
2.2.2
23 Apr 2021 10:00:48
commit hash: bd1a6134d01d2826ac158fffca63c88d95bed2c5commit hash: bd1a6134d01d2826ac158fffca63c88d95bed2c5commit hash: bd1a6134d01d2826ac158fffca63c88d95bed2c5commit hash: bd1a6134d01d2826ac158fffca63c88d95bed2c5 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: update to version 2.2.2.
2.2.1
07 Apr 2021 15:21:47
commit hash: 182b6264a0d38aec3cff4bec838590f552a63cd5commit hash: 182b6264a0d38aec3cff4bec838590f552a63cd5commit hash: 182b6264a0d38aec3cff4bec838590f552a63cd5commit hash: 182b6264a0d38aec3cff4bec838590f552a63cd5 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
net/nats-server: update to version 2.2.1 and apply rclint fixes.
2.2.0
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2.2.0
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.
2.2.0
15 Mar 2021 14:26:13
Revision:568460Original commit files touched by this commit
olgeni search for other commits by this committer
Update net/nats-server to version 2.2.0.
2.1.9
03 Nov 2020 09:27:39
Revision:553973Original commit files touched by this commit
olgeni search for other commits by this committer
Update net/nats-server to version 2.1.9.
2.1.8
04 Sep 2020 14:49:18
Revision:547544Original commit files touched by this commit
olgeni search for other commits by this committer
Update net/nats-server to version 2.1.8.
2.1.7
17 May 2020 15:08:18
Revision:535552Original commit files touched by this commit
olgeni search for other commits by this committer
Update net/nats-server to version 2.1.7.
2.1.6
19 Apr 2020 13:07:28
Revision:532109Original commit files touched by this commit
olgeni search for other commits by this committer
Update net/nats-server to version 2.1.6.
2.1.4
12 Feb 2020 14:04:09
Revision:525911Original commit files touched by this commit
olgeni search for other commits by this committer
Update net/nats-server to version 2.1.4.
2.1.2
06 Jan 2020 22:53:45
Revision:522295Original commit files touched by this commit
olgeni search for other commits by this committer
Update net/nats-server to version 2.1.2.
1.4.1_1
06 Jan 2020 22:25:31
Revision:522285Original commit files touched by this commit
olgeni search for other commits by this committer
Copy net/gnatsd to net/nats-server.

Number of commits found: 130 (showing only 30 on this page)

«  1 | 2