Package Details: python-fangfrisch 1.9.3-2

Git Clone URL: https://aur.archlinux.org/python-fangfrisch.git (read-only, click to copy)
Package Base: python-fangfrisch
Description: Freshclam like utility that allows downloading unofficial virus definition files
Upstream URL: https://rseichter.github.io/fangfrisch/
Licenses: GPL-3.0-or-later
Conflicts: clamav-unofficial-sigs
Provides: clamav-unofficial-sigs
Submitter: amish
Maintainer: amish (Morbius)
Last Packager: amish
Votes: 37
Popularity: 2.33
First Submitted: 2020-02-22 16:48 (UTC)
Last Updated: 2026-10-25 12:05 (UTC)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

amish commented on 2026-10-25 12:10 (UTC)

@iyanmv Made some changes to PKGBUILD and service file, as per your comment.

trap inside a check() function is fine. As it pertains only to function and not outside and hence does not interfere with makepkg's exit handler. (as per ChatGPT)

Btw, many Archlinux timer based .service file use [Install] section. Example: clamav-freshclam-once.service reflector.service

Morbius commented on 2026-10-25 06:05 (UTC)

@iyanmv Are you having trouble building the package? In particular during the unit test phase? Then we can try to figure things out. However, I don't intend to discuss your personal assessment of check() being "overcomplicated". This particular function has done its job for years — literally.

Regarding the trap: It is merely a time honoured way of cleaning up after oneself in shell scripts. I had a quick look at the makepkg manpage and wiki page, and I see no mention of trap use being discouraged, let alone prohibited. If there is official documentation I have missed during my brief check, which is entirely possible, please provide the source.

The issue of dependencies, systemd timers and services I'll leave to @amish, because he knows Archlinux better than I do.

amish commented on 2026-10-25 03:59 (UTC)

This was done by author of fangfrisch in 2024. https://aur.archlinux.org/cgit/aur.git/commit/?h=python-fangfrisch&id=57a874e3228d9ee8c075e460fc5affc7d9f0d9ce

So @Morbius would be right person to answer.

iyanmv commented on 2026-10-24 09:55 (UTC)

Why such an overcomplicated check()? Don't use your own trap ... EXIT, you can (I think you are!) breaking makepkg's own exit handler. And sqlite3 is missing in the checkdepends by the way.

And different topic, shouldn't the systemd service be of type oneshot instead of simple and without the [install] section. This should not run on boot, only when the timer says so, which is the only unit that should be enabled.

pierrech commented on 2026-04-10 08:46 (UTC)

Dear all, I'm strugling installing this package as I get this common error when installing with yay: ERROR Backend 'setuptools.build_meta' is not available.

I understand this is linked to an issue in my python setuptools package but cant figure out how to fix this. my python version is 3.14.3 and pip version 26.0.1. I have the setuptools package installed, as well as wheel package

Any advice or guidance is welcomed.

HLFH commented on 2026-04-06 07:04 (UTC)

As well as:

[urlhaus]
enabled = yes
interval = 5m

Because of this issue.

HLFH commented on 2026-04-04 21:12 (UTC)

Shall you add in the provided fangfrisch.conf:

 [interserver]
enabled = yes

Morbius commented on 2026-02-09 22:40 (UTC) (edited on 2026-02-09 22:47 (UTC) by Morbius)

@gesh The external_command || exit 1 method is used to approximate how Gentoo Linux ebuilds employ external_command || die "Some message". In fact, Gentoo ebuilds require the use of || die or they will be rejected. I am fine with a bit of "weirdness" if it means that the installation will reliably abort when an external command fails.

gesh commented on 2026-02-08 22:22 (UTC) (edited on 2026-02-08 22:22 (UTC) by gesh)

Note:

  • python-wheel is usually not necessary as a makedepend, unless you're manipulating the wheels directly
  • makepkg doesn't know how to handle multiple source files by the same name -- you seem to have stumbled into an edge case where it doesn't complain about it though
  • check() looks overly complicated, with some parts upstreamable -- surely the "populate a temporary sqlite db" code should be in a conftest.py fixture? And the fiddling with PYTHONPATH suggests to me that the tests want to run in an environment where the package is already installed -- which per wiki, suggests it should be installed in a venv for testing
  • The pervasive || exit 1 here is weird -- I don't see it in other PKGBUILDs. Not sure if makepkg doesn't run with set -e or somesuch, rendering this unnecessary.
  • Given /etc/fangfrisch/fangfrisch-has-news.sh might be edited, shouldn't it be in backup?