Skip to content

Commit

Permalink
net/piratebay: update to 0.1.7
Browse files Browse the repository at this point in the history
What's Changed
 - Add NetBSD by @0323pin in #7
 - Fix: use rustls instead of openssl by @tsirysndr in #9
  • Loading branch information
0323pin committed Aug 4, 2023
1 parent 5a47bc2 commit 32650f2
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 94 deletions.
10 changes: 2 additions & 8 deletions net/piratebay/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.3 2023/08/03 18:22:55 pin Exp $
# $NetBSD: Makefile,v 1.4 2023/08/04 12:49:28 pin Exp $

DISTNAME= piratebay-0.1.6
DISTNAME= piratebay-0.1.7
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=tsirysndr/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand All @@ -12,11 +12,5 @@ LICENSE= mit

.include "cargo-depends.mk"

USE_TOOLS+= pkg-config

MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib

.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
46 changes: 24 additions & 22 deletions net/piratebay/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: cargo-depends.mk,v 1.2 2022/08/31 20:26:47 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.3 2023/08/04 12:49:28 pin Exp $

CARGO_CRATE_DEPENDS+= aead-0.3.2
CARGO_CRATE_DEPENDS+= aes-0.6.0
Expand All @@ -8,26 +8,30 @@ CARGO_CRATE_DEPENDS+= aesni-0.10.0
CARGO_CRATE_DEPENDS+= android_system_properties-0.1.5
CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
CARGO_CRATE_DEPENDS+= anyhow-1.0.62
CARGO_CRATE_DEPENDS+= arrayvec-0.5.2
CARGO_CRATE_DEPENDS+= async-channel-1.7.1
CARGO_CRATE_DEPENDS+= async-dup-1.2.2
CARGO_CRATE_DEPENDS+= async-executor-1.4.1
CARGO_CRATE_DEPENDS+= async-global-executor-2.2.0
CARGO_CRATE_DEPENDS+= async-h1-2.3.3
CARGO_CRATE_DEPENDS+= async-io-1.7.0
CARGO_CRATE_DEPENDS+= async-lock-2.5.0
CARGO_CRATE_DEPENDS+= async-std-1.12.0
CARGO_CRATE_DEPENDS+= async-task-4.3.0
CARGO_CRATE_DEPENDS+= async-tls-0.10.0
CARGO_CRATE_DEPENDS+= async-trait-0.1.57
CARGO_CRATE_DEPENDS+= atomic-waker-1.0.0
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.1.0
CARGO_CRATE_DEPENDS+= base-x-0.2.11
CARGO_CRATE_DEPENDS+= base64-0.12.3
CARGO_CRATE_DEPENDS+= base64-0.13.0
CARGO_CRATE_DEPENDS+= bitflags-1.3.2
CARGO_CRATE_DEPENDS+= block-buffer-0.9.0
CARGO_CRATE_DEPENDS+= blocking-1.2.0
CARGO_CRATE_DEPENDS+= bumpalo-3.11.0
CARGO_CRATE_DEPENDS+= bytecount-0.6.3
CARGO_CRATE_DEPENDS+= byteorder-1.4.3
CARGO_CRATE_DEPENDS+= bytes-0.5.6
CARGO_CRATE_DEPENDS+= bytes-1.2.1
CARGO_CRATE_DEPENDS+= cache-padded-1.2.0
CARGO_CRATE_DEPENDS+= cc-1.0.73
Expand All @@ -39,6 +43,7 @@ CARGO_CRATE_DEPENDS+= clap_derive-3.2.17
CARGO_CRATE_DEPENDS+= clap_lex-0.2.4
CARGO_CRATE_DEPENDS+= colored_json-2.1.0
CARGO_CRATE_DEPENDS+= concurrent-queue-1.2.4
CARGO_CRATE_DEPENDS+= config-0.10.1
CARGO_CRATE_DEPENDS+= const_fn-0.4.9
CARGO_CRATE_DEPENDS+= const_format-0.2.26
CARGO_CRATE_DEPENDS+= const_format_proc_macros-0.2.22
Expand All @@ -47,30 +52,30 @@ CARGO_CRATE_DEPENDS+= cookie-0.14.4
CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.3
CARGO_CRATE_DEPENDS+= cpufeatures-0.2.2
CARGO_CRATE_DEPENDS+= cpuid-bool-0.2.0
CARGO_CRATE_DEPENDS+= crossbeam-queue-0.3.8
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.11
CARGO_CRATE_DEPENDS+= crypto-mac-0.10.1
CARGO_CRATE_DEPENDS+= cssparser-0.27.2
CARGO_CRATE_DEPENDS+= cssparser-macros-0.6.0
CARGO_CRATE_DEPENDS+= ctor-0.1.23
CARGO_CRATE_DEPENDS+= ctr-0.6.0
CARGO_CRATE_DEPENDS+= curl-0.4.44
CARGO_CRATE_DEPENDS+= curl-sys-0.4.56+curl-7.83.1
SITES.curl-sys-0.4.56+curl-7.83.1.crate+= ${MASTER_SITE_CRATESIO:S,^,-,:=curl-sys/0.4.56+curl-7.83.1/download}
CARGO_CRATE_DEPENDS+= dashmap-5.3.4
CARGO_CRATE_DEPENDS+= deadpool-0.7.0
CARGO_CRATE_DEPENDS+= derive_more-0.99.17
CARGO_CRATE_DEPENDS+= digest-0.9.0
CARGO_CRATE_DEPENDS+= discard-1.0.4
CARGO_CRATE_DEPENDS+= dtoa-0.4.8
CARGO_CRATE_DEPENDS+= dtoa-short-0.3.3
CARGO_CRATE_DEPENDS+= ego-tree-0.6.2
CARGO_CRATE_DEPENDS+= encoding_rs-0.8.31
CARGO_CRATE_DEPENDS+= event-listener-2.5.3
CARGO_CRATE_DEPENDS+= fastrand-1.8.0
CARGO_CRATE_DEPENDS+= flume-0.9.2
CARGO_CRATE_DEPENDS+= fnv-1.0.7
CARGO_CRATE_DEPENDS+= form_urlencoded-1.0.1
CARGO_CRATE_DEPENDS+= futf-0.1.5
CARGO_CRATE_DEPENDS+= futures-0.3.23
CARGO_CRATE_DEPENDS+= futures-channel-0.3.23
CARGO_CRATE_DEPENDS+= futures-core-0.3.23
CARGO_CRATE_DEPENDS+= futures-executor-0.3.23
CARGO_CRATE_DEPENDS+= futures-io-0.3.23
CARGO_CRATE_DEPENDS+= futures-lite-1.12.0
CARGO_CRATE_DEPENDS+= futures-macro-0.3.23
Expand All @@ -90,24 +95,22 @@ CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
CARGO_CRATE_DEPENDS+= hkdf-0.10.0
CARGO_CRATE_DEPENDS+= hmac-0.10.1
CARGO_CRATE_DEPENDS+= html5ever-0.26.0
CARGO_CRATE_DEPENDS+= http-0.2.8
CARGO_CRATE_DEPENDS+= http-client-6.5.3
CARGO_CRATE_DEPENDS+= http-types-2.12.0
CARGO_CRATE_DEPENDS+= httparse-1.8.0
CARGO_CRATE_DEPENDS+= human-repr-1.0.1
CARGO_CRATE_DEPENDS+= iana-time-zone-0.1.47
CARGO_CRATE_DEPENDS+= idna-0.2.3
CARGO_CRATE_DEPENDS+= indexmap-1.9.1
CARGO_CRATE_DEPENDS+= infer-0.2.3
CARGO_CRATE_DEPENDS+= instant-0.1.12
CARGO_CRATE_DEPENDS+= isahc-0.9.14
CARGO_CRATE_DEPENDS+= itoa-0.4.8
CARGO_CRATE_DEPENDS+= itoa-1.0.3
CARGO_CRATE_DEPENDS+= js-sys-0.3.59
CARGO_CRATE_DEPENDS+= kv-log-macro-1.0.7
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= lexical-core-0.7.6
CARGO_CRATE_DEPENDS+= libc-0.2.132
CARGO_CRATE_DEPENDS+= libnghttp2-sys-0.1.7+1.45.0
CARGO_CRATE_DEPENDS+= libz-sys-1.1.8
CARGO_CRATE_DEPENDS+= lock_api-0.4.7
CARGO_CRATE_DEPENDS+= log-0.4.17
CARGO_CRATE_DEPENDS+= mac-0.1.1
Expand All @@ -119,13 +122,12 @@ CARGO_CRATE_DEPENDS+= mime_guess-2.0.4
CARGO_CRATE_DEPENDS+= mio-0.8.4
CARGO_CRATE_DEPENDS+= new_debug_unreachable-1.0.4
CARGO_CRATE_DEPENDS+= nodrop-0.1.14
CARGO_CRATE_DEPENDS+= nom-5.1.3
CARGO_CRATE_DEPENDS+= num-integer-0.1.45
CARGO_CRATE_DEPENDS+= num-traits-0.2.15
CARGO_CRATE_DEPENDS+= num_cpus-1.13.1
CARGO_CRATE_DEPENDS+= once_cell-1.13.1
CARGO_CRATE_DEPENDS+= opaque-debug-0.3.0
CARGO_CRATE_DEPENDS+= openssl-probe-0.1.5
CARGO_CRATE_DEPENDS+= openssl-sys-0.9.75
CARGO_CRATE_DEPENDS+= os_str_bytes-6.3.0
CARGO_CRATE_DEPENDS+= owo-colors-3.5.0
CARGO_CRATE_DEPENDS+= papergrid-0.5.1
Expand All @@ -146,7 +148,6 @@ CARGO_CRATE_DEPENDS+= pin-project-1.0.12
CARGO_CRATE_DEPENDS+= pin-project-internal-1.0.12
CARGO_CRATE_DEPENDS+= pin-project-lite-0.2.9
CARGO_CRATE_DEPENDS+= pin-utils-0.1.0
CARGO_CRATE_DEPENDS+= pkg-config-0.3.25
CARGO_CRATE_DEPENDS+= polling-2.2.0
CARGO_CRATE_DEPENDS+= polyval-0.4.5
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.16
Expand All @@ -165,12 +166,14 @@ CARGO_CRATE_DEPENDS+= rand_core-0.6.3
CARGO_CRATE_DEPENDS+= rand_hc-0.2.0
CARGO_CRATE_DEPENDS+= rand_pcg-0.2.1
CARGO_CRATE_DEPENDS+= redox_syscall-0.2.16
CARGO_CRATE_DEPENDS+= ring-0.16.20
CARGO_CRATE_DEPENDS+= rustc_version-0.2.3
CARGO_CRATE_DEPENDS+= rustc_version-0.4.0
CARGO_CRATE_DEPENDS+= rustls-0.18.1
CARGO_CRATE_DEPENDS+= ryu-1.0.11
CARGO_CRATE_DEPENDS+= schannel-0.1.20
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= scraper-0.13.0
CARGO_CRATE_DEPENDS+= sct-0.6.1
CARGO_CRATE_DEPENDS+= selectors-0.22.0
CARGO_CRATE_DEPENDS+= semver-0.9.0
CARGO_CRATE_DEPENDS+= semver-1.0.13
Expand All @@ -185,14 +188,15 @@ CARGO_CRATE_DEPENDS+= sha1-0.6.1
CARGO_CRATE_DEPENDS+= sha1_smol-1.0.0
CARGO_CRATE_DEPENDS+= sha2-0.9.9
CARGO_CRATE_DEPENDS+= signal-hook-registry-1.4.0
CARGO_CRATE_DEPENDS+= simple-mutex-1.1.5
CARGO_CRATE_DEPENDS+= siphasher-0.3.10
CARGO_CRATE_DEPENDS+= slab-0.4.7
CARGO_CRATE_DEPENDS+= sluice-0.5.5
CARGO_CRATE_DEPENDS+= smallvec-1.9.0
CARGO_CRATE_DEPENDS+= socket2-0.4.4
CARGO_CRATE_DEPENDS+= spinning_top-0.2.4
CARGO_CRATE_DEPENDS+= spin-0.5.2
CARGO_CRATE_DEPENDS+= stable_deref_trait-1.2.0
CARGO_CRATE_DEPENDS+= standback-0.2.17
CARGO_CRATE_DEPENDS+= static_assertions-1.1.0
CARGO_CRATE_DEPENDS+= stdweb-0.4.20
CARGO_CRATE_DEPENDS+= stdweb-derive-0.5.3
CARGO_CRATE_DEPENDS+= stdweb-internal-macros-0.2.9
Expand All @@ -219,10 +223,6 @@ CARGO_CRATE_DEPENDS+= tinyvec-1.6.0
CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.0
CARGO_CRATE_DEPENDS+= tokio-1.20.1
CARGO_CRATE_DEPENDS+= tokio-macros-1.8.0
CARGO_CRATE_DEPENDS+= tracing-0.1.36
CARGO_CRATE_DEPENDS+= tracing-attributes-0.1.22
CARGO_CRATE_DEPENDS+= tracing-core-0.1.29
CARGO_CRATE_DEPENDS+= tracing-futures-0.2.5
CARGO_CRATE_DEPENDS+= typenum-1.15.0
CARGO_CRATE_DEPENDS+= unicase-2.6.0
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.8
Expand All @@ -231,11 +231,11 @@ CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.21
CARGO_CRATE_DEPENDS+= unicode-width-0.1.9
CARGO_CRATE_DEPENDS+= unicode-xid-0.2.3
CARGO_CRATE_DEPENDS+= universal-hash-0.4.1
CARGO_CRATE_DEPENDS+= untrusted-0.7.1
CARGO_CRATE_DEPENDS+= url-2.2.2
CARGO_CRATE_DEPENDS+= urlencoding-2.1.0
CARGO_CRATE_DEPENDS+= utf-8-0.7.6
CARGO_CRATE_DEPENDS+= value-bag-1.0.0-alpha.9
CARGO_CRATE_DEPENDS+= vcpkg-0.2.15
CARGO_CRATE_DEPENDS+= version_check-0.9.4
CARGO_CRATE_DEPENDS+= waker-fn-1.1.0
CARGO_CRATE_DEPENDS+= wasi-0.9.0+wasi-snapshot-preview1
Expand All @@ -248,6 +248,8 @@ CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.82
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.82
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.82
CARGO_CRATE_DEPENDS+= web-sys-0.3.59
CARGO_CRATE_DEPENDS+= webpki-0.21.4
CARGO_CRATE_DEPENDS+= webpki-roots-0.20.0
CARGO_CRATE_DEPENDS+= wepoll-ffi-0.1.2
CARGO_CRATE_DEPENDS+= winapi-0.3.9
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
Expand Down
Loading

0 comments on commit 32650f2

Please sign in to comment.