pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net add net/ratman



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c276407560b2
branches:  trunk
changeset: 372315:c276407560b2
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jan 23 11:45:11 2022 +0000

description:
add net/ratman

Ratman is a decentralised, peer-to-peer packet router (following the gossip
protocol approach), written in Rust.  With Ratman you can create private
overlay networks (similar to VPNs), connect to a wider community mesh of
existing overlay networks, plug into specific wireless drivers for fully
off-the-grid routing, or do all of them at the same time.

diffstat:

 net/Makefile                |    3 +-
 net/ratman/DESCR            |    5 +
 net/ratman/Makefile         |   36 ++
 net/ratman/PLIST            |    5 +
 net/ratman/cargo-depends.mk |  193 ++++++++++++++
 net/ratman/distinfo         |  578 ++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 819 insertions(+), 1 deletions(-)

diffs (truncated from 854 to 300 lines):

diff -r 72614ea2e8fc -r c276407560b2 net/Makefile
--- a/net/Makefile      Sun Jan 23 11:02:02 2022 +0000
+++ b/net/Makefile      Sun Jan 23 11:45:11 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1438 2022/01/14 11:19:37 wiz Exp $
+# $NetBSD: Makefile,v 1.1439 2022/01/23 11:45:11 nia Exp $
 #
 
 COMMENT=       Networking tools
@@ -797,6 +797,7 @@
 SUBDIR+=       radiusclient-ng
 SUBDIR+=       radsecproxy
 SUBDIR+=       rancid
+SUBDIR+=       ratman
 SUBDIR+=       rbldnsd
 SUBDIR+=       rclone
 SUBDIR+=       rdesktop
diff -r 72614ea2e8fc -r c276407560b2 net/ratman/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ratman/DESCR  Sun Jan 23 11:45:11 2022 +0000
@@ -0,0 +1,5 @@
+Ratman is a decentralised, peer-to-peer packet router (following the gossip
+protocol approach), written in Rust.  With Ratman you can create private
+overlay networks (similar to VPNs), connect to a wider community mesh of
+existing overlay networks, plug into specific wireless drivers for fully
+off-the-grid routing, or do all of them at the same time.
diff -r 72614ea2e8fc -r c276407560b2 net/ratman/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ratman/Makefile       Sun Jan 23 11:45:11 2022 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2022/01/23 11:45:11 nia Exp $
+
+DISTNAME=      irdest-ratman-0.3.1
+PKGNAME=       ${DISTNAME:S/^irdest-//g}
+CATEGORIES=    net
+MASTER_SITES=  https://git.irde.st/we/irdest/-/archive/ratman-${PKGVERSION_NOREV}/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://irde.st/
+COMMENT=       Decentralised peer-to-peer routing daemon
+LICENSE=       gnu-agpl-v3
+
+USE_TOOLS+=    pkg-config
+
+CARGO_FEATURES=        daemon util
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/ratcat \
+           ${DESTDIR}${PREFIX}/bin/ratcat
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/ratctl \
+           ${DESTDIR}${PREFIX}/bin/ratctl
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/ratmand \
+           ${DESTDIR}${PREFIX}/bin/ratmand
+       ${INSTALL_MAN} ${WRKSRC}/docs/man/ratmand.1 \
+           ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ratmand.1
+
+.include "cargo-depends.mk"
+.include "../../lang/rust/cargo.mk"
+.include "../../devel/protobuf/buildlink3.mk"
+BUILDLINK_DEPMETHOD.protobuf?= build
+.include "../../security/libsodium/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libsodium?=        build
+.include "../../mk/bsd.pkg.mk"
diff -r 72614ea2e8fc -r c276407560b2 net/ratman/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ratman/PLIST  Sun Jan 23 11:45:11 2022 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/23 11:45:11 nia Exp $
+bin/ratcat
+bin/ratctl
+bin/ratmand
+man/man1/ratmand.1
diff -r 72614ea2e8fc -r c276407560b2 net/ratman/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ratman/cargo-depends.mk       Sun Jan 23 11:45:11 2022 +0000
@@ -0,0 +1,193 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/01/23 11:45:11 nia Exp $
+
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+=  ansi_term-0.11.0
+CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+=  async-attributes-1.1.2
+CARGO_CRATE_DEPENDS+=  async-channel-1.6.1
+CARGO_CRATE_DEPENDS+=  async-executor-1.4.0
+CARGO_CRATE_DEPENDS+=  async-global-executor-2.0.2
+CARGO_CRATE_DEPENDS+=  async-io-1.3.1
+CARGO_CRATE_DEPENDS+=  async-lock-2.3.0
+CARGO_CRATE_DEPENDS+=  async-mutex-1.4.0
+CARGO_CRATE_DEPENDS+=  async-process-1.0.2
+CARGO_CRATE_DEPENDS+=  async-std-1.9.0
+CARGO_CRATE_DEPENDS+=  async-task-4.0.3
+CARGO_CRATE_DEPENDS+=  async-trait-0.1.49
+CARGO_CRATE_DEPENDS+=  atomic-waker-1.0.0
+CARGO_CRATE_DEPENDS+=  atomptr-1.1.0
+CARGO_CRATE_DEPENDS+=  attohttpc-0.16.3
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  autocfg-1.0.1
+CARGO_CRATE_DEPENDS+=  base64-0.12.3
+CARGO_CRATE_DEPENDS+=  bincode-1.3.3
+CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
+CARGO_CRATE_DEPENDS+=  blake2-0.9.1
+CARGO_CRATE_DEPENDS+=  block-buffer-0.9.0
+CARGO_CRATE_DEPENDS+=  blocking-1.0.2
+CARGO_CRATE_DEPENDS+=  bumpalo-3.6.1
+CARGO_CRATE_DEPENDS+=  byteorder-1.4.3
+CARGO_CRATE_DEPENDS+=  bytes-1.1.0
+CARGO_CRATE_DEPENDS+=  cache-padded-1.1.1
+CARGO_CRATE_DEPENDS+=  cc-1.0.67
+CARGO_CRATE_DEPENDS+=  cfg-if-0.1.10
+CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=  chrono-0.4.19
+CARGO_CRATE_DEPENDS+=  clap-2.33.3
+CARGO_CRATE_DEPENDS+=  concurrent-queue-1.2.2
+CARGO_CRATE_DEPENDS+=  cpuid-bool-0.1.2
+CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.8.3
+CARGO_CRATE_DEPENDS+=  crypto-mac-0.8.0
+CARGO_CRATE_DEPENDS+=  ctor-0.1.20
+CARGO_CRATE_DEPENDS+=  curve25519-dalek-3.1.0
+CARGO_CRATE_DEPENDS+=  digest-0.9.0
+CARGO_CRATE_DEPENDS+=  directories-4.0.1
+CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.6
+CARGO_CRATE_DEPENDS+=  ed25519-1.0.3
+CARGO_CRATE_DEPENDS+=  ed25519-dalek-1.0.1
+CARGO_CRATE_DEPENDS+=  either-1.6.1
+CARGO_CRATE_DEPENDS+=  event-listener-2.5.1
+CARGO_CRATE_DEPENDS+=  fastrand-1.4.0
+CARGO_CRATE_DEPENDS+=  fnv-1.0.7
+CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+=  futures-channel-0.3.14
+CARGO_CRATE_DEPENDS+=  futures-core-0.3.19
+CARGO_CRATE_DEPENDS+=  futures-io-0.3.14
+CARGO_CRATE_DEPENDS+=  futures-lite-1.11.3
+CARGO_CRATE_DEPENDS+=  generic-array-0.14.4
+CARGO_CRATE_DEPENDS+=  getrandom-0.1.16
+CARGO_CRATE_DEPENDS+=  getrandom-0.2.2
+CARGO_CRATE_DEPENDS+=  glob-0.3.0
+CARGO_CRATE_DEPENDS+=  gloo-timers-0.2.1
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.18
+CARGO_CRATE_DEPENDS+=  hex-0.4.3
+CARGO_CRATE_DEPENDS+=  hmac-0.8.1
+CARGO_CRATE_DEPENDS+=  http-0.2.6
+CARGO_CRATE_DEPENDS+=  idna-0.2.3
+CARGO_CRATE_DEPENDS+=  igd-0.12.0
+CARGO_CRATE_DEPENDS+=  instant-0.1.9
+CARGO_CRATE_DEPENDS+=  ipnetwork-0.18.0
+CARGO_CRATE_DEPENDS+=  itoa-0.4.7
+CARGO_CRATE_DEPENDS+=  itoa-1.0.1
+CARGO_CRATE_DEPENDS+=  js-sys-0.3.50
+CARGO_CRATE_DEPENDS+=  keybob-0.4.0
+CARGO_CRATE_DEPENDS+=  kv-log-macro-1.0.7
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  libc-0.2.112
+CARGO_CRATE_DEPENDS+=  libsodium-sys-0.2.6
+CARGO_CRATE_DEPENDS+=  log-0.4.14
+CARGO_CRATE_DEPENDS+=  matchers-0.0.1
+CARGO_CRATE_DEPENDS+=  matches-0.1.9
+CARGO_CRATE_DEPENDS+=  memchr-2.4.1
+CARGO_CRATE_DEPENDS+=  memoffset-0.6.5
+CARGO_CRATE_DEPENDS+=  nb-connect-1.1.0
+CARGO_CRATE_DEPENDS+=  nix-0.23.1
+CARGO_CRATE_DEPENDS+=  num-integer-0.1.44
+CARGO_CRATE_DEPENDS+=  num-traits-0.2.14
+CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
+CARGO_CRATE_DEPENDS+=  once_cell-1.7.2
+CARGO_CRATE_DEPENDS+=  opaque-debug-0.3.0
+CARGO_CRATE_DEPENDS+=  parking-2.0.0
+CARGO_CRATE_DEPENDS+=  pbkdf2-0.4.0
+CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+=  pin-project-1.0.6
+CARGO_CRATE_DEPENDS+=  pin-project-internal-1.0.6
+CARGO_CRATE_DEPENDS+=  pin-project-lite-0.2.6
+CARGO_CRATE_DEPENDS+=  pin-utils-0.1.0
+CARGO_CRATE_DEPENDS+=  pkg-config-0.3.19
+CARGO_CRATE_DEPENDS+=  pnet-0.28.0
+CARGO_CRATE_DEPENDS+=  pnet_base-0.28.0
+CARGO_CRATE_DEPENDS+=  pnet_datalink-0.28.0
+CARGO_CRATE_DEPENDS+=  pnet_macros-0.28.0
+CARGO_CRATE_DEPENDS+=  pnet_macros_support-0.28.0
+CARGO_CRATE_DEPENDS+=  pnet_packet-0.28.0
+CARGO_CRATE_DEPENDS+=  pnet_sys-0.28.0
+CARGO_CRATE_DEPENDS+=  pnet_transport-0.28.0
+CARGO_CRATE_DEPENDS+=  polling-2.0.3
+CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.10
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.26
+CARGO_CRATE_DEPENDS+=  protobuf-2.25.2
+CARGO_CRATE_DEPENDS+=  protobuf-codegen-2.25.2
+CARGO_CRATE_DEPENDS+=  protoc-2.25.2
+CARGO_CRATE_DEPENDS+=  protoc-rust-2.25.2
+CARGO_CRATE_DEPENDS+=  quote-1.0.9
+CARGO_CRATE_DEPENDS+=  rand-0.7.3
+CARGO_CRATE_DEPENDS+=  rand-0.8.3
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.2.2
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.3.0
+CARGO_CRATE_DEPENDS+=  rand_core-0.5.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.6.2
+CARGO_CRATE_DEPENDS+=  rand_hc-0.2.0
+CARGO_CRATE_DEPENDS+=  rand_hc-0.3.0
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.10
+CARGO_CRATE_DEPENDS+=  redox_users-0.4.0
+CARGO_CRATE_DEPENDS+=  regex-1.5.4
+CARGO_CRATE_DEPENDS+=  regex-automata-0.1.9
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.25
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+=  ryu-1.0.5
+CARGO_CRATE_DEPENDS+=  serde-1.0.125
+CARGO_CRATE_DEPENDS+=  serde_derive-1.0.125
+CARGO_CRATE_DEPENDS+=  serde_json-1.0.64
+CARGO_CRATE_DEPENDS+=  sha2-0.9.3
+CARGO_CRATE_DEPENDS+=  sharded-slab-0.1.1
+CARGO_CRATE_DEPENDS+=  signal-hook-0.3.8
+CARGO_CRATE_DEPENDS+=  signal-hook-registry-1.3.0
+CARGO_CRATE_DEPENDS+=  signature-1.3.0
+CARGO_CRATE_DEPENDS+=  slab-0.4.2
+CARGO_CRATE_DEPENDS+=  smallvec-1.6.1
+CARGO_CRATE_DEPENDS+=  socket2-0.4.0
+CARGO_CRATE_DEPENDS+=  sodiumoxide-0.2.6
+CARGO_CRATE_DEPENDS+=  static_assertions-1.1.0
+CARGO_CRATE_DEPENDS+=  strsim-0.8.0
+CARGO_CRATE_DEPENDS+=  subtle-2.4.0
+CARGO_CRATE_DEPENDS+=  syn-1.0.80
+CARGO_CRATE_DEPENDS+=  synstructure-0.12.4
+CARGO_CRATE_DEPENDS+=  tempfile-3.2.0
+CARGO_CRATE_DEPENDS+=  term_size-0.3.2
+CARGO_CRATE_DEPENDS+=  textwrap-0.11.0
+CARGO_CRATE_DEPENDS+=  thiserror-1.0.30
+CARGO_CRATE_DEPENDS+=  thiserror-impl-1.0.30
+CARGO_CRATE_DEPENDS+=  thread_local-1.1.3
+CARGO_CRATE_DEPENDS+=  time-0.1.43
+CARGO_CRATE_DEPENDS+=  tinyvec-1.5.1
+CARGO_CRATE_DEPENDS+=  tinyvec_macros-0.1.0
+CARGO_CRATE_DEPENDS+=  toml-0.5.8
+CARGO_CRATE_DEPENDS+=  tracing-0.1.25
+CARGO_CRATE_DEPENDS+=  tracing-attributes-0.1.15
+CARGO_CRATE_DEPENDS+=  tracing-core-0.1.17
+CARGO_CRATE_DEPENDS+=  tracing-futures-0.2.5
+CARGO_CRATE_DEPENDS+=  tracing-log-0.1.2
+CARGO_CRATE_DEPENDS+=  tracing-serde-0.1.2
+CARGO_CRATE_DEPENDS+=  tracing-subscriber-0.2.17
+CARGO_CRATE_DEPENDS+=  twox-hash-1.6.0
+CARGO_CRATE_DEPENDS+=  typenum-1.13.0
+CARGO_CRATE_DEPENDS+=  unicode-bidi-0.3.7
+CARGO_CRATE_DEPENDS+=  unicode-normalization-0.1.19
+CARGO_CRATE_DEPENDS+=  unicode-width-0.1.8
+CARGO_CRATE_DEPENDS+=  unicode-xid-0.2.1
+CARGO_CRATE_DEPENDS+=  url-2.2.2
+CARGO_CRATE_DEPENDS+=  value-bag-1.0.0-alpha.6
+CARGO_CRATE_DEPENDS+=  vec-arena-1.1.0
+CARGO_CRATE_DEPENDS+=  vec_map-0.8.2
+CARGO_CRATE_DEPENDS+=  version_check-0.9.3
+CARGO_CRATE_DEPENDS+=  waker-fn-1.1.0
+CARGO_CRATE_DEPENDS+=  wasi-0.9.0+wasi-snapshot-preview1
+CARGO_CRATE_DEPENDS+=  wasi-0.10.2+wasi-snapshot-preview1
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-0.2.73
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-backend-0.2.73
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-futures-0.4.23
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-macro-0.2.73
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-macro-support-0.2.73
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-shared-0.2.73
+CARGO_CRATE_DEPENDS+=  web-sys-0.3.50
+CARGO_CRATE_DEPENDS+=  wepoll-sys-3.0.1
+CARGO_CRATE_DEPENDS+=  which-4.2.2
+CARGO_CRATE_DEPENDS+=  wildmatch-1.1.0
+CARGO_CRATE_DEPENDS+=  winapi-0.3.9
+CARGO_CRATE_DEPENDS+=  winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=  winapi-x86_64-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=  xml-rs-0.8.4
+CARGO_CRATE_DEPENDS+=  xmltree-0.10.3
+CARGO_CRATE_DEPENDS+=  zeroize-1.2.0
+CARGO_CRATE_DEPENDS+=  zeroize_derive-1.0.1
diff -r 72614ea2e8fc -r c276407560b2 net/ratman/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ratman/distinfo       Sun Jan 23 11:45:11 2022 +0000
@@ -0,0 +1,578 @@
+$NetBSD: distinfo,v 1.1 2022/01/23 11:45:11 nia Exp $
+
+BLAKE2s (aho-corasick-0.7.18.crate) = 8925e88e2df4b5ca3b31783f527e1bb31dbe27846f409f631148fa239f3b2935
+SHA512 (aho-corasick-0.7.18.crate) = 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
+Size (aho-corasick-0.7.18.crate) = 112923 bytes
+BLAKE2s (ansi_term-0.11.0.crate) = 7cd193cc3f7acbd750b484dee76f184299e57c525ade653489f170d00854ad2c
+SHA512 (ansi_term-0.11.0.crate) = a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
+Size (ansi_term-0.11.0.crate) = 17087 bytes
+BLAKE2s (ansi_term-0.12.1.crate) = 9d7961fca7b2680f17660048cf2d6171faa0def807ea66b5b5b9110f0623a12f
+SHA512 (ansi_term-0.12.1.crate) = b840e28b3e7700689a69a39659b1e066560078dd4a58326b91a028915819e7af883399ee53e920db68fd974c58d35bb1ddf8d427af5937d5f696f57c4376b671
+Size (ansi_term-0.12.1.crate) = 24838 bytes
+BLAKE2s (async-attributes-1.1.2.crate) = 811199678dd2d03b3dcc46e1a1a9a1e4faae5443cc9855282eaefbfce0746c26
+SHA512 (async-attributes-1.1.2.crate) = 7a86fb431ad7da82db514e99c8384e9a8267d781a3c0911834529d7d4975e9d6e973065e9a14506632e4e7646f9708bef1c8834981f4af84879251eaffc6abea
+Size (async-attributes-1.1.2.crate) = 11431 bytes
+BLAKE2s (async-channel-1.6.1.crate) = 2ba94ccdb1cafe27bb187ad9a5874e840fadbc00caf4b229c7921a8a26ba3ddb
+SHA512 (async-channel-1.6.1.crate) = 797b1f5b4c07853f78670e62b67fb787c329ffa2c89475a3767a963d524a69dce082cc7f3a2878d9c990f00ae2d9cd7e0d21743fc4186769c238467bdb20c65e
+Size (async-channel-1.6.1.crate) = 12574 bytes
+BLAKE2s (async-executor-1.4.0.crate) = e6622e46e016d76cc64019116f9836ede2fc74bc4a8a59fcf8ad645d295df24f
+SHA512 (async-executor-1.4.0.crate) = f02507a288a484a8f2605d613e425e9a75cda989a4140bf1b5dd2a1b344fbf8723bd526f6fae1eaaf2e879efb9a67d62648b58a65211ebb51e3a4cbb3ac64701
+Size (async-executor-1.4.0.crate) = 15661 bytes
+BLAKE2s (async-global-executor-2.0.2.crate) = 6c2ecfa91d43ed36a72ecbb51ba338bb8e06c8072e05431c4ba8336860b74438
+SHA512 (async-global-executor-2.0.2.crate) = 13d2d0b400832b1965cba680505fd65b87a45a4ab69c110a4a67394e726d340331fe292f6b1079de277d447688a1b97c15c095d106e132d02628892b825a3612
+Size (async-global-executor-2.0.2.crate) = 11665 bytes
+BLAKE2s (async-io-1.3.1.crate) = c35456885a97b5c4e4301931758869a6de73554b7821e3a05542c788035bc37d



Home | Main Index | Thread Index | Old Index