This ensure 'apt install opensnitch' by default also install
the graphical user interface. Also let the python3-opensnitch-ui
package suggest opensnitch, to let users know about the daemon
package. Not using recommends here to avoid circular recommend
relation between the two packages.
Picked version 1.5.2.1 to be after 1.5.2 and before any new release
tagged upstream.
Made sure email in changelog and control matches and fixed some lintian
warnings and rebuildability.
* Improve name of github CI Go build.
* Unify debian build rules to build both binary debs from same rule set
Added missing build dependency for qttools5-dev-tools.
Note, the install of bpf module is removed because its build rules are not
currently used. This should be fixed.
The build fail because the build uses go build rules and not the
makefile, and thus the protocol files are not generated in the correct
location.
Added github CI build test for Debian package. Note, this build include a
workaround for the lack of upstream tarball. Might be better to create
a tarball from the current source directory first, but then debian/changelog
need to be updated with a version entry for this tarball too.
* Bring Debian package installation more in line with general practice
Bo need to use pip for installing packages, the packages needed are
in Debian Bookworm and Sid. Drop debconf question regarding this and the
dependency on pip.
Stop writing in users home directory, activate autorun using
/etc/xdg/autorun/ instead.
debhelper-compat 12 caused on ubuntu 16 errors after installing.
debhelper-compa 11 doesn't fail on ubuntu 16, and works on SysVinit
and systemd based systems.
On ubuntu 16 though, the service is not enabled nor started
automatically.
The custom postinst and prerm scripts were preventing to use debhelpers
helpers, which in turn were causing installation failures on SysV
systems and not enabling the daemon service.
Closes#558
As we've added eBPF interception method, we need go iovisor ebpf package,
which is not packaged for Debian yet, so the way I was compiling it
differs a little bit (instead of using gbp buildpackage,
dpkg-buildpackage is used).
Aside from that, there'll be a new eBPF module (.o ELF), which must be
packaged with the packages. Will be compiled on the fly, but maybe it
could be hosted in the repo, because it won't change that much.
Current version is stable enough (based on users' feedback) to get it out
of the release candidate state. OpenSnitch works and is usable.
There's a lot of work yet to do, so let's start from a fresh and shiny
release number.