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 1B7D0139085 for ; Fri, 13 Jan 2017 23:32:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 877E621C0A1; Fri, 13 Jan 2017 23:32:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5ECEF21C0A1 for ; Fri, 13 Jan 2017 23:32:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8AF50341820 for ; Fri, 13 Jan 2017 23:32:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A6662632 for ; Fri, 13 Jan 2017 23:32:48 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1484350356.8b123cf68379fd14d57179b2348fe55f6d1cf8bc.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/mhash/mhash-0.9.9.9-r2.ebuild X-VCS-Directories: app-crypt/mhash/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: 8b123cf68379fd14d57179b2348fe55f6d1cf8bc X-VCS-Branch: master Date: Fri, 13 Jan 2017 23:32:48 +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: e339de10-e6d5-4d89-9a77-5c410f352092 X-Archives-Hash: aad3879018024e905dafd6215182de0f commit: 8b123cf68379fd14d57179b2348fe55f6d1cf8bc Author: Alon Bar-Lev gentoo org> AuthorDate: Fri Jan 13 23:05:31 2017 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Fri Jan 13 23:32:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b123cf6 app-crypt/mhash: eapi bump Package-Manager: portage-2.3.0 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild new file mode 100644 index 00000000..47b8485 --- /dev/null +++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="library providing a uniform interface to a large number of hash algorithms" +HOMEPAGE="http://mhash.sourceforge.net/" +SRC_URI="mirror://sourceforge/mhash/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND="" +DEPEND="dev-lang/perl" # pod2html + +PATCHES=( + "${FILESDIR}/${PN}-0.9.9-fix-mem-leak.patch" + "${FILESDIR}/${PN}-0.9.9-fix-snefru-segfault.patch" + "${FILESDIR}/${PN}-0.9.9-fix-whirlpool-segfault.patch" + "${FILESDIR}/${PN}-0.9.9-autotools-namespace-stomping.patch" + "${FILESDIR}/${P}-remove_premature_free.patch" + "${FILESDIR}/${P}-force64bit-tiger.patch" + "${FILESDIR}/${P}-align.patch" + "${FILESDIR}/${P}-alignment.patch" +) + +DOCS=( + doc/{example.c,skid2-authentication} + doc/mhash.html +) + +src_prepare() { + default + sed -i \ + -e 's/--netscape//' \ + "${S}"/doc/Makefile.in +} + +src_configure() { + # https://sourceforge.net/p/mhash/patches/11/ + export ac_cv_func_malloc_0_nonnull=yes + + econf $(use_enable static-libs static) +} + +src_compile() { + default + emake -C doc mhash.html +} + +src_install() { + default + prune_libtool_files +}