mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
Merge pull request #2612 from rick-gnous/elfcrypt
Bump elfcrypt for the last version
This commit is contained in:
commit
39ca70b1d7
4 changed files with 51 additions and 40 deletions
|
|
@ -1 +1 @@
|
|||
DIST elfcrypt-20200224.tar.gz 8632 BLAKE2B 20ac419ea9061aaf414bf2aca97c247fa040512cde7b2b9ae584dc41f7ca51f063152c0046acd87d61e4c37d6938da0e3ecdc6b89d9876743664467600f41161 SHA512 15da3fcd10e294fbfcca1c7b2eeb99dce9536b59d219d0e7795077dbfac47ad12e27fa081bfcb1a939f9d1f597d2489af598db395019e0cdb153f445e724ac60
|
||||
DIST elfcrypt-20200910.tar.gz 8641 BLAKE2B b2df5ca2cb3c8ddb0202b2e435c1dd502ef54a2f6c28117f544f774cbd74b4df6c0371a5008392b345434cd9522d73fc1a26d9c35a3912c018bf96eda4e71c76 SHA512 9057abd68ea0f8cfff41ef3c52329217d50583848aba27efc89709976b52d18ab9ae3763704a0f34cf40a897aad53ca6e4ac8f83f7b68bcebed6e0048521bc96
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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="f3c0121dc153d49756403cad83cbd160933edf78"
|
||||
|
||||
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/" \
|
||||
-e "s/^\(all:.*\)example/\1/" \
|
||||
-i Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ELFcrypt
|
||||
dodoc README.md
|
||||
}
|
||||
40
app-crypt/elfcrypt/elfcrypt-20200910.ebuild
Normal file
40
app-crypt/elfcrypt/elfcrypt-20200910.ebuild
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Simple ELF crypter"
|
||||
HOMEPAGE="https://github.com/droberson/ELFcrypt"
|
||||
|
||||
HASH_COMMIT="1699e97e07ac3d82e7845dc3e0eb8f35a8bf886d"
|
||||
|
||||
SRC_URI="https://github.com/droberson/ELFcrypt/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/ELFcrypt-${HASH_COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/gcc/$(tc-getCC)/" \
|
||||
-e "s/-o ELFcrypt/${CFLAGS} -o ELFcrypt/" \
|
||||
-e "s/-o ELFcrypt2/${CFLAGS} -o ELFcrypt2/" \
|
||||
-e "s/^\(all:.*\)example/\1/" \
|
||||
-i Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doheader ELFcrypt.h
|
||||
dobin ELFcrypt
|
||||
dobin ELFcrypt2
|
||||
dodoc README.md
|
||||
if use examples; then
|
||||
dodoc example.c
|
||||
docompress -x /usr/share/doc/${PF}/example.c
|
||||
fi
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]]; then
|
|||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/droberson/ELFcrypt"
|
||||
else
|
||||
HASH_COMMIT="f3c0121dc153d49756403cad83cbd160933edf78"
|
||||
HASH_COMMIT="1699e97e07ac3d82e7845dc3e0eb8f35a8bf886d"
|
||||
|
||||
SRC_URI="https://github.com/droberson/ELFcrypt/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
|
@ -21,9 +21,11 @@ fi
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/gcc/$(tc-getCC)/" \
|
||||
-e "s/-o ELFcrypt/${CFLAGS} -o ELFcrypt/" \
|
||||
-e "s/-o ELFcrypt2/${CFLAGS} -o ELFcrypt2/" \
|
||||
-e "s/^\(all:.*\)example/\1/" \
|
||||
-i Makefile || die
|
||||
|
|
@ -32,6 +34,12 @@ src_prepare() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
doheader ELFcrypt.h
|
||||
dobin ELFcrypt
|
||||
dobin ELFcrypt2
|
||||
dodoc README.md
|
||||
if use examples; then
|
||||
dodoc example.c
|
||||
docompress -x /usr/share/doc/${PF}/example.c
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue