This commit is contained in:
blshkv 2019-05-01 10:50:06 +08:00
parent 377d5af8a6
commit d98b6fbd8e
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 48 additions and 0 deletions

View 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

View 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}
}