summaryrefslogtreecommitdiff
path: root/app-emulation/lxc-templates
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/lxc-templates')
-rw-r--r--app-emulation/lxc-templates/Manifest4
-rw-r--r--app-emulation/lxc-templates/files/lxc-templates-3.0.1-no-cache-dir.patch12
-rw-r--r--app-emulation/lxc-templates/lxc-templates-3.0.1.ebuild28
-rw-r--r--app-emulation/lxc-templates/metadata.xml14
4 files changed, 58 insertions, 0 deletions
diff --git a/app-emulation/lxc-templates/Manifest b/app-emulation/lxc-templates/Manifest
new file mode 100644
index 000000000000..ddeccde351a8
--- /dev/null
+++ b/app-emulation/lxc-templates/Manifest
@@ -0,0 +1,4 @@
+AUX lxc-templates-3.0.1-no-cache-dir.patch 241 BLAKE2B ba9fc4fe3d663384a64600977de1c5aba413e876e6ca43464b5f5986d21d5e01729c82eb1e6ea03b087644611b9fc7bf083436e467bc69e2b3779020ca287984 SHA512 504721074d9aa4c1d71e5fb5f59c8179cbb0247b6d56d7622a68a7c55a5fdd5fa25cb92199e5400457f1bf2e4bc8e2d91d5169fb02180688c7bbca655881bdb5
+DIST lxc-templates-3.0.1.tar.gz 256074 BLAKE2B 8a5dab2d69fbc29e0246a0853690726c07d24e0fe6d4e761d8ec8b4559cdf285a82e17c8f4d2a6bf2355896c667000d4341511b3c5f1805a55849b4812eb7efe SHA512 cae47b670654dc6c143827d196f0477c5354cb6d81ae4028192622fb73912e8bb3b62a0a68786e9212885bb52b593c6e742cfbfefb70ec33260d599e5d5c8290
+EBUILD lxc-templates-3.0.1.ebuild 516 BLAKE2B 33bfbce343805b0a4ff0a8f154d57a89027ed83047fd27fed299c3155908a4943b89ab18ae9c84e294d8249a752b8f1bd0c5db8efa4d5de42c1913267602bab8 SHA512 9d2d40937d4a87937322538fe0a99f3f9e4364203b318c503cc0bdfaf9cff9810c7c89a54950d2b83744d49e9b795c0ad22d375e8e17ee4a15b54be095d51bc4
+MISC metadata.xml 446 BLAKE2B d0b14eed14b0882b35ddb982ba432f6a5a3b63fdf8bb1c926c9d0db7b9cf7757c78cccca1244cd039d0db7e52c360e99c3fc0a2e915653543d5416054fec62af SHA512 473e0a28d72d39643f91e17910481331b1732b07e4cd74bac024c8a5a933e40a838948d5a8b0bef808332eac751422f7f88ec91501f63b779763606b71696acc
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>