summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-apps/biosdevname
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-apps/biosdevname')
-rw-r--r--sys-apps/biosdevname/Manifest4
-rw-r--r--sys-apps/biosdevname/biosdevname-0.3.11-r1.ebuild40
-rw-r--r--sys-apps/biosdevname/biosdevname-0.4.0.ebuild40
-rw-r--r--sys-apps/biosdevname/biosdevname-0.4.1.ebuild42
-rw-r--r--sys-apps/biosdevname/biosdevname-0.6.1.ebuild25
-rw-r--r--sys-apps/biosdevname/metadata.xml14
6 files changed, 165 insertions, 0 deletions
diff --git a/sys-apps/biosdevname/Manifest b/sys-apps/biosdevname/Manifest
new file mode 100644
index 000000000000..9518dd56d556
--- /dev/null
+++ b/sys-apps/biosdevname/Manifest
@@ -0,0 +1,4 @@
+DIST biosdevname-0.3.11.tar.gz 186408 SHA256 02c127f7fff76127cd6006e7cdd9da9335035bcb3e0a0fcf039fbb5c0f5d2dc0 SHA512 2c96c8c8163c5fd74735c52881d448af731bac875c4825ba54608a2b100de70bc2003edda86f1d1ed3597260177d572348e2358f1663a788f193e20e5d50f719 WHIRLPOOL 860815bd928459779f4def4953a04fa2ce8b7caeb8370bf2c1e3e4db87e29d2deac4318b7d12ff4415ad0c0ef166cae7470ce83601330ad9afc6a36603da6db1
+DIST biosdevname-0.4.0.tar.gz 187775 SHA256 7d567ea8081bc83c6fe17fa32bf8e2b852636a733f5e4d9d583fedeb2f48e21b SHA512 0607f6c04725b4df58becfc6d3b16139397e0ab0f172ac137c670115c8d1a3b2849266e0d801b635d8e4aa4b3ac662a0f356835df0c4d05bfee6ff3e6459c1d8 WHIRLPOOL f2fe757b0f00c90252594cb38d499250c987a012135f1aa73eb3679e81f12fee44606476a21ef175c7c2b254ce5a0f5936b90dd9605e7274f5fd42f7d5398906
+DIST biosdevname-0.4.1.tar.gz 187782 SHA256 230e5bffd17f46b6d820faa46ea79ace3eecaf919852ee7ff231e73f6b9f8fe7 SHA512 1c7534dd31acbba7121fc4f904d828b6bfc035248cde3366a58f4596f601c81618b44a96d67b99d4a17cf8d985c971be41196134f6d43ae63b4f8cd4308bed22 WHIRLPOOL 33917ad8ed6493b3fd6b5880e592031fc028e975e428cc9b2b5b16b299f5be647baac6a601c70b9422931a1cf6f98133944e18e9355afe2a0453d456e4697407
+DIST biosdevname-0.6.1.tar.gz 195604 SHA256 b43580589a3f40afc836afbff9bcd837224c710b75a4d0b576f2e4d44ec158cc SHA512 46962c50618eb87c3ade5f4866bbb3fddb75f3a450bc32610d54062375b53bcd4c2f17cc3d729335c7d582043d0b491c8d8e1dc50d7de9c7683846b8dc8b0d77 WHIRLPOOL 9fa40a118ca57dd4e1a226ab0bea117f0291b0ee8807a5c2a9a56ef850d52d9500bb59a0d9e1fcba4cb87e85f269c76216bbee4eb331906cfa545b69ef3c6774
diff --git a/sys-apps/biosdevname/biosdevname-0.3.11-r1.ebuild b/sys-apps/biosdevname/biosdevname-0.3.11-r1.ebuild
new file mode 100644
index 000000000000..cc48a0776f54
--- /dev/null
+++ b/sys-apps/biosdevname/biosdevname-0.3.11-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+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 -e 's|/sbin/biosdevname|/usr\0|g' -i "${S}"/biosdevname.rules.in
+}
+
+pkg_postinst() {
+ elog "To make it working you need to remove"
+ elog ""
+ elog " /etc/udev/rules.d/70-persistent-net.rules"
+ elog ""
+ elog "and then reboot the machine. After reboot ethernet devices names will"
+ elog "change to the ones reported by BIOS. For more information you might"
+ elog "want to read following document:"
+ elog ""
+ elog " http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming"
+ elog ""
+ elog "To disable this feature, pass biosdevname=0 to kernel command line."
+ elog ""
+ elog "If you use Dracut, you might want to enable 'biosdevname' module"
+ elog "(in DRACUT_MODULES variable)."
+}
diff --git a/sys-apps/biosdevname/biosdevname-0.4.0.ebuild b/sys-apps/biosdevname/biosdevname-0.4.0.ebuild
new file mode 100644
index 000000000000..cc48a0776f54
--- /dev/null
+++ b/sys-apps/biosdevname/biosdevname-0.4.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+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 -e 's|/sbin/biosdevname|/usr\0|g' -i "${S}"/biosdevname.rules.in
+}
+
+pkg_postinst() {
+ elog "To make it working you need to remove"
+ elog ""
+ elog " /etc/udev/rules.d/70-persistent-net.rules"
+ elog ""
+ elog "and then reboot the machine. After reboot ethernet devices names will"
+ elog "change to the ones reported by BIOS. For more information you might"
+ elog "want to read following document:"
+ elog ""
+ elog " http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming"
+ elog ""
+ elog "To disable this feature, pass biosdevname=0 to kernel command line."
+ elog ""
+ elog "If you use Dracut, you might want to enable 'biosdevname' module"
+ elog "(in DRACUT_MODULES variable)."
+}
diff --git a/sys-apps/biosdevname/biosdevname-0.4.1.ebuild b/sys-apps/biosdevname/biosdevname-0.4.1.ebuild
new file mode 100644
index 000000000000..72022c9aefe7
--- /dev/null
+++ b/sys-apps/biosdevname/biosdevname-0.4.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+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
+}
+
+pkg_postinst() {
+ elog "To make it working you need to remove"
+ elog ""
+ elog " /etc/udev/rules.d/70-persistent-net.rules"
+ elog ""
+ elog "and then reboot the machine. After reboot ethernet devices names will"
+ elog "change to the ones reported by BIOS. For more information you might"
+ elog "want to read following document:"
+ elog ""
+ elog " http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming"
+ elog ""
+ elog "To disable this feature, pass biosdevname=0 to kernel command line."
+ elog ""
+ elog "If you use Dracut, you might want to enable 'biosdevname' module"
+ elog "(in DRACUT_MODULES variable)."
+}
diff --git a/sys-apps/biosdevname/biosdevname-0.6.1.ebuild b/sys-apps/biosdevname/biosdevname-0.6.1.ebuild
new file mode 100644
index 000000000000..04c74128faa7
--- /dev/null
+++ b/sys-apps/biosdevname/biosdevname-0.6.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+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..030bf464fc66
--- /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>
+ <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>