Skip to content

Commit

Permalink
opensnitch: fails to start without 'rules' directory
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv committed Oct 30, 2024
1 parent 148167b commit 43ca37f
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

}
2 changes: 1 addition & 1 deletion dev-python/pyasn/Manifest
Original file line number Diff line number Diff line change
@@ -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 changes: 12 additions & 0 deletions dev-python/pyasn/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>
27 changes: 0 additions & 27 deletions dev-python/pyasn/pyasn-1.6.1-r1.ebuild

This file was deleted.

19 changes: 19 additions & 0 deletions dev-python/pyasn/pyasn-1.6.2.ebuild
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 43ca37f

Please sign in to comment.