From c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Feb 2021 21:41:11 +0000 Subject: gentoo (valentine's day) resync : 14.02.2021 --- sys-fs/dosfstools/Manifest | 2 ++ sys-fs/dosfstools/dosfstools-4.2.ebuild | 38 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 sys-fs/dosfstools/dosfstools-4.2.ebuild (limited to 'sys-fs/dosfstools') diff --git a/sys-fs/dosfstools/Manifest b/sys-fs/dosfstools/Manifest index cf9753f82691..bb3d3711c9af 100644 --- a/sys-fs/dosfstools/Manifest +++ b/sys-fs/dosfstools/Manifest @@ -1,3 +1,5 @@ DIST dosfstools-4.1.tar.xz 172936 BLAKE2B d8ef617d9dbdc21318c4f43e2fd6dca1d3452ab46253b055d8fef09aa693bcf63ef58076a49f305bb21de87298bae5be6b626065dfcbd90935af68709e2c3c6a SHA512 e7a8aab34255d15e6865a7b031971352af1255134fab83389673bcc3cbd6ba255241bd2429070aeb4b927f8d7d73ccf1aeafe94566b133e88e7586897c317b78 +DIST dosfstools-4.2.tar.gz 320917 BLAKE2B c55c7592aa80f1fe39e838c83e147ad7141ddd0f72c9c000ba7708ecb7287c3a92b4b52f72c8d0d1171b0f9609dfb7861bbbe475c5cbd7011151c93c2b1d3d0d SHA512 3cc0808edb4432428df8a67da4bb314fd1f27adc4a05754c1a492091741a7b6875ebd9f6a509cc4c5ad85643fc40395b6e0cadee548b25cc439cc9b725980156 EBUILD dosfstools-4.1.ebuild 1026 BLAKE2B 98bcc331cc8e6e4837eff7d74a8d71e40646d1a8ebcb208d5a34fa34bbb8161906e74b4470d22b8f3a95ec125990f01e2ae8bf8aff338563e50af0b1b5a7dd04 SHA512 c2ae1a386ba2b21fc8d15d8163d79ee5ce28285d9f3b418cebb2a7dcf646eecf94824a496eb7851b51392bba87b5820a2a9095f7a60786d2816f90ceddb497e4 +EBUILD dosfstools-4.2.ebuild 964 BLAKE2B f32f6ae1fcd08b2f37d6b6c5d0571722bac6475a3b3c8e9eb4f9a089068320bb3d7423c34d922c7e7311108aac47e76a044decf8bb07fb12369801894d12d523 SHA512 e7b3708d2c79ece0dd5d8c0c3b467bb0250d08a94bb01f5de08ff51fe8d4d941767f444dee41ef9c941eeefa17d3e945f4ac79626fe839fdf0746c64f7f3843a MISC metadata.xml 496 BLAKE2B 32b7ed76d0385441b8a40fff8ca15d6848fce7cf1ae511a6905d3c12b8a7593bbc11494f7ca720c465f61175d8d84cd9e6d41f084a140fce88513c6b95965615 SHA512 40b886dc36d892d733a6a6528eed5dec3977eecb71a22b5cee2ea6c0417401951b966509c3816ed5a2761eae4b8c5def7ef5e99d9aedab2e09000a3f3de6b354 diff --git a/sys-fs/dosfstools/dosfstools-4.2.ebuild b/sys-fs/dosfstools/dosfstools-4.2.ebuild new file mode 100644 index 000000000000..c6c4bfbe5915 --- /dev/null +++ b/sys-fs/dosfstools/dosfstools-4.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat" +HOMEPAGE="https://github.com/dosfstools/dosfstools" +SRC_URI="https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="compat +iconv test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( app-editors/vim-core ) + iconv? ( virtual/libiconv ) +" + +src_configure() { + local myeconfargs=( + $(use_enable compat compat-symlinks) + $(use_with iconv) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + if ! use compat ; then + # Keep fsck -t vfat and mkfs -t vfat working, bug 584980. + dosym fsck.fat /usr/sbin/fsck.vfat + dosym mkfs.fat /usr/sbin/mkfs.vfat + fi +} -- cgit v1.2.3