summaryrefslogtreecommitdiff
path: root/app-antivirus
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-04-08 08:43:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2025-04-08 08:43:12 +0100
commite81d2dd033df3a61b874a9a37f951ca05eead86f (patch)
tree82bfb1314b75b6c04de41a378a4838b7a18b0d68 /app-antivirus
parent288d9455931660abb6dfa534a78d45c7fb901477 (diff)
gentoo auto-resync : 08:04:2025 - 08:43:11
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/Manifest.gzbin882 -> 885 bytes
-rw-r--r--app-antivirus/fangfrisch/Manifest4
-rw-r--r--app-antivirus/fangfrisch/fangfrisch-1.9.2.ebuild62
-rw-r--r--app-antivirus/fangfrisch/files/fangfrisch-has-news.sh5
4 files changed, 68 insertions, 3 deletions
diff --git a/app-antivirus/Manifest.gz b/app-antivirus/Manifest.gz
index 9c5891a8d048..87de1ccd117c 100644
--- a/app-antivirus/Manifest.gz
+++ b/app-antivirus/Manifest.gz
Binary files differ
diff --git a/app-antivirus/fangfrisch/Manifest b/app-antivirus/fangfrisch/Manifest
index 9d49a91d25d0..624cebafdc73 100644
--- a/app-antivirus/fangfrisch/Manifest
+++ b/app-antivirus/fangfrisch/Manifest
@@ -1,8 +1,10 @@
-AUX fangfrisch-has-news.sh 1857 BLAKE2B 2694e866b7517be0cc3377cad602a306bcfb62720ffa502bb0bf2aa9d9e85c550fc0cb65c19720cc50eb43042def295ac9346447a7f25a077fa6375580a3cd17 SHA512 9bb661c812d13220ecb0f8cda75243ee89b544b375472feba02c53afe1c7743dce1283b5320870cd733421435b8d1497d784eca4e6bba3283eef26b375dd578c
+AUX fangfrisch-has-news.sh 1887 BLAKE2B fad876bcbe857dd39a4f3fc7ef9d9e09fbfe1f6ba0fc2c2a39c7c28ee9d2ca690c2cc58c607f7034d0a50045b458708a71134aad1710d8fc2c021dab0d73db7d SHA512 f97032cbb87be6f93dd909da3b544d007feeacfa7ac67d78f02c65a53fe4d384128f5a8f762b15a331655ecbade9b9a524e1a2c6e0f08d37872e66e31ee31f7b
AUX fangfrisch.conf 736 BLAKE2B a03bb594d233a1a5f7ee39055ce50a8987bc7f023d131c0a3e9a46fa72bfc8ee7e41158fb6b4348551117042b29915f31de3becddecffc20b8850124fbae96a1 SHA512 71c4ef04f42e668785f623385f550c921b03436165a85534eb012e7922043bc28f84aef30b6eecbe0fe62f4b0f100ff2f951f19db3ca4f55e0dea0c891dee38b
AUX fangfrisch.cron 170 BLAKE2B b2b3572bb468942eecc006749710900bb19e29d40ad444a4b1ee1575f2d4eda77e2b4c66f6ab75208bbb28c48f0d26075b2d0517982cd62d0f082aa657ff82f2 SHA512 46ba3a9bbdc93896387e9ca3a2fef1bbae6711b3680baa0afddf41c83b537e62d9425fe93d7d7befc60dd8a89aa4c70f9947b596594d5ca93024acec1f9bf454
AUX fangfrisch.service 347 BLAKE2B d7c36538bc8c96bd9f31cbfbba5e26572557cd87567b7c0aec1e6d4d6041194531a8da3ca831ba11f7df3558754e4bd965e03a5ae06ed8cadb9617b28028dbcf SHA512 e296b4c2f81754650845ed9ad9bd655cc81c2e59843508da5eca07d808a50a9bad5a3972f4f55ef4b97652d5f2f0c8d4e3b0cc63c7e38cc27074801e98961bcc
AUX fangfrisch.timer 212 BLAKE2B debdcfa78e9583aa490be4e6c91834e134e1680b0f0f1284046f5ac611fa77878e0258f92e4f99ae2c4616b57a6a240b6be797c2e36308a218983e51dbf20848 SHA512 1e5d5cf39bddd7527350ef5f2fa7b1e3018ca32b3f0b2d0df4d31184eef11c811b1c0111f547b4174e1a550ffeee73f5c7215da8c381edb0cccf71887c77f8ff
DIST fangfrisch-1.9.0.gh.tar.gz 127572 BLAKE2B c05c68f904a6e7c7d9f9c5b82bb63366f86653cd13a94276108f52e9c523280320c8aa55ba94ecf079ba938a77e11ca7dc557f4c8fd1b1c7f37179c087dd8605 SHA512 08cc36f20884fedb553de905b8faafce99fcef80e3bce7c0b264691b1a8d83b91a582c095b684f6f7a6af77fd4ed0405fa771a74bbeee3f1b255ff74a161d37e
+DIST fangfrisch-1.9.2.gh.tar.gz 131579 BLAKE2B 23d96efc9cea02fc61d05203a826fba7eb8d8950977b997cb8070f1de3342083ff8a9d596e588ea1d68bfe3e6d36ad467df21adeeeaf839b829c0a38b83327aa SHA512 7af21c035a0d904ca619c72c67440fc1fd5c04a3a2b1ab846e98f3045889fab58394261fa0c5cf128d404747a821fcc4863b60c590fe909a89a48fa48296e7d4
EBUILD fangfrisch-1.9.0.ebuild 2079 BLAKE2B a4bc74d14aed810258c391363623b1e7fcff20607dd9622325c70e2644c0ad10eaa87a12a2c6854c09ed2f5127f162479bc3bbde28688f43aad7baa2eed16764 SHA512 84adfab142347ca09f71f454464376efa7283c3ef86d57db66e8f5ccaa45282287149153971f9d8e74aac30dba1d3166fc8146cbf9f4a9c0ded886774ce44eda
+EBUILD fangfrisch-1.9.2.ebuild 1639 BLAKE2B fa6ba689b6d4055328334ce2f9890207110232df2589f7a3ee50bddc9b9d539320f1fcdac85e48d4579f221cd40ed38f9a616d41e3ab7741eb4dc93d83cc096d SHA512 8175f81857137b868f084a0a5e3068089c9a50b618a8caed910f872b71e39996a98c719d8f2eeaa61bc580da5b95c36aa99bfe1b2fb2042fcb42144309ac8d8e
MISC metadata.xml 692 BLAKE2B 3896ef038265830e10720cde6131e2809084ea45302fee78ab5bba304cd56d5732b708e92119b37fa041d5a9bbd72ded926913a1ba7e4cc93ee7f2f310a53f19 SHA512 ac7bf47c11d46a81f1a81df4572b9592a5b12867db6797b7def523f73cde8b2f541e5dc8e59ff59b2b3e2cf7ba0fdc0ff5e7270913dd9b7bc718fa3e1b010771
diff --git a/app-antivirus/fangfrisch/fangfrisch-1.9.2.ebuild b/app-antivirus/fangfrisch/fangfrisch-1.9.2.ebuild
new file mode 100644
index 000000000000..9a146a10ea4d
--- /dev/null
+++ b/app-antivirus/fangfrisch/fangfrisch-1.9.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 readme.gentoo-r1 systemd
+
+DESCRIPTION="Update and verify unofficial Clam Anti-Virus signatures"
+HOMEPAGE="https://github.com/rseichter/fangfrisch https://pypi.org/project/fangfrisch/"
+SRC_URI="https://github.com/rseichter/fangfrisch/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+MY_CONF="/etc/${PN}.conf"
+MY_DBDIR="/var/lib/${PN}"
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="See https://rseichter.github.io/fangfrisch/ for the official
+documentation.
+
+### Fresh installations:
+
+Modify ${MY_CONF} according to your preferences.
+Assuming you place the database into ${MY_DBDIR}
+(recommended), execute the following commands in a root shell:
+
+mkdir -m 0770 ${MY_DBDIR}
+chgrp clamav ${MY_DBDIR}
+sudo -u clamav -- fangfrisch -c ${MY_CONF} initdb
+
+You can now enable /etc/cron.d/${PN} for periodic updates."
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+DOCS=(docs/fangfrisch.pdf)
+HTML_DOCS=(docs/index.html)
+
+DEPEND="
+ >=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+distutils_enable_tests unittest
+
+python_install_all() {
+ insinto /etc
+ doins "${FILESDIR}/${PN}.conf"
+ insinto /etc/cron.d
+ newins "${FILESDIR}/${PN}.cron" "${PN}"
+ exeinto /etc
+ doexe "${FILESDIR}/${PN}-has-news.sh"
+ systemd_dounit "${FILESDIR}/${PN}.service"
+ systemd_dounit "${FILESDIR}/${PN}.timer"
+ distutils-r1_python_install_all
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/app-antivirus/fangfrisch/files/fangfrisch-has-news.sh b/app-antivirus/fangfrisch/files/fangfrisch-has-news.sh
index 7a018d911d32..6f6293ddead0 100644
--- a/app-antivirus/fangfrisch/files/fangfrisch-has-news.sh
+++ b/app-antivirus/fangfrisch/files/fangfrisch-has-news.sh
@@ -38,12 +38,13 @@ usage() {
gen_header() {
cat <<EOT
+Auto-Submitted: auto-generated
From: Fangfrisch News <$MAILFROM>
To: $MAILTO
Subject: $SUBJECT
EOT
-# Mail header must end with an empty line!
+ # Mail header must end with an empty line!
}
declare -a NEWSITEMS=()
@@ -56,7 +57,7 @@ report_news() {
# Mutt does not need the header, others do.
gen_header
fi
- NEWSITEMS+=( "$ni" )
+ NEWSITEMS+=("$ni")
echo -e "\n### $(basename "$ni"):\n"
cat "$ni"
done < <(find "$dir" -maxdepth 1 -type f -name "fangfrisch*.txt" -print0)