mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 06:10:56 +02:00
elfcrypt: new tool
This commit is contained in:
parent
3711fd06f8
commit
e2ad2db0de
4 changed files with 46 additions and 0 deletions
1
app-crypt/elfcrypt/Manifest
Normal file
1
app-crypt/elfcrypt/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST elfcrypt-20190526.tar.gz 8485 BLAKE2B de6fb2d245866f2c1970dd4ce72606f4159fdaf963c2c732a8c6404d0e47918c2b4975f62c6ee1c9a266867d8b45a1f0e61c2328a2d05f21bc1ae87a81c6498c SHA512 787b9896156c2c3a3c918c8317275319863940e2202211909bc27c90c20a32b0d1ce9e3aade64459cd2c7ceff565b613feddb731bd7da9306f3f5a7a650c5f8e
|
||||
1
app-crypt/elfcrypt/elfcrypt-20190526.ebuild
Symbolic link
1
app-crypt/elfcrypt/elfcrypt-20190526.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
./elfcrypt-99999999.ebuild
|
||||
36
app-crypt/elfcrypt/elfcrypt-99999999.ebuild
Normal file
36
app-crypt/elfcrypt/elfcrypt-99999999.ebuild
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Simple ELF crypter"
|
||||
HOMEPAGE="https://github.com/droberson/ELFcrypt"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/droberson/ELFcrypt"
|
||||
else
|
||||
HASH_COMMIT="340873de5547857e37e0fc48e8fea5a8c6a04b77"
|
||||
|
||||
SRC_URI="https://github.com/droberson/ELFcrypt/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/ELFcrypt-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/gcc/$(tc-getCC)/" \
|
||||
-e "s/-o ELFcrypt2/${CFLAGS} -o ELFcrypt2/" \
|
||||
-i Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ELFcrypt
|
||||
dodoc README.md
|
||||
}
|
||||
8
app-crypt/elfcrypt/metadata.xml
Normal file
8
app-crypt/elfcrypt/metadata.xml
Normal 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="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue