318 lines
5.6 KiB
Bash
318 lines
5.6 KiB
Bash
|
# Copyright 2023 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
# Auto-Generated by cargo-ebuild 0.5.4
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
CRATES="
|
||
|
acme-lib-0.8.2
|
||
|
ahash-0.7.6
|
||
|
aho-corasick-0.7.18
|
||
|
ansi_term-0.12.1
|
||
|
anyhow-1.0.57
|
||
|
async-stream-0.3.3
|
||
|
async-stream-impl-0.3.3
|
||
|
async-trait-0.1.53
|
||
|
atoi-0.4.0
|
||
|
atty-0.2.14
|
||
|
autocfg-1.1.0
|
||
|
base-x-0.2.10
|
||
|
base64-0.13.0
|
||
|
base64ct-1.5.0
|
||
|
bcrypt-0.13.0
|
||
|
bitflags-1.3.2
|
||
|
block-buffer-0.10.2
|
||
|
blowfish-0.9.1
|
||
|
bollard-stubs-1.41.0
|
||
|
bumpalo-3.9.1
|
||
|
byteorder-1.4.3
|
||
|
bytes-1.1.0
|
||
|
cc-1.0.73
|
||
|
cfg-if-1.0.0
|
||
|
chrono-0.4.19
|
||
|
chunked_transfer-1.4.0
|
||
|
cipher-0.4.3
|
||
|
const-oid-0.7.1
|
||
|
const_fn-0.4.9
|
||
|
cookie-0.14.4
|
||
|
cookie_store-0.12.0
|
||
|
cpufeatures-0.2.2
|
||
|
crc-2.1.0
|
||
|
crc-catalog-1.1.1
|
||
|
crossbeam-queue-0.3.5
|
||
|
crossbeam-utils-0.8.8
|
||
|
crypto-bigint-0.3.2
|
||
|
crypto-common-0.1.3
|
||
|
darling-0.13.4
|
||
|
darling_core-0.13.4
|
||
|
darling_macro-0.13.4
|
||
|
data-encoding-2.3.2
|
||
|
der-0.5.1
|
||
|
digest-0.10.3
|
||
|
dirs-4.0.0
|
||
|
dirs-sys-0.3.7
|
||
|
discard-1.0.4
|
||
|
dotenv-0.15.0
|
||
|
either-1.6.1
|
||
|
endian-type-0.1.2
|
||
|
enum-as-inner-0.3.4
|
||
|
env_logger-0.8.4
|
||
|
event-listener-2.5.2
|
||
|
fnv-1.0.7
|
||
|
foreign-types-0.3.2
|
||
|
foreign-types-shared-0.1.1
|
||
|
form_urlencoded-1.0.1
|
||
|
futures-0.3.21
|
||
|
futures-channel-0.3.21
|
||
|
futures-core-0.3.21
|
||
|
futures-executor-0.3.21
|
||
|
futures-intrusive-0.4.0
|
||
|
futures-io-0.3.21
|
||
|
futures-macro-0.3.21
|
||
|
futures-sink-0.3.21
|
||
|
futures-task-0.3.21
|
||
|
futures-util-0.3.21
|
||
|
generic-array-0.14.5
|
||
|
getrandom-0.2.6
|
||
|
h2-0.3.13
|
||
|
hashbrown-0.11.2
|
||
|
hashlink-0.7.0
|
||
|
headers-0.3.7
|
||
|
headers-core-0.2.0
|
||
|
heck-0.4.0
|
||
|
hermit-abi-0.1.19
|
||
|
hex-0.4.3
|
||
|
hkdf-0.12.3
|
||
|
hmac-0.12.1
|
||
|
hostname-0.3.1
|
||
|
http-0.2.7
|
||
|
http-body-0.4.4
|
||
|
httparse-1.7.1
|
||
|
httpdate-1.0.2
|
||
|
humantime-2.1.0
|
||
|
hyper-0.14.18
|
||
|
ident_case-1.0.1
|
||
|
idna-0.2.3
|
||
|
indexmap-1.8.1
|
||
|
inout-0.1.3
|
||
|
instant-0.1.12
|
||
|
ipconfig-0.2.2
|
||
|
ipnet-2.5.0
|
||
|
itertools-0.10.3
|
||
|
itoa-1.0.1
|
||
|
js-sys-0.3.57
|
||
|
lazy_static-1.4.0
|
||
|
libc-0.2.125
|
||
|
libm-0.2.2
|
||
|
linked-hash-map-0.5.4
|
||
|
lock_api-0.4.7
|
||
|
log-0.4.17
|
||
|
lru-cache-0.1.2
|
||
|
match_cfg-0.1.0
|
||
|
matchers-0.0.1
|
||
|
matches-0.1.9
|
||
|
md-5-0.10.1
|
||
|
memchr-2.5.0
|
||
|
mime-0.3.16
|
||
|
mime_guess-2.0.4
|
||
|
minimal-lexical-0.2.1
|
||
|
mio-0.8.2
|
||
|
miow-0.3.7
|
||
|
nibble_vec-0.1.0
|
||
|
nom-7.1.1
|
||
|
ntapi-0.3.7
|
||
|
num-bigint-0.3.3
|
||
|
num-bigint-dig-0.8.1
|
||
|
num-integer-0.1.45
|
||
|
num-iter-0.1.43
|
||
|
num-traits-0.2.15
|
||
|
num_cpus-1.13.1
|
||
|
num_threads-0.1.6
|
||
|
once_cell-1.10.0
|
||
|
openssl-0.10.40
|
||
|
openssl-macros-0.1.0
|
||
|
openssl-sys-0.9.73
|
||
|
parking_lot-0.11.2
|
||
|
parking_lot_core-0.8.5
|
||
|
paste-1.0.7
|
||
|
pem-rfc7468-0.3.1
|
||
|
percent-encoding-2.1.0
|
||
|
pin-project-1.0.10
|
||
|
pin-project-internal-1.0.10
|
||
|
pin-project-lite-0.2.9
|
||
|
pin-utils-0.1.0
|
||
|
pkcs1-0.3.3
|
||
|
pkcs8-0.8.0
|
||
|
pkg-config-0.3.25
|
||
|
ppp-1.2.2
|
||
|
ppv-lite86-0.2.16
|
||
|
proc-macro-hack-0.5.19
|
||
|
proc-macro2-1.0.37
|
||
|
prometheus-0.13.0
|
||
|
protobuf-2.27.1
|
||
|
publicsuffix-1.5.6
|
||
|
qstring-0.7.2
|
||
|
quick-error-1.2.3
|
||
|
quote-1.0.18
|
||
|
radix_trie-0.2.1
|
||
|
rand-0.8.5
|
||
|
rand_chacha-0.3.1
|
||
|
rand_core-0.6.3
|
||
|
redox_syscall-0.2.13
|
||
|
redox_users-0.4.3
|
||
|
regex-1.5.5
|
||
|
regex-automata-0.1.10
|
||
|
regex-syntax-0.6.25
|
||
|
resolv-conf-0.7.0
|
||
|
ring-0.16.20
|
||
|
rsa-0.6.1
|
||
|
rustc_version-0.2.3
|
||
|
rustls-0.19.1
|
||
|
rustversion-1.0.6
|
||
|
ryu-1.0.9
|
||
|
scoped-tls-1.0.0
|
||
|
scopeguard-1.1.0
|
||
|
sct-0.6.1
|
||
|
semver-0.9.0
|
||
|
semver-parser-0.7.0
|
||
|
serde-1.0.137
|
||
|
serde_derive-1.0.137
|
||
|
serde_json-1.0.81
|
||
|
serde_test-1.0.137
|
||
|
serde_urlencoded-0.7.1
|
||
|
serde_with-1.13.0
|
||
|
serde_with_macros-1.5.2
|
||
|
sha-1-0.10.0
|
||
|
sha1-0.6.1
|
||
|
sha1_smol-1.0.0
|
||
|
sha2-0.10.2
|
||
|
sharded-slab-0.1.4
|
||
|
signal-hook-registry-1.4.0
|
||
|
slab-0.4.6
|
||
|
smallvec-1.8.0
|
||
|
socket2-0.3.19
|
||
|
socket2-0.4.4
|
||
|
spin-0.5.2
|
||
|
spki-0.5.4
|
||
|
sqlformat-0.1.8
|
||
|
sqlx-0.5.13
|
||
|
sqlx-core-0.5.13
|
||
|
sqlx-macros-0.5.13
|
||
|
sqlx-rt-0.5.13
|
||
|
standback-0.2.17
|
||
|
stdweb-0.4.20
|
||
|
stdweb-derive-0.5.3
|
||
|
stdweb-internal-macros-0.2.9
|
||
|
stdweb-internal-runtime-0.1.5
|
||
|
stringprep-0.1.2
|
||
|
strsim-0.10.0
|
||
|
subtle-2.4.1
|
||
|
syn-1.0.92
|
||
|
termcolor-1.1.3
|
||
|
testcontainers-0.13.0
|
||
|
thiserror-1.0.31
|
||
|
thiserror-impl-1.0.31
|
||
|
thread_local-1.1.4
|
||
|
time-0.1.43
|
||
|
time-0.2.27
|
||
|
time-0.3.9
|
||
|
time-macros-0.1.1
|
||
|
time-macros-impl-0.1.2
|
||
|
tinyvec-1.6.0
|
||
|
tinyvec_macros-0.1.0
|
||
|
tokio-1.18.1
|
||
|
tokio-macros-1.7.0
|
||
|
tokio-rustls-0.22.0
|
||
|
tokio-stream-0.1.8
|
||
|
tokio-test-0.4.2
|
||
|
tokio-util-0.6.9
|
||
|
tokio-util-0.7.1
|
||
|
toml-0.5.9
|
||
|
tower-service-0.3.1
|
||
|
tracing-0.1.34
|
||
|
tracing-attributes-0.1.21
|
||
|
tracing-core-0.1.26
|
||
|
tracing-futures-0.2.5
|
||
|
tracing-log-0.1.3
|
||
|
tracing-serde-0.1.3
|
||
|
tracing-subscriber-0.2.25
|
||
|
tracing-test-0.1.0
|
||
|
tracing-test-macro-0.1.0
|
||
|
trust-dns-client-0.20.4
|
||
|
trust-dns-https-0.20.4
|
||
|
trust-dns-proto-0.20.4
|
||
|
trust-dns-resolver-0.20.4
|
||
|
trust-dns-rustls-0.20.4
|
||
|
trust-dns-server-0.20.4
|
||
|
try-lock-0.2.3
|
||
|
typenum-1.15.0
|
||
|
unicase-2.6.0
|
||
|
unicode-bidi-0.3.8
|
||
|
unicode-normalization-0.1.19
|
||
|
unicode-segmentation-1.9.0
|
||
|
unicode-xid-0.2.3
|
||
|
unicode_categories-0.1.1
|
||
|
untrusted-0.7.1
|
||
|
ureq-1.5.5
|
||
|
url-2.2.2
|
||
|
uuid-0.8.2
|
||
|
valuable-0.1.0
|
||
|
vcpkg-0.2.15
|
||
|
version_check-0.9.4
|
||
|
want-0.3.0
|
||
|
warp-0.3.2
|
||
|
wasi-0.10.2+wasi-snapshot-preview1
|
||
|
wasi-0.11.0+wasi-snapshot-preview1
|
||
|
wasm-bindgen-0.2.80
|
||
|
wasm-bindgen-backend-0.2.80
|
||
|
wasm-bindgen-macro-0.2.80
|
||
|
wasm-bindgen-macro-support-0.2.80
|
||
|
wasm-bindgen-shared-0.2.80
|
||
|
web-sys-0.3.57
|
||
|
webpki-0.21.4
|
||
|
webpki-roots-0.21.1
|
||
|
whoami-1.2.1
|
||
|
widestring-0.4.3
|
||
|
winapi-0.3.9
|
||
|
winapi-i686-pc-windows-gnu-0.4.0
|
||
|
winapi-util-0.1.5
|
||
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
||
|
winreg-0.6.2
|
||
|
zeroize-1.5.5
|
||
|
"
|
||
|
|
||
|
inherit cargo
|
||
|
|
||
|
DESCRIPTION="Acme DNS implementation written in Rust"
|
||
|
HOMEPAGE="https://github.com/conblem/acme-dns-rust/"
|
||
|
SRC_URI="$(cargo_crate_uris)
|
||
|
https://github.com/conblem/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||
|
"
|
||
|
|
||
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64"
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND="${DEPEND}
|
||
|
acct-user/dnsdist
|
||
|
acct-group/dnsdist
|
||
|
"
|
||
|
BDEPEND=""
|
||
|
|
||
|
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
|
||
|
# init script
|
||
|
newinitd "${FILESDIR}/initd" ${PN}
|
||
|
# Install config file
|
||
|
insinto /etc
|
||
|
newins "${FILESDIR}/${PN}.toml" ${PN}.toml
|
||
|
fowners dnsdist:dnsdist /etc/${PN}.toml
|
||
|
fperms 0600 /etc/${PN}.toml
|
||
|
|
||
|
}
|