summaryrefslogtreecommitdiff
path: root/libre/clamav
diff options
context:
space:
mode:
Diffstat (limited to 'libre/clamav')
-rw-r--r--libre/clamav/PKGBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/libre/clamav/PKGBUILD b/libre/clamav/PKGBUILD
index bdda8d374..a8319514f 100644
--- a/libre/clamav/PKGBUILD
+++ b/libre/clamav/PKGBUILD
@@ -6,11 +6,10 @@
# Contributor: Isaac David <isacdaavid@at@isacdaavid@dot@info>
# Contributor: Andreas Grapentin <andreas@grapentin.org>
-_pkgname=clamav-libre
pkgname=clamav
-pkgver=0.101.2
+pkgver=0.102.2
pkgrel=1
-pkgrel+=.par1
+pkgrel+=.parabola1
pkgdesc='Anti-virus toolkit for Unix'
pkgdesc+=', without nonfree decompression engine for RAR archives'
url='https://www.clamav.net/'
@@ -25,29 +24,23 @@ backup=('etc/clamav/clamd.conf'
'etc/clamav/clamav-milter.conf'
'etc/logrotate.d/clamav')
provides=(libclamav.so libclamunrar.so libclamunrar_iface.so)
-mksource=(https://www.clamav.net/downloads/production/${pkgname}-${pkgver}.tar.gz{,.sig})
-source=(https://repo.parabola.nu/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
+source=(https://www.clamav.net/downloads/production/${pkgname}-${pkgver}.tar.gz{,.sig}
clamav.logrotate
clamav.tmpfiles
clamav.sysusers)
-mksha512sums=('f9ea4589a8081acf7b6d454d1a068da05ae6574a9070a08f9438935795cb6dc084ffb9222b11fb1623f31962f859e6536a2f5bd1de29ef6b9b314efa5edc8c7e'
- 'SKIP')
-sha512sums=('eb441a213b4816a691b67dd2c0919fbf185cc0ce3ff83dd39af477d4a6be17e4cc57c9250c3bc82d9969c3d37e2609852ffc7cb4bc4fad104a3b023f633d19e8'
+sha512sums=('7db53e0e2b4d6b0e4cf5048d3c9dfbcabcffd680c3a2b718c763b9599b0c1c14e56bae70c54c251ee9e8fd1acd3134657196dbaad2d23a16bad76a088c6fc41f'
+ 'SKIP'
'9cb168c1c16bb43c99900d7ef34456e3f3b593d4d1943c875a0306bc86fd3872cb78e9e1413dcba93579e01b96d466c9eea1975e24190193663b7986c4525d48'
'c5443634399bd87fe0d0192518538ffdb7296a8437b5b0160a0fbd58696b01285de3237e3feb552c0095c49e576832dec2e2b2107eef2be42424ed7edd13cd19'
'b984836f6c34d97b90d81fa5d17361a2e3f8c0cc709e3350a4d25cf088dc04f7bf2504359980c8be489c96b1b8798c60e6da533069d3378d49d4f50f929a2c90')
validpgpkeys=('65ED513993F08DA06F9639A6F13F9E16BCA5BFAD') # Talos (Talos, Cisco Systems Inc.) <research@sourcefire.com>
-mksource() {
+prepare() {
cd ${pkgname}-${pkgver}
-
msg2 "remove nonfree unRAR utility files from the source"
rm -rv libclamunrar
rm -v COPYING.unrar
-}
-
-prepare() {
- cd ${pkgname}-${pkgver}
+
sed -E 's|^(Example)$|#\1|' -i etc/{clamd,freshclam,clamav-milter}.conf.sample
sed -E 's|#(User) .+|\1 clamav|' -i etc/{clamd,freshclam,clamav-milter}.conf.sample
sed -E 's|#(LogFile) .+|\1 /var/log/clamav/clamd.log|' -i etc/clamd.conf.sample
@@ -94,7 +87,7 @@ build() {
check() {
cd ${pkgname}-${pkgver}
- make quick-check
+ make check
}
package() {