mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 23:01:02 +02:00
mjackit: remove, unsupported
This commit is contained in:
parent
b2f00bc0f2
commit
47abbf7eba
3 changed files with 0 additions and 74 deletions
|
|
@ -1,3 +0,0 @@
|
|||
DIST github.com-google-gousb-a50ac95.tar.gz 250763 BLAKE2B f0102c722b84167319e249224619e8fa9b750e76ce8b29b9374fe2953403fc842d76881d109e0c610f250954404822947e4055ddc42e9b95924d76848d53b063 SHA512 65b5126c59a8e23e52d247c6e0a76b7839348a6605bdccc3fcd460f23361b30b9afcbc451769f21659677df948b0b2190b27505b54a9f7c3ae8bcddd25e0f67a
|
||||
DIST github.com-manifoldco-promptui-v0.3.2.tar.gz 26249 BLAKE2B 639f6b9dbcd1d29fe98bf3e32e885dc706b5f8faee8d60be5670266e9525784cbadb67d819b16ca5292593c2b17eba7027666414bfcba6b1f4de0d9893f27707 SHA512 ae53ec3d9048d68316d5bb90563546ed346e536d656587ca0ad6ee4885d6dd55df9c86c0911d4cf5700d57927e1d591269bceee3ff0b899bf762d824fd4db547
|
||||
DIST mjackit-20190606.tar.gz 4233099 BLAKE2B fc5ddba8e900300dc84eee21f34f1029ea16fdadda6530648c0dc5982dd989c36b1a371a051cccecdbda907ecc6683d2deef7feff9b8f566b66c2424fe39df10 SHA512 c20adf52d53cb5219ef47c74d924f01af3ef21430581f273259dc2f03005bc9611512d0ea08e1fab06f5c971a292e4f353500e56666d289db53fa7ef58273554
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?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>
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
EGO_PN="github.com/mame82/mjackit"
|
||||
EGO_VENDOR=(
|
||||
"github.com/google/gousb a50ac95"
|
||||
"github.com/manifoldco/promptui v0.3.2"
|
||||
)
|
||||
|
||||
inherit golang-vcs-snapshot toolchain-funcs
|
||||
|
||||
DESCRIPTION="Demo tool for Logitech Unifying vulnerabilities"
|
||||
HOMEPAGE="https://github.com/mame82/UnifyingVulnsDisclosureRepo/"
|
||||
|
||||
HASH_COMMIT="7bfa689104ab3d54d2a18e69a5a60195ec1cd876"
|
||||
SRC_URI="https://github.com/mame82/UnifyingVulnsDisclosureRepo/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
LICENSE="Unlicense"
|
||||
IUSE="doc"
|
||||
SLOT=0
|
||||
|
||||
RDEPEND="virtual/libusb:1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
golang-vcs-snapshot_src_unpack
|
||||
|
||||
mv "${S}/src/${EGO_PN}/tools/mjackit"/* \
|
||||
"${S}/src/${EGO_PN}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's#./keymaps#/usr/share/mjackit/keymaps#' src/"${EGO_PN}"/unifying/logitacker.go || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}:$(get_golibdir_gopath)" \
|
||||
GOCACHE="${T}/go-cache" \
|
||||
CGO_ENABLED=1 \
|
||||
go build -v -work -x -ldflags="-extld=$(tc-getCC)" "${EGO_PN}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
GOPATH="${S}:$(get_golibdir_gopath)" \
|
||||
GOCACHE="${T}/go-cache" \
|
||||
CGO_ENABLED=1 \
|
||||
go install -v -work -x -ldflags="-extld=$(tc-getCC)" "${EGO_PN}" || die
|
||||
|
||||
dobin bin/${PN}
|
||||
dodoc src/"${EGO_PN}"/README.md
|
||||
|
||||
insinto /usr/share/mjackit
|
||||
doins -r src/"${EGO_PN}"/keymaps
|
||||
|
||||
if use doc; then
|
||||
dodoc -r src/"${EGO_PN}"/{documents,vulnerability_reports}
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in a new issue