diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-21 11:00:46 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-21 11:01:40 +0100 |
commit | a86cc33d1a1435c269b2ab76d111293a08b9df78 (patch) | |
tree | 76b49e29fa1865a945dc62c358a2a752c786e90a /app-misc | |
parent | app-crypt/nitrocli: amd64 stable wrt bug #766237 (diff) | |
download | gentoo-a86cc33d1a1435c269b2ab76d111293a08b9df78.tar.gz gentoo-a86cc33d1a1435c269b2ab76d111293a08b9df78.tar.bz2 gentoo-a86cc33d1a1435c269b2ab76d111293a08b9df78.zip |
app-misc/mmv: Bump to version 1.01b_p19
Don't apply broken Debian patch (#661492)
Closes: https://bugs.gentoo.org/661492
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/mmv/Manifest | 1 | ||||
-rw-r--r-- | app-misc/mmv/mmv-1.01b_p19.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-misc/mmv/Manifest b/app-misc/mmv/Manifest index 35010770331b..7ecf2f8256a5 100644 --- a/app-misc/mmv/Manifest +++ b/app-misc/mmv/Manifest @@ -1,2 +1,3 @@ DIST mmv_1.01b-18.debian.tar.gz 13463 BLAKE2B db67247bddd38580401d8b1a18aa9ce82af42a994bfe60141066aa08e19a01f35903cc1d8184cb4271ebe2a4a187607a7c5a6a750c121caafdf71fdc0ccb8896 SHA512 3543aff53c67cab00689d4c8b778447c976a7860a569bd51f74534bec8bd3b67b9e12743bd03bc6fda930748abddd12e16f1965686cbce04bd48bf191fc4127b +DIST mmv_1.01b-19.debian.tar.xz 12436 BLAKE2B d75251528cfdbfc343880450481973dad932707c00af38b1bf4b74f917f3e74b0b60aea2aa5d65b8ee63edf8beea61bedd6fa1859f109a7c3e02eabbd0a1bbeb SHA512 86fb93180a8645a40f45d0b9331693f6a86fbe1a378857350c9573e45261e008ab2154836df09a4f569bc35b6601d0317a0f1f1a901530e26e391c3a25c666f5 DIST mmv_1.01b.orig.tar.gz 25656 BLAKE2B 4e3c7c27831fb5aeeb09461116330a993998da510b32a7ba3b1151c0d14a336eab7cf37bc3ac91720f38fb41258a60488e5d066b152d0c717f5413f8514d9026 SHA512 4bf4e096b930bdde225ba5de761e968af3aed33dc13194b1a1a79078cd27e158b04aae131b5167cf5f844e35355d67359443cd598db22da15a5af06752438917 diff --git a/app-misc/mmv/mmv-1.01b_p19.ebuild b/app-misc/mmv/mmv-1.01b_p19.ebuild new file mode 100644 index 000000000000..c5125cc5d68f --- /dev/null +++ b/app-misc/mmv/mmv-1.01b_p19.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DEB_PATCH_VER=${PV#*_p} +MY_VER=${PV%_p*} + +DESCRIPTION="Move/copy/append/link multiple files according to a set of wildcard patterns" +HOMEPAGE="https://packages.debian.org/unstable/utils/mmv" +SRC_URI=" + mirror://debian/pool/main/m/mmv/${PN}_${MY_VER}.orig.tar.gz + mirror://debian/pool/main/m/mmv/${PN}_${MY_VER}-${DEB_PATCH_VER}.debian.tar.xz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +S="${WORKDIR}/${PN}-${MY_VER}.orig" + +src_prepare() { + default + rm "${WORKDIR}"/debian/patches/better-diagnostics-for-directories-584850.diff \ + || die #661492 + eapply "${WORKDIR}"/debian/patches/*.diff +} + +src_compile() { + # i wonder how this works on other platforms if CFLAGS from makefile are + # overridden, see bug #218082 + [[ ${CHOST} == *-interix* ]] && append-flags -DIS_SYSV -DHAS_RENAME -DHAS_DIRENT + [[ ${CHOST} == *-interix* ]] || append-lfs-flags + + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin "${PN}" + dosym "${PN}" /usr/bin/mcp + dosym "${PN}" /usr/bin/mln + dosym "${PN}" /usr/bin/mad + + doman "${PN}.1" + newman "${PN}.1" mcp.1 + newman "${PN}.1" mln.1 + newman "${PN}.1" mad.1 + + dodoc ANNOUNCE "${WORKDIR}"/debian/{changelog,control} +} |