From 251ca85d7640f6d38b35f7dbccb8a0f51c534a74 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:46:48 +0100 Subject: [PATCH] disable logging by default in ufw.conf [release 0.35-3mamba;Thu Nov 10 2016] --- ufw-0.35-disable_logging_by_default.patch | 9 +++++++++ ufw.spec | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 ufw-0.35-disable_logging_by_default.patch diff --git a/ufw-0.35-disable_logging_by_default.patch b/ufw-0.35-disable_logging_by_default.patch new file mode 100644 index 0000000..70b8e1f --- /dev/null +++ b/ufw-0.35-disable_logging_by_default.patch @@ -0,0 +1,9 @@ +diff -Nru ufw-0.35.orig/conf/ufw.conf ufw-0.35/conf/ufw.conf +--- ufw-0.35.orig/conf/ufw.conf 2016-11-10 17:48:07.085533563 +0100 ++++ ufw-0.35/conf/ufw.conf 2016-11-10 17:48:27.403684323 +0100 +@@ -7,4 +7,4 @@ + + # Please use the 'ufw' command to set the loglevel. Eg: 'ufw logging medium'. + # See 'man ufw' for details. +-LOGLEVEL=low ++LOGLEVEL=off diff --git a/ufw.spec b/ufw.spec index b6c3144..562e687 100644 --- a/ufw.spec +++ b/ufw.spec @@ -2,7 +2,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: ufw Version: 0.35 -Release: 2mamba +Release: 3mamba Summary: ufw is Uncomplicated Firewall a cli front end to iptables Group: System/Libraries/Python Vendor: openmamba @@ -14,6 +14,7 @@ Source1: ufw.service Patch0: %{name}-0.30.1-initscript-chkconfig.patch Patch1: %{name}-0.30.1-enabled_by_default.patch Patch2: %{name}-0.30.1-load_netbios_ipt_module.patch +Patch3: ufw-0.35-disable_logging_by_default.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel @@ -34,6 +35,7 @@ Ufw stands for Uncomplicated Firewall, and is program for managing a netfilter f #%patch0 -p1 %patch1 -p1 #%patch2 -p1 +%patch3 -p1 %build %{__python} setup.py build @@ -100,6 +102,9 @@ fi %{_datadir}/ufw/messages/*.mo %changelog +* Thu Nov 10 2016 Silvan Calarco 0.35-3mamba +- disable logging by default in ufw.conf + * Wed May 18 2016 Silvan Calarco 0.35-2mamba - move user rules from /lib/ufw to /etc/ufw