commit: 157a94fb86518ba28c5185bcda744439837c6f46 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Tue Jun 19 17:17:05 2018 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Thu Jun 21 06:27:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157a94fb
app-forensics/cmospwd: EAPI7 with minor changes Closes: https://github.com/gentoo/gentoo/pull/8913 app-forensics/cmospwd/cmospwd-5.1-r1.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/app-forensics/cmospwd/cmospwd-5.1-r1.ebuild b/app-forensics/cmospwd/cmospwd-5.1-r1.ebuild new file mode 100644 index 00000000000..bf9611e3fd0 --- /dev/null +++ b/app-forensics/cmospwd/cmospwd-5.1-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="CmosPwd decrypts password stored in cmos used to access BIOS SETUP" +HOMEPAGE="https://www.cgsecurity.org/wiki/CmosPwd" +SRC_URI="https://www.cgsecurity.org/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_compile() { + cd src || die + $(tc-getCC) ${CFLAGS} ${LDFLAGS} cmospwd.c -o cmospwd || die +} + +src_install() { + dosbin src/cmospwd + dodoc cmospwd.txt +}