mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 13:20:57 +02:00
beef: more ebuilds, some masked (broken), wip
This commit is contained in:
parent
31a7f06c16
commit
fda55cb723
14 changed files with 193 additions and 56 deletions
1
dev-lang/v8/Manifest
Normal file
1
dev-lang/v8/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST v8-3.16.14.9.tar.bz2 10461483 BLAKE2B db527923c490c9c8ff8e689ce5b7f93a97353a8892097792c5fe136f2c812ad3e77d4340aba08ae94a8ff342277fcff703a11a90e687ff0666da38c67cb7958d SHA512 424b3d8285244acbb8872fddb90a1e269a35bc8f57c0dba66758d6a853cf75e90a52e4e2d7db4095fe798271c794ac4f99cc40a1dbb99eb1b43d3b5b1878da94
|
||||
119
dev-lang/v8/v8-3.16.14.9.ebuild
Normal file
119
dev-lang/v8/v8-3.16.14.9.ebuild
Normal file
|
|
@ -0,0 +1,119 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/Attic/v8-3.16.14.9-r1.ebuild,v 1.7 2013/05/24 18:28:14 ago dead $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit eutils multilib pax-utils python-any-r1 toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
soname_version="${PV}"
|
||||
SLOT="0/${soname_version}"
|
||||
KEYWORDS="amd64 ~arm x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
local hardfp=off
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myarch=ia32 ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch=ia32
|
||||
else
|
||||
myarch=x64
|
||||
fi ;;
|
||||
arm*-hardfloat-*)
|
||||
hardfp=on
|
||||
myarch=arm ;;
|
||||
arm*-*) myarch=arm ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
mytarget=${myarch}.release
|
||||
|
||||
# TODO: Add console=readline option once implemented upstream
|
||||
# http://code.google.com/p/v8/issues/detail?id=1781
|
||||
|
||||
# Generate the real Makefile.
|
||||
emake V=1 \
|
||||
library=shared \
|
||||
werror=no \
|
||||
soname_version=${soname_version} \
|
||||
snapshot=on \
|
||||
hardfp=${hardfp} \
|
||||
out/Makefile.${myarch} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
-C out
|
||||
-f Makefile.${myarch}
|
||||
V=1
|
||||
BUILDTYPE=Release
|
||||
builddir="${S}/out/${mytarget}"
|
||||
)
|
||||
|
||||
# Build mksnapshot so we can pax-mark it.
|
||||
emake "${makeargs[@]}" mksnapshot
|
||||
pax-mark m out/${mytarget}/mksnapshot
|
||||
|
||||
# Build everything else.
|
||||
emake "${makeargs[@]}"
|
||||
pax-mark m out/${mytarget}/{cctest,d8,shell}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local arg testjobs
|
||||
for arg in ${MAKEOPTS}; do
|
||||
case ${arg} in
|
||||
-j*) testjobs=${arg#-j} ;;
|
||||
--jobs=*) testjobs=${arg#--jobs=} ;;
|
||||
esac
|
||||
done
|
||||
|
||||
tools/test-wrapper-gypbuild.py \
|
||||
-j${testjobs:-1} \
|
||||
--arch-and-mode=${mytarget} \
|
||||
--no-presubmit \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/${mytarget}/lib.target
|
||||
mv out/${mytarget}/libv8.so.${soname_version} \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
/usr/local/lib/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/${mytarget}/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/${mytarget}/d8 || die
|
||||
pax-mark m "${ED}usr/bin/d8"
|
||||
|
||||
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
||||
1
dev-ruby/fastercsv/Manifest
Normal file
1
dev-ruby/fastercsv/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST fastercsv-1.5.5.gem 117248 BLAKE2B 8ef2454d3da48f8f212c77b67f03f127476848611453d462051383df0cf7e39dc0a96347cbd46b5f245bc2b916f64b4445ce7605c9c796f0b7504d5a99dbfdd7 SHA512 f86bd11befd07b0b53226a643a22091a6a207a6f26ac9c93491fe30f820b90137a237b313040daeb9d1e3d72c0e81c0f1f5cfcfd9e893c2d8fc32899bd795def
|
||||
|
|
@ -7,16 +7,11 @@ USE_RUBY="ruby23 ruby24 ruby25"
|
|||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Distributes the V8 JavaScript engine in binary and source forms"
|
||||
HOMEPAGE="http://github.com/cowboyd/libv8"
|
||||
DESCRIPTION="A complete replacement to the CSV standard library"
|
||||
HOMEPAGE="http://fastercsv.rubyforge.org/"
|
||||
SRC_URI="mirror://rubygems/${P}.gem"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#DEVELOPMENT DEPENDENCIES (3):
|
||||
#rake ~> 12
|
||||
#rake-compiler ~> 0
|
||||
#rspec ~> 3
|
||||
|
|
@ -1 +0,0 @@
|
|||
DIST json_pure-1.6.8.gem 144384 BLAKE2B 48650a2bbc673448afd0e298443cb6bcf2af31ed9e8c0eb96cd4ff9705f6fef330cdd05a4bffe8db890a3d863e5956a170b7b065de0addc56793cd43333c8693 SHA512 707b7479f5326cb77d06a6a97d5a1984a736079979a5a2ebd4c0d5305b6bee526150f715bfd46ee7a87e157c76e7558c3743aac313a3197c0e632bf405afd6f2
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="JSON implementation in pure Ruby"
|
||||
HOMEPAGE="http://flori.github.com/json"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64 ~arm"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
#ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
#ruby_add_bdepend "dev-ruby/multi_json
|
||||
# dev-ruby/fastercsv"
|
||||
#test? ( dev-ruby/rspec )"
|
||||
|
||||
#ruby_add_rdepend ">=dev-ruby/dm-core-1.2.0"
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
DIST libv8-3.16.14.19.gem 12198400 BLAKE2B 2b31436e510a363f47b0caa60cfcf8f5f96a01df59638a396c25c01ccfcc171785bb9769551dd7d6f7e26f9a28d0caa5e06b33b09af6f1f6a9dfbce747cee045 SHA512 85517d935ddd89919270053c2c888b2c9463d61d57b3cd27ce0b4fff3de9e63ad059baf98a832ecf5d145b03ef153fa091c2a72ad844dd40ad72901c9e29109e
|
||||
DIST libv8-3.16.14.15.gem 12197888 BLAKE2B a51120c9363bac2c72afe5441b7c1e58238764d6984aff1667a3d87563474acfc3d9b1656db1ace0ce9d7dc7413312f13e125bd7576ab42462a6461deef6d308 SHA512 28cc1431c50173ef43d28c02892ac0e86363403ec59e6ae98102c22bf17ad747cdef7a9357e54096e6e78960752439bd7a8283b9c7fe5bebb9bfa87ddde73401
|
||||
DIST libv8-6.7.288.46.1.gem 2244608 BLAKE2B da4858f415c79786053c8f032e704392e4abdb4bc53d030f380d4ab2916cbcf96e287769bbc5d5559f3ffd123f8f477259ef109cc67814f86ee833b7113cf615 SHA512 239d4fb4f5bdfe38e69ed4e6a356a8aaf243927bbd0300eb24784aa2a9473391c53fd3409db7ba178f33c71b281fdbb514235dbe78e9dbb7369a8eceb6128dda
|
||||
|
|
|
|||
30
dev-ruby/libv8/libv8-3.16.14.15.ebuild
Normal file
30
dev-ruby/libv8/libv8-3.16.14.15.ebuild
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Distributes the V8 JavaScript engine in binary and source forms"
|
||||
HOMEPAGE="http://github.com/cowboyd/libv8"
|
||||
SRC_URI="mirror://rubygems/${P}.gem"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
#fails to compile: segmentation fault, gcc bug?
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
#dev-lang/v8 can by used here potentially
|
||||
# ${RUBY} -C ext/libv8 extconf.rb --with-system-v8 || die "extconf failed"
|
||||
${RUBY} -C ext/libv8 extconf.rb || die "extconf failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -C ext/libv8
|
||||
# cp ext/libv8/libv8$(get_modname) lib/libv8 || die "cp failed"
|
||||
}
|
||||
|
|
@ -16,7 +16,14 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#DEVELOPMENT DEPENDENCIES (3):
|
||||
#rake ~> 12
|
||||
#rake-compiler ~> 0
|
||||
#rspec ~> 3
|
||||
RDEPEND+="sys-libs/ncurses:5"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -C ext/libv8 extconf.rb || die "extconf failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
einfo "COMPILING"
|
||||
emake V=1 -C ext/libv8
|
||||
# cp ext/libv8/libv8$(get_modname) lib/libv8 || die "cp failed"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,8 +13,18 @@ SRC_URI="mirror://rubygems/${P}.gem"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
#unable to compile libv8 and verify the ebuild
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "=dev-ruby/libv8-3.16.14*
|
||||
dev-ruby/ref"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -C ext/v8/ extconf.rb || die "extconf failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -C ext/v8
|
||||
cp ext/v8/v8$(get_modname) lib/v8 || die "cp failed"
|
||||
}
|
||||
|
|
@ -234,7 +234,7 @@ dev-ruby/pdf-reader:2
|
|||
~dev-ruby/rack-1.5.4
|
||||
~dev-ruby/dm-sqlite-adapter-1.2.0
|
||||
~dev-ruby/data_objects-0.10.13
|
||||
dev-ruby/sinatra:1.2
|
||||
dev-ruby/sinatra:2
|
||||
#=dev-ruby/sinatra-contrib-1.4*
|
||||
~dev-ruby/eventmachine-1.0.8
|
||||
=dev-ruby/eventmachine-1.2.0*
|
||||
|
|
@ -248,7 +248,11 @@ dev-ruby/sinatra:1.2
|
|||
~dev-ruby/librex-0.0.999
|
||||
=www-servers/thin-1.6*
|
||||
=dev-ruby/parseconfig-1.0*
|
||||
=dev-ruby/uglifier-2.7*
|
||||
#=dev-ruby/uglifier-2.7*
|
||||
dev-ruby/uglifier:3
|
||||
=dev-ruby/json_pure-1.6.8*
|
||||
=dev-ruby/json-1.6.8*
|
||||
|
||||
~dev-ruby/execjs-2.5.2
|
||||
~dev-ruby/rubydns-1.0.3
|
||||
~dev-ruby/celluloid-0.16.0
|
||||
|
|
@ -266,6 +270,8 @@ dev-ruby/sinatra:1.2
|
|||
=dev-ruby/therubyracer-0.12*
|
||||
=dev-ruby/ref-2.0*
|
||||
=dev-ruby/libv8-3.16*
|
||||
=dev-ruby/mustermann-1.0*
|
||||
=dev-ruby/fastercsv-1.5*
|
||||
|
||||
#bettercap
|
||||
~dev-ruby/network_interface-0.0.2
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ dev-lang/ruby:2.2
|
|||
>dev-ruby/activesupport-5.0
|
||||
>dev-ruby/rails-5.0
|
||||
>dev-ruby/railties-5.0
|
||||
dev-ruby/rack:2.0
|
||||
#dev-ruby/rack:2.0
|
||||
|
||||
#ugh, https://bugs.gentoo.org/627576
|
||||
<dev-libs/elfutils-0.170-r1
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
DIST beef-0.4.7.0.tar.gz 3345161 BLAKE2B f6a1ad064042a5d348cad47e4ba8245e26167ab4a018595ec6e631747727de7823b9552bd95fbfddbe5a82faf6ae251227166c5f5cf4699819bf83b475e25a4f SHA512 9f40f1292129c20da0ee4f88a1d899dc120a177a026d1bf5f61d49b4878ca193fcfb4000c5cd8689e64fcee4caecb30d5963561226dbe09eee7830ab2c6b9311
|
||||
DIST beef-0.4.7.0_p20180715.zip 4521502 BLAKE2B 03b0e42ce9074998c85c3fe4255eaeca8a283bea561bc536418f0873561541d47811edfbcff61032df70c759c1402392eb78796744a56b5f36c0a8376368ca1e SHA512 ccb95cd179342fabf2b22d7fc83834d4ec32dbaccaf3d9e8b6ac0d439488337a2628aadd1ac0586cef26da6cf90ed2e022116c82f4416a3d1a9a587e5dd95b3c
|
||||
DIST beef-0.4.7.0_p20180719.zip 4521552 BLAKE2B a7474ef5e5694b1beffa27febeab5e693fc40be7182cb33fbddf50ba4e9d69e240660ee5e624349e1c431b30582d75e3de4412b113586fb52561e90732cf95b1 SHA512 bfed0b9242e75fe46083562c13db0fc06d46c134b80807142bdba57b11a68b791003b16be07d490cffd4e25ed6b624b08c669499ecba5827d0a1c52bddc27784
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ RESTRICT="test"
|
|||
|
||||
DESCRIPTION="Browser exploitation framework"
|
||||
HOMEPAGE="http://beefproject.com/"
|
||||
#SRC_URI="https://github.com/beefproject/beef/archive/${P}.tar.gz"
|
||||
MY_COMMIT="ba5f793b931ce122022f193cbd5f0de3346f438b"
|
||||
MY_COMMIT="0a415b22520057eef565e22620a8ce13dd07e440"
|
||||
SRC_URI="https://github.com/beefproject/${PN}/archive/${MY_COMMIT}.zip -> ${P}.zip"
|
||||
|
||||
SLOT="0"
|
||||
|
|
@ -25,16 +24,16 @@ LICENSE="AGPL-3"
|
|||
|
||||
IUSE="qrcode dns network geoip notifications"
|
||||
|
||||
DEPEND+=""
|
||||
RDEPEND+="net-analyzer/metasploit"
|
||||
#DEPEND+=""
|
||||
#RDEPEND+="net-analyzer/metasploit"
|
||||
|
||||
#ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/eventmachine
|
||||
www-servers/thin
|
||||
dev-ruby/sinatra:1.2
|
||||
dev-ruby/rack:1.6
|
||||
dev-ruby/sinatra:2
|
||||
dev-ruby/rack:2.0
|
||||
dev-ruby/rack-protection:2
|
||||
dev-ruby/em-websocket
|
||||
dev-ruby/mime-types
|
||||
|
|
@ -59,12 +58,13 @@ ruby_add_rdepend "
|
|||
|
||||
dev-ruby/msfrpc-client
|
||||
|
||||
dev-ruby/dm-serializer
|
||||
|
||||
"
|
||||
# dns? ( =dev-ruby/rubydns-0.7.3 )
|
||||
#gem 'term-ansicolor', :require => 'term/ansicolor'
|
||||
|
||||
#ext_network - outdated
|
||||
# dev-ruby/dm-serializer
|
||||
|
||||
all_ruby_unpack() {
|
||||
default_src_unpack
|
||||
Loading…
Reference in a new issue