mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 06:10:56 +02:00
whatweb: mirror the file ourselves if upstream is unable to fix their hosting, closes #62
This commit is contained in:
parent
9f5aa6d59a
commit
6a9c75d25f
4 changed files with 8 additions and 105 deletions
|
|
@ -1,5 +1,3 @@
|
|||
DIST whatweb-0.4.7.tar.gz 868621 SHA256 64994ec364de188192918e15c09cd01c62c3b8d080e9777b5d785d7f55d509db SHA512 b5c80cb5f86524bc3f6a670efa2ce67653b426fb387b42f7906739d1e9481588da67004d15d91b81370bca725155736dd76856f576f3dcf0bc16ac24e54784c5 WHIRLPOOL 191049ce2cbfb582e007b2ff436224bf069acf4ac96da6d4c53a65aa7bb3792cdfe3418896c6f076085086e52f92ae531a2908217a8af76bd92ca443920c2163
|
||||
EBUILD whatweb-0.4.7-r1.ebuild 971 SHA256 852e1d5e9cefd33e8410990e02fbc2e0188b1f56c57cfdca044da6ac2696eecd SHA512 d86d35a2dd9b389d411e16262e4dd7a3044b6596067bf2fdbe8b196bc02aeba70bebc3c540ec1aee2908ef813110c2a621162f587a234035d24ff22cea415e43 WHIRLPOOL c605c1a55f9bea9203e4a5ee48af1ae74b6a5b66241b674213fd6ebf2da222594b7cfb94bd0a5cd6f342ef9a669b5deeee8f277cdcf7102391edc523c4c2eb02
|
||||
EBUILD whatweb-0.4.7-r2.ebuild 1313 SHA256 e93af838e8da24f408fcf30c012e16ec3643822c6117cf9ebc84a11ad8cbb848 SHA512 dc7f93c22aab744be92cef4e13db9e7c8652275a4f250a471e4b819331024931f5b32c57ccf77ee0f07d0423b37c85198af5b981c4e270f677a9e2cb3da3a0ae WHIRLPOOL 8a047c935c5230567f88b33362e59fe01dcb5036488ec98d6ba88038e9b81d5489d95c19d321cbe72ee0970bf477018e3b61fd33222039eaeda86ca2eef2ed99
|
||||
EBUILD whatweb-0.4.7-r3.ebuild 1204 SHA256 e8004bcf51572d8b93c068069fe1f260143686d6eabf12b30dffc9b23388a4f7 SHA512 be5b52c4dd75d7bd4ea228fd6472fbec228248bc9af211043fbd3b16b2d7a8b457ce93559762cf9e7072ea1b1e0727cb02a2eb1e27e43de689ee44fdc1ee7717 WHIRLPOOL 7e09445857ef2b19400b2779abc23e8de3fd39832a604f870f3b4841d36988bcd7cc9d3dd6386b4fc095e2cbc61f3ccec3711872ae73a6d49149dcd6f4e9ec05
|
||||
EBUILD whatweb-0.4.7-r4.ebuild 1141 SHA256 2b85d62ef10ba22f0641e1689edb8f9585afc989576e0c32f6bab332483b7570 SHA512 1b5d43a0790c25049456e7497cf79c86c9786ba6122661d2cb6db84789c8bee1de19fc744e317e8d4007e7767daedb81f64c8de1689ee7b35f38506bbda021bd WHIRLPOOL 20d3d0cca9e5bbf353bebf8e532e8d42de930723b499ffb33112f3266f662f29fb939e6bb8122110b53cd51f92c351ae66c3b4082e5106af3ecabf2ef83b2b56
|
||||
MISC metadata.xml 330 SHA256 08d21d9a62b12b9daa330f5ea97f0fffaca4c33f6753737ea8cd697fe9617ba0 SHA512 68d336ba8f65f30398625c42cf955eafe5ae4bc2004cd5d1af1ae0fd00d2fdc1de145a519f730f1d806a8adc031eb2a9c72a5d832bb849b553ee361044e3ebd8 WHIRLPOOL 94f94d6d8a63a0fbd659cec99894f4dad927db67f7d39bdf2be5a37d6ab5d4e82d8138659465b3f4630691e3cd5891b63395afdaf937cfc43811e9a1411f1363
|
||||
|
|
|
|||
|
|
@ -1,51 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="Next generation web scanner, identifies what software websites are running"
|
||||
HOMEPAGE="http://www.morningstarsecurity.com/research/whatweb"
|
||||
SRC_URI="http://www.morningstarsecurity.com/downloads/${P}.tar.gz"
|
||||
RESTRICT="fetch"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="json"
|
||||
|
||||
DEPEND="dev-lang/ruby"
|
||||
RDEPEND="${DEPEND}
|
||||
json? ( dev-ruby/json )"
|
||||
|
||||
#future rdepend:
|
||||
#dns: em-resolv-replace
|
||||
#mongodb: bison bson_ext mongo rchardet
|
||||
|
||||
pkg_nofetch(){
|
||||
einfo "${P} must be downloaded manually!"
|
||||
einfo "Run the following command to download it to /usr/portage/distfiles:"
|
||||
einfo "###"
|
||||
einfo "wget -U Mozilla -O /usr/portage/distfiles/${P}.tar.gz ${SRC_URI}"
|
||||
einfo "###"
|
||||
einfo
|
||||
einfo "For details, see https://code.google.com/p/pentoo/issues/detail?id=62"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# fix install
|
||||
sed -i 's|plugins-disabled||g' Makefile || die
|
||||
sed -i 's|$(DOCPATH)/$(NAME)|$(DOCPATH)/${PF}|g' Makefile || die
|
||||
sed -i -e 's:#!/usr/bin/env ruby:#!/usr/bin/env ruby18:' whatweb || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# do nothing
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/doc/"${PF}"
|
||||
DESTDIR="${D}" emake install || die "install failed"
|
||||
dodoc CHANGELOG README TODO whatweb.xsl || die
|
||||
}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="Next generation web scanner, identifies what software websites are running"
|
||||
HOMEPAGE="http://www.morningstarsecurity.com/research/whatweb"
|
||||
FAKE_SRC_URI="http://www.morningstarsecurity.com/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="json"
|
||||
|
||||
DEPEND="dev-lang/ruby"
|
||||
RDEPEND="${DEPEND}
|
||||
json? ( dev-ruby/json )"
|
||||
|
||||
#future rdepend:
|
||||
#dns: em-resolv-replace
|
||||
#mongodb: bison bson_ext mongo rchardet
|
||||
|
||||
src_unpack() {
|
||||
# download here to avoid fetch-restriction - see issue 62
|
||||
wget -U Mozilla "${FAKE_SRC_URI}" \
|
||||
|| die "Failed on: wget -U Mozilla ${FAKE_SRC_URI}"
|
||||
tar xfvz "${P}.tar.gz" || die "Extracting archive failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# fix install
|
||||
sed -i 's|plugins-disabled||g' Makefile || die
|
||||
sed -i 's|$(DOCPATH)/$(NAME)|$(DOCPATH)/${PF}|g' Makefile || die
|
||||
sed -i -e 's:#!/usr/bin/env ruby:#!/usr/bin/env ruby18:' whatweb || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# do nothing
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/doc/"${PF}"
|
||||
DESTDIR="${D}" emake install || die "install failed"
|
||||
dodoc CHANGELOG README TODO whatweb.xsl || die
|
||||
}
|
||||
|
|
@ -2,11 +2,14 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Next generation web scanner, identifies what software websites are running"
|
||||
HOMEPAGE="http://www.morningstarsecurity.com/research/whatweb"
|
||||
SRC_URI="http://www.morningstarsecurity.com/downloads/${P}.tar.gz"
|
||||
#Actual SRC_URI has broken WAF on it that prevents wget from downloading so we mirror
|
||||
# Pentoo issue 62
|
||||
#SRC_URI="http://www.morningstarsecurity.com/downloads/${P}.tar.gz"
|
||||
SRC_URI="http://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
|
@ -18,8 +21,8 @@ RDEPEND="${DEPEND}
|
|||
json? ( dev-ruby/json )"
|
||||
|
||||
#future rdepend:
|
||||
#dns: em-resolv-replace
|
||||
#monodb: bison bson_ext mongo rchardet
|
||||
#dns: em-resolv-replace
|
||||
#mongodb: bison bson_ext mongo rchardet
|
||||
|
||||
src_prepare() {
|
||||
# fix install
|
||||
Loading…
Reference in a new issue