diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-proxy/httpush |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-proxy/httpush')
-rw-r--r-- | net-proxy/httpush/Manifest | 5 | ||||
-rw-r--r-- | net-proxy/httpush/httpush-0.9_beta11-r1.ebuild | 60 | ||||
-rw-r--r-- | net-proxy/httpush/metadata.xml | 9 |
3 files changed, 74 insertions, 0 deletions
diff --git a/net-proxy/httpush/Manifest b/net-proxy/httpush/Manifest new file mode 100644 index 000000000000..ce13728afeca --- /dev/null +++ b/net-proxy/httpush/Manifest @@ -0,0 +1,5 @@ +DIST httpush-0.9b11.tar.gz 39342 SHA256 f6c3a3bce0957557d744c27d1bf33dca33a09dede80842ee70fdbbfc42e608a8 SHA512 28f5843de8aaab2f1b1b89afb79cc15b134184781db7926dab3096359bb03db7dc8252a4eb0e89c61412692b8d2a5d6bf683e005862bc553fec754b0d48ac372 WHIRLPOOL a6dc66211bce2a07da7af27239a37be783ba879f5d1bdb6d0bcc0984c576230c6a9136dac2aca3e2c98b58e4005ab5ea571cf9f14c612a0540f78ddd58597bdc +EBUILD httpush-0.9_beta11-r1.ebuild 1333 SHA256 1bd99f2174dc14897845ac53ffb12b8dac57ba042db9de66498db54f8c12320c SHA512 a0bf21d42c46af758fd2b881c72b8ef4b1a43472244a96b5bbec671c7a63c07f9c02795c99914cd2e1fe11ac202d557085e08c834a10cfe34e180f0d13bb69c5 WHIRLPOOL c05ca55367de9d41ad96d9ee1cf3f518dcc7f18b894a26632d2de5be1b11d0e81f1cc99bfd74f546d0866f9b04833b555f4a039a65c0cf204f39d7d6e63884b8 +MISC ChangeLog 2539 SHA256 b6ceb15725aefc65eae7c0faf63d457d1b2331a55daf260a606c54746c9d8679 SHA512 76a67f8a650a36d053976a1cb3ba100aa34cbab182eb83f304e19bc782ded3b99495a1edfed2f762d3fcf3a081ae2d669b3eaad5e63eb882348735876f8067eb WHIRLPOOL 4f8b9368516e28d0a152ff2934fd694d0793cdb3c9118cc70c708fb031559c9dff15b4d64417d5cb2d8f0d697fab9c559dd2855ad7acb8b75e27e6590499d758 +MISC ChangeLog-2015 1205 SHA256 2f37dfc6e4b2b3a4630f57d52170ba1fe1ef7a16a22385868e456f8e9933b4f5 SHA512 96c844284a4aa46698a82e387658cf9701d94be557a192cc4494a81a4317f0cc49d224c9e5c57b988cb3922567af5651eb6883e4bdffbc40ed124f27bb951b34 WHIRLPOOL 69a9e7bbbcb2932776702da380ee33cb1240461dd89bfaf6473c415b2f3c094df708f7a6c06550c8dfde6b24f99a11a705fdaacb8395098ebafbec9cda08b9d0 +MISC metadata.xml 498 SHA256 2b0923721100b9954412cf8c28432cc95b3491069790acf1624f997e6b0a82d1 SHA512 ffd18f1f753b82aa9f51f2bdb56a190f1260fd2389f4b3f08f9182c1518341355194916e4153b7f7d6a8054f7337992da4d7cb0039a78c819b45aa58267ffd13 WHIRLPOOL a03fc65dced67b00cab502d0133c41b67348032d465fd73433980966f1c448d371106388b920f75c61c8ddbf1d4c1dc4d087ae508e648e224fd8ee7d56977757 diff --git a/net-proxy/httpush/httpush-0.9_beta11-r1.ebuild b/net-proxy/httpush/httpush-0.9_beta11-r1.ebuild new file mode 100644 index 000000000000..6e9deaa142fb --- /dev/null +++ b/net-proxy/httpush/httpush-0.9_beta11-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +MY_P="${P/_beta/b}" + +DESCRIPTION="Intercepting proxy, allowing user to modify HTTP requests on-the-fly" +HOMEPAGE="http://httpush.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="xml" + +RDEPEND="dev-perl/URI + virtual/perl-MIME-Base64 + dev-perl/libwww-perl + dev-perl/Net-SSLeay + dev-perl/Crypt-SSLeay + dev-perl/HTML-Parser + xml? ( dev-perl/XML-Twig )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if ! use xml ; then + echo + einfo "If you'd like to use httpush's learning mode, please CTRL-C now" + einfo "and enable the xml USE flag." + epause 3 + echo + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i 's:^\(require httpush;\)$:push @INC, "/usr/lib/httpush";\n\1:' \ + httpush.pl || die "sed INC failed" + sed -i 's:^\(.*DATADIR="\)data\(.*\)$:\1/var/lib/httpush\2:' *.pl \ + lib/plugin/broker.pm || die "sed DATADIR= failed" +} + +src_install() { + keepdir /var/lib/httpush + + insinto /usr/lib/httpush + doins -r httpush.{dtd,lck,pem,pm} lib + + insinto /usr/share/httpush/plugins + doins plugins/* + + newbin httpush.pl httpush + newbin reindex.pl httpush-reindex + ewarn "reindex script has been renamed httpush-reindex" + + dodoc README ChangeLog doc/* +} diff --git a/net-proxy/httpush/metadata.xml b/net-proxy/httpush/metadata.xml new file mode 100644 index 000000000000..3b217639af03 --- /dev/null +++ b/net-proxy/httpush/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription>HTTPush aims at providing an easy way to audit HTTP and HTTPS application/server security. It supports on-the-fly request modification, automated decision making and vulnerability detection through the use of plugins.</longdescription> + <upstream> + <remote-id type="sourceforge">httpush</remote-id> + </upstream> +</pkgmetadata> |