public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/clamav-unofficial-sigs] epel8: Added upstream patch to fix urlhaus mkdir and ownership
Date: Sat, 04 Jul 2026 16:51:31 GMT	[thread overview]
Message-ID: <178318389152.1.11330580337543861190.rpms-clamav-unofficial-sigs-14b40fcb6f0c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/clamav-unofficial-sigs
Branch : epel8
Commit : 14b40fcb6f0c393b925588ef05992c1464015bc5
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2024-05-16T21:40:59+02:00
Stats  : +51/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/clamav-unofficial-sigs/c/14b40fcb6f0c393b925588ef05992c1464015bc5?branch=epel8

Log:
Added upstream patch to fix urlhaus mkdir and ownership

---
diff --git a/clamav-unofficial-sigs-7.2.5-urlhaus.patch b/clamav-unofficial-sigs-7.2.5-urlhaus.patch
new file mode 100644
index 0000000..06324da
--- /dev/null
+++ b/clamav-unofficial-sigs-7.2.5-urlhaus.patch
@@ -0,0 +1,45 @@
+From af01c650a64b8a6ec455d36a00b07791acae8278 Mon Sep 17 00:00:00 2001
+From: Jeffrey Jansma <me@perplexity.nl>
+Date: Wed, 14 Apr 2021 08:46:26 +0200
+Subject: [PATCH 1/2] Fix urlhaus ownership and mkdir
+
+Fix urlhaus ownership and mkdir
+---
+ clamav-unofficial-sigs.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/clamav-unofficial-sigs.sh b/clamav-unofficial-sigs.sh
+index 36b7cfb2..07e1020c 100755
+--- a/clamav-unofficial-sigs.sh
++++ b/clamav-unofficial-sigs.sh
+@@ -2763,6 +2763,7 @@ xshok_mkdir_ownership "$work_dir_sanesecurity"
+ xshok_mkdir_ownership "$work_dir_securiteinfo"
+ xshok_mkdir_ownership "$work_dir_work_configs"
+ xshok_mkdir_ownership "$work_dir_yararulesproject"
++xshok_mkdir_ownership "$work_dir_urlhaus"
+ 
+ # Set secured access permissions to the GPG directory
+ perms chmod -f 0700 "${work_dir_gpg}"
+
+From 05374882c679ec02360fbce71262aaf0a30662f2 Mon Sep 17 00:00:00 2001
+From: Jeffrey Jansma <me@perplexity.nl>
+Date: Wed, 14 Apr 2021 08:47:16 +0200
+Subject: [PATCH 2/2] Add urlhaus to the update hours force
+
+Add urlhaus to the update hours force
+---
+ clamav-unofficial-sigs.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/clamav-unofficial-sigs.sh b/clamav-unofficial-sigs.sh
+index 07e1020c..885eff5f 100755
+--- a/clamav-unofficial-sigs.sh
++++ b/clamav-unofficial-sigs.sh
+@@ -2173,6 +2173,7 @@ if [ "$force_updates" == "yes" ] ; then
+   malwareexpert_update_hours="0"
+   malwarepatrol_update_hours="0"
+   yararulesproject_update_hours="0"
++  urlhaus_update_hours="0"
+   additional_update_hours="0"
+ fi
+ 

diff --git a/clamav-unofficial-sigs.spec b/clamav-unofficial-sigs.spec
index 9d17f01..a4813d1 100644
--- a/clamav-unofficial-sigs.spec
+++ b/clamav-unofficial-sigs.spec
@@ -9,7 +9,7 @@
 %endif
 Name:           clamav-unofficial-sigs
 Version:        7.2.5
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Scripts to download unofficial clamav signatures 
 Group:          Applications/System
 License:        BSD-3-Clause
@@ -19,6 +19,8 @@ Source1:        clamav-unofficial-sigs.cron
 Source2:        clamav-unofficial-sigs.logrotate
 Source3:        clamav-unofficial-sigs.man8
 Patch1:         clamav-unofficial-sigs-grep-backslash.patch
+# Fix urlhaus mkdir and ownership (https://github.com/extremeshok/clamav-unofficial-sigs/pull/390)
+Patch2:         https://patch-diff.githubusercontent.com/raw/extremeshok/clamav-unofficial-sigs/pull/390.patch#/clamav-unofficial-sigs-7.2.5-urlhaus.patch
 BuildArch:      noarch
 BuildRequires:  bind-utils
 BuildRequires:  rsync
@@ -108,6 +110,9 @@ install -p -m0644 clamav-unofficial-sigs.man8 %{buildroot}%{_mandir}/man8/clamav
 %{_mandir}/man*/%{name}*
 
 %changelog
+* Thu May 16 2024 Robert Scheck <robert@fedoraproject.org> - 7.2.5-11
+- Added upstream patch to fix urlhaus mkdir and ownership
+
 * Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.5-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
 

                 reply	other threads:[~2026-07-04 16:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178318389152.1.11330580337543861190.rpms-clamav-unofficial-sigs-14b40fcb6f0c@fedoraproject.org \
    --to=robert@fedoraproject.org \
    --cc=git-commits@fedoraproject.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