aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmish2024-03-13 19:32:31 +0530
committerAmish2024-03-13 19:32:31 +0530
commit2b40fd2c7b02a4d3edf6ef9f2b5d402efdd24f4a (patch)
tree0491c7edf49856cf2fb3eb79bb9cb7963d02bb0a
parented181fdb4e5b4c6d5c0d00634462c773717a9446 (diff)
downloadaur-python-fangfrisch.tar.gz
Fix perms via tmpfiles
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
-rw-r--r--fangfrisch.timer1
-rw-r--r--fangfrisch.tmpfiles1
4 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ccb7fe99bcb0..47e2fbfdda11 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-fangfrisch
pkgdesc = Freshclam like utility that allows downloading unofficial virus definition files
pkgver = 1.9.0
- pkgrel = 2
+ pkgrel = 3
url = https://rseichter.github.io/fangfrisch/
install = fangfrisch.install
arch = any
@@ -27,8 +27,8 @@ pkgbase = python-fangfrisch
sha512sums = 08cc36f20884fedb553de905b8faafce99fcef80e3bce7c0b264691b1a8d83b91a582c095b684f6f7a6af77fd4ed0405fa771a74bbeee3f1b255ff74a161d37e
sha512sums = d36db5093a4a0187a7bbc8e6cbb4f5a029e369fbf3b129da0ebe6b5be5851b2b58df4e6986f303b3c6d37b921740e1d9707eabafa28dac01a028a61a420ce05a
sha512sums = 266df243ac0a23efc2797583b9c1e09855aa43b9decabd78bc1ca8a5158c5a71ceee9f77ededc374bd17be094595acd84bea729fc7459cc71337d1029911591f
- sha512sums = 22462dbb76e9b1df0717efff6c94a49b1db33c150380abc0d66bccc72215eab89ab871ba6e359db817543130ae45844665fc106cae8990dbf92f8a27851d15da
- sha512sums = f421c4f2618422957cd203bf8f50bae1e5656d6208774244092987c07427ca86bf587884510c9180a0cb554200fdc996b0fad382671c913e6729b215b6f8e651
+ sha512sums = 5f84e0009ae2f72387c1883e3cf35c1d62568863b37326de870d2320fd122a92f38d91ef3bdd9cf959e30571ed51ce1c092da589a19a2da16617ccebca58dd53
+ sha512sums = 9a875fc1ceeb29f5cc798123db845922ddb1b3c77dd03753f9daf39a2c3019d075ac86c82630386476ef828ebc67876842b8d3be22b90aba5b082540bfd024fd
sha512sums = a38ceae123732602eb1206572052a7f548a8950a608e8c07c1e7ae61123eaabbd33caa8c3b548020a8f57d842ef230b2a90aab81edb2d5db74068ca925a73413
pkgname = python-fangfrisch
diff --git a/PKGBUILD b/PKGBUILD
index 999897533969..3f90750a7bdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=python-fangfrisch
_name=${pkgname#python-}
pkgver=1.9.0
-pkgrel=2
+pkgrel=3
pkgdesc="Freshclam like utility that allows downloading unofficial virus definition files"
arch=('any')
license=('GPL')
@@ -22,8 +22,8 @@ sha512sums=('08cc36f20884fedb553de905b8faafce99fcef80e3bce7c0b264691b1a8d83b91a5
'08cc36f20884fedb553de905b8faafce99fcef80e3bce7c0b264691b1a8d83b91a582c095b684f6f7a6af77fd4ed0405fa771a74bbeee3f1b255ff74a161d37e'
'd36db5093a4a0187a7bbc8e6cbb4f5a029e369fbf3b129da0ebe6b5be5851b2b58df4e6986f303b3c6d37b921740e1d9707eabafa28dac01a028a61a420ce05a'
'266df243ac0a23efc2797583b9c1e09855aa43b9decabd78bc1ca8a5158c5a71ceee9f77ededc374bd17be094595acd84bea729fc7459cc71337d1029911591f'
- '22462dbb76e9b1df0717efff6c94a49b1db33c150380abc0d66bccc72215eab89ab871ba6e359db817543130ae45844665fc106cae8990dbf92f8a27851d15da'
- 'f421c4f2618422957cd203bf8f50bae1e5656d6208774244092987c07427ca86bf587884510c9180a0cb554200fdc996b0fad382671c913e6729b215b6f8e651'
+ '5f84e0009ae2f72387c1883e3cf35c1d62568863b37326de870d2320fd122a92f38d91ef3bdd9cf959e30571ed51ce1c092da589a19a2da16617ccebca58dd53'
+ '9a875fc1ceeb29f5cc798123db845922ddb1b3c77dd03753f9daf39a2c3019d075ac86c82630386476ef828ebc67876842b8d3be22b90aba5b082540bfd024fd'
'a38ceae123732602eb1206572052a7f548a8950a608e8c07c1e7ae61123eaabbd33caa8c3b548020a8f57d842ef230b2a90aab81edb2d5db74068ca925a73413')
backup=('etc/fangfrisch/fangfrisch.conf')
install=fangfrisch.install
@@ -59,5 +59,5 @@ package() {
install -Dm0644 "${srcdir}/${_name}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_name}.conf"
install -Dm0644 -t "${pkgdir}/usr/lib/systemd/system" "${srcdir}/${_name}".{service,timer}
install -Dm0644 -t "${pkgdir}/etc/fangfrisch" "${srcdir}/${_name}.conf"
- install -Dm0750 -g clamav -t "${pkgdir}/etc/fangfrisch" "${srcdir}/fangfrisch-has-news.sh"
+ install -Dm0750 -t "${pkgdir}/etc/fangfrisch" "${srcdir}/fangfrisch-has-news.sh"
}
diff --git a/fangfrisch.timer b/fangfrisch.timer
index e159bcf52b75..285c7e95899a 100644
--- a/fangfrisch.timer
+++ b/fangfrisch.timer
@@ -9,7 +9,6 @@ Requires=fangfrisch.service
OnCalendar=*:0/10
RandomizedDelaySec=90
Unit=fangfrisch.service
-Persistent=true
[Install]
WantedBy=timers.target
diff --git a/fangfrisch.tmpfiles b/fangfrisch.tmpfiles
index 60b481d464fd..e3ec8af1b37c 100644
--- a/fangfrisch.tmpfiles
+++ b/fangfrisch.tmpfiles
@@ -1 +1,2 @@
d /var/lib/fangfrisch 0700 clamav clamav -
+z /etc/fangfrisch/fangfrisch-has-news.sh 750 root clamav