summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Cepoi <alex.cepoi@gmail.com>2015-04-28 01:27:36 +0100
committerlayman <layman@localhost>2015-04-28 01:28:27 +0100
commitf4c60df85d802c440c37ada0ca6f1903f41308ca (patch)
treeb135585c199881a344f4177e70d7a00bef856f3a /dev-perl/Linux-Distribution
parentdeleted nailer (use ffmpegthumbnailer) (diff)
downloadalexcepoi-f4c60df85d802c440c37ada0ca6f1903f41308ca.tar.gz
alexcepoi-f4c60df85d802c440c37ada0ca6f1903f41308ca.tar.bz2
alexcepoi-f4c60df85d802c440c37ada0ca6f1903f41308ca.zip
clean up repo, add linode-longview and rcm
Diffstat (limited to 'dev-perl/Linux-Distribution')
-rw-r--r--dev-perl/Linux-Distribution/Linux-Distribution-0.210.0.ebuild20
-rw-r--r--dev-perl/Linux-Distribution/Manifest4
-rw-r--r--dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch11
-rw-r--r--dev-perl/Linux-Distribution/metadata.xml9
4 files changed, 44 insertions, 0 deletions
diff --git a/dev-perl/Linux-Distribution/Linux-Distribution-0.210.0.ebuild b/dev-perl/Linux-Distribution/Linux-Distribution-0.210.0.ebuild
new file mode 100644
index 0000000..3d568a6
--- /dev/null
+++ b/dev-perl/Linux-Distribution/Linux-Distribution-0.210.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+MODULE_AUTHOR=CHORNY
+MODULE_VERSION=0.21
+PATCHES=( "${FILESDIR}/quotes-in-lsb-release.patch" )
+inherit perl-module
+
+DESCRIPTION="Detect on which Linux distribution we are running"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=""
+
+SRC_TEST=do
diff --git a/dev-perl/Linux-Distribution/Manifest b/dev-perl/Linux-Distribution/Manifest
new file mode 100644
index 0000000..567984b
--- /dev/null
+++ b/dev-perl/Linux-Distribution/Manifest
@@ -0,0 +1,4 @@
+AUX quotes-in-lsb-release.patch 476 SHA256 6009b63d93dc25e5f39acd944440c61de83a854372d9462c2790dfee68579aa1 SHA512 4d46bd6c5d8d56d1fcdd1ecb55837830379a9f66b0f372ac023961f0114a463f2cd6b1d08ceee7c6c29e4b588e2df0e841f7fe81ee41af333fba1b753094bf7b WHIRLPOOL a3dafd6b3ba81d6f9edad796d6d1c3f857ebecc705ab2acdccd2da084e479f93c3c249e364435718a3f5b5d7e58091c72ed827a5d5ac588faa1b9c95bdc769c0
+DIST Linux-Distribution-0.21.tar.gz 7020 SHA256 43e3a60929afcb48cd73488dfd561a3afe9661f9b3492a675feb0caba54508ab SHA512 087b022ca2034f0a20c085618c809653cb3d67fb640cb5091e02dd4f754a2eff19dd288f9f7125a36543579ab13508e4d70c3d8e79923d619c43b781790e20fd WHIRLPOOL 1ddc8f2bbc08797cfcc45e18737120f5ae92d5196bd245232319fe18b47bc980d7c47de1176b05e0ccf73b558b317716badba2908a2818354b8725ef9a583f23
+EBUILD Linux-Distribution-0.210.0.ebuild 373 SHA256 e03d768afe480338a299e9c8bf5ce670ef3025317bc0f08a0b16f06212a40fb1 SHA512 e99de3070f0331a0229b89dab2be4a636a2a2dcf7d3a376fd2b6adfd206a22d878e67a86abb888c9a76d3015425dedfd1337d4ab8e88c8d7ebaf95dcd6b6322d WHIRLPOOL 2b9daec7d0b293112ff1d7f06f3a6ea2fdaaaf7bc59332417d2c2bbe6b089b4cf78c9b73741d44fe9e9f768d94f5a195be8c5e353d7ffdac5e4d9e26b2e862d5
+MISC metadata.xml 310 SHA256 58b112858e93ba81e3aa376e1ae45980c189fc8ddd13c55405c282cd10cf5b17 SHA512 00e19f33458c2d6e87265ae095db8fe2ed13f02d830c63c5140ea463b0786b7cd2116db1f60be8349aecf303fc2947a4ed82ee3c239ed470005057da5a18f114 WHIRLPOOL 39a2bd2c50226dbec2e8aaf286396ac54728a8d9c5ad6886eff74089f13b11711946f93e06509510821944c096beeadc505284fc99b0793d216efcc03564abcd
diff --git a/dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch b/dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch
new file mode 100644
index 0000000..5ed6bf2
--- /dev/null
+++ b/dev-perl/Linux-Distribution/files/quotes-in-lsb-release.patch
@@ -0,0 +1,11 @@
+--- a/lib/Linux/Distribution.pm
++++ b/lib/Linux/Distribution.pm
+@@ -138,7 +138,7 @@
+ my $tmp = $self->{'release_file'};
+ if ( -r "$release_files_directory/" . $standard_release_file ) {
+ $self->{'release_file'} = $standard_release_file;
+- $self->{'pattern'} = $field . '=(.+)';
++ $self->{'pattern'} = $field . '=(?:")?([^"]+)(?:")?';
+ my $info = $self->_get_file_info();
+ if ($info){
+ $self->{$field} = $info;
diff --git a/dev-perl/Linux-Distribution/metadata.xml b/dev-perl/Linux-Distribution/metadata.xml
new file mode 100644
index 0000000..ff790b7
--- /dev/null
+++ b/dev-perl/Linux-Distribution/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <upstream>
+ <remote-id type="cpan">Linux-Distribution</remote-id>
+ <remote-id type="cpan-module">Linux::Distribution</remote-id>
+ </upstream>
+</pkgmetadata>