From ca11278b9d084935ba38830db69ad559fa6b2441 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Thu, 21 Feb 2019 20:34:50 +0300 Subject: [PATCH] Add wallarm nginx module related ebuilds --- .gitignore | 2 + app-admin/wallarm-common/Manifest | 2 + .../wallarm-common-2.10.4.ebuild | 53 ++++++++++++++++++ app-admin/wallarm-monitoring/Manifest | 2 + .../wallarm-monitoring-2.10.4.ebuild | 52 +++++++++++++++++ dev-libs/libcpire/Manifest | 2 + dev-libs/libcpire/libcpire-0.4.1.ebuild | 40 +++++++++++++ dev-libs/libdetection/Manifest | 2 + .../libdetection/libdetection-1.0.0.ebuild | 42 ++++++++++++++ dev-libs/libhubbub/Manifest | 2 + dev-libs/libhubbub/libhubbub-0.3.3_p3.ebuild | 45 +++++++++++++++ dev-libs/libproton/Manifest | 2 + dev-libs/libproton/libproton-2.10.12.ebuild | 50 +++++++++++++++++ dev-libs/libtws/Manifest | 2 + dev-libs/libtws/libtws-0.0.6.ebuild | 42 ++++++++++++++ dev-libs/libwacl/Manifest | 2 + dev-libs/libwacl/libwacl-1.0.4.ebuild | 38 +++++++++++++ dev-libs/libwlog/Manifest | 2 + dev-libs/libwlog/libwlog-1.1.1.ebuild | 38 +++++++++++++ dev-libs/libwpire/Manifest | 2 + .../libwpire/libwpire-0.0.5_p20180504.ebuild | 43 ++++++++++++++ dev-libs/libwyajl/Manifest | 2 + dev-libs/libwyajl/libwyajl-2.0.4_p3.ebuild | 47 ++++++++++++++++ dev-ruby/murmurhash3/Manifest | 2 + dev-ruby/murmurhash3/murmurhash3-0.1.4.ebuild | 45 +++++++++++++++ dev-ruby/parser-generator/Manifest | 2 + .../parser-generator-0.3.3.ebuild | 43 ++++++++++++++ dev-ruby/proton/Manifest | 2 + dev-ruby/proton/proton-2.10.12.ebuild | 50 +++++++++++++++++ dev-ruby/thread/Manifest | 2 + dev-ruby/thread/thread-0.1.4_p20140502.ebuild | 46 +++++++++++++++ dev-ruby/wallarm-api/Manifest | 2 + .../wallarm-api/wallarm-api-2.10.4.ebuild | 46 +++++++++++++++ metadata/layout.conf | 1 + profiles/repo_name | 1 + .../libnginx-mod-http-wallarm/Manifest | 2 + .../libnginx-mod-http-wallarm-2.10.5.ebuild | 56 +++++++++++++++++++ 37 files changed, 814 insertions(+) create mode 100644 .gitignore create mode 100644 app-admin/wallarm-common/Manifest create mode 100644 app-admin/wallarm-common/wallarm-common-2.10.4.ebuild create mode 100644 app-admin/wallarm-monitoring/Manifest create mode 100644 app-admin/wallarm-monitoring/wallarm-monitoring-2.10.4.ebuild create mode 100644 dev-libs/libcpire/Manifest create mode 100644 dev-libs/libcpire/libcpire-0.4.1.ebuild create mode 100644 dev-libs/libdetection/Manifest create mode 100644 dev-libs/libdetection/libdetection-1.0.0.ebuild create mode 100644 dev-libs/libhubbub/Manifest create mode 100644 dev-libs/libhubbub/libhubbub-0.3.3_p3.ebuild create mode 100644 dev-libs/libproton/Manifest create mode 100644 dev-libs/libproton/libproton-2.10.12.ebuild create mode 100644 dev-libs/libtws/Manifest create mode 100644 dev-libs/libtws/libtws-0.0.6.ebuild create mode 100644 dev-libs/libwacl/Manifest create mode 100644 dev-libs/libwacl/libwacl-1.0.4.ebuild create mode 100644 dev-libs/libwlog/Manifest create mode 100644 dev-libs/libwlog/libwlog-1.1.1.ebuild create mode 100644 dev-libs/libwpire/Manifest create mode 100644 dev-libs/libwpire/libwpire-0.0.5_p20180504.ebuild create mode 100644 dev-libs/libwyajl/Manifest create mode 100644 dev-libs/libwyajl/libwyajl-2.0.4_p3.ebuild create mode 100644 dev-ruby/murmurhash3/Manifest create mode 100644 dev-ruby/murmurhash3/murmurhash3-0.1.4.ebuild create mode 100644 dev-ruby/parser-generator/Manifest create mode 100644 dev-ruby/parser-generator/parser-generator-0.3.3.ebuild create mode 100644 dev-ruby/proton/Manifest create mode 100644 dev-ruby/proton/proton-2.10.12.ebuild create mode 100644 dev-ruby/thread/Manifest create mode 100644 dev-ruby/thread/thread-0.1.4_p20140502.ebuild create mode 100644 dev-ruby/wallarm-api/Manifest create mode 100644 dev-ruby/wallarm-api/wallarm-api-2.10.4.ebuild create mode 100644 metadata/layout.conf create mode 100644 profiles/repo_name create mode 100644 www-plugins/libnginx-mod-http-wallarm/Manifest create mode 100644 www-plugins/libnginx-mod-http-wallarm/libnginx-mod-http-wallarm-2.10.5.ebuild diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e8fa9c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.~* +*~ diff --git a/app-admin/wallarm-common/Manifest b/app-admin/wallarm-common/Manifest new file mode 100644 index 0000000..c60792a --- /dev/null +++ b/app-admin/wallarm-common/Manifest @@ -0,0 +1,2 @@ +DIST wallarm-common_2.10.4_all.deb 28868 BLAKE2B dc5d5da4744ab23af64d8b89a41b27d5bd07fc0ca240279419dfac25864e888910eceb493191fde0d43905ae906810f06980192b7c06fd99a2def1158c20947c SHA512 6f07c79243e8569d368e373bb3fe4dfd554a07448a729eb9f57603aff1bc795d2b49b9427367ba9ccf0b8a98119130ddf35b0a2e6f6cf273ad61ce17ddeb47b1 +EBUILD wallarm-common-2.10.4.ebuild 1060 BLAKE2B eb06a8554ce8205be5039159091db2c2f37c96df79f213666560dffca6d1a7ce0efcb502b43561a4d4b9879cb06efe37da2f1b038b1567e7cd975f17503277a4 SHA512 f516d52ab2a9ce722398509349084c42b907da920ece0f785f0a114622344571fe9069591901fd4d0d4dc33019092744f2e95e7a5438d463a7303d8e2366600b diff --git a/app-admin/wallarm-common/wallarm-common-2.10.4.ebuild b/app-admin/wallarm-common/wallarm-common-2.10.4.ebuild new file mode 100644 index 0000000..6cf26e9 --- /dev/null +++ b/app-admin/wallarm-common/wallarm-common-2.10.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_ARCH="all" + +DESCRIPTION="Wallarm - common files" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}_${PV}_${DEB_ARCH}.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="logrotate" + +DEPEND="" +RDEPEND="logrotate? ( app-admin/logrotate ) + dev-lang/ruby:2.5 + dev-ruby/hashie + dev-ruby/highline + dev-ruby/rest-client + dev-ruby/wallarm-api + dev-ruby/proton" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}/changelog.gz + unpack usr/share/doc/${PN}/NEWS.Debian.gz +} + +src_install() { + dodoc usr/share/doc/${PN}/copyright + dodoc changelog + dodoc NEWS.Debian + + if use logrotate ; then + insinto "/etc/logrotate.d" + newins etc/logrotate.d/${PN} ${PN} + fi + + insinto "/etc" + doins -r etc/wallarm +} diff --git a/app-admin/wallarm-monitoring/Manifest b/app-admin/wallarm-monitoring/Manifest new file mode 100644 index 0000000..31495b0 --- /dev/null +++ b/app-admin/wallarm-monitoring/Manifest @@ -0,0 +1,2 @@ +DIST wallarm-monitoring_2.10.4_all.deb 14060 BLAKE2B fa2add3139cc07d6fe86e29ed7c427a9f1a616fdd666666ba0b5efa2cc1da95e5e4950741fea167940e5f4d4f4144e08b19b987a00002edf74efc3b635090665 SHA512 def93ffe6130d41da6ae191578f7fa53d2e9845387617fe0f2b62cd6482d98219176d35d960166e5b3a5f2acde1e658be4f6f847d4c05b733a87923a11e7250b +EBUILD wallarm-monitoring-2.10.4.ebuild 1042 BLAKE2B f45195fe3d6fd2f1617179efe30f53f3ff110fc74d1388dbc67398a41b03b43666963abff11f321dd059d9536b5ba879c403a7af8ae12db0ac21c24d43a7adb2 SHA512 fb6613bf4dea340932cfd2fa00a4a87b5d3b484d9fff2838110ecb260297d783a71d91c432223b96dda2cc8c4d2e4592f1fd9d2293ebd0f60176ad540acfae9f diff --git a/app-admin/wallarm-monitoring/wallarm-monitoring-2.10.4.ebuild b/app-admin/wallarm-monitoring/wallarm-monitoring-2.10.4.ebuild new file mode 100644 index 0000000..550c63b --- /dev/null +++ b/app-admin/wallarm-monitoring/wallarm-monitoring-2.10.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_ARCH="all" + +DESCRIPTION="Wallarm - common files" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}_${PV}_${DEB_ARCH}.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="net-analyzer/nagios-plugins + app-metrics/collectd + dev-libs/libyajl + dev-python/msgpack + dev-python/pycrypto + dev-python/pyyaml" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}/changelog.gz + unpack usr/share/doc/${PN}/NEWS.Debian.gz +} + +src_install() { + dodoc usr/share/doc/${PN}/copyright + dodoc changelog + dodoc NEWS.Debian + + insinto "/usr/$(get_libdir)" + doins -r usr/lib/nagios + fperms -R 755 /usr/$(get_libdir)/nagios/plugins + doins -r usr/lib/collectd + + insinto "/etc" + doins -r etc/collectd +} diff --git a/dev-libs/libcpire/Manifest b/dev-libs/libcpire/Manifest new file mode 100644 index 0000000..a36d247 --- /dev/null +++ b/dev-libs/libcpire/Manifest @@ -0,0 +1,2 @@ +DIST libcpire_0.4.1-1_amd64.deb 45732 BLAKE2B 1776690b7558dbc0fe0bb39026666adf234ff607593d13878388dbf0f856efa136d02dc5898337735aa5b2fb4a30981106ec93bf8f6b8b2a7750926438d6e265 SHA512 d79e96b8ad0c2dbfc4acd72c75e9137aa6f243852effd08f624b5e5697775b755b6fe636e80b02613e542395f71b07966733429488868a7a73354518cba79c66 +EBUILD libcpire-0.4.1.ebuild 793 BLAKE2B f3b3a2d2b2b329978fedcffa13d03418127b21fe924d8f762174c1761bd47b902dc3a94f3f37f7f5f8ebcfbe91b45e474ce77ddeb7ac421fe39fefe38792f45a SHA512 343c84e869540437f1abf0862449b673ab43046f9168288835e2e5471fc16a964a71a053eea7fdeb2914d509e8cc032781dbd963fed7dcc0007ffb0b90a67eae diff --git a/dev-libs/libcpire/libcpire-0.4.1.ebuild b/dev-libs/libcpire/libcpire-0.4.1.ebuild new file mode 100644 index 0000000..982df10 --- /dev/null +++ b/dev-libs/libcpire/libcpire-0.4.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_PL="1" + +DESCRIPTION="PIRE: C bindings" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}_${PV}-${DEB_PL}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-libs/libwpire" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}/changelog.Debian.gz +} + +src_install() { + dodoc usr/share/doc/${PN}/copyright + dodoc changelog.Debian + + dolib.so usr/lib/x86_64-linux-gnu/${PN}.so.0.3.0 + dosym ${PN}.so.0.3.0 /usr/$(get_libdir)/${PN}.so.0 +} diff --git a/dev-libs/libdetection/Manifest b/dev-libs/libdetection/Manifest new file mode 100644 index 0000000..1d141bf --- /dev/null +++ b/dev-libs/libdetection/Manifest @@ -0,0 +1,2 @@ +DIST libdetection1_1.0.0-2_amd64.deb 26560 BLAKE2B 2f80e23a9513bff4ca3d12dcf65a7222ef8a874abdac30d9bf92f1192600811801ce5124bea2fc9420d756796efe2d1d26117de4fcb6aa123517b0519ae39418 SHA512 0633dd9f670c759d3bb2ff5233b49664382bc17d82b2201cdbe42fe81fc352ea136324bd36a213b098d42bbdcf832707277724b1e9e63c6987fcb9c076861c43 +EBUILD libdetection-1.0.0.ebuild 934 BLAKE2B 434461ee3db6f771ace7de23ffe5509f35dc8a2f958530128cb31b9c1ea409ae273570e51a3a2c6962d1980b76d7cc4e6634c15d1914377f4fae1228eae7f987 SHA512 8eacfb712abe8f4f99cab617349acfacd8be23097a7a0e6bae83a85b9a7b58b096439acee2b35aea6c5af47734fc832662a6ce498b3f664608f1feb2f0e6a222 diff --git a/dev-libs/libdetection/libdetection-1.0.0.ebuild b/dev-libs/libdetection/libdetection-1.0.0.ebuild new file mode 100644 index 0000000..d86a1fd --- /dev/null +++ b/dev-libs/libdetection/libdetection-1.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_PV=$(ver_cut 1) +DEB_PL="2" + +DESCRIPTION="Signature-free approach library to detect attacks" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}${DEB_PV}_${PV}-${DEB_PL}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="sys-libs/glibc" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}${DEB_PV}/changelog.Debian.gz +} + +src_install() { + dodoc usr/share/doc/${PN}${DEB_PV}/copyright + dodoc usr/share/doc/${PN}${DEB_PV}/README.md + dodoc changelog.Debian + + dolib.so usr/lib/x86_64-linux-gnu/${PN}.so.${PV} + dosym ${PN}.so.${PV} /usr/$(get_libdir)/${PN}.so.$(ver_cut 1) +} diff --git a/dev-libs/libhubbub/Manifest b/dev-libs/libhubbub/Manifest new file mode 100644 index 0000000..ab375f6 --- /dev/null +++ b/dev-libs/libhubbub/Manifest @@ -0,0 +1,2 @@ +DIST libhubbub_0.3.3+wallarm3-1_amd64.deb 71488 BLAKE2B 81f1d48a021ba6ea18288db9a4e96b7af0aacc847a9cf8da8eebec5c2532c84f129fd3d96304055aec5ad95bb7b89243fd8cb26c1af049c55c4958f33c5bab3b SHA512 f92dbfc6d79a374cfb1213e57a1b29da94cc93b3fea585c28b902350673bb29a50fa1c1cccec4857bcdc04d2ad36a54423d5dabed443bdc32f6a3ed3ec3b22b4 +EBUILD libhubbub-0.3.3_p3.ebuild 930 BLAKE2B 95d8f5b96e1a1d76172167e38c6243c55fc4b577be4d61f6491aa01171eb741d683eb6660c2351b2e8228bdd93aaa2cae05265d9f9a2428b6cce0c2fcaf41dd8 SHA512 627d0f568cc5da7425cc72fa89a94baab3b098b2d341166d19e24ae59a29e02daff1c9093731f3f1a0d41635c84ec5d71ce506aea13ffc711909fd35f76cf929 diff --git a/dev-libs/libhubbub/libhubbub-0.3.3_p3.ebuild b/dev-libs/libhubbub/libhubbub-0.3.3_p3.ebuild new file mode 100644 index 0000000..2b82e28 --- /dev/null +++ b/dev-libs/libhubbub/libhubbub-0.3.3_p3.ebuild @@ -0,0 +1,45 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_PL="1" +MY_PV="${PV##*_p}" +MY_GIT="wallarm${MY_PV%%_*}" +MY_PV="${PV%%_*}" +MY_P="${PN}_${MY_PV}+${MY_GIT}" + +DESCRIPTION="Hubbub -- an HTML parser" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${MY_P}-${DEB_PL}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-libs/libparserutils" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}/changelog.Debian.gz +} + +src_install() { + dodoc changelog.Debian + dodoc usr/share/doc/${PN}/README + dodoc usr/share/doc/${PN}/copyright + + dolib.so usr/lib/${PN}.so.${MY_PV} + dosym ${PN}.so.${MY_PV} /usr/$(get_libdir)/${PN}.so.$(ver_cut 1) +} diff --git a/dev-libs/libproton/Manifest b/dev-libs/libproton/Manifest new file mode 100644 index 0000000..e630917 --- /dev/null +++ b/dev-libs/libproton/Manifest @@ -0,0 +1,2 @@ +DIST libproton210_2.10.12_amd64.deb 316584 BLAKE2B 1040807c41f7c64c5ed3a820fa8a496b415c7695ad83b7ae1ded1fa4ba608f955c6fe0bb48eddb142a0c61fd8e7acdcb925b3f4c4be60bd1a83fd564ea044221 SHA512 86bea5e359e56ade0b4032d5a4ff5d7c15df556ee626e274b44d6fd962030bb28436bfde040e95a1da213dd3e9a94805fe857e9492b1170820a422667112752c +EBUILD libproton-2.10.12.ebuild 1081 BLAKE2B a6b9212b28805dd73c955a5d0ebf86a970e31552a0e4337896bd5d4f89fe580ee66120bcedec3365c6465567d4b70799b4b9800a4e614050a3be80b388f9699b SHA512 ab74cf16cb5042fac86c3d91a67f74d3d4db53d85dfb87795b8724dc7fcd802a84448744cf5ed077de3ddcc4acaaf2e5016f34d07070ffbcd6252776424f6b34 diff --git a/dev-libs/libproton/libproton-2.10.12.ebuild b/dev-libs/libproton/libproton-2.10.12.ebuild new file mode 100644 index 0000000..5dedb3c --- /dev/null +++ b/dev-libs/libproton/libproton-2.10.12.ebuild @@ -0,0 +1,50 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +MY_PV=$(ver_rs 1 '') +DEB_PV=$(ver_cut 1 "${MY_PV}") + +DESCRIPTION="Wallarm Web Application Firewall - core libraries" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}${DEB_PV}_${PV}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="app-arch/brotli + dev-libs/libconfig + dev-libs/libcpire + dev-libs/libdetection + dev-libs/libhubbub + dev-libs/openssl:0/1.1 + dev-libs/libwlog + dev-libs/libwyajl + dev-libs/libxml2 + sys-libs/zlib" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}${DEB_PV}/changelog.gz +} + +src_install() { + dodoc usr/share/doc/${PN}${DEB_PV}/copyright + dodoc changelog + + dolib.so usr/lib/x86_64-linux-gnu/${PN}.so.${PV} + dosym ${PN}.so.${PV} /usr/$(get_libdir)/${PN}.so.$(ver_cut 1-2) +} diff --git a/dev-libs/libtws/Manifest b/dev-libs/libtws/Manifest new file mode 100644 index 0000000..8806faf --- /dev/null +++ b/dev-libs/libtws/Manifest @@ -0,0 +1,2 @@ +DIST libtws0_0.0.6_amd64.deb 9888 BLAKE2B 1c6f4ed687264df828b92eaeb4085fc0b23d6df71af3aa4747a967924a1c21619505d21cace4c5df83669b5caa22f537bdfa64f84a74ae0fe20735e55b02cbd8 SHA512 0693471ec64e9b4da45d0e8beae08b0bfefcb0f5fc0f93a02bf3c855b17575c18e7f0404cda3755641569371689cf3dda35d36b27880a215a7ae398c1394bfcb +EBUILD libtws-0.0.6.ebuild 894 BLAKE2B 15e4e44e4d5c45eea41b3ce34ff410988d1acc337d00294df720ca1deb22f7252cd22c9c6f927cebf492cf9d83f2bfb4c020b9cfd6cee17daf81ee0cd3472c60 SHA512 a371a1b461f17e778b3fe614a564d7bb1cf104717e68bea64fd1286126c8f7b86fdc22b2527490c288b839e8cea859dbd4abd01a3ec233560a8ba06adcc3808d diff --git a/dev-libs/libtws/libtws-0.0.6.ebuild b/dev-libs/libtws/libtws-0.0.6.ebuild new file mode 100644 index 0000000..58dd09c --- /dev/null +++ b/dev-libs/libtws/libtws-0.0.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_PV=$(ver_cut 1) + +DESCRIPTION="Tiny Websocket protocol parser library" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}${DEB_PV}_${PV}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="sys-libs/glibc + sys-libs/zlib" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}${DEB_PV}/changelog.gz +} + +src_install() { + dodoc usr/share/doc/${PN}${DEB_PV}/copyright + dodoc usr/share/doc/${PN}${DEB_PV}/README.md + dodoc changelog + + dolib.so usr/lib/${PN}.so.0.0.4 + dosym ${PN}.so.0.0.4 /usr/$(get_libdir)/${PN}.so.$(ver_cut 1) +} diff --git a/dev-libs/libwacl/Manifest b/dev-libs/libwacl/Manifest new file mode 100644 index 0000000..d1b6453 --- /dev/null +++ b/dev-libs/libwacl/Manifest @@ -0,0 +1,2 @@ +DIST libwacl_1.0.4_amd64.deb 13136 BLAKE2B 64312d2a4581ec6ec8822ca5bd68e427729efc6787b1d8f493fcaca8034b6748842b8531481ae55c6a2bfe8a803164c500363a3c7ad351ac4cd7e410f111d705 SHA512 1aa746806d74978b5fb4777fda394e379d8b05247a225e1ed3640a0a41a01d43f6f2093b4ee20ee151a6c1643a28ea26e769b5c36d2c089c3404b6550b7b343b +EBUILD libwacl-1.0.4.ebuild 781 BLAKE2B 5eecdc9c1157bbbd7a5783ff495655ca85cadb085101a4b8ebb2b5393d07c622843509866e7f489df187acac57d08eeada2f44509c5f6cc552334a3ca7e475e5 SHA512 10d366c7c4954f9815dc09e4f9fbbba7ae08f3a3c7721f60b472422118c73c157d8438dfd9afdb637cf0bb3672d765b655259a335aedd817d054580b2961a48b diff --git a/dev-libs/libwacl/libwacl-1.0.4.ebuild b/dev-libs/libwacl/libwacl-1.0.4.ebuild new file mode 100644 index 0000000..21fd2f8 --- /dev/null +++ b/dev-libs/libwacl/libwacl-1.0.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DESCRIPTION="Wallarm access control list library" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}_${PV}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-db/lmdb" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}/changelog.gz +} + +src_install() { + dodoc usr/share/doc/${PN}/copyright + dodoc changelog + + dolib.so usr/lib/x86_64-linux-gnu/${PN}.so.1.0.0 + dosym ${PN}.so.1.0.0 /usr/$(get_libdir)/${PN}.so.$(ver_cut 1) +} diff --git a/dev-libs/libwlog/Manifest b/dev-libs/libwlog/Manifest new file mode 100644 index 0000000..9c9a2d6 --- /dev/null +++ b/dev-libs/libwlog/Manifest @@ -0,0 +1,2 @@ +DIST libwlog_1.1.1_amd64.deb 9456 BLAKE2B 1269282dcf6b6cce039ce40e94235b2bbcf130514609a55bc1beaee6f977a71f852472174dc2b8e626ebe38e0335e9b22da3c31f8d479939fda630317f0f1481 SHA512 d4da7ab258c59ca3b1c39e038424ccc905705709b3a78fe316f90593600eb1f938c5dd4ee68e7c707cf5091bb4b77bb431e90ec95f1d0b541615bf8a737f131d +EBUILD libwlog-1.1.1.ebuild 766 BLAKE2B 327dcc10d9b3370eb64e2f0a4d3b390a264f3a3212383d3b6339f91f244a23358b6ad4baf556597737f1f55a38f7f82acc7baacf67415f3cc65ec7984a8bd589 SHA512 9424fb98c1053622db376c9e63e29fe73241e90d8f32a32f725d5e89abdb32e31fb5800483fdc281fa224c2c35e4138af93f33bb2ada8eaaf81a95a4027c20f2 diff --git a/dev-libs/libwlog/libwlog-1.1.1.ebuild b/dev-libs/libwlog/libwlog-1.1.1.ebuild new file mode 100644 index 0000000..01eeb5f --- /dev/null +++ b/dev-libs/libwlog/libwlog-1.1.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DESCRIPTION="Wallarm C logging library" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}_${PV}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-libs/libcpire" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}/changelog.gz +} + +src_install() { + dodoc usr/share/doc/${PN}/copyright + dodoc changelog + + dolib.so usr/lib/x86_64-linux-gnu/${PN}.so.1.1.0 + dosym ${PN}.so.1.1.0 /usr/$(get_libdir)/${PN}.so.1 +} diff --git a/dev-libs/libwpire/Manifest b/dev-libs/libwpire/Manifest new file mode 100644 index 0000000..17cc9fb --- /dev/null +++ b/dev-libs/libwpire/Manifest @@ -0,0 +1,2 @@ +DIST libwpire_0.0.5+git20180504-1_amd64.deb 109408 BLAKE2B 4813489797fad5c5ba656f27c8fd5af842c8456f9cbea34d16d2e0afb604617512ce42bc434e09c7668eb215d4be663b54886411dfb3a04a1df5a900e01e6cde SHA512 1913dd7a2cbd7071bfe3e7388188f409f4dc9fef90ad5ca6fc5293bc2863a6be512d1172ef6cddfb0834ee20486d59a71b7b12ff60189dfa901da26aaa35922e +EBUILD libwpire-0.0.5_p20180504.ebuild 843 BLAKE2B 689335b2aaf6ce97d36edebaf43014945dcb6dc12a1175edd68ecaefddce8fce31fcfb484c0650740b76476a8a7c15a89dece9bcfc0145027cd445e027603f4a SHA512 c471f5ff1c7d77bd4dc00aa3e2f9d509b12e9eefbf05e8bfeb21e99b211b77351ffffd30e89947066391144c62fa377d9757ca0ff6a68aefc1cc65ad052ac798 diff --git a/dev-libs/libwpire/libwpire-0.0.5_p20180504.ebuild b/dev-libs/libwpire/libwpire-0.0.5_p20180504.ebuild new file mode 100644 index 0000000..fc935e6 --- /dev/null +++ b/dev-libs/libwpire/libwpire-0.0.5_p20180504.ebuild @@ -0,0 +1,43 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_PL="1" +MY_PV="${PV##*_p}" +MY_GIT="git${MY_PV%%_*}" +MY_PV="${PV%%_*}" +MY_P="${PN}_${MY_PV}+${MY_GIT}" + +DESCRIPTION="Perl Incompatible Regular Expressions library" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${MY_P}-${DEB_PL}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}/changelog.Debian.gz +} + +src_install() { + dodoc changelog.Debian + + dolib.so usr/lib/${PN}.so.0.0.0 + dosym ${PN}.so.0.0.0 /usr/$(get_libdir)/${PN}.so.0 +} diff --git a/dev-libs/libwyajl/Manifest b/dev-libs/libwyajl/Manifest new file mode 100644 index 0000000..0e279c2 --- /dev/null +++ b/dev-libs/libwyajl/Manifest @@ -0,0 +1,2 @@ +DIST libwyajl2_2.0.4+w3-1_amd64.deb 18292 BLAKE2B 61d90170f1ee1d566266214eacc3f6233813a1134ca76950a06034e79e2f186d1bad3185a0cb13dd0dde98d5c9cb315052168bf2c7995ac6879c165d624e2916 SHA512 5c5672e1e4e86fe1ae0d64cf473fc742272022e1397a56da0ac409cd1ff8ed9499d18fb22863212e69363b7aad390c25b933f9cd64d1bc35ad94e1c839cb33a6 +EBUILD libwyajl-2.0.4_p3.ebuild 1067 BLAKE2B 10d85b7909b1f3f54bbe5fe350313507144910555756a252d77b6fdc6c0e543a0631d97316f89e52972ed6ab05dc9cfe2d639a134fe8f0c0dba1f6cea39e6b03 SHA512 224884d04cfb4cf21e5f6ac353c47dace9207252d169d01c0fce455b8c623206eba959e39a3b560daa0301db6bb12587cd7b1b1c1b3cff864cd85ca952f3191f diff --git a/dev-libs/libwyajl/libwyajl-2.0.4_p3.ebuild b/dev-libs/libwyajl/libwyajl-2.0.4_p3.ebuild new file mode 100644 index 0000000..04ce78a --- /dev/null +++ b/dev-libs/libwyajl/libwyajl-2.0.4_p3.ebuild @@ -0,0 +1,47 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_PV=$(ver_cut 1) +DEB_PL="1" +MY_PV="${PV##*_p}" +MY_GIT="w${MY_PV%%_*}" +MY_PV="${PV%%_*}" +MY_P="${PN}${DEB_PV}_${MY_PV}+${MY_GIT}" + +DESCRIPTION="Signature-free approach library to detect attacks" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${MY_P}-${DEB_PL}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="sys-libs/glibc" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}${DEB_PV}/changelog.Debian.gz +} + +src_install() { + dodoc usr/share/doc/${PN}${DEB_PV}/copyright + dodoc usr/share/doc/${PN}${DEB_PV}/README + dodoc usr/share/doc/${PN}${DEB_PV}/TODO + dodoc changelog.Debian + + dolib.so usr/lib/x86_64-linux-gnu/${PN}.so.2.0.5 + dosym ${PN}.so.2.0.5 /usr/$(get_libdir)/${PN}.so.$(ver_cut 1) +} diff --git a/dev-ruby/murmurhash3/Manifest b/dev-ruby/murmurhash3/Manifest new file mode 100644 index 0000000..bbe2e35 --- /dev/null +++ b/dev-ruby/murmurhash3/Manifest @@ -0,0 +1,2 @@ +DIST ruby-murmurhash3_0.1.4-4_amd64.deb 8572 BLAKE2B dbd80edce64ba6dd3249ae695094c129e0d997c0a3a544d898925003479316c3e1c01db9ccb907135e9abf9f6c1cee8fec7679d966efb3a2ede6f3b9754861e7 SHA512 9ecec990f46e7c81abb44e88d6628211c22dbcf480c0141f4243cca9b346e8e16cb871c7f4f72512ffee92e88588118b3bc6004c089e24859487f39bb9a6d611 +EBUILD murmurhash3-0.1.4.ebuild 1118 BLAKE2B 849f6419970c08abe915e646184f30fad3ce78a7b0940ca204fdf5757f36d63367534007cd1e4baf3d51b7b88ed96e86212599363409831ca7046bab1e3383d7 SHA512 e2eb6786247520e5d4f0d034d6a5df316e1eb38c924719e0e55182aac7b2eb645826301839c3674250ee46e99b529448e6cd10699acc5da6bfe3337e66ad6806 diff --git a/dev-ruby/murmurhash3/murmurhash3-0.1.4.ebuild b/dev-ruby/murmurhash3/murmurhash3-0.1.4.ebuild new file mode 100644 index 0000000..a058298 --- /dev/null +++ b/dev-ruby/murmurhash3/murmurhash3-0.1.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +RUBY_TG="2.5.0" +DEB_PL="4" + +DESCRIPTION="Wallarm Web Application Firewall - ruby bindings" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/ruby-${PN}_${PV}-${DEB_PL}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/ruby:2.5" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/ruby-${PN}/changelog.Debian.gz +} + +src_install() { + dodoc usr/share/doc/ruby-${PN}/copyright + dodoc changelog.Debian + + insinto /usr/$(get_libdir)/ruby/vendor_ruby/2.5.0/x86_64-linux/ + doins -r usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/${RUBY_TG}/${PN} + fperms 755 /usr/$(get_libdir)/ruby/vendor_ruby/${RUBY_TG}/x86_64-linux/${PN}/native_murmur.so + insinto /usr/$(get_libdir)/ruby/vendor_ruby/${RUBY_TG} + doins usr/lib/ruby/vendor_ruby/${PN}.rb + doins -r usr/lib/ruby/vendor_ruby/${PN} +} diff --git a/dev-ruby/parser-generator/Manifest b/dev-ruby/parser-generator/Manifest new file mode 100644 index 0000000..84e7426 --- /dev/null +++ b/dev-ruby/parser-generator/Manifest @@ -0,0 +1,2 @@ +DIST ruby-parser-generator_0.3.3-1_all.deb 7756 BLAKE2B cf18cf7e64368b3a05113cae03a9643fc10f6b8cb96f433f501ea372ccbfa2f2f1b80afb3f9f70ecc32d09afe33078377ab20d8496cd02621065c365c1cd1c57 SHA512 c4a5fc0247d2799d2f60f418c321dca3f4f1a8b69ee4f4df4cfc81b4a5061e07cf1fbc2199c8e7bb5375ac8548d69cc3ec53997bba854e2f53943b8c4107ab75 +EBUILD parser-generator-0.3.3.ebuild 899 BLAKE2B efd0d9fa39ea28037a1c12d06b022c2dc614ef66f977dfa8b252cd789eedd83a3cf3a3bcde066bc3fcc0000248616d27a20f568de3a251c3903c69583463896b SHA512 8ab3218b114e38a7bae6ee65345fae95f594020d14e71073e734af6c03b012f76220a24dba3370bf2f2dc795ccaf05c8a1590a3c939ce9260e1e74b5fd06fd42 diff --git a/dev-ruby/parser-generator/parser-generator-0.3.3.ebuild b/dev-ruby/parser-generator/parser-generator-0.3.3.ebuild new file mode 100644 index 0000000..fc61585 --- /dev/null +++ b/dev-ruby/parser-generator/parser-generator-0.3.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +RUBY_TG="2.5.0" +DEB_PL="1" +DEB_ARCH="all" + +DESCRIPTION="Parser Generator" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/ruby-${PN}_${PV}-${DEB_PL}_${DEB_ARCH}.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/ruby:2.5" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/ruby-${PN}/changelog.Debian.gz +} + +src_install() { + dodoc usr/share/doc/ruby-${PN}/copyright + dodoc changelog.Debian + + insinto /usr/$(get_libdir)/ruby/vendor_ruby/${RUBY_TG} + doins usr/lib/ruby/vendor_ruby/$(ver_rs 1- _ ${PN}).rb + doins -r usr/lib/ruby/vendor_ruby/$(ver_rs 1- _ ${PN}) +} diff --git a/dev-ruby/proton/Manifest b/dev-ruby/proton/Manifest new file mode 100644 index 0000000..a79b044 --- /dev/null +++ b/dev-ruby/proton/Manifest @@ -0,0 +1,2 @@ +DIST ruby-proton_2.10.12_amd64.deb 50648 BLAKE2B 9b10cc4386fe478cadb4f4518d71ba14a6bc635b3284f145193ecd8e031877d32050e1228da3704007b7f5e069c5d68742e4eb576d6c91153c7f8eb78bc66c32 SHA512 4ccd722ed01f34e50da87dad45672bbd19ce92647c94a11559d12412b5335aca56ac4aa7beedc751f0cb934030b5532cf26eef049264df9817d84f3164c4e077 +EBUILD proton-2.10.12.ebuild 1240 BLAKE2B 7d86f6ad55f0d61137327d32dd741de738030e92d664e8811f563f412087e19fb2e65eaf3634fc5e69e1c362171d1936aa48cb6ae6c8a45a8bdfcda38ab15047 SHA512 e365b8ffb27a9d7198f75d38f19a3d0393a84b01c73b28562ba9c3893af06cf53bd218c96997e7d64a0c85362d7026b4e9f8fc45105d614dbeebcb0d43d40e53 diff --git a/dev-ruby/proton/proton-2.10.12.ebuild b/dev-ruby/proton/proton-2.10.12.ebuild new file mode 100644 index 0000000..0a0ac5b --- /dev/null +++ b/dev-ruby/proton/proton-2.10.12.ebuild @@ -0,0 +1,50 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +RUBY_TG="2.5.0" + +DESCRIPTION="Wallarm Web Application Firewall - ruby bindings" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/ruby-${PN}_${PV}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-libs/libconfig + dev-libs/libproton + dev-lang/ruby:2.5 + dev-libs/libwlog + dev-ruby/msgpack + dev-ruby/murmurhash3 + dev-ruby/parser-generator" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/ruby-${PN}/changelog.gz +} + +src_install() { + dodoc usr/share/doc/ruby-${PN}/copyright + dodoc changelog + + insinto /usr/$(get_libdir)/ruby/vendor_ruby/2.5.0/x86_64-linux/ + doins -r usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/${RUBY_TG}/${PN} + fperms 755 /usr/$(get_libdir)/ruby/vendor_ruby/${RUBY_TG}/x86_64-linux/${PN}/${PN}.so + insinto /usr/$(get_libdir)/ruby/vendor_ruby/${RUBY_TG} + doins usr/lib/ruby/vendor_ruby/${RUBY_TG}/${PN}.rb + doins -r usr/lib/ruby/vendor_ruby/${RUBY_TG}/${PN} +} diff --git a/dev-ruby/thread/Manifest b/dev-ruby/thread/Manifest new file mode 100644 index 0000000..67df422 --- /dev/null +++ b/dev-ruby/thread/Manifest @@ -0,0 +1,2 @@ +DIST ruby-thread_0.1.4+20140502+7e91ca4-4_all.deb 8612 BLAKE2B 3030f2be46aa1f85f91b267f66912aa34dd2d7acb008acac178415ea8ecd4b03c83c09f890cefbcbf97389d166127a7fb49c5e1a95c6bac76b8be2eaf921037d SHA512 e4539c6eea8b67a18fb0eefb879d94233778d7a36494fee4bbc212862dddb5fbf4727c1ca9df10b89656d7b083c9b827f07bb048b2f31e4aa33a17d672c85cac +EBUILD thread-0.1.4_p20140502.ebuild 922 BLAKE2B c81f738c16d3a9b1d812a8cb62e0ddb7f68f9120b56d93126e2b881c74aebc4f260ad94cc13723e78ea6e587cea5854f531bd0c20b16d2578b30da959e2fca8a SHA512 f3ca090912d6a697314a4cf08a489f11f393b9200afd59637a77bf65653bbd954395b03f67d49102a5e67353f7360d68f08ff0d1beec5ae7d1f7c7323d738389 diff --git a/dev-ruby/thread/thread-0.1.4_p20140502.ebuild b/dev-ruby/thread/thread-0.1.4_p20140502.ebuild new file mode 100644 index 0000000..082cd3f --- /dev/null +++ b/dev-ruby/thread/thread-0.1.4_p20140502.ebuild @@ -0,0 +1,46 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +RUBY_TG="2.5.0" +DEB_PL="4" +DEB_ARCH="all" +MY_PV="${PV##*_p}" +MY_GIT="${MY_PV%%_*}+7e91ca4" +MY_PV="${PV%%_*}" +MY_P="${PN}_${MY_PV}+${MY_GIT}" + +DESCRIPTION="Parser Generator" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/ruby-${MY_P}-${DEB_PL}_${DEB_ARCH}.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/ruby:2.5" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/ruby-${PN}/changelog.Debian.gz +} + +src_install() { + dodoc usr/share/doc/ruby-${PN}/copyright + dodoc changelog.Debian + + insinto /usr/$(get_libdir)/ruby/vendor_ruby/${RUBY_TG} + doins -r usr/lib/ruby/vendor_ruby/${PN} +} diff --git a/dev-ruby/wallarm-api/Manifest b/dev-ruby/wallarm-api/Manifest new file mode 100644 index 0000000..1f44fc9 --- /dev/null +++ b/dev-ruby/wallarm-api/Manifest @@ -0,0 +1,2 @@ +DIST ruby-wallarm-api_2.10.4_all.deb 8304 BLAKE2B 8c2febf3f8459eaeb8366012cbccdd8f223f6c7e0b6a46ea41f6f165e714c8bdfb31b0e7c086e0e5b3c18987c8dcd00e1df9dab440252ada8546f2a7e808e986 SHA512 e9754bc75f84d2f09920c5d2559b7adaa4bb5b27f80e37208a56f96d0bd0e0e68e850681d37405a42c0b06edf877a66ed999abbb5efc22f5cb91e9b7a9606557 +EBUILD wallarm-api-2.10.4.ebuild 938 BLAKE2B 810df142e1bfa17e2c448ca70334b2273d4eb4c7a1ed9ade7af673fc1832e62c09c5666a32397f3fea46edc6232bcaf7b1cfca9b76c18fa1c3aa1f4c935f7d35 SHA512 4f2d1590f30083509f69f3ae18056666288a5995210940ffc0f6795f2343313f88dcb0661485a1366ab3107f0a5e0d4081f87a89a35496420e158f612e5ce51b diff --git a/dev-ruby/wallarm-api/wallarm-api-2.10.4.ebuild b/dev-ruby/wallarm-api/wallarm-api-2.10.4.ebuild new file mode 100644 index 0000000..0023e05 --- /dev/null +++ b/dev-ruby/wallarm-api/wallarm-api-2.10.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +RUBY_TG="2.5.0" +DEB_ARCH="all" + +DESCRIPTION="Ruby library for access Wallarm API" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/ruby-${PN}_${PV}_${DEB_ARCH}.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/ruby:2.5 + dev-ruby/json + dev-ruby/msgpack + dev-ruby/thread" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/ruby-${PN}/changelog.gz + unpack usr/share/doc/ruby-${PN}/NEWS.Debian.gz +} + +src_install() { + dodoc usr/share/doc/ruby-${PN}/copyright + dodoc changelog + dodoc NEWS.Debian + + insinto /usr/$(get_libdir)/ruby/vendor_ruby/${RUBY_TG} + doins -r usr/lib/ruby/vendor_ruby/wallarm +} diff --git a/metadata/layout.conf b/metadata/layout.conf new file mode 100644 index 0000000..d43e61c --- /dev/null +++ b/metadata/layout.conf @@ -0,0 +1 @@ +masters = gentoo diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..677234d --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +wallarm diff --git a/www-plugins/libnginx-mod-http-wallarm/Manifest b/www-plugins/libnginx-mod-http-wallarm/Manifest new file mode 100644 index 0000000..668018a --- /dev/null +++ b/www-plugins/libnginx-mod-http-wallarm/Manifest @@ -0,0 +1,2 @@ +DIST libnginx-mod-http-wallarm_2.10.5-1_amd64.deb 75600 BLAKE2B 8a76178690de589f238c2e4cdd527fef3410944b190a4abfbfef2675f4a87d02683ef279682a940188f0fb367c79ae4e24e889cd05287a435ed287e8c3e38fea SHA512 7282bf428844bd1cbd69246c29fdc9ff244fb9d2d7f166a3847b25108d6477fee11ab262f2df74e71d6d6efb2bababa4fdf7200ba95fe337f56c5ca75e18b0ed +EBUILD libnginx-mod-http-wallarm-2.10.5.ebuild 1243 BLAKE2B 4bf6d0972199416366983d72356a3bf21aa0e59227c90bc0132591c467bb0f43a5b30dec5780c7f724ef7fefb5fd98d5704a6fb7ee39031eb49fc2357995470c SHA512 17f88bd559786abf996c4a2de34b7a8b5fb3f2e9814e9246c144dbf2621ff648bde2bd78b66970f123e9e491a1a15e600a6cd79869a8b7c3d51f01c1394e6572 diff --git a/www-plugins/libnginx-mod-http-wallarm/libnginx-mod-http-wallarm-2.10.5.ebuild b/www-plugins/libnginx-mod-http-wallarm/libnginx-mod-http-wallarm-2.10.5.ebuild new file mode 100644 index 0000000..54c072f --- /dev/null +++ b/www-plugins/libnginx-mod-http-wallarm/libnginx-mod-http-wallarm-2.10.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 2019 RBK.MONEY +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker + +DEB_PL="1" + +DESCRIPTION="Wallarm security engine nginx module" +HOMEPAGE="http://wallarm.com" +SRC_URI="http://repo.wallarm.com/ubuntu/wallarm-node/bionic/pool/${PN}_${PV}-${DEB_PL}_amd64.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64" +IUSE="collectd" + +DEPEND="" +RDEPEND="dev-libs/libconfig + dev-db/lmdb + dev-libs/libproton + dev-libs/libtws + dev-libs/libwacl + dev-libs/libwlog + dev-libs/libwyajl + dev-libs/libyaml + app-admin/wallarm-common" +BDEPEND="" + +src_unpack() { + mkdir "${WORKDIR}/${P}" && cd "${WORKDIR}/${P}" + unpack_deb ${A} +} + +src_prepare() { + eapply_user + + unpack usr/share/doc/${PN}/changelog.Debian.gz +} + +src_install() { + dodoc usr/share/doc/${PN}/copyright + dodoc changelog.Debian + dodoc -r usr/share/doc/${PN}/examples + + insinto "/usr/$(get_libdir)/nginx/modules" + doins usr/lib/nginx/modules/ngx_http_wallarm_module.so + fperms 755 /usr/$(get_libdir)/nginx/modules/ngx_http_wallarm_module.so + + insinto "/etc" + doins -r etc/wallarm + if use collectd ; then + doins -r etc/collectd + fi +}