app-forensics/cmospwd: EAPI7 with minor changes
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Tue, 19 Jun 2018 17:17:05 +0000 (19:17 +0200)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Thu, 21 Jun 2018 06:27:34 +0000 (23:27 -0700)
Closes: https://github.com/gentoo/gentoo/pull/8913

app-forensics/cmospwd/cmospwd-5.1-r1.ebuild [new file with mode: 0644]

diff --git a/app-forensics/cmospwd/cmospwd-5.1-r1.ebuild b/app-forensics/cmospwd/cmospwd-5.1-r1.ebuild
new file mode 100644 (file)
index 0000000..bf9611e
--- /dev/null
@@ -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
+}