From: itsanubhavkini <itsanubhavkini@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: opensnitch-1.3.6
Date: Mon, 29 Mar 2021 13:16:52 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29849@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1608 bytes --]
There is a new pull request by itsanubhavkini against master on the void-packages repository
https://github.com/itsanubhavkini/void-packages opensnitch
https://github.com/void-linux/void-packages/pull/29849
New package: opensnitch-1.3.6
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/29849.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-opensnitch-29849.patch --]
[-- Type: text/x-diff, Size: 3802 bytes --]
From 67d378c3bc72743397662585460bcec3e7d27b9e Mon Sep 17 00:00:00 2001
From: Anubhav Kini <anubhavkini@gmail.com>
Date: Mon, 29 Mar 2021 16:39:00 +0530
Subject: [PATCH] Add opensnitch packages
---
srcpkgs/opensnitch-ui/template | 16 +++++++++++++
srcpkgs/opensnitch/template | 10 ++++++++
srcpkgs/opensnitchd/files/opensnitchd/run | 2 ++
srcpkgs/opensnitchd/template | 29 +++++++++++++++++++++++
4 files changed, 57 insertions(+)
create mode 100644 srcpkgs/opensnitch-ui/template
create mode 100644 srcpkgs/opensnitch/template
create mode 100644 srcpkgs/opensnitchd/files/opensnitchd/run
create mode 100644 srcpkgs/opensnitchd/template
diff --git a/srcpkgs/opensnitch-ui/template b/srcpkgs/opensnitch-ui/template
new file mode 100644
index 000000000000..f8f881c1c98c
--- /dev/null
+++ b/srcpkgs/opensnitch-ui/template
@@ -0,0 +1,16 @@
+# Template file for 'opensnitch-ui'
+pkgname=opensnitch-ui
+version=1.3.6
+revision=1
+wrksrc="opensnitch-${version}"
+build_wrksrc="ui"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="opensnitchd-${version}_${revision} python3-grpcio-tools python3-slugify
+ python3-inotify python3-PyQt5 python3-PyQt5-sql qt5-wayland qt5-plugin-sqlite"
+short_desc="GNU/Linux port of the Little Snitch application firewall - UI"
+maintainer="Anubhav Kini <anubhavkini@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/evilsocket/opensnitch"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=a02e49a5ed79db8f21788188f16a28684d5f54f583bb4d338e3386484ee1663a
diff --git a/srcpkgs/opensnitch/template b/srcpkgs/opensnitch/template
new file mode 100644
index 000000000000..047701709735
--- /dev/null
+++ b/srcpkgs/opensnitch/template
@@ -0,0 +1,10 @@
+# Template file for 'opensnitch'
+pkgname=opensnitch
+version=1.3.6
+revision=1
+build_style=meta
+depends="opensnitchd-${version}_${revision} opensnitch-ui-${version}_${revision}"
+short_desc="GNU/Linux port of the Little Snitch application firewall"
+maintainer="Anubhav Kini <anubhavkini@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/evilsocket/opensnitch"
diff --git a/srcpkgs/opensnitchd/files/opensnitchd/run b/srcpkgs/opensnitchd/files/opensnitchd/run
new file mode 100644
index 000000000000..17d593fc5238
--- /dev/null
+++ b/srcpkgs/opensnitchd/files/opensnitchd/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec opensnitchd -rules-path /etc/opensnitchd/rules
diff --git a/srcpkgs/opensnitchd/template b/srcpkgs/opensnitchd/template
new file mode 100644
index 000000000000..0c8c1ee8d73b
--- /dev/null
+++ b/srcpkgs/opensnitchd/template
@@ -0,0 +1,29 @@
+# Template file for 'opensnitchd'
+pkgname=opensnitchd
+version=1.3.6
+revision=1
+wrksrc="opensnitch-${version}"
+build_wrksrc="daemon"
+build_style=go
+go_import_path="github.com/evilsocket/opensnitch/daemon"
+go_package="${go_import_path} ${go_import_path}/firewall ${go_import_path}/ui
+ ${go_import_path}/ui/protocol ${go_import_path}/dns ${go_import_path}/conman
+ ${go_import_path}/netlink"
+go_mod_mode="mod"
+hostmakedepends="pkg-config"
+makedepends="libnetfilter_queue-devel"
+conf_files="/etc/${pkgname}/default-config.json
+ /etc/${pkgname}/system-fw.json"
+make_dirs="/etc/${pkgname}/rules 0755 root root"
+short_desc="GNU/Linux port of the Little Snitch application firewall - daemon"
+maintainer="Anubhav Kini <anubhavkini@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/evilsocket/opensnitch"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=a02e49a5ed79db8f21788188f16a28684d5f54f583bb4d338e3386484ee1663a
+do_install() {
+ vbin ${GOPATH}/bin/daemon opensnitchd
+ vinstall "default-config.json" 644 "/etc/${pkgname}/"
+ vinstall "system-fw.json" 644 "/etc/${pkgname}/"
+ vsv opensnitchd
+}
next reply other threads:[~2021-03-29 11:16 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-29 11:16 itsanubhavkini [this message]
2021-03-29 12:19 ` FollieHiyuki
2021-03-29 12:24 ` ericonr
2021-03-29 12:24 ` ericonr
2021-03-29 12:24 ` ericonr
2021-03-29 13:48 ` [PR PATCH] [Updated] " itsanubhavkini
2021-03-29 13:50 ` Duncaen
2021-03-29 13:54 ` itsanubhavkini
2021-03-29 13:55 ` itsanubhavkini
2021-03-29 13:58 ` itsanubhavkini
2021-03-29 14:02 ` itsanubhavkini
2021-03-29 14:05 ` Duncaen
2021-03-29 14:07 ` itsanubhavkini
2021-03-29 14:24 ` ericonr
2021-03-29 14:34 ` Duncaen
2021-03-29 14:35 ` Duncaen
2021-04-01 5:45 ` [PR PATCH] [Updated] [WIP] " itsanubhavkini
2021-05-12 6:39 ` anubhavkini
2021-05-12 7:02 ` anubhavkini
2021-05-12 7:27 ` anubhavkini
2021-05-12 8:34 ` anubhavkini
2021-05-12 8:53 ` anubhavkini
2021-05-12 8:59 ` anubhavkini
2021-05-13 4:15 ` anubhavkini
2021-05-13 6:07 ` ericonr
2021-06-03 5:54 ` [PR PATCH] [Closed]: " anubhavkini
2021-08-28 5:25 [PR PATCH] " cinerea0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29849@inbox.vuxu.org \
--to=itsanubhavkini@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).