Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rosenpass #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions net/rosenpass/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
COMMENT= Wireguard-based post-quantum VPN

GH_ACCOUNT = rosenpass
GH_PROJECT = rosenpass
GH_TAGNAME = v0.1.1

CATEGORIES = net security

HOMEPAGE = https://rosenpass.eu/
MAINTAINER = Moritz Buhl <[email protected]>

# MIT/Apache-2.0
PERMIT_PACKAGE = Yes

WANTLIB += c c++abi pthread

MODULES = devel/cargo
BUILD_DEPENDS = devel/llvm \
security/rust-ring

RUN_DEPENDS = net/wireguard-tools \
security/libsodium \
shells/bash

MAKE_ENV = LIBCLANG_PATH="${LOCALBASE}/lib/"

CONFIGURE_STYLE = cargo

SEPARATE_BUILD = Yes

# for riscv64 and powerpc64, please keep: cc >= 1.0.73 and libc >= 0.2.113
MODCARGO_CRATES_UPDATE = cc libc
MODCARGO_RUSTFLAGS = -C debuginfo=0

RELEASE_DIR = ${MODCARGO_TARGET_DIR}/release
OUT_DIR = ${RELEASE_DIR}/build/rosenpass-*/out

post-install:
${INSTALL_SCRIPT} ${WRKSRC}/rp ${PREFIX}/bin/

.include "crates.inc"

.include <bsd.port.mk>
157 changes: 157 additions & 0 deletions net/rosenpass/crates.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# run: make modcargo-gen-crates-licenses
MODCARGO_CRATES += addr2line 0.19.0
MODCARGO_CRATES += adler 1.0.2
MODCARGO_CRATES += adler32 1.2.0
MODCARGO_CRATES += aho-corasick 0.7.20
MODCARGO_CRATES += anyhow 1.0.69
MODCARGO_CRATES += atty 0.2.14
MODCARGO_CRATES += autocfg 1.1.0
MODCARGO_CRATES += backtrace 0.3.67
MODCARGO_CRATES += base64 0.13.1
MODCARGO_CRATES += bindgen 0.60.1
MODCARGO_CRATES += bitflags 1.3.2
MODCARGO_CRATES += build-deps 0.1.4
MODCARGO_CRATES += bumpalo 3.12.0
MODCARGO_CRATES += byteorder 1.4.3
MODCARGO_CRATES += cast 0.3.0
MODCARGO_CRATES += cc 1.0.79
MODCARGO_CRATES += cexpr 0.6.0
MODCARGO_CRATES += cfg-if 1.0.0
MODCARGO_CRATES += clang-sys 1.6.0
MODCARGO_CRATES += clap 2.34.0
MODCARGO_CRATES += clap 3.2.23
MODCARGO_CRATES += clap_lex 0.2.4
MODCARGO_CRATES += cmake 0.1.49
MODCARGO_CRATES += crc32fast 1.3.2
MODCARGO_CRATES += criterion 0.3.6
MODCARGO_CRATES += criterion-plot 0.4.5
MODCARGO_CRATES += crossbeam-channel 0.5.6
MODCARGO_CRATES += crossbeam-deque 0.8.2
MODCARGO_CRATES += crossbeam-epoch 0.9.13
MODCARGO_CRATES += crossbeam-utils 0.8.14
MODCARGO_CRATES += csv 1.2.0
MODCARGO_CRATES += csv-core 0.1.10
MODCARGO_CRATES += either 1.8.1
MODCARGO_CRATES += env_logger 0.9.3
MODCARGO_CRATES += env_logger 0.10.0
MODCARGO_CRATES += errno 0.2.8
MODCARGO_CRATES += errno-dragonfly 0.1.2
MODCARGO_CRATES += filetime 0.2.20
MODCARGO_CRATES += flate2 1.0.25
MODCARGO_CRATES += form_urlencoded 1.1.0
MODCARGO_CRATES += gimli 0.27.2
MODCARGO_CRATES += glob 0.3.1
MODCARGO_CRATES += half 1.8.2
MODCARGO_CRATES += hashbrown 0.12.3
MODCARGO_CRATES += hermit-abi 0.1.19
MODCARGO_CRATES += hermit-abi 0.2.6
MODCARGO_CRATES += hermit-abi 0.3.1
MODCARGO_CRATES += humantime 2.1.0
MODCARGO_CRATES += idna 0.3.0
MODCARGO_CRATES += indexmap 1.9.2
MODCARGO_CRATES += io-lifetimes 1.0.5
MODCARGO_CRATES += is-terminal 0.4.4
MODCARGO_CRATES += itertools 0.10.5
MODCARGO_CRATES += itoa 1.0.5
MODCARGO_CRATES += js-sys 0.3.61
MODCARGO_CRATES += lazy_static 1.4.0
MODCARGO_CRATES += lazycell 1.3.0
MODCARGO_CRATES += libc 0.2.139
MODCARGO_CRATES += libflate 1.3.0
MODCARGO_CRATES += libflate_lz77 1.2.0
MODCARGO_CRATES += libloading 0.7.4
MODCARGO_CRATES += libsodium-sys-stable 1.19.27
MODCARGO_CRATES += linked-hash-map 0.5.6
MODCARGO_CRATES += linux-raw-sys 0.1.4
MODCARGO_CRATES += log 0.4.17
MODCARGO_CRATES += memchr 2.5.0
MODCARGO_CRATES += memoffset 0.6.5
MODCARGO_CRATES += memoffset 0.7.1
MODCARGO_CRATES += minimal-lexical 0.2.1
MODCARGO_CRATES += minisign-verify 0.2.1
MODCARGO_CRATES += miniz_oxide 0.6.2
MODCARGO_CRATES += nom 7.1.3
MODCARGO_CRATES += num-traits 0.2.15
MODCARGO_CRATES += num_cpus 1.15.0
MODCARGO_CRATES += object 0.30.3
MODCARGO_CRATES += once_cell 1.17.1
MODCARGO_CRATES += oorandom 11.1.3
MODCARGO_CRATES += oqs-sys 0.7.2
MODCARGO_CRATES += os_str_bytes 6.4.1
MODCARGO_CRATES += paste 1.0.11
MODCARGO_CRATES += peeking_take_while 0.1.2
MODCARGO_CRATES += percent-encoding 2.2.0
MODCARGO_CRATES += pkg-config 0.3.26
MODCARGO_CRATES += plotters 0.3.4
MODCARGO_CRATES += plotters-backend 0.3.4
MODCARGO_CRATES += plotters-svg 0.3.3
MODCARGO_CRATES += proc-macro2 1.0.51
MODCARGO_CRATES += quote 1.0.23
MODCARGO_CRATES += rayon 1.6.1
MODCARGO_CRATES += rayon-core 1.10.2
MODCARGO_CRATES += redox_syscall 0.2.16
MODCARGO_CRATES += regex 1.7.1
MODCARGO_CRATES += regex-syntax 0.6.28
MODCARGO_CRATES += ring 0.16.20
MODCARGO_CRATES += rle-decode-fast 1.0.3
MODCARGO_CRATES += rustc-demangle 0.1.21
MODCARGO_CRATES += rustc-hash 1.1.0
MODCARGO_CRATES += rustix 0.36.8
MODCARGO_CRATES += rustls 0.20.8
MODCARGO_CRATES += ryu 1.0.12
MODCARGO_CRATES += same-file 1.0.6
MODCARGO_CRATES += scopeguard 1.1.0
MODCARGO_CRATES += sct 0.7.0
MODCARGO_CRATES += serde 1.0.152
MODCARGO_CRATES += serde_cbor 0.11.2
MODCARGO_CRATES += serde_derive 1.0.152
MODCARGO_CRATES += serde_json 1.0.93
MODCARGO_CRATES += shlex 1.1.0
MODCARGO_CRATES += spin 0.5.2
MODCARGO_CRATES += static_assertions 1.1.0
MODCARGO_CRATES += strsim 0.10.0
MODCARGO_CRATES += syn 1.0.109
MODCARGO_CRATES += tar 0.4.38
MODCARGO_CRATES += termcolor 1.2.0
MODCARGO_CRATES += test_bin 0.4.0
MODCARGO_CRATES += textwrap 0.11.0
MODCARGO_CRATES += textwrap 0.16.0
MODCARGO_CRATES += thiserror 1.0.38
MODCARGO_CRATES += thiserror-impl 1.0.38
MODCARGO_CRATES += tinytemplate 1.2.1
MODCARGO_CRATES += tinyvec 1.6.0
MODCARGO_CRATES += tinyvec_macros 0.1.1
MODCARGO_CRATES += unicode-bidi 0.3.10
MODCARGO_CRATES += unicode-ident 1.0.6
MODCARGO_CRATES += unicode-normalization 0.1.22
MODCARGO_CRATES += unicode-width 0.1.10
MODCARGO_CRATES += untrusted 0.7.1
MODCARGO_CRATES += ureq 2.6.2
MODCARGO_CRATES += url 2.3.1
MODCARGO_CRATES += vcpkg 0.2.15
MODCARGO_CRATES += walkdir 2.3.2
MODCARGO_CRATES += wasm-bindgen 0.2.84
MODCARGO_CRATES += wasm-bindgen-backend 0.2.84
MODCARGO_CRATES += wasm-bindgen-macro 0.2.84
MODCARGO_CRATES += wasm-bindgen-macro-support 0.2.84
MODCARGO_CRATES += wasm-bindgen-shared 0.2.84
MODCARGO_CRATES += web-sys 0.3.61
MODCARGO_CRATES += webpki 0.22.0
MODCARGO_CRATES += webpki-roots 0.22.6
MODCARGO_CRATES += which 4.4.0
MODCARGO_CRATES += winapi 0.3.9
MODCARGO_CRATES += winapi-i686-pc-windows-gnu 0.4.0
MODCARGO_CRATES += winapi-util 0.1.5
MODCARGO_CRATES += winapi-x86_64-pc-windows-gnu 0.4.0
MODCARGO_CRATES += windows-sys 0.45.0
MODCARGO_CRATES += windows-targets 0.42.1
MODCARGO_CRATES += windows_aarch64_gnullvm 0.42.1
MODCARGO_CRATES += windows_aarch64_msvc 0.42.1
MODCARGO_CRATES += windows_i686_gnu 0.42.1
MODCARGO_CRATES += windows_i686_msvc 0.42.1
MODCARGO_CRATES += windows_x86_64_gnu 0.42.1
MODCARGO_CRATES += windows_x86_64_gnullvm 0.42.1
MODCARGO_CRATES += windows_x86_64_msvc 0.42.1
MODCARGO_CRATES += xattr 0.2.3
MODCARGO_CRATES += yaml-rust 0.4.5
MODCARGO_CRATES += zip 0.6.4
Loading