BloodHound: 2.1.0 bump

This commit is contained in:
blshkv 2019-03-13 10:13:29 +08:00
parent a213e88a2b
commit fe79fe5d67
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 59 additions and 0 deletions

View 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
}

View file

@ -2,3 +2,5 @@ DIST BloodHound-2.0.4-node_modules.tar.gz 73424243 BLAKE2B e0f0d1aff4ec12e56262c
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
DIST BloodHound-2.1.0-node_modules.tar.gz 69317024 BLAKE2B 0026ca571ff65c5e8e49efacc685409e5ccf914f021ad61da5621918294ba2198b083615234966c12d0f3fc0602f1100a5183bd07a58e50cc19dc338f1e81258 SHA512 346e82aacf40b5a45ff1f542af444f4290c02aa98c8b7461975954c81ec53e3da01bb8de5a3923c08d16279b0fe7fd4645f5c002ad0ffdd021d83178fbc06c12
DIST BloodHound-2.1.0.tar.gz 8414772 BLAKE2B 7c30976c7e6f2da374899667c5eb2681d20c604efb8cdd9993033d14f74d238cf1274bd4eb79bc86df3c2c60c771b06436307361a49ce1efdbc9a418ad24e40e SHA512 5e2c219848d1ce4cd4dde9b67330f9aae8824cd57d0f5e33f936bb679b02ef2767aa81f33f82434b7af7d7b0b7b87826d5361c2efb3539e25ddb957261ce99db