summaryrefslogtreecommitdiff
path: root/sys-apps/biosdevname
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/biosdevname
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/biosdevname')
-rw-r--r--sys-apps/biosdevname/Manifest5
-rw-r--r--sys-apps/biosdevname/biosdevname-0.7.2.ebuild24
-rw-r--r--sys-apps/biosdevname/metadata.xml14
3 files changed, 43 insertions, 0 deletions
diff --git a/sys-apps/biosdevname/Manifest b/sys-apps/biosdevname/Manifest
new file mode 100644
index 000000000000..f1f5aee1843a
--- /dev/null
+++ b/sys-apps/biosdevname/Manifest
@@ -0,0 +1,5 @@
+DIST biosdevname-0.7.2.tar.gz 193926 SHA256 954575f482ff5de2d49c335b563990859a3eb3506e8fa976f6915eba870d71f6 SHA512 2b71d33b3c7ab6c19f6129763a4c044f9cb4cbc43aec0e0d2a83177d8edb1440c17ffc4ab2eae448ae997dcb4b52315f8266c2e4010367f9690e4552cba89502 WHIRLPOOL 8b04da13314ca391075939905b1ab9b072f249cc5e37d3a341bc187cc34c80f798e0134689d1877d6d334e760c46eab56dfa2cb50515571f6b4d4fdf3856a4fe
+EBUILD biosdevname-0.7.2.ebuild 610 SHA256 b915b84412175ceb5e52b701c32b8e527224c4a37195cfe3f43e30779128f68e SHA512 48a3dfb359d1b76f23ebed71d169da6f8eb0712cd5a7f60feb8effe296779b61a176b62ae32ae8d926c6b56171ee0f8847459861d35d24d4d5605e2e1634c909 WHIRLPOOL 4a5069713d1e9282d6fdb1ec1362121562f6fd5f26a30cd071540af39d1a8cff6033f6a6fb0315f2fd75bb833d4bf3b9f567cd3d95a6b0fc10b166d309b4bd59
+MISC ChangeLog 3699 SHA256 fe3736152c6951bc2d39315154c68f7299e0881512149cbec31376890bba63a0 SHA512 7a67b357096537c371df67c9dffde865f346448b38545a08cc20f9e3eeeae811bafe7932d50c2e14aefb248e78aaf70839a5395df94c0a72f35e5430b2a7d291 WHIRLPOOL c803c372afd5f3c26a99b57d81cbc78c70d192c9d65abc723c94022186a9cae0644dadca2f2f6fcb5cea2a1ea3e8f9b34e69c5f8cc8bda1e17e5f29203b93daa
+MISC ChangeLog-2015 3184 SHA256 887ec47dc0e09b8bbf10884e8700f2ad9f22a6dfcec8ae5762f7ef40a553155d SHA512 c7bae78175b236381c0416a7b680e5e9a48e819d2c990b6c6e25347d0b1884bdf048bab37ffe5493975f6c291d082df3ef8d4d3f4c573c57c114595ea4be937e WHIRLPOOL e41922538714f3a629bb415dadb628457c6591caa814ec91d40f3aa461cc46354b8a60a18d6e02999a28cc58a11eedb07567cf2a7b2b068ee4740cdf2d47aabd
+MISC metadata.xml 600 SHA256 ff087c0b2e3bb02d02e7d661c4d4167b2ac7b32940b29083bec34349d43d43dc SHA512 ce873c047cb223fc6ee65be31d373f23cff1b6b3a607497a4176315247756d0d9e642faa75b7de5176ad3cdb7870d2450246df05a15159a30ad6764065a61d91 WHIRLPOOL b25b5ca183089541434f797692020b834efbdf3ad09e4fbda07dbe56f4f500173989c174b6f230b74df70d34339d7e2e11f8539f5c2d662af758fc875db05e51
diff --git a/sys-apps/biosdevname/biosdevname-0.7.2.ebuild b/sys-apps/biosdevname/biosdevname-0.7.2.ebuild
new file mode 100644
index 000000000000..bfccd3161ba9
--- /dev/null
+++ b/sys-apps/biosdevname/biosdevname-0.7.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit udev
+
+DESCRIPTION="Sets BIOS-given device names instead of kernel eth* names"
+HOMEPAGE="http://linux.dell.com/biosdevname/"
+SRC_URI="http://linux.dell.com/biosdevname/${P}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+CDEPEND="virtual/udev"
+DEPEND="${CDEPEND}
+ sys-apps/pciutils"
+RDEPEND="${CDEPEND}"
+
+src_prepare() {
+ sed -i -e 's|/sbin/biosdevname|/usr\0|g' biosdevname.rules.in || die
+ sed -i -e "/RULEDEST/s:/lib/udev:$(get_udevdir):" configure{,.ac} || die
+}
diff --git a/sys-apps/biosdevname/metadata.xml b/sys-apps/biosdevname/metadata.xml
new file mode 100644
index 000000000000..c605f311bfad
--- /dev/null
+++ b/sys-apps/biosdevname/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>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+</maintainer>
+<longdescription lang="en">
+biosdevname in its simplest form takes a kernel device name as an argument, and
+returns the BIOS-given name it "should" be. This is necessary on systems where
+the BIOS name for a given device (e.g. the label on the chassis is "Gb1")
+doesn't map directly and obviously to the kernel name (e.g. eth0).
+</longdescription>
+</pkgmetadata>