diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-07 00:00:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-07 00:00:56 +0100 |
commit | 7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 (patch) | |
tree | 02bad8e4f1f060d4858a1a2ec3fc9404f0b7a197 /sys-apps/biosdevname | |
parent | 43c2a85d4e20318dd3d35872e348707900870067 (diff) |
gentoo auto-resync : 07:05:2024 - 00:00:56
Diffstat (limited to 'sys-apps/biosdevname')
-rw-r--r-- | sys-apps/biosdevname/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/biosdevname/biosdevname-0.7.3-r1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/biosdevname/Manifest b/sys-apps/biosdevname/Manifest index 95ba9f21c029..9e30b3b99e19 100644 --- a/sys-apps/biosdevname/Manifest +++ b/sys-apps/biosdevname/Manifest @@ -1,3 +1,4 @@ DIST biosdevname-0.7.3.tar.gz 96231 BLAKE2B d572b15f86ba1ddaba191f859afcfbd39fa0fe397ee6968ab794e217d37b875b9f9d20c219cb44f62fc5d3fede7aa487963f54423ca20086c75c15b17d755c8e SHA512 9cd2b7d115d6ee487f4aafa21b00025a3917d3c89489fe70ab3de8aa979158477a1d0b5287101b7cec7200fef0d2f6894a0e6389a174d6f8670dcd7530dc445d +EBUILD biosdevname-0.7.3-r1.ebuild 736 BLAKE2B 47295a2b2562cb2f29f135e2f1da68c31375fa5c6c6837cf78c42ea96446c3bb58c699fb5363632ea882af8add07d7e787b8a5a1cdc5dab89d465a61882bfce3 SHA512 aef9cc5cb1b5b9122272f2abf88f797ddcbc2ba16ccf59b40654b592e1267458398a12be95a304e439691a6423c2b59c72a863605c29f636a8d6297ef30a03ca EBUILD biosdevname-0.7.3.ebuild 626 BLAKE2B e1b95694af9223e0ed37998155a1ef21dacc216f8192d1fce9a8dd6d57a9c6620cc49027d0ed052cf1288c4b88f7816778abba58a91923812cef620671c09934 SHA512 b9447820c7d320bcdfe1f08a3c5f06755cb2fa29e1894181f4ffefec208f03ec622c82154e35ff3e6c09b4cb95abd35bfaac94893da49c50067e190dca40f0d1 MISC metadata.xml 603 BLAKE2B fdeffd51ab9a0e2590d6d14b0c4caaa515a4a0e32ae64d2d84b81be0657e676647decc11c2d5e5bdbbf878c6e98cac345263c113b502d50d4ee742b5c93275b1 SHA512 da4bfe4ceb9e097750173c5bdb5d9ff024afb927ddd9e9240824e73a1f27352ff22d5dce52b6b6d1d8cdc711eff13d594db7801b1be4d152477287c8f0c4c339 diff --git a/sys-apps/biosdevname/biosdevname-0.7.3-r1.ebuild b/sys-apps/biosdevname/biosdevname-0.7.3-r1.ebuild new file mode 100644 index 000000000000..9a09515f1a4f --- /dev/null +++ b/sys-apps/biosdevname/biosdevname-0.7.3-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools udev + +DESCRIPTION="Sets BIOS-given device names instead of kernel eth* names" +HOMEPAGE=" + https://linux.dell.com/biosdevname/ + https://github.com/dell/biosdevname +" +SRC_URI="https://github.com/dell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + virtual/udev + sys-apps/pciutils +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + + 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 + + eautoreconf +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |