summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-12-20 01:06:09 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-12-20 18:24:36 -0800
commit34a0feee2c612f0449d00c918825bd12b7beb01c (patch)
tree47c51cf010f1f76c7938607f861fb4b6b31f217f /app-containers
parentMove {app-emulation -> app-containers}/lxd (diff)
downloadgentoo-34a0feee2c612f0449d00c918825bd12b7beb01c.tar.gz
gentoo-34a0feee2c612f0449d00c918825bd12b7beb01c.tar.bz2
gentoo-34a0feee2c612f0449d00c918825bd12b7beb01c.zip
Move {app-emulation -> app-containers}/lxc-templates
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/lxc-templates/Manifest2
-rw-r--r--app-containers/lxc-templates/files/lxc-templates-3.0.1-no-cache-dir.patch12
-rw-r--r--app-containers/lxc-templates/lxc-templates-3.0.4.ebuild30
-rw-r--r--app-containers/lxc-templates/metadata.xml15
4 files changed, 59 insertions, 0 deletions
diff --git a/app-containers/lxc-templates/Manifest b/app-containers/lxc-templates/Manifest
new file mode 100644
index 000000000000..292a5eb8bce9
--- /dev/null
+++ b/app-containers/lxc-templates/Manifest
@@ -0,0 +1,2 @@
+DIST lxc-templates-3.0.4.tar.gz 257015 BLAKE2B 599c0cb083cf358c8252467b3870450e754b2aa30daf8d72e07e746ce37e2fb26fecc0adf416325c9e02b1f98f5745af5985360e9494e5ed54a242a3e17330d4 SHA512 e5b628b40e7108fca858dbd9ae92495016069ff3cba7feb34e9559c7f61dfc36944a9ef441369952a988e821f8b5d883ae97b81f6eef0683a22f1f702b5b913e
+DIST lxc-templates-3.0.4.tar.gz.asc 833 BLAKE2B a125e46200cbc1bce6a721ba338b6c896098711a7454ee18a153b9e7a3d25e08ea29cf13accf25e8af085865237fe4b20d633c92d71103213a49ba7d80de0154 SHA512 1195a3d835935606af405af77d5ee629dc7b7c0f05a17c05df191f6275c8e7ebec9eb05201bbfb46060af5a36aba4f17b53122904fd10f2d8b28524f4e5b5e71
diff --git a/app-containers/lxc-templates/files/lxc-templates-3.0.1-no-cache-dir.patch b/app-containers/lxc-templates/files/lxc-templates-3.0.1-no-cache-dir.patch
new file mode 100644
index 000000000000..d7e50fd3712b
--- /dev/null
+++ b/app-containers/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-containers/lxc-templates/lxc-templates-3.0.4.ebuild b/app-containers/lxc-templates/lxc-templates-3.0.4.ebuild
new file mode 100644
index 000000000000..f8ce13079521
--- /dev/null
+++ b/app-containers/lxc-templates/lxc-templates-3.0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools verify-sig
+
+DESCRIPTION="Old style template scripts for LXC"
+HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc-templates"
+SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz
+ verify-sig? ( https://linuxcontainers.org/downloads/lxc/${P}.tar.gz.asc )"
+
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+
+LICENSE="LGPL-3"
+SLOT="0"
+
+RDEPEND=">=app-emulation/lxc-3.0"
+DEPEND="${RDEPEND}"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+PATCHES=( "${FILESDIR}/${PN}-3.0.1-no-cache-dir.patch" )
+DOCS=()
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+src_prepare() {
+ default
+ eautoreconf
+}
diff --git a/app-containers/lxc-templates/metadata.xml b/app-containers/lxc-templates/metadata.xml
new file mode 100644
index 000000000000..7761d238525c
--- /dev/null
+++ b/app-containers/lxc-templates/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>juippis@gentoo.org</email>
+ <name>Joonas Niilola</name>
+ </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>