diff options
author | Echizen Ryoma | 2021-09-10 23:25:16 +0800 |
---|---|---|
committer | Echizen Ryoma | 2021-09-10 23:25:16 +0800 |
commit | 6ec07ab93719e6918b3a4c389e8f963fd56c117c (patch) | |
tree | 01d7425928b60521a63612c6907fa69e420e319b | |
parent | 45fbaaa904dbb6c5330c91da0c91ff3613aa8ad1 (diff) | |
download | aur-6ec07ab93719e6918b3a4c389e8f963fd56c117c.tar.gz |
Bump version to 1.4.0
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | opensnitch.install | 21 |
3 files changed, 34 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = opensnitch pkgdesc = GNU/Linux port of the Little Snitch application firewall pkgver = 1.4.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/evilsocket/opensnitch arch = i686 arch = x86_64 @@ -11,7 +11,6 @@ pkgbase = opensnitch license = GPL3 makedepends = go makedepends = python-setuptools - makedepends = python-grpcio-tools depends = libnetfilter_queue depends = libpcap depends = python-grpcio @@ -21,6 +20,7 @@ pkgbase = opensnitch depends = python-pyqt5 depends = abseil-cpp optdepends = logrotate: for logfile rotation support + optdepends = hicolor-icon-theme: for gui backup = etc/opensnitchd/default-config.json backup = etc/opensnitchd/system-fw.json source = https://github.com/evilsocket/opensnitch/archive/v1.4.0.tar.gz @@ -3,12 +3,13 @@ pkgname=opensnitch pkgver=1.4.0 -pkgrel=1 +pkgrel=2 pkgdesc='GNU/Linux port of the Little Snitch application firewall' arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') url='https://github.com/evilsocket/opensnitch' license=('GPL3') -depends=('libnetfilter_queue' +depends=( + 'libnetfilter_queue' 'libpcap' 'python-grpcio' 'python-protobuf' @@ -16,17 +17,19 @@ depends=('libnetfilter_queue' 'python-slugify' 'python-pyqt5' 'abseil-cpp') -makedepends=('go' - 'python-setuptools' - 'python-grpcio-tools') -optdepends=('logrotate: for logfile rotation support') +makedepends=( + 'go' + 'python-setuptools') +optdepends=( + 'logrotate: for logfile rotation support' + 'hicolor-icon-theme: for gui' +) backup=( 'etc/opensnitchd/default-config.json' 'etc/opensnitchd/system-fw.json' ) source=("$url/archive/v$pkgver.tar.gz") -sha512sums=('35d9811f9b8c3dc073231dfe20c21151280fdb90a0bc355617b5a2f2109e7f9590579f73ceed944447004bc0e8609c78c90bb0b21b95bb339cf4acbb8aca0fa7' -) +sha512sums=('35d9811f9b8c3dc073231dfe20c21151280fdb90a0bc355617b5a2f2109e7f9590579f73ceed944447004bc0e8609c78c90bb0b21b95bb339cf4acbb8aca0fa7') prepare() { cd "$srcdir/opensnitch-$pkgver" diff --git a/opensnitch.install b/opensnitch.install new file mode 100644 index 000000000000..9cc39ffac720 --- /dev/null +++ b/opensnitch.install @@ -0,0 +1,21 @@ +post_install() { + echo "" + echo "Enable opensnitchd as a systemd service:" + echo "systemctl enable --now opensnitchd" + echo "" +} + +post_upgrade() { + echo "" + echo "Restart opensnitchd service:" + echo "systemctl daemon-reload" + echo "systemctl restart opensnitchd" + echo "" +} + +post_remove() { + echo "" + echo "Optionally remove log file:" + echo "sudo rm /var/log/opensnitchd.log" + echo "" +} |