From b38a9d7411b66649ee53a69bd61669b2fb2eaca3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 01:00:29 +0100 Subject: [PATCH] add application rules file for ufw [release 23.04.1-2mamba;Wed May 31 2023] --- kdeconnect.spec | 9 ++++++++- ufw-kdeconnect | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 ufw-kdeconnect diff --git a/kdeconnect.spec b/kdeconnect.spec index 3aac376..eef5261 100644 --- a/kdeconnect.spec +++ b/kdeconnect.spec @@ -1,6 +1,6 @@ Name: kdeconnect Version: 23.04.1 -Release: 1mamba +Release: 2mamba Summary: Connect Android, Blackberry and other devices with KDE deskto Group: Graphical Desktop/Applications/Internet Vendor: openmamba @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://community.kde.org/KDEConnect Source: https://download.kde.org/stable/release-service/%{version}/src/kdeconnect-kde-%{version}.tar.xz +Source1: ufw-kdeconnect License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -80,6 +81,8 @@ Connect Android, Blackberry and other devices with KDE desktop. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/ufw/applications.d/ufw-kdeconnect + %find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang %clean @@ -91,6 +94,7 @@ Connect Android, Blackberry and other devices with KDE desktop. %files -f %{name}5_qt.lang %defattr(-,root,root) %{_sysconfdir}/xdg/autostart/org.kde.kdeconnect.daemon.desktop +%{_sysconfdir}/ufw/applications.d/ufw-kdeconnect %{_bindir}/kdeconnect-* %{_datadir}/metainfo/org.kde.kdeconnect.*.xml %{_datadir}/applications/org.kde.kdeconnect*.desktop @@ -127,6 +131,9 @@ Connect Android, Blackberry and other devices with KDE desktop. %doc LICENSES %changelog +* Wed May 31 2023 Silvan Calarco 23.04.1-2mamba +- add application rules file for ufw + * Thu May 11 2023 Automatic Build System 23.04.1-1mamba - automatic version update by autodist diff --git a/ufw-kdeconnect b/ufw-kdeconnect new file mode 100644 index 0000000..875ce99 --- /dev/null +++ b/ufw-kdeconnect @@ -0,0 +1,4 @@ +[KDEConnect] +title=KDEConnect +description=KDEConnect protocol +ports=1714:1764/tcp|1714:1764/udp