profiles: Mask app-crypt/bob-the-butcher

This commit is contained in:
Yury Martynov 2019-11-10 17:49:02 +03:00
parent 9e971d92e4
commit 43fd02d43c
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
5 changed files with 87 additions and 16 deletions

View file

@ -1 +1 @@
DIST bob-the-butcher-0.7.1.tar.gz 272450 SHA256 8e5b5cd9dbc6d44ba2d7227a9394e95e0aec3658a717dc238f6a8330049dc772 SHA512 3889f1cf08e25c4ed3081ab1d7cb761970363cf1041f1185a65d68804f965738168c1aa864a197a6773ea0faca7ad547e59f5bc02849c095f885a271ec2fef85 WHIRLPOOL 98b3e45c8b7d9cb28887f4ad3864b64e3372a593e96031462296ee59bcdf5e75d2db3115889a08c8547ab5acdc4141faaf8055b7727fd20056e8843319f3838d
DIST bob-the-butcher-0.7.1.tar.gz 272450 BLAKE2B 1b714db9cbcfb1cd08f18d2c03efe1f2a46a44c60989dd50dfb3ef985c2abe46765722c0ddf7c94a299a138022a599518a1941b6fe34ce43fdb584eb2da45478 SHA512 3889f1cf08e25c4ed3081ab1d7cb761970363cf1041f1185a65d68804f965738168c1aa864a197a6773ea0faca7ad547e59f5bc02849c095f885a271ec2fef85

View file

@ -1,36 +1,48 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=7
inherit autotools flag-o-matic
DESCRIPTION="A distributed password cracker"
HOMEPAGE="http://download.openwall.net/pub/projects/john/contrib/parallel/btb/"
SRC_URI="http://download.openwall.net/pub/projects/john/contrib/parallel/btb/${P}.tar.gz"
HOMEPAGE="https://download.openwall.net/pub/projects/john/contrib/parallel/btb/"
SRC_URI="https://download.openwall.net/pub/projects/john/contrib/parallel/btb/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="sse2"
IUSE="cpu_flags_x86_sse2"
SLOT="0"
DEPEND="$RDEPEND"
RDEPEND="dev-libs/libevent"
DEPEND="${RDEPEND}"
src_prepare() {
eapply "${FILESDIR}/minor-changes.patch"
sed -i \
-e "s/^CFLAGS=/CFLAGS?=/" \
configure.ac || die
sed -i \
-e "s/top_srcdir = @top_srcdir@/top_srcdir = @srcdir@/" \
Makefile.in || die
eautoreconf
default
}
src_configure() {
#TODO configure is pretty fscked up, it doesn't seem to respect CFLAGS and
# ignores our settings
local myconf
if use sse2; then
if use cpu_flags_x86_sse2; then
myconf="--enable-sse2"
else
myconf="--disable-sse2"
fi
econf ${myconf}
}
src_compile() {
CFLAGS="$CFLAGS" emake
append-flags -std=gnu99
econf ${myconf}
}
src_install() {

View file

@ -0,0 +1,49 @@
diff -ur a/bob_client/format_mysql/format_mysql.c b/bob_client/format_mysql/format_mysql.c
--- a/bob_client/format_mysql/format_mysql.c 2005-10-28 17:23:07.000000000 +0400
+++ b/bob_client/format_mysql/format_mysql.c 2019-11-10 17:28:21.471512052 +0300
@@ -27,6 +27,7 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <math.h>
#include "params.h"
#ifdef HAVE_MATH_H
#include <math.h>
diff -ur a/bob_client/timer.c b/bob_client/timer.c
--- a/bob_client/timer.c 2006-06-28 16:16:57.000000000 +0400
+++ b/bob_client/timer.c 2019-11-10 17:26:09.991841328 +0300
@@ -4,6 +4,7 @@
#include <sys/time.h>
#include <signal.h>
#include <stdio.h>
+#include <stdlib.h>
#include <time.h>
#ifdef HAVE_LIBDMALLOC
diff -ur a/compat/get_full_login.c b/compat/get_full_login.c
--- a/compat/get_full_login.c 2005-11-30 16:58:32.000000000 +0300
+++ b/compat/get_full_login.c 2019-11-10 17:29:45.199569756 +0300
@@ -1,5 +1,6 @@
#include <unistd.h>
#include <string.h>
+#include <stdio.h>
#define USER_HOST_SEP '@'
#define BUFSIZE 1024
diff -ur a/librw/str_funcs.c b/librw/str_funcs.c
--- a/librw/str_funcs.c 2005-12-06 16:26:51.000000000 +0300
+++ b/librw/str_funcs.c 2019-11-10 17:34:57.303411231 +0300
@@ -2,12 +2,7 @@
#include "config_types.h"
#include <stdio.h>
-#ifdef HAVE_LIBDMALLOC
-# include <dmalloc.h>
-#else
-# include <stdlib.h>
-#endif
-
+#include <stdlib.h>
#include <string.h>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View file

@ -7,3 +7,5 @@ net-wireless/hostapd-mana
net-wireless/berate_ap
net-wireless/wpa_sycophant
# Masked for removal in 30 days. Too old app
app-crypt/bob-the-butcher