mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 00:16:22 +01:00
opensnitch: fails to start without 'rules' directory
This commit is contained in:
parent
148167b37f
commit
43ca37f5c8
5 changed files with 40 additions and 29 deletions
|
|
@ -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"
|
||||
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
12
dev-python/pyasn/metadata.xml
Normal file
12
dev-python/pyasn/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">hadiasghari/pyasn</remote-id>
|
||||
<remote-id type="pypi">pyasn</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -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}
|
||||
19
dev-python/pyasn/pyasn-1.6.2.ebuild
Normal file
19
dev-python/pyasn/pyasn-1.6.2.ebuild
Normal file
|
|
@ -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"
|
||||
Loading…
Reference in a new issue