From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 41DA2138334 for ; Sat, 10 Nov 2018 17:55:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B578E0CB7; Sat, 10 Nov 2018 17:55:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0CE4E0CB7 for ; Sat, 10 Nov 2018 17:55:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0096D335CCB for ; Sat, 10 Nov 2018 17:55:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A6A43DB for ; Sat, 10 Nov 2018 17:55:08 +0000 (UTC) From: "Hanno Boeck" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hanno Boeck" Message-ID: <1541872497.9f177a3055b06a3bf070ca91da8520d3ac71d4eb.hanno@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/md4sum/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/md4sum/md4sum-0.02.03-r2.ebuild X-VCS-Directories: app-crypt/md4sum/ X-VCS-Committer: hanno X-VCS-Committer-Name: Hanno Boeck X-VCS-Revision: 9f177a3055b06a3bf070ca91da8520d3ac71d4eb X-VCS-Branch: master Date: Sat, 10 Nov 2018 17:55:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d9d668cc-cdbe-440f-b6d0-9f0bc965e5e0 X-Archives-Hash: 1c992554869c4a89dc0c06282b755018 commit: 9f177a3055b06a3bf070ca91da8520d3ac71d4eb Author: Hanno gentoo org> AuthorDate: Sat Nov 10 17:54:57 2018 +0000 Commit: Hanno Boeck gentoo org> CommitDate: Sat Nov 10 17:54:57 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f177a30 app-crypt/md4sum: EAPI 7, HTTPS links, cleanup. Closes: https://github.com/gentoo/gentoo/pull/9030 Closes: https://bugs.gentoo.org/663038 Signed-off-by: Hanno Boeck gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.12 app-crypt/md4sum/md4sum-0.02.03-r2.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/app-crypt/md4sum/md4sum-0.02.03-r2.ebuild b/app-crypt/md4sum/md4sum-0.02.03-r2.ebuild new file mode 100644 index 00000000000..8198a1631ad --- /dev/null +++ b/app-crypt/md4sum/md4sum-0.02.03-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="md4 and edonkey hash algorithm tool" +HOMEPAGE="https://linux.xulin.de/c/" +SRC_URI="https://linux.xulin.de/c/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +PATCHES=( "${FILESDIR}"/md4sum-fix-out-of-bounds-write.diff ) + +src_prepare() { + default + sed -i -e "s:CFLAGS=:CFLAGS=${CFLAGS} :g" \ + -e "s:install -s:install:g" Makefile.Linux || die +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 +}