mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
BloodHound: 2.0.5 bump
This commit is contained in:
parent
39ccaca72f
commit
0e4feb3ed8
2 changed files with 59 additions and 0 deletions
57
www-apps/BloodHound/BloodHound-2.0.5.ebuild
Normal file
57
www-apps/BloodHound/BloodHound-2.0.5.ebuild
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Six Degrees of Domain Admin"
|
||||
HOMEPAGE="https://github.com/BloodHoundAD/BloodHound"
|
||||
SRC_URI="https://github.com/BloodHoundAD/BloodHound/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.pentoo.ch/~blshkv/distfiles/${P}-node_modules.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia32"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-libs/nodejs[npm]
|
||||
dev-util/electron-packager"
|
||||
RDEPEND="${DEPEND}
|
||||
gnome-base/gconf"
|
||||
|
||||
BLOODHOUND_BINDIR="FAIL_TO_DETECT_ARCH"
|
||||
QA_FLAGS_IGNORED="usr/lib.*/BloodHound/.*\.so"
|
||||
|
||||
src_prepare(){
|
||||
epatch "${FILESDIR}/singlearch.patch"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
#npm shrinkwrap
|
||||
#we provide node_modules, there is no need to install
|
||||
#npm install \
|
||||
|
||||
if use amd64; then
|
||||
npm run linuxbuild_64
|
||||
BLOODHOUND_BINDIR="BloodHound-linux-x64"
|
||||
elif use ia32; then
|
||||
npm run linuxbuild_32
|
||||
BLOODHOUND_BINDIR="BloodHound-linux-ia32"
|
||||
elif use arm; then
|
||||
npm run linuxbuild_arm
|
||||
BLOODHOUND_BINDIR="BloodHound-linux-armv7l"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/$(get_libdir)/${PN}
|
||||
cp -R ${BLOODHOUND_BINDIR}/* "${ED}"/usr/$(get_libdir)/${PN} || die "Copy files failed"
|
||||
|
||||
newbin - ${PN} <<-EOF
|
||||
#!/bin/sh
|
||||
cd /usr/lib/${PN}
|
||||
LD_LIBRARY_PATH=. exec ./${PN} "\${@}"
|
||||
EOF
|
||||
}
|
||||
|
|
@ -1,2 +1,4 @@
|
|||
DIST BloodHound-2.0.4-node_modules.tar.gz 73424243 BLAKE2B e0f0d1aff4ec12e56262c6e27bb2b059e18233eea65263d301ec6548c11ee90a79394f8fd8d649f45f8c9ec64055342a6975ce81c877f5cf49fd17652b946315 SHA512 1eaa6c36fa5e42e93f1c69f9ef0bcf293b35a2c7fc7ac4b91b8fbf1700bba286729ec6a402785f3f1b0e587e56d2078408544a56a2bfd7c3593e9dbfc887bd01
|
||||
DIST BloodHound-2.0.4.tar.gz 8400766 BLAKE2B a02116aaaa7fac8ac3677a309e72185c31eacc7d7d2aa1ae9cf1456918c9e10a424a66b38fb6bffcade7c9b66fd67f1e2f2391065a03e98f987809f9910c31a5 SHA512 f1b64eb6a40d12395fd10befac205762ff3aa2b21b530171812dc6789aadec63d023dd96c36a7192e95f36870893f8a64675b17bbaa2ff9cfc5c21b035c80375
|
||||
DIST BloodHound-2.0.5-node_modules.tar.gz 69562542 BLAKE2B 3be0a5910d3c27623de6721e283756bdc76a053c0097504eb8ddc1390231dc90042c033be59d3db5d2748c402a46ceb3203076dfece4a448116b4e18178cdc90 SHA512 33b516314b3024cb77838e0fe846abe9b5d25dfc52420b1944ba37b0ee83eec0e0e91dd804ce6f311d95f9d6a95a2287876ea6f3990ea78cb737f65d37ba3be7
|
||||
DIST BloodHound-2.0.5.tar.gz 8400986 BLAKE2B 2d03aa7183b4c18d15d11fa38f3bfb4ec31dba7f8dd9a32f20a82b809d6ff2d439d90c38f248b68c31290c9097ea9e4635235c65d8b6ae7bbce76855720f2e27 SHA512 1221f06832aaf2e07fcf97fe820e22c5effea6215caa4a08f8efed7283cf6e204ce337a8a63327cfecb4bed02a38db2dec6d4790b3750b43c1cd2f63d3777236
|
||||
|
|
|
|||
Loading…
Reference in a new issue