Сравнение nss-docker-ng-1.0.7 с nss-docker-ng-1.2.1
| /usr/portage/sys-auth/nss-docker-ng/nss-docker-ng-1.2.1.ebuild 2026-05-04 19:17:05.197094818 +0300 | ||
|---|---|---|
| 1 |
# Copyright 2024-2025 Gentoo Authors |
|
| 1 |
# Copyright 2024-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
# Autogenerated by pycargoebuild 0.13.3 |
|
| 5 | ||
| 6 | 4 |
EAPI=8 |
| 7 | 5 | |
| 8 | 6 |
CRATES="" |
| 9 | ||
| 7 |
RUST_MIN_VER="1.88.0" |
|
| 10 | 8 |
inherit cargo readme.gentoo-r1 |
| 11 | 9 | |
| 12 | 10 |
DESCRIPTION="NSS plugin for finding Docker containers by their ID or name" |
| 13 | 11 |
HOMEPAGE="https://github.com/petski/nss-docker-ng" |
| 14 | 12 |
SRC_URI="https://github.com/petski/nss-docker-ng/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
| 15 |
if [[ ${PKGBUMPING} != ${PVR} ]]; then
|
|
| 16 |
SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/sys-auth/${PN}/${P}-crates.tar.xz"
|
|
| 17 |
fi |
|
| 13 |
SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
|
|
| 18 | 14 | |
| 19 | 15 |
LICENSE="MIT" |
| 20 | 16 |
# Dependent crate licenses |
| ... | ... | |
| 35 | 31 |
hosts: docker_ng resolve [!UNAVAIL=return] files myhostname dns |
| 36 | 32 |
' |
| 37 | 33 | |
| 38 |
pkg_setup() {
|
|
| 39 |
rust_pkg_setup |
|
| 40 |
# Requires nightly feature proc-macro2, bug #947565 |
|
| 41 |
export RUSTC_BOOTSTRAP=1 |
|
| 42 |
} |
|
| 43 | ||
| 44 | 34 |
src_install() {
|
| 45 | 35 |
cd "$(cargo_target_dir)" || die |
| 46 | 36 |
patchelf --set-soname libnss_docker_ng.so.2 libnss_docker_ng.so || die |