[arch-commits] Commit in clamav/repos/extra-x86_64 (8 files)

Levente Polyak anthraxx at gemini.archlinux.org
Tue Nov 9 19:45:09 UTC 2021


    Date: Tuesday, November 9, 2021 @ 19:45:09
  Author: anthraxx
Revision: 427726

archrelease: copy trunk to extra-x86_64

Added:
  clamav/repos/extra-x86_64/PKGBUILD
    (from rev 427724, clamav/trunk/PKGBUILD)
  clamav/repos/extra-x86_64/clamav.logrotate
    (from rev 427724, clamav/trunk/clamav.logrotate)
  clamav/repos/extra-x86_64/clamav.sysusers
    (from rev 427725, clamav/trunk/clamav.sysusers)
  clamav/repos/extra-x86_64/clamav.tmpfiles
    (from rev 427725, clamav/trunk/clamav.tmpfiles)
Deleted:
  clamav/repos/extra-x86_64/PKGBUILD
  clamav/repos/extra-x86_64/clamav.logrotate
  clamav/repos/extra-x86_64/clamav.sysusers
  clamav/repos/extra-x86_64/clamav.tmpfiles

------------------+
 PKGBUILD         |  172 ++++++++++++++++++++++++++---------------------------
 clamav.logrotate |   22 +++---
 clamav.sysusers  |    2 
 clamav.tmpfiles  |    6 -
 4 files changed, 101 insertions(+), 101 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-09 19:45:06 UTC (rev 427725)
+++ PKGBUILD	2021-11-09 19:45:09 UTC (rev 427726)
@@ -1,86 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
-# Contributor: Dale Blount <dale at archlinux.org>
-# Contributor: Gregor Ibic <gregor.ibic at intelicom.si>
-# Contributor: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname=clamav
-pkgver=0.104.0
-pkgrel=1
-pkgdesc='Anti-virus toolkit for Unix'
-url='https://www.clamav.net/'
-license=('GPL')
-arch=('x86_64')
-depends=('bzip2' 'libltdl' 'libxml2' 'curl' 'systemd-libs' 'pcre2' 'json-c' 'libmspack'
-         'ncurses' libsystemd.so libncursesw.so libcurl.so libjson-c.so libbz2.so)
-makedepends=('libmilter' 'systemd' 'cmake' 'ninja' 'python')
-checkdepends=('check')
-backup=('etc/clamav/clamd.conf'
-        'etc/clamav/freshclam.conf'
-        'etc/clamav/clamav-milter.conf'
-        'etc/logrotate.d/clamav')
-provides=(libclamav.so libclamunrar.so libclamunrar_iface.so)
-source=(https://www.clamav.net/downloads/production/${pkgname}-${pkgver}.tar.gz{,.sig}
-        clamav.logrotate
-        clamav.tmpfiles
-        clamav.sysusers)
-sha512sums=('7a052e6310ef92068acc384d10a64eed6d54d2d408d203dab92defbb1a276e8a193a2096a8028c8982323ba0be83d25602f026aeffa056878ce36aa325c0046c'
-            'SKIP'
-            '9cb168c1c16bb43c99900d7ef34456e3f3b593d4d1943c875a0306bc86fd3872cb78e9e1413dcba93579e01b96d466c9eea1975e24190193663b7986c4525d48'
-            'c5443634399bd87fe0d0192518538ffdb7296a8437b5b0160a0fbd58696b01285de3237e3feb552c0095c49e576832dec2e2b2107eef2be42424ed7edd13cd19'
-            'b984836f6c34d97b90d81fa5d17361a2e3f8c0cc709e3350a4d25cf088dc04f7bf2504359980c8be489c96b1b8798c60e6da533069d3378d49d4f50f929a2c90')
-validpgpkeys=('E34DB95B374B31570496CD3F609B024F2B3EDD07') # Talos (Talos, Cisco Systems Inc.) <research at sourcefire.com>
-
-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
-  sed -E 's|#(LogTime) .+|\1 yes|' -i etc/clamd.conf.sample etc/clamav-milter.conf.sample
-  sed -E 's|#(PidFile) .+|\1 /run/clamav/clamd.pid|' -i etc/clamd.conf.sample
-  sed -E 's|#(TemporaryDirectory) .+|\1 /tmp|' -i etc/{clamd,clamav-milter}.conf.sample
-  sed -E 's|#(LocalSocket) .+|\1 /run/clamav/clamd.ctl|' -i etc/clamd.conf.sample
-  sed -E 's|#(UpdateLogFile) .+|\1 /var/log/clamav/freshclam.log|' -i etc/freshclam.conf.sample
-  sed -E 's|#(DatabaseMirror) .+|\1 database.clamav.net|' -i etc/freshclam.conf.sample
-  sed -E 's|#(NotifyClamd) .+|\1 /etc/clamav/clamd.conf|' -i etc/freshclam.conf.sample
-  sed -E 's|#(PidFile) .+|\1 /run/clamav/freshclam.pid|' -i etc/freshclam.conf.sample
-  sed -E 's|#(LogFile) .+|\1 /var/log/clamav/clamav-milter.log|' -i etc/clamav-milter.conf.sample
-  sed -E 's|#(PidFile) .+|\1 /run/clamav/clamav-milter.pid|' -i etc/clamav-milter.conf.sample
-  sed -E "s|(\\[Unit\\])|\\1\\nWants=network-online.target\\nAfter=network-online.target|" -i freshclam/clamav-freshclam.service.in
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  cmake \
-    -DCMAKE_BUILD_TYPE='None' \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_SBINDIR=bin \
-    -DAPP_CONFIG_DIRECTORY=/etc/clamav \
-    -DDATABASE_DIRECTORY=/var/lib/clamav \
-    -DENABLE_EXTERNAL_MSPACK=ON \
-    -Wno-dev \
-    -B build \
-    -G Ninja \
-    -S .
-  ninja -C build
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  ninja -C build test
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  DESTDIR="${pkgdir}" ninja -C build install
-
-  mv "${pkgdir}"/etc/clamav/freshclam.conf{.sample,}
-  mv "${pkgdir}"/etc/clamav/clamd.conf{.sample,}
-  mv "${pkgdir}"/etc/clamav/clamav-milter.conf{.sample,}
-
-  install -Dm 644 ../clamav.sysusers "${pkgdir}"/usr/lib/sysusers.d/clamav.conf
-  install -Dm 644 ../clamav.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/clamav.conf
-  install -Dm 644 ../clamav.logrotate "${pkgdir}"/etc/logrotate.d/clamav
-}
-
-# vim: ts=2 sw=2 et:

Copied: clamav/repos/extra-x86_64/PKGBUILD (from rev 427724, clamav/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-09 19:45:09 UTC (rev 427726)
@@ -0,0 +1,86 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Dale Blount <dale at archlinux.org>
+# Contributor: Gregor Ibic <gregor.ibic at intelicom.si>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=clamav
+pkgver=0.104.1
+pkgrel=1
+pkgdesc='Anti-virus toolkit for Unix'
+url='https://www.clamav.net/'
+license=('GPL')
+arch=('x86_64')
+depends=('bzip2' 'libltdl' 'libxml2' 'curl' 'systemd-libs' 'pcre2' 'json-c' 'libmspack'
+         'ncurses' libsystemd.so libncursesw.so libcurl.so libjson-c.so libbz2.so)
+makedepends=('libmilter' 'systemd' 'cmake' 'ninja' 'python')
+checkdepends=('check')
+backup=('etc/clamav/clamd.conf'
+        'etc/clamav/freshclam.conf'
+        'etc/clamav/clamav-milter.conf'
+        'etc/logrotate.d/clamav')
+provides=(libclamav.so libclamunrar.so libclamunrar_iface.so)
+source=(https://www.clamav.net/downloads/production/${pkgname}-${pkgver}.tar.gz{,.sig}
+        clamav.logrotate
+        clamav.tmpfiles
+        clamav.sysusers)
+sha512sums=('2cd4f73de73a2bbc002e1aa85326ea30cce0073fc1a2d5d7d220465217a84eb97fac759010ae0af54d2f0ed725112a51a65a486491fa52388cd7652d7b5cfa5a'
+            'SKIP'
+            '9cb168c1c16bb43c99900d7ef34456e3f3b593d4d1943c875a0306bc86fd3872cb78e9e1413dcba93579e01b96d466c9eea1975e24190193663b7986c4525d48'
+            'c5443634399bd87fe0d0192518538ffdb7296a8437b5b0160a0fbd58696b01285de3237e3feb552c0095c49e576832dec2e2b2107eef2be42424ed7edd13cd19'
+            'b984836f6c34d97b90d81fa5d17361a2e3f8c0cc709e3350a4d25cf088dc04f7bf2504359980c8be489c96b1b8798c60e6da533069d3378d49d4f50f929a2c90')
+validpgpkeys=('E34DB95B374B31570496CD3F609B024F2B3EDD07') # Talos (Talos, Cisco Systems Inc.) <research at sourcefire.com>
+
+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
+  sed -E 's|#(LogTime) .+|\1 yes|' -i etc/clamd.conf.sample etc/clamav-milter.conf.sample
+  sed -E 's|#(PidFile) .+|\1 /run/clamav/clamd.pid|' -i etc/clamd.conf.sample
+  sed -E 's|#(TemporaryDirectory) .+|\1 /tmp|' -i etc/{clamd,clamav-milter}.conf.sample
+  sed -E 's|#(LocalSocket) .+|\1 /run/clamav/clamd.ctl|' -i etc/clamd.conf.sample
+  sed -E 's|#(UpdateLogFile) .+|\1 /var/log/clamav/freshclam.log|' -i etc/freshclam.conf.sample
+  sed -E 's|#(DatabaseMirror) .+|\1 database.clamav.net|' -i etc/freshclam.conf.sample
+  sed -E 's|#(NotifyClamd) .+|\1 /etc/clamav/clamd.conf|' -i etc/freshclam.conf.sample
+  sed -E 's|#(PidFile) .+|\1 /run/clamav/freshclam.pid|' -i etc/freshclam.conf.sample
+  sed -E 's|#(LogFile) .+|\1 /var/log/clamav/clamav-milter.log|' -i etc/clamav-milter.conf.sample
+  sed -E 's|#(PidFile) .+|\1 /run/clamav/clamav-milter.pid|' -i etc/clamav-milter.conf.sample
+  sed -E "s|(\\[Unit\\])|\\1\\nWants=network-online.target\\nAfter=network-online.target|" -i freshclam/clamav-freshclam.service.in
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cmake \
+    -DCMAKE_BUILD_TYPE='None' \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_SBINDIR=bin \
+    -DAPP_CONFIG_DIRECTORY=/etc/clamav \
+    -DDATABASE_DIRECTORY=/var/lib/clamav \
+    -DENABLE_EXTERNAL_MSPACK=ON \
+    -Wno-dev \
+    -B build \
+    -G Ninja \
+    -S .
+  ninja -C build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  ninja -C build test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build install
+
+  mv "${pkgdir}"/etc/clamav/freshclam.conf{.sample,}
+  mv "${pkgdir}"/etc/clamav/clamd.conf{.sample,}
+  mv "${pkgdir}"/etc/clamav/clamav-milter.conf{.sample,}
+
+  install -Dm 644 ../clamav.sysusers "${pkgdir}"/usr/lib/sysusers.d/clamav.conf
+  install -Dm 644 ../clamav.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/clamav.conf
+  install -Dm 644 ../clamav.logrotate "${pkgdir}"/etc/logrotate.d/clamav
+}
+
+# vim: ts=2 sw=2 et:

Deleted: clamav.logrotate
===================================================================
--- clamav.logrotate	2021-11-09 19:45:06 UTC (rev 427725)
+++ clamav.logrotate	2021-11-09 19:45:09 UTC (rev 427726)
@@ -1,11 +0,0 @@
-/var/log/clamav/clamd.log /var/log/clamav/freshclam.log /var/log/clamav/clamav-milter.log {
-	create 644 clamav clamav
-	sharedscripts
-	missingok
-	notifempty
-	postrotate
-			/bin/kill -HUP `cat /run/clamav/clamd.pid 2>/dev/null` 2> /dev/null || true
-			/bin/kill -HUP `cat /run/clamav/freshclam.pid 2>/dev/null` 2> /dev/null || true
-			/bin/kill -HUP `cat /run/clamav/clamav-milter.pid 2>/dev/null` 2> /dev/null || true
-	endscript
-}

Copied: clamav/repos/extra-x86_64/clamav.logrotate (from rev 427724, clamav/trunk/clamav.logrotate)
===================================================================
--- clamav.logrotate	                        (rev 0)
+++ clamav.logrotate	2021-11-09 19:45:09 UTC (rev 427726)
@@ -0,0 +1,11 @@
+/var/log/clamav/clamd.log /var/log/clamav/freshclam.log /var/log/clamav/clamav-milter.log {
+	create 644 clamav clamav
+	sharedscripts
+	missingok
+	notifempty
+	postrotate
+			/bin/kill -HUP `cat /run/clamav/clamd.pid 2>/dev/null` 2> /dev/null || true
+			/bin/kill -HUP `cat /run/clamav/freshclam.pid 2>/dev/null` 2> /dev/null || true
+			/bin/kill -HUP `cat /run/clamav/clamav-milter.pid 2>/dev/null` 2> /dev/null || true
+	endscript
+}

Deleted: clamav.sysusers
===================================================================
--- clamav.sysusers	2021-11-09 19:45:06 UTC (rev 427725)
+++ clamav.sysusers	2021-11-09 19:45:09 UTC (rev 427726)
@@ -1 +0,0 @@
-u clamav 64 "Clam AntiVirus" -

Copied: clamav/repos/extra-x86_64/clamav.sysusers (from rev 427725, clamav/trunk/clamav.sysusers)
===================================================================
--- clamav.sysusers	                        (rev 0)
+++ clamav.sysusers	2021-11-09 19:45:09 UTC (rev 427726)
@@ -0,0 +1 @@
+u clamav 64 "Clam AntiVirus" -

Deleted: clamav.tmpfiles
===================================================================
--- clamav.tmpfiles	2021-11-09 19:45:06 UTC (rev 427725)
+++ clamav.tmpfiles	2021-11-09 19:45:09 UTC (rev 427726)
@@ -1,3 +0,0 @@
-d /run/clamav 0755 clamav clamav
-d /var/log/clamav 0755 clamav clamav
-d /var/lib/clamav 0755 clamav clamav

Copied: clamav/repos/extra-x86_64/clamav.tmpfiles (from rev 427725, clamav/trunk/clamav.tmpfiles)
===================================================================
--- clamav.tmpfiles	                        (rev 0)
+++ clamav.tmpfiles	2021-11-09 19:45:09 UTC (rev 427726)
@@ -0,0 +1,3 @@
+d /run/clamav 0755 clamav clamav
+d /var/log/clamav 0755 clamav clamav
+d /var/lib/clamav 0755 clamav clamav



More information about the arch-commits mailing list