[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/, app-crypt/mhash/files/

2024-01-06 Thread Yixun Lan
commit: 2da114edf6cb70c8e2a05a1e337330144abd21ad
Author: Christopher Fore  posteo  net>
AuthorDate: Sat Jan  6 00:06:11 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan  6 10:23:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2da114ed

app-crypt/mhash: fix compilation on GCC 14

Closes: https://bugs.gentoo.org/919700
Closes: https://github.com/gentoo/gentoo/pull/34665
Signed-off-by: Christopher Fore  posteo.net>
Signed-off-by: Yixun Lan  gentoo.org>

 app-crypt/mhash/files/mhash-0.9.9.9-cast-temp-64bit.patch | 13 +
 app-crypt/mhash/mhash-0.9.9.9-r3.ebuild   |  3 ++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/app-crypt/mhash/files/mhash-0.9.9.9-cast-temp-64bit.patch 
b/app-crypt/mhash/files/mhash-0.9.9.9-cast-temp-64bit.patch
new file mode 100644
index ..3b173f8072cb
--- /dev/null
+++ b/app-crypt/mhash/files/mhash-0.9.9.9-cast-temp-64bit.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/tiger.c b/lib/tiger.c
+index 8f15df4..8d28f27 100644
+--- a/lib/tiger.c
 b/lib/tiger.c
+@@ -254,7 +254,7 @@ void tiger_final(struct tiger_ctx *ctx)
+   register mutils_word64 i, j;
+   /* Force 64-bit alignment */
+   mutils_word64 temp_64bit[TIGER_DATASIZE/8];
+-  mutils_word8 *temp = temp_64bit;
++  mutils_word8 *temp = (mutils_word8 *) temp_64bit;
+   i = ctx->index;
+   
+ #if defined(WORDS_BIGENDIAN)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
index 59e8dcb9010e..092842a0b701 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -27,6 +27,7 @@ PATCHES=(
"${FILESDIR}"/${P}-alignment.patch
"${FILESDIR}"/${P}-no-malloc-check.patch
"${FILESDIR}"/${P}-hmac-uaf-test.patch
+   "${FILESDIR}"/${P}-cast-temp-64bit.patch
 )
 
 DOCS=( doc/example.c doc/skid2-authentication )



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/files/, app-crypt/mhash/

2023-12-20 Thread Sam James
commit: 62b38c216dc300d3300f24a19d8de5ff6fc644bb
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 20 10:34:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 20 10:35:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b38c21

app-crypt/mhash: fix UAF in tests

Closes: https://bugs.gentoo.org/914173
Signed-off-by: Sam James  gentoo.org>

 .../mhash/files/mhash-0.9.9.9-hmac-uaf-test.patch | 19 +++
 app-crypt/mhash/mhash-0.9.9.9-r3.ebuild   |  1 +
 2 files changed, 20 insertions(+)

diff --git a/app-crypt/mhash/files/mhash-0.9.9.9-hmac-uaf-test.patch 
b/app-crypt/mhash/files/mhash-0.9.9.9-hmac-uaf-test.patch
new file mode 100644
index ..cd9b3c041891
--- /dev/null
+++ b/app-crypt/mhash/files/mhash-0.9.9.9-hmac-uaf-test.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/914173
+https://sourceforge.net/p/mhash/patches/12/
+https://sourceforge.net/p/mhash/bugs/43/
+
+Fixes a segfault due to use-after-free on x86 & ARM in the test suite.
+
+Index: mhash-0.9.9.9/src/hmac_test.c
+===
+--- mhash-0.9.9.9/src/hmac_test.c
 mhash-0.9.9.9/src/hmac_test.c  2020-04-01 00:04:44.039815882 +0200
+@@ -76,8 +76,6 @@
+ 
+   /* Test No 2 */ 
+   
+-  mutils_memset(tmp, 0, sizeof(tmp));
+-  
+   passlen=sizeof(KEY2) - 1;
+   password = (mutils_word8 *) mutils_malloc(passlen+1);
+   mutils_memcpy(password, KEY2, passlen);

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
index e2dff3f8b8ba..59e8dcb9010e 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
@@ -26,6 +26,7 @@ PATCHES=(
"${FILESDIR}"/${P}-align.patch
"${FILESDIR}"/${P}-alignment.patch
"${FILESDIR}"/${P}-no-malloc-check.patch
+   "${FILESDIR}"/${P}-hmac-uaf-test.patch
 )
 
 DOCS=( doc/example.c doc/skid2-authentication )



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/files/, app-crypt/mhash/

2023-03-19 Thread Alfredo Tupone
commit: ebe40f65ccf0618947fe31b55c7a1ac5e4748716
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Mar 19 10:45:39 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Mar 19 10:53:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe40f65

app-crypt/mhash: generate a pck-config file

Closes: https://bugs.gentoo.org/895562
Signed-off-by: Alfredo Tupone  gentoo.org>

 app-crypt/mhash/files/mhash.pc |  4 
 .../mhash/{mhash-0.9.9.9-r2.ebuild => mhash-0.9.9.9-r3.ebuild} | 10 --
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/app-crypt/mhash/files/mhash.pc b/app-crypt/mhash/files/mhash.pc
new file mode 100644
index ..6186f85c7839
--- /dev/null
+++ b/app-crypt/mhash/files/mhash.pc
@@ -0,0 +1,4 @@
+Libs:-lmhash
+Name: mhash
+Version: @VERSION@
+Description: provides a uniform interface to several hash algorithms

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
similarity index 89%
rename from app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
rename to app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
index e31cbe8e8e25..d8cba554e436 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools
 
@@ -39,6 +39,10 @@ src_prepare() {
-e 's/--netscape//' \
"${S}"/doc/Makefile.in || die
 
+   sed \
+   -e "s:@VERSION@:${PV}:" \
+   "${FILESDIR}"/${PN}.pc > ${PN}.pc || die
+
# Refresh bundled libtool (ltmain.sh)
# (elibtoolize is not sufficient)
# bug #668666
@@ -57,5 +61,7 @@ src_compile() {
 
 src_install() {
default
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins ${PN}.pc
find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2022-11-13 Thread Conrad Kostecki
commit: ce41d04416afe9fe104056e62f0ac7459abb8b05
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Nov 12 15:09:40 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 13 18:33:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce41d044

app-crypt/mhash: use HTTPS, fix LICENSE

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index a2383e956b83..e31cbe8e8e25 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -6,10 +6,10 @@ EAPI=7
 inherit autotools
 
 DESCRIPTION="Library providing a uniform interface to a large number of hash 
algorithms"
-HOMEPAGE="http://mhash.sourceforge.net/;
+HOMEPAGE="https://mhash.sourceforge.net/;
 SRC_URI="mirror://sourceforge/mhash/${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="static-libs"



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/files/

2022-10-27 Thread Sam James
commit: b9dc976f43055c1d073c98e5fef77a4d1f94674e
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 02:32:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 02:33:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9dc976f

app-crypt/mhash: actually commit patch

Fixes: dbd2882396b4fd98bec8809d7069bed59eb7aa4c
Signed-off-by: Sam James  gentoo.org>

 .../mhash/files/mhash-0.9.9.9-no-malloc-check.patch  | 20 
 1 file changed, 20 insertions(+)

diff --git a/app-crypt/mhash/files/mhash-0.9.9.9-no-malloc-check.patch 
b/app-crypt/mhash/files/mhash-0.9.9.9-no-malloc-check.patch
new file mode 100644
index ..6da1f98ac785
--- /dev/null
+++ b/app-crypt/mhash/files/mhash-0.9.9.9-no-malloc-check.patch
@@ -0,0 +1,20 @@
+https://sourceforge.net/p/mhash/patches/11/
+
+Compiling mhash-0.9.9.9 on platforms (like AIX) without GNU libc compatible 
malloc leads to undefined symbol rpl_malloc
+when linking the in-mhash executables drver, frag_test, rest_test, hmac_test, 
keygen_test.
+
+Reason is that configure.in still contains AC_FUNC_MALLOC, detecting need
+to "#define malloc rpl_malloc", while mhash does not provide a rpl_malloc 
implementation.
+
+As the only use of malloc() in lib/stdfns.c does not rely on GNU libc
+compatible malloc actually, there is no need to check for one.
+--- a/configure.in
 b/configure.in
+@@ -64,7 +64,6 @@ AC_CHECK_HEADERS(signal.h stdint.h stdio.h stdlib.h string.h 
strings.h)
+ 
+ dnl Checks for functions
+ 
+-AC_FUNC_MALLOC
+ AC_FUNC_MEMCMP
+ 
+ AC_CHECK_FUNCS(bcopy bzero)



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2022-10-27 Thread Sam James
commit: dbd2882396b4fd98bec8809d7069bed59eb7aa4c
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 02:02:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 02:02:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd28823

app-crypt/mhash: use configure.ac patch rather than cache var

We already run eautoreconf, so..

Signed-off-by: Sam James  gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 348dd9535bec..a2383e956b83 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -25,6 +25,7 @@ PATCHES=(
"${FILESDIR}"/${P}-force64bit-tiger.patch
"${FILESDIR}"/${P}-align.patch
"${FILESDIR}"/${P}-alignment.patch
+   "${FILESDIR}"/${P}-no-malloc-check.patch
 )
 
 DOCS=( doc/example.c doc/skid2-authentication )
@@ -45,9 +46,6 @@ src_prepare() {
 }
 
 src_configure() {
-   # https://sourceforge.net/p/mhash/patches/11/
-   export ac_cv_func_malloc_0_nonnull=yes
-
econf $(use_enable static-libs static)
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2022-08-27 Thread WANG Xuerui
commit: 43228412d0244b62b51602283952e89b2046a6e2
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Aug 27 09:42:20 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Aug 27 10:05:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43228412

app-crypt/mhash: keyword 0.9.9.9-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 55e78bbb25fe..348dd9535bec 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/mhash/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="static-libs"
 
 BDEPEND="dev-lang/perl" # pod2html



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2021-03-31 Thread Sam James
commit: a0383cdd4e5f5399a0db34401dac1a9b2cf62b97
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 22:43:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 23:13:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0383cdd

app-crypt/mhash: refresh bundled libtool

Closes: https://bugs.gentoo.org/668666
Signed-off-by: Sam James  gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 7 +++
 1 file changed, 7 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
index ac1dfcae39a..a1d32fa5402 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit autotools
+
 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"
@@ -35,6 +37,11 @@ src_prepare() {
sed -i \
-e 's/--netscape//' \
"${S}"/doc/Makefile.in || die
+
+   # Refresh bundled libtool (ltmain.sh)
+   # (elibtoolize is not sufficient)
+   # bug #668666
+   eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/, app-crypt/mhash/files/

2021-03-31 Thread Sam James
commit: 3ef9576b099dfc7aa84ab72dc8879f02da693762
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 22:41:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 23:13:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef9576b

app-crypt/mhash: style changes

Signed-off-by: Sam James  gentoo.org>

 .../mhash-0.9.9-autotools-namespace-stomping.patch | 15 --
 .../mhash/files/mhash-0.9.9-fix-mem-leak.patch |  4 +--
 .../files/mhash-0.9.9-fix-snefru-segfault.patch|  4 +--
 .../files/mhash-0.9.9-fix-whirlpool-segfault.patch |  4 +--
 app-crypt/mhash/files/mhash-0.9.9.9-align.patch|  5 ++--
 .../mhash/files/mhash-0.9.9.9-alignment.patch  |  5 ++--
 .../files/mhash-0.9.9.9-force64bit-tiger.patch |  5 ++--
 .../mhash-0.9.9.9-remove_premature_free.patch  |  5 ++--
 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild| 32 ++
 9 files changed, 35 insertions(+), 44 deletions(-)

diff --git 
a/app-crypt/mhash/files/mhash-0.9.9-autotools-namespace-stomping.patch 
b/app-crypt/mhash/files/mhash-0.9.9-autotools-namespace-stomping.patch
index 19981b6b907..4bccf6765ae 100644
--- a/app-crypt/mhash/files/mhash-0.9.9-autotools-namespace-stomping.patch
+++ b/app-crypt/mhash/files/mhash-0.9.9-autotools-namespace-stomping.patch
@@ -7,9 +7,8 @@ Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=221093
 Patch-URL: http://bugs.gentoo.org/attachment.cgi?id=152625=view
 Signed-off-by: Peter Alfredson 
 
-diff -NrU5 mhash-0.9.9.orig/configure.in mhash-0.9.9/configure.in
 mhash-0.9.9.orig/configure.in  2008-05-09 16:17:52.0 +0200
-+++ mhash-0.9.9/configure.in   2008-05-09 16:18:20.0 +0200
+--- a/configure.in
 b/configure.in
 @@ -4,10 +4,11 @@
  AC_CANONICAL_TARGET
  AC_CONFIG_SRCDIR([lib/mhash.c])
@@ -22,9 +21,8 @@ diff -NrU5 mhash-0.9.9.orig/configure.in 
mhash-0.9.9/configure.in
  
  dnl Check system.
  
-diff -NrU5 mhash-0.9.9.orig/include/mutils/config.h.in 
mhash-0.9.9/include/mutils/config.h.in
 mhash-0.9.9.orig/include/mutils/config.h.in1970-01-01 
01:00:00.0 +0100
-+++ mhash-0.9.9/include/mutils/config.h.in 2008-05-09 16:18:20.0 
+0200
+--- a/include/mutils/config.h.in
 b/include/mutils/config.h.in
 @@ -0,0 +1,22 @@
 +/* Name of package */
 +#undef PACKAGE
@@ -48,9 +46,8 @@ diff -NrU5 mhash-0.9.9.orig/include/mutils/config.h.in 
mhash-0.9.9/include/mutil
 +#undef VERSION
 +
 +
-diff -NrU5 mhash-0.9.9.orig/include/mutils/mhash_config.h.in 
mhash-0.9.9/include/mutils/mhash_config.h.in
 mhash-0.9.9.orig/include/mutils/mhash_config.h.in  2008-05-09 
16:17:52.0 +0200
-+++ mhash-0.9.9/include/mutils/mhash_config.h.in   2008-05-09 
16:19:17.0 +0200
+--- a/include/mutils/mhash_config.h.in
 b/include/mutils/mhash_config.h.in
 @@ -179,28 +179,10 @@
  #undef MHASH_VERSION
  

diff --git a/app-crypt/mhash/files/mhash-0.9.9-fix-mem-leak.patch 
b/app-crypt/mhash/files/mhash-0.9.9-fix-mem-leak.patch
index 74552499501..f6083eb180f 100644
--- a/app-crypt/mhash/files/mhash-0.9.9-fix-mem-leak.patch
+++ b/app-crypt/mhash/files/mhash-0.9.9-fix-mem-leak.patch
@@ -14,8 +14,8 @@ Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=255006
 Patch-URL: http://bugs.gentoo.org/attachment.cgi?id=178560
 Signed-off-by: Thomas Harning 
 
 mhash-0.9.9/lib/mhash.c2007-02-21 01:18:46.0 -0500
-+++ mhash-0.9.9-new/lib/mhash.c2009-01-15 01:57:53.0 -0500
+--- a/lib/mhash.c
 b/lib/mhash.c
 @@ -719,6 +719,8 @@
mutils_memcpy( >state_size, [pos], sizeof(ret->state_size));
pos += sizeof( ret->state_size);

diff --git a/app-crypt/mhash/files/mhash-0.9.9-fix-snefru-segfault.patch 
b/app-crypt/mhash/files/mhash-0.9.9-fix-snefru-segfault.patch
index c308269c1b2..6e9e0275b02 100644
--- a/app-crypt/mhash/files/mhash-0.9.9-fix-snefru-segfault.patch
+++ b/app-crypt/mhash/files/mhash-0.9.9-fix-snefru-segfault.patch
@@ -14,8 +14,8 @@ Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=255131
 Patch-URL: http://bugs.gentoo.org/attachment.cgi?id=178666=view
 Signed-off-by: Thomas Harning 
 
 mhash-0.9.9/lib/snefru.c   2009-01-16 00:16:04.0 -0500
-+++ mhash-0.9.9-new/lib/snefru.c   2009-01-16 00:16:21.0 -0500
+--- a/lib/snefru.c
 b/lib/snefru.c
 @@ -859,6 +859,8 @@
  {
mutils_word32 i;

diff --git a/app-crypt/mhash/files/mhash-0.9.9-fix-whirlpool-segfault.patch 
b/app-crypt/mhash/files/mhash-0.9.9-fix-whirlpool-segfault.patch
index 6c79139d579..8437e624b2e 100644
--- a/app-crypt/mhash/files/mhash-0.9.9-fix-whirlpool-segfault.patch
+++ b/app-crypt/mhash/files/mhash-0.9.9-fix-whirlpool-segfault.patch
@@ -14,8 +14,8 @@ Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=255131
 Patch-URL: http://bugs.gentoo.org/attachment.cgi?id=178667=view
 Signed-off-by: Thomas Harning 
 
 mhash-0.9.9/lib/whirlpool.c2006-01-08 03:14:47.0 -0500
-+++ mhash-0.9.9-new/lib/whirlpool.c

[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2021-01-06 Thread Fabian Groffen
commit: faa7671050ed05de0d3f3300ba3e36e15bbbd4a1
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 12:54:44 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 12:54:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa76710

app-crypt/mhash: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 649d9885c14..7e884b399b2 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/mhash/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="static-libs"
 
 BDEPEND="dev-lang/perl" # pod2html



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2020-12-27 Thread Fabian Groffen
commit: b635b177fa133c92a06f3543ffb5ff5e620d6b4a
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Dec 27 13:36:11 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Dec 27 13:36:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b635b177

app-crypt/mhash: drop ppc-aix m68k-mint

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index f65cb7282db..92040f547c0 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/mhash/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="static-libs"
 
 BDEPEND="dev-lang/perl" # pod2html



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2020-01-13 Thread Mikle Kolyada
commit: a95027971cdb1c530cec387022322940e1c3d5ea
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jan 13 12:41:56 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jan 13 12:52:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9502797

app-crypt/mhash: fix PkgMetadataXmlIndentation

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 app-crypt/mhash/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-crypt/mhash/metadata.xml b/app-crypt/mhash/metadata.xml
index 47f393c9d2d..101ee8a0b3f 100644
--- a/app-crypt/mhash/metadata.xml
+++ b/app-crypt/mhash/metadata.xml
@@ -1,8 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-  
-mhash
-  
+   
+
+   mhash
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2019-05-03 Thread Andreas K. Hüttel
commit: c20f97013cb0a39e927e902a80da6946a405cb71
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri May  3 23:21:24 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri May  3 23:24:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20f9701

app-crypt/mhash: keyword ~riscv

Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 17078b15f18..a9e836ee93c 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ 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 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh 
sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="static-libs"
 
 BDEPEND="dev-lang/perl" # pod2html



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2018-09-21 Thread Alon Bar-Lev
commit: 732cdf7f0505e97e8bb18dc394ee7be419e3c778
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Sep 21 18:35:59 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Sep 21 18:40:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732cdf7f

app-crypt/mhash: ebuild cleanups

Closes: https://bugs.gentoo.org/666724
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 300d6c81abe..0c3993c9d67 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit ltprune
 
 DESCRIPTION="library providing a uniform interface to a large number of hash 
algorithms"
 HOMEPAGE="http://mhash.sourceforge.net/;
@@ -39,7 +38,7 @@ src_prepare() {
default
sed -i \
-e 's/--netscape//' \
-   "${S}"/doc/Makefile.in
+   "${S}"/doc/Makefile.in || die
 }
 
 src_configure() {
@@ -56,5 +55,5 @@ src_compile() {
 
 src_install() {
default
-   prune_libtool_files
+   find "${D}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2018-01-11 Thread Mike Frysinger
commit: a15e8e9f46d8a7af131b107c587813ad85dbdbeb
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Jan 12 03:46:19 2018 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Jan 12 04:08:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15e8e9f

app-crypt/mhash: mark 0.9.9.9-r2 m68k/s390/sh stable

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index e719837a52a..10bc239c95b 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -10,7 +10,7 @@ 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 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE="static-libs"
 
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/files/

2017-08-18 Thread Alon Bar-Lev
commit: 14576bb25f4cc14e7033dfbc5745712ef230ed64
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Thu Aug 10 08:24:34 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Aug 18 10:29:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14576bb2

app-crypt/mhash: remove unused patch

 .../mhash/files/mhash-0.9.9-mutils-align.patch | 118 -
 1 file changed, 118 deletions(-)

diff --git a/app-crypt/mhash/files/mhash-0.9.9-mutils-align.patch 
b/app-crypt/mhash/files/mhash-0.9.9-mutils-align.patch
deleted file mode 100644
index 32d80805f5f..000
--- a/app-crypt/mhash/files/mhash-0.9.9-mutils-align.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-diff -ur mhash-0.9.9.orig/lib/stdfns.c mhash-0.9.9/lib/stdfns.c
 mhash-0.9.9.orig/lib/stdfns.c  Wed Apr  4 21:18:42 2007
-+++ mhash-0.9.9/lib/stdfns.c   Mon May 28 16:08:38 2007
-@@ -152,12 +152,23 @@
-   }
- }
- 
-+static void
-+mutils_memset8(void *s, __const mutils_word8 c, __const mutils_word32 n)
-+{
-+  mutils_word8 *stmp = s;
-+  mutils_word32 i;
-+
-+  for (i = 0; i < n; i++, stmp++)
-+  {
-+  *stmp = c;
-+  }
-+}
-+
- WIN32DLL_DEFINE
- void
- mutils_memset(void *s, __const mutils_word8 c, __const mutils_word32 n)
- {
--  mutils_word8 *stmp;
--  mutils_word32 *ltmp = (mutils_word32 *) s;
-+  mutils_word32 *ltmp;
-   mutils_word32 lump;
-   mutils_word32 i;
-   mutils_word32 words;
-@@ -168,10 +179,22 @@
-   return;
-   }
- 
-+  if (n < 16)
-+  {
-+  return mutils_memset8(s, c, n);
-+  }
-+
-+  /* unaligned portion at beginning */
-+  remainder = (-(mutils_word32)s) & 0x3;
-+  mutils_memset8(s, c, remainder);
-+
-+  /* aligned words in the middle */
-+  ltmp = (mutils_word32 *) (s + remainder);
-+
-   lump = (c << 24) + (c << 16) + (c << 8) + c;
- 
--  words = n >> 2;
--  remainder = n - (words << 2);
-+  words = (n - remainder) >> 2;
-+  remainder = n - remainder - (words << 2);
- 
-   for (i = 0; i < words; i++, ltmp++)
-   {
-@@ -178,12 +201,8 @@
-   *ltmp = lump;
-   }
- 
--  stmp = (mutils_word8 *) ltmp;
--
--  for (i = 0; i < remainder; i++, stmp++)
--  {
--  *stmp = c;
--  }
-+  /* unaligned portion at end */
-+  return mutils_memset8(ltmp, c, remainder);
- }
- 
- static void
-@@ -275,6 +294,9 @@
-   mutils_word32 *buffer;
-   mutils_word32 *ptrIn;
-   mutils_word32 *ptrOut;
-+  mutils_word8 *ptr8In;
-+  mutils_word8 *ptr8Out;
-+  mutils_word8 tmp8;
-   mutils_word32 count = n * 4;
- 
-   if (destructive == MUTILS_FALSE)
-@@ -295,10 +317,36 @@
-  * data on a little-endian machine.
-  */
- 
--  for (loop = 0, ptrIn = x, ptrOut = buffer; loop < n; loop++, ptrOut++, 
ptrIn++)
-+  if ((mutils_word32)x & 0x3)
-   {
--  *ptrOut = mutils_lend32(*ptrIn);
-+ptr8In = (mutils_word8 *) x;
-+ptr8Out = (mutils_word8 *) buffer;
-+for (loop = 0; loop < n; loop++)
-+  {
-+#ifdef WORDS_BIGENDIAN
-+tmp8 = ptr8In[0];
-+ptr8Out[0] = ptr8In[3];
-+ptr8Out[3] = tmp8;
-+tmp8 = ptr8In[1];
-+ptr8Out[1] = ptr8In[2];
-+ptr8Out[2] = tmp8;
-+#else
-+ptr8Out[0] = ptr8In[0];
-+ptr8Out[1] = ptr8In[1];
-+ptr8Out[2] = ptr8In[2];
-+ptr8Out[3] = ptr8In[3];
-+#endif
-+ptr8Out += 4;
-+ptr8In += 4;
-+  }
-   }
-+  else
-+  {
-+  for (loop = 0, ptrIn = x, ptrOut = buffer; loop < n; loop++, 
ptrOut++, ptrIn++)
-+  {
-+  *ptrOut = mutils_lend32(*ptrIn);
-+  }
-+  }
- 
-   return(buffer);
- }



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-03-25 Thread Alon Bar-Lev
commit: cf2c4b35275505589d36aac934985d288814bac5
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Mar 25 18:04:34 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Mar 25 18:11:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2c4b35

app-crypt/mhash: use ltprune

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index fb62adb1201..e719837a52a 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils
+inherit ltprune
 
 DESCRIPTION="library providing a uniform interface to a large number of hash 
algorithms"
 HOMEPAGE="http://mhash.sourceforge.net/;



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-03-15 Thread Alon Bar-Lev
commit: 4f9cc9e1e009832cc9de733040c481c64803b6d6
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Mar 15 18:25:48 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Mar 15 18:25:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f9cc9e1

app-crypt/mhash: cleanup

Bug: 611476

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/mhash/mhash-0.9.9.9-r1.ebuild | 51 -
 1 file changed, 51 deletions(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r1.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r1.ebuild
deleted file mode 100644
index a31c56bca60..000
--- a/app-crypt/mhash/mhash-0.9.9.9-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-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 ~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
-
-src_prepare() {
-   epatch \
-   
"${FILESDIR}"/${PN}-0.9.9-fix-{mem-leak,snefru-segfault,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
-   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
-
-   use static-libs || rm -f "${ED}"usr/lib*/libmhash.la
-   dodoc AUTHORS ChangeLog NEWS README THANKS TODO \
-   doc/{example.c,skid2-authentication}
-   dohtml doc/mhash.html
-}



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-03-15 Thread Michael Weber
commit: 609d90afdcb04bdbfef99330e17fa0bacfb06244
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Mar 15 14:45:12 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar 15 14:51:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=609d90af

app-crypt/mhash: arm arm64 ppc64 stable (bug 611476).

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 02ecc3d1cb7..fb62adb1201 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -10,7 +10,7 @@ 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 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE="static-libs"
 
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-03-15 Thread Jeroen Roovers
commit: 1214982ca2e790b2869fbc12ab7a2f99a2bbdd18
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Mar 15 05:54:14 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Mar 15 06:00:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1214982c

app-crypt/mhash: Stable for HPPA (bug #611476).

Package-Manager: Portage-2.3.4, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index a23c0091cc8..02ecc3d1cb7 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -10,7 +10,7 @@ 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 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE="static-libs"
 
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-03-07 Thread Markus Meier
commit: fe73ed1e3134c0fe4475c0f84579583ae05c0193
Author: Markus Meier  gentoo  org>
AuthorDate: Wed Mar  8 06:02:36 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed Mar  8 06:02:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe73ed1e

app-crypt/mhash: arm stable, bug #611476

Package-Manager: Portage-2.3.4, Repoman-2.3.2
RepoMan-Options: --include-arches="arm"

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index f1c75f43e65..392ce110f7a 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -10,7 +10,7 @@ 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 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
 IUSE="static-libs"
 
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-03-04 Thread Agostino Sarubbo
commit: 5e61c986a7c5ad3b38f5b9fb4bb05c36d2b12dad
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Mar  4 13:34:32 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Mar  4 13:38:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e61c986

app-crypt/mhash: amd64 stable wrt bug #611476

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 1a1ff71b697..cca55cff378 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -10,7 +10,7 @@ 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 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE="static-libs"
 
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-03-03 Thread Tobias Klausmann
commit: 1925be128cfeb582ec2fab245355d806740bb785
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Mar  3 19:13:24 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Mar  3 19:13:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1925be12

app-crypt/mhash-0.9.9.9-r2: add alpha keyword

Gentoo-Bug: 611476

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index eaee324506a..1a1ff71b697 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -10,7 +10,7 @@ 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 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE="static-libs"
 
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-01-16 Thread Alon Bar-Lev
commit: ef77782581e6e25f0cfa04b898351e5ceeb4ad59
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Mon Jan 16 18:58:30 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Mon Jan 16 18:58:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef777825

app-crypt/mhash: fix html docs

Package-Manager: portage-2.3.0

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 47b8485..cd50eea 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -29,7 +29,10 @@ PATCHES=(
 )
 
 DOCS=(
-   doc/{example.c,skid2-authentication}
+   doc/example.c
+   doc/skid2-authentication
+)
+HTML_DOCS=(
doc/mhash.html
 )
 



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-01-13 Thread Alon Bar-Lev
commit: 8b123cf68379fd14d57179b2348fe55f6d1cf8bc
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Jan 13 23:05:31 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Jan 13 23:32:36 2017 +
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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: app-crypt/mhash/

2017-01-13 Thread Alon Bar-Lev
commit: 72a933da367e6e1bf93a453ae1b826ceb3a09684
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Jan 13 22:50:56 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Jan 13 23:32:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a933da

app-crypt/mhash: assign crypto as maintainer

Package-Manager: portage-2.3.0

 app-crypt/mhash/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-crypt/mhash/metadata.xml b/app-crypt/mhash/metadata.xml
index 1efa45b..4d45a53 100644
--- a/app-crypt/mhash/metadata.xml
+++ b/app-crypt/mhash/metadata.xml
@@ -1,9 +1,9 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-robb...@gentoo.org
-Robin H. Johnson
+  
+cry...@gentoo.org
+Crypto
   
   
 mhash