mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
mysql-magic: fix https://github.com/pentoo/pentoo-overlay/issues/445, the last mentioned tool
This commit is contained in:
parent
377d5af8a6
commit
d98b6fbd8e
2 changed files with 48 additions and 0 deletions
22
app-forensics/mysql-magic/files/pull2-as_needed.patch
Normal file
22
app-forensics/mysql-magic/files/pull2-as_needed.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
From a72490dc2ad62bc27f833b9138fc6ac4ff46c3f6 Mon Sep 17 00:00:00 2001
|
||||
From: Anton Bolshakov <blshkv@users.noreply.github.com>
|
||||
Date: Wed, 1 May 2019 10:45:39 +0800
|
||||
Subject: [PATCH] Update Makefile
|
||||
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 82b50e7..a72f72e 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -8,7 +8,7 @@ OBJS = src/connection-listen.o src/generic-list.o \
|
||||
all: ignotum/lib/libignotum.a mysql-magic
|
||||
|
||||
mysql-magic: $(OBJS) ignotum/lib/libignotum.a
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
||||
+ $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
|
||||
@strip mysql-magic
|
||||
|
||||
src/%.o: src/%.c
|
||||
26
app-forensics/mysql-magic/mysql-magic-9999.ebuild
Normal file
26
app-forensics/mysql-magic/mysql-magic-9999.ebuild
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="dump mysql client password from memory"
|
||||
HOMEPAGE="https://github.com/hc0d3r/mysql-magic"
|
||||
EGIT_REPO_URI="https://github.com/hc0d3r/mysql-magic.git"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
#https://github.com/hc0d3r/mysql-magic/pull/2/files
|
||||
eapply "${FILESDIR}/pull2-as_needed.patch"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
||||
Loading…
Reference in a new issue