diff --git a/app-admin/opensnitch-ebpf-module/opensnitch-ebpf-module-1.6.6.ebuild b/app-admin/opensnitch-ebpf-module/opensnitch-ebpf-module-1.6.6.ebuild index bda801b411..53e4514f1e 100644 --- a/app-admin/opensnitch-ebpf-module/opensnitch-ebpf-module-1.6.6.ebuild +++ b/app-admin/opensnitch-ebpf-module/opensnitch-ebpf-module-1.6.6.ebuild @@ -15,7 +15,7 @@ SRC_URI=" S="${WORKDIR}/opensnitch-${PV}" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="dist-kernel" EBPF_DIR=ebpf_prog diff --git a/app-admin/opensnitch/opensnitch-1.6.6.ebuild b/app-admin/opensnitch/opensnitch-1.6.6-r1.ebuild similarity index 86% rename from app-admin/opensnitch/opensnitch-1.6.6.ebuild rename to app-admin/opensnitch/opensnitch-1.6.6-r1.ebuild index 1a8e500792..41415e5021 100644 --- a/app-admin/opensnitch/opensnitch-1.6.6.ebuild +++ b/app-admin/opensnitch/opensnitch-1.6.6-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="+audit bpf +iptables +nftables systemd" REQUIRED_USE="|| ( iptables nftables )" @@ -114,7 +114,7 @@ src_install(){ pushd daemon || die dobin opensnitchd - insinto /etc/opensnitchd/rules + keepdir /etc/opensnitchd/rules insinto /etc/opensnitchd/ doins default-config.json doins system-fw.json @@ -131,4 +131,11 @@ src_install(){ pkg_postinst() { xdg_icon_cache_update + + #FIXME upstream bug: https://github.com/evilsocket/opensnitch/issues/795 + elog "Under regular user, run the following commands to display IP's network name:" + elog "cd ~/.config/opensnitch/" + elog "wget https://github.com/hadiasghari/pyasn/blob/master/data/ipasn_20140513_v12.dat.gz?raw=true -O ipasn_db.dat.gz" + elog "wget https://github.com/hadiasghari/pyasn/blob/master/data/asnames.json?raw=true" + } diff --git a/dev-python/pyasn/Manifest b/dev-python/pyasn/Manifest index 0bf44ebbee..66c84ec8a6 100644 --- a/dev-python/pyasn/Manifest +++ b/dev-python/pyasn/Manifest @@ -1 +1 @@ -DIST pyasn-1.6.1-re.tar.gz 11823216 BLAKE2B 028cf3958cc1436a69f2bf5107fbf38d6a11308d8fa52c622be0dba4fba6e9fc450bcad7d6403c6fc83db2cce61d3163d459cbea17fd4fcf0c24d9d02f6ed835 SHA512 fd7e5b0282a39d4a8bac5741fe3f31955ff3e791ecf31183c2ffdefb824dfc70cca8abde3f0349e83b631ca48a354bdb66279565ab0247a3e6c3168143d2095e +DIST pyasn-1.6.2.tar.gz 49132 BLAKE2B fc6fa1192a9d4d18db386db254b2a0bbd54691a0ed5ca58db21ac00ada7961413f7d2055af216b0171ec8fe2cdc91bf0a6ee7865d32bbb11b87a3a5f8662fcac SHA512 432d1bca71f32d6d09101d6180e512285841d1201d50e9833ed211b3d2b1d52923d9f3cff8b8763927dcc75cf44ba965d121b62ac78b9b620c40e7eb6e21c433 diff --git a/dev-python/pyasn/metadata.xml b/dev-python/pyasn/metadata.xml new file mode 100644 index 0000000000..d764e32d66 --- /dev/null +++ b/dev-python/pyasn/metadata.xml @@ -0,0 +1,12 @@ + + + + + unknown@pentoo.ch + Author Unknown + + + hadiasghari/pyasn + pyasn + + diff --git a/dev-python/pyasn/pyasn-1.6.1-r1.ebuild b/dev-python/pyasn/pyasn-1.6.1-r1.ebuild deleted file mode 100644 index c61bdf6990..0000000000 --- a/dev-python/pyasn/pyasn-1.6.1-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -# 1.6.1 was re-packaged; drop -re in next version -MY_PV="${PV/_beta/b}-re" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="Python IP address to Autonomous System Number lookup module" -HOMEPAGE="https://github.com/hadiasghari/pyasn" -SRC_URI="https://github.com/hadiasghari/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RESTRICT="test" - -IUSE="" - -S=${WORKDIR}/${MY_P} diff --git a/dev-python/pyasn/pyasn-1.6.2.ebuild b/dev-python/pyasn/pyasn-1.6.2.ebuild new file mode 100644 index 0000000000..0ff3566d3a --- /dev/null +++ b/dev-python/pyasn/pyasn-1.6.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python IP address to Autonomous System Number lookup module" +HOMEPAGE="https://github.com/hadiasghari/pyasn" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" + +RESTRICT="test" diff --git a/profiles/pentoo/base/package.accept_keywords/dev-python b/profiles/pentoo/base/package.accept_keywords/dev-python index 44c6aaff57..a277065352 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-python +++ b/profiles/pentoo/base/package.accept_keywords/dev-python @@ -283,10 +283,6 @@ dev-python/apng #required by sqlmap atlas =dev-python/humanfriendly-9* -app-admin/opensnitch -# https://github.com/grpc/grpc/issues/33918 -=dev-python/grpcio-tools-1.51* - #empire