diff options
author | Virgil Dupras <vdupras@gentoo.org> | 2018-06-15 21:56:23 -0400 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2018-06-15 22:20:14 -0400 |
commit | 9d9ac0168727ce29fc6545e6be233dfa5b04efd0 (patch) | |
tree | 6f5cef98450f48a81c5048dc6879d601c833948a /app-emulation/lxc-templates | |
parent | dev-libs/libressl: security bump (diff) | |
download | gentoo-9d9ac0168727ce29fc6545e6be233dfa5b04efd0.tar.gz gentoo-9d9ac0168727ce29fc6545e6be233dfa5b04efd0.tar.bz2 gentoo-9d9ac0168727ce29fc6545e6be233dfa5b04efd0.zip |
app-emulation/lxc-templates: new package
Since v3.0, LXC has been shipping old style templates separately.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-emulation/lxc-templates')
4 files changed, 55 insertions, 0 deletions
diff --git a/app-emulation/lxc-templates/Manifest b/app-emulation/lxc-templates/Manifest new file mode 100644 index 000000000000..09f2ddd54d91 --- /dev/null +++ b/app-emulation/lxc-templates/Manifest @@ -0,0 +1 @@ +DIST lxc-templates-3.0.1.tar.gz 256074 BLAKE2B 8a5dab2d69fbc29e0246a0853690726c07d24e0fe6d4e761d8ec8b4559cdf285a82e17c8f4d2a6bf2355896c667000d4341511b3c5f1805a55849b4812eb7efe SHA512 cae47b670654dc6c143827d196f0477c5354cb6d81ae4028192622fb73912e8bb3b62a0a68786e9212885bb52b593c6e742cfbfefb70ec33260d599e5d5c8290 diff --git a/app-emulation/lxc-templates/files/lxc-templates-3.0.1-no-cache-dir.patch b/app-emulation/lxc-templates/files/lxc-templates-3.0.1-no-cache-dir.patch new file mode 100644 index 000000000000..d7e50fd3712b --- /dev/null +++ b/app-emulation/lxc-templates/files/lxc-templates-3.0.1-no-cache-dir.patch @@ -0,0 +1,12 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -10,9 +10,5 @@ EXTRA_DIST = \ + CONTRIBUTING \ + MAINTAINERS + +-install-data-local: +- $(MKDIR_P) $(DESTDIR)$(LXCPATH) +- $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc +- + ChangeLog:: + @touch ChangeLog diff --git a/app-emulation/lxc-templates/lxc-templates-3.0.1.ebuild b/app-emulation/lxc-templates/lxc-templates-3.0.1.ebuild new file mode 100644 index 000000000000..528f6b711d1d --- /dev/null +++ b/app-emulation/lxc-templates/lxc-templates-3.0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Old style template scripts for LXC" +HOMEPAGE="https://linuxcontainers.org/" +SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +LICENSE="LGPL-3" +SLOT="0" + +RDEPEND=" + >=app-emulation/lxc-3.0" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-no-cache-dir.patch" ) +DOCS=() + +src_prepare() { + default + eautoreconf +} diff --git a/app-emulation/lxc-templates/metadata.xml b/app-emulation/lxc-templates/metadata.xml new file mode 100644 index 000000000000..17c33883e5bc --- /dev/null +++ b/app-emulation/lxc-templates/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vdupras@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>virtualization@gentoo.org</email> + <name>Gentoo Virtualization Project</name> + </maintainer> + <upstream> + <remote-id type="github">lxc/lxc-templates</remote-id> + </upstream> +</pkgmetadata> |