diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 94788 -> 95099 bytes | |||
-rw-r--r-- | dev-libs/kweathercore/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/kweathercore/kweathercore-0.6.ebuild | 35 | ||||
-rw-r--r-- | dev-libs/kweathercore/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/modsecurity/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/modsecurity/metadata.xml | 35 | ||||
-rw-r--r-- | dev-libs/modsecurity/modsecurity-3.0.7.ebuild | 80 |
7 files changed, 167 insertions, 0 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 6883389bccad..a7c230bbf235 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/kweathercore/Manifest b/dev-libs/kweathercore/Manifest new file mode 100644 index 000000000000..b6b6a39d7061 --- /dev/null +++ b/dev-libs/kweathercore/Manifest @@ -0,0 +1,3 @@ +DIST kweathercore-0.6.tar.xz 54000 BLAKE2B 3ecdd9e059f09d1c96f8defe3e9f664431891c73523aadde41d06dcacdd9829b12d1659f2a9abb70cc4ee9ea0eb1d0041c97f8d5d01d7181514a521147296a41 SHA512 0cc3a5422052fd4d3bedac36c3c017d1ed5c21c4200f6e747dc478bab55f7207d9207a9ea472c340397cd2433a020b92adb6ab39f054b4cd6c72cf01949d18d2 +EBUILD kweathercore-0.6.ebuild 701 BLAKE2B a2a751f8ae2a8cdb7162bd3a7d5bf02305a63241fea7dbc9d76d990897fef4790e38aeb9001f298ed62d8a193180f80d2e256e8c8580028293e4ba17409f19ef SHA512 bc46c1347fb121026fd6395bec087c90714532ed2e5ba3b4d7fdc27f20b59f75a7f81e93dad1daa4701629e623edc4d70d7c65299f85c30fc4eb9db7c151cab5 +MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-libs/kweathercore/kweathercore-0.6.ebuild b/dev-libs/kweathercore/kweathercore-0.6.ebuild new file mode 100644 index 000000000000..4b2bb21a7ac3 --- /dev/null +++ b/dev-libs/kweathercore/kweathercore-0.6.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_NONGUI="true" +ECM_QTHELP="true" +ECM_TEST="true" +KFMIN=5.88.0 +QTMIN=5.15.5 +inherit ecm kde.org + +DESCRIPTION="Library for retrieval of weather information including forecasts and alerts" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" + KEYWORDS="~amd64" +fi +LICENSE="LGPL-2+" +SLOT="5" + +DEPEND=" + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtpositioning-${QTMIN}:5 + >=kde-frameworks/kholidays-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 +" +RDEPEND="${DEPEND}" + +src_test() { + local myctestargs=( + -E "locationquerytest" + ) + ecm_src_test +} diff --git a/dev-libs/kweathercore/metadata.xml b/dev-libs/kweathercore/metadata.xml new file mode 100644 index 000000000000..d925f2439758 --- /dev/null +++ b/dev-libs/kweathercore/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <upstream> + <bugs-to>https://bugs.kde.org/</bugs-to> + </upstream> +</pkgmetadata> diff --git a/dev-libs/modsecurity/Manifest b/dev-libs/modsecurity/Manifest new file mode 100644 index 000000000000..fb10df6cdf4a --- /dev/null +++ b/dev-libs/modsecurity/Manifest @@ -0,0 +1,3 @@ +DIST modsecurity-v3.0.7.tar.gz 3333372 BLAKE2B f391e2057b95a26a16efaa5f9d86acdd030b2f32d3da3ebac4e5eccdae7c9c6453bdb6b4e2d7f49ce189760d5c5de7d656aa5796fe2723e2e6f5493c93420913 SHA512 d8caf5946b598b16c4481938f22c1116595286811cfdb01d95db95ab061f7045751f2aa98e515df239bceb3f1a6dce2ecd5b24c954bddc27997fa64e9e429730 +EBUILD modsecurity-3.0.7.ebuild 1913 BLAKE2B a65c12cf84abf5e382bb1c98e452338138f02bb2fc658304201d350af50ae7ca882033db10ffbcb88bd0db8f8900b3850203eefc8a6b5d324ee362a2c81b16fd SHA512 44903caf976cd747f923805d63015344e5153d96b1edfdecfdc544a8e8530b53cc72de68ac3433004e8041cfe93d17c3e4b76d6b345e4f74307734a0117e2d4e +MISC metadata.xml 1019 BLAKE2B 0873fbb1c328dea3378abbe280dc7adacf389a9f1085614057e328ca7258afb4553c2a37bb527eb80b995d69e428ac7fcb3306e65a84c0e3d17acb6ace270b0b SHA512 549b1dc80684fff950148598807b866ab9400c619d2ecb32f2e7f90f8f298dd47daadd4c33f76af40983ed22ffbbb017c110253d810bab931344dd6f80d8f2ce diff --git a/dev-libs/modsecurity/metadata.xml b/dev-libs/modsecurity/metadata.xml new file mode 100644 index 000000000000..dac598b1ea55 --- /dev/null +++ b/dev-libs/modsecurity/metadata.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>hydrapolic@gmail.com</email> + <name>Tomáš Mózes</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="fuzzyhash"> + Support fuzzy hash computations (to detect malware, for example) + using the <pkg>app-crypt/ssdeep</pkg> package. + </flag> + <flag name="geoip2"> + Pull in <pkg>dev-libs/libmaxminddb</pkg> for use by the SecGeoLookupDb + directive. + </flag> + <flag name="json"> + Suppose JSON in the request body parser through + <pkg>dev-libs/yajl</pkg>. + </flag> + <flag name="lmdb"> + Add LMDB backend support + </flag> + <flag name="pcre2"> + Use <pkg>dev-libs/libpcre2</pkg> as regex implementation + </flag> + </use> + <upstream> + <remote-id type="github">SpiderLabs/ModSecurity</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/modsecurity/modsecurity-3.0.7.ebuild b/dev-libs/modsecurity/modsecurity-3.0.7.ebuild new file mode 100644 index 000000000000..cd66bb0b989d --- /dev/null +++ b/dev-libs/modsecurity/modsecurity-3.0.7.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) + +inherit lua-single + +MY_P=${PN}-v${PV} + +DESCRIPTION="Application firewall and intrusion detection" +HOMEPAGE="https://github.com/SpiderLabs/ModSecurity" +SRC_URI="https://github.com/SpiderLabs/ModSecurity/releases/download/v${PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc fuzzyhash geoip geoip2 json lmdb lua pcre2" + +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" +RDEPEND="dev-libs/libpcre:= + dev-libs/libxml2 + net-misc/curl + fuzzyhash? ( app-crypt/ssdeep ) + geoip? ( dev-libs/geoip ) + geoip2? ( dev-libs/libmaxminddb ) + json? ( dev-libs/yajl ) + lmdb? ( dev-db/lmdb ) + lua? ( ${LUA_DEPS} ) + pcre2? ( dev-libs/libpcre2:= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +DOCS=( AUTHORS CHANGES README.md modsecurity.conf-recommended unicode.mapping ) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_prepare() { + default + + # 2 tests fail without portage too + # https://github.com/SpiderLabs/ModSecurity/issues/2772 + sed -i '/test\/test-cases\/regression\/auditlog.json \\/d' Makefile.in || die + sed -i '/test\/test-cases\/regression\/issue-2000.json \\/d' Makefile.in || die + sed -i '/test\/test-cases\/regression\/config-secremoterules.json \\/d' Makefile.in || die + sed -i '/test\/test-cases\/regression\/operator-ipMatchFromFile.json \\/d' Makefile.in || die +} + +src_configure() { + local myconf=( + $(use_with fuzzyhash ssdeep) + $(use_with geoip ) + $(use_with geoip2 maxmind) + $(use_with json yajl) + $(use_with lmdb) + $(use_with lua) + $(use_with pcre2) + ) + + econf "${myconf[@]}" +} + +src_compile() { + default + + if use doc; then + cd doc && doxygen doxygen.cfg || die + fi +} + +src_install() { + default + use doc && dodoc -r doc/html + find "${ED}" -name '*.la' -delete || die +} |