diff options
author | Huang Rui <vowstar@gmail.com> | 2022-01-18 23:15:43 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2022-01-18 23:22:18 +0800 |
commit | cc7ebc8f55eb7b013bc7b2b52791ac6241c36a46 (patch) | |
tree | 847deaa9cc823c53d4bf08d0c6db74032a1178b7 /sys-libs/libnvidia-container | |
parent | app-containers/nvidia-container-toolkit: bump to 1.7.0 (diff) | |
download | guru-cc7ebc8f55eb7b013bc7b2b52791ac6241c36a46.tar.gz guru-cc7ebc8f55eb7b013bc7b2b52791ac6241c36a46.tar.bz2 guru-cc7ebc8f55eb7b013bc7b2b52791ac6241c36a46.zip |
sys-libs/libnvidia-container: bump to 1.7.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'sys-libs/libnvidia-container')
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-libs/libnvidia-container/Manifest b/sys-libs/libnvidia-container/Manifest index f2bf5d81e..e105df9a2 100644 --- a/sys-libs/libnvidia-container/Manifest +++ b/sys-libs/libnvidia-container/Manifest @@ -1 +1,2 @@ DIST libnvidia-container-1.4.0.tar.gz 158137 BLAKE2B cdf0ce9024b79f9b5ebfc78b5cec8cb026fed47bcc192ce874639b8968d00af40ab9f0446bc65d5496502dd7f9a4c0d060c904c0894d463930795bc1bcd56d04 SHA512 0978a44f6a9c242b6493aadd54cfaac7055447bc1e76708b4f51e398df8575137b120396fc26019c63c78b34bf0aec49dd6870895370b1852b081bfe7cd34dc7 +DIST libnvidia-container-1.7.0.tar.gz 164771 BLAKE2B 43026a1f2c823c6ba183f40453f9dd784563533e5afb73be7bbf31d6adcb5d7f2b81d7dfdc53e3f5bc91b56b7359ce0c4415db790f7d8690e922c3b8ac31a5fa SHA512 cb2bedc7f3278c56f9da003257ea1c16116ac52cc4a792e4bdfc7e1739a5504436b61db65abb159f4bd4702d961ebd4c455605ce5e9daac00a2ab282a1b1348f diff --git a/sys-libs/libnvidia-container/files/libnvidia-container-1.7.0-fix-git.patch b/sys-libs/libnvidia-container/files/libnvidia-container-1.7.0-fix-git.patch new file mode 100644 index 000000000..7d07a2675 --- /dev/null +++ b/sys-libs/libnvidia-container/files/libnvidia-container-1.7.0-fix-git.patch @@ -0,0 +1,13 @@ +diff --git a/mk/common.mk b/mk/common.mk +index bded646..572adfc 100644 +--- a/mk/common.mk ++++ b/mk/common.mk +@@ -26,7 +26,7 @@ + else + DATE := $(shell date -u --iso-8601=minutes) + endif +-REVISION ?= $(shell git rev-parse HEAD) ++REVISION ?= 0b7fa90ce0721b010a5e80ecf53ceb43280a33b4 + COMPILER := $(realpath $(shell which $(CC))) + PLATFORM ?= $(shell uname -m) + diff --git a/sys-libs/libnvidia-container/libnvidia-container-1.7.0.ebuild b/sys-libs/libnvidia-container/libnvidia-container-1.7.0.ebuild new file mode 100644 index 000000000..4a6d846ac --- /dev/null +++ b/sys-libs/libnvidia-container/libnvidia-container-1.7.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="NVIDIA container runtime library" +HOMEPAGE="https://github.com/NVIDIA/libnvidia-container" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/NVIDIA/${PN}.git" +else + SRC_URI=" + https://github.com/NVIDIA/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + " + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +IUSE="" + +RDEPEND=" + net-libs/libtirpc + sys-libs/libcap + sys-libs/libseccomp + x11-drivers/nvidia-drivers +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + net-libs/rpcsvc-proto + sys-apps/lsb-release + sys-devel/bmake + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.1-add-enum-h.patch + "${FILESDIR}"/${PN}-1.1.1-add-sysfs-c.patch + "${FILESDIR}"/${PN}-1.1.1-add-sysfs-h.patch + "${FILESDIR}"/${PN}-1.1.1-add-utils-c.patch + "${FILESDIR}"/${PN}-1.1.1-add-utils-h.patch + "${FILESDIR}"/${PN}-1.7.0-fix-git.patch + "${FILESDIR}"/${PN}-1.1.1-fix-makefile.patch + "${FILESDIR}"/${PN}-1.1.1-fix-nvc.patch + "${FILESDIR}"/${PN}-1.3.0-fix-nvc-info.patch + "${FILESDIR}"/${PN}-1.3.0-fix-nvc-mount.patch + "${FILESDIR}"/${PN}-1.3.0-fix-modprobe-utils-c.patch + "${FILESDIR}"/${PN}-1.3.0-fix-modprobe-utils-h.patch +) |