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

Levente Polyak anthraxx at archlinux.org
Wed Mar 14 03:31:00 UTC 2018


    Date: Wednesday, March 14, 2018 @ 03:30:59
  Author: anthraxx
Revision: 318933

archrelease: copy trunk to extra-x86_64

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

------------------+
 PKGBUILD         |  168 ++++++++++++++++++++++++++---------------------------
 clamav.install   |   22 +++---
 clamav.logrotate |   22 +++---
 clamav.sysusers  |    2 
 clamav.tmpfiles  |    6 -
 5 files changed, 110 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-14 03:30:50 UTC (rev 318932)
+++ PKGBUILD	2018-03-14 03:30:59 UTC (rev 318933)
@@ -1,84 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]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.99.3
-pkgrel=1
-pkgdesc='Anti-virus toolkit for Unix'
-url='https://www.clamav.net/'
-license=('GPL')
-arch=('x86_64')
-makedepends=('libmilter' 'systemd')
-depends=('bzip2' 'libltdl' 'libxml2' 'curl' 'pcre' 'libsystemd')
-backup=('etc/clamav/clamd.conf'
-        'etc/clamav/freshclam.conf'
-        'etc/clamav/clamav-milter.conf'
-        'etc/logrotate.d/clamav')
-install=clamav.install
-source=(https://www.clamav.net/downloads/production/${pkgname}-${pkgver}.tar.gz{,.sig}
-        clamav.logrotate
-        clamav.tmpfiles
-        clamav.sysusers)
-sha256sums=('00fa5292a6e00a3a4035b826267748965d5d2c4943d8ff417d740238263e8e84'
-            'SKIP'
-            'c36e3ddf790fa6ea90169038ae08521a31652a372017e6e38858e28fc63b3f74'
-            '8e216c7e4763a273a120930787dcc444ea221bb719eed180a9d15b4c1d603a84'
-            '01a896c3a1cd34b323594403fd82a9e353b5aa848b8462137b621959558199e8')
-validpgpkeys=('65ED513993F08DA06F9639A6F13F9E16BCA5BFAD') # 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
-  autoreconf -fiv
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  # --disable-zlib-vcheck because the configure script thinks that
-  # zlib 1.2.11 is older than 1.2.2
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc/clamav \
-    --with-dbdir=/var/lib/clamav \
-    --with-user=clamav \
-    --with-group=clamav \
-    --disable-rpath \
-    --disable-clamav \
-    --disable-llvm \
-    --enable-zlib-vcheck \
-    --enable-milter \
-    --enable-clamdtop
-
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" 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 318932, clamav/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-14 03:30:59 UTC (rev 318933)
@@ -0,0 +1,84 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]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.99.4
+pkgrel=1
+pkgdesc='Anti-virus toolkit for Unix'
+url='https://www.clamav.net/'
+license=('GPL')
+arch=('x86_64')
+depends=('bzip2' 'libltdl' 'libxml2' 'curl' 'libsystemd' 'pcre2')
+makedepends=('libmilter' 'systemd')
+backup=('etc/clamav/clamd.conf'
+        'etc/clamav/freshclam.conf'
+        'etc/clamav/clamav-milter.conf'
+        'etc/logrotate.d/clamav')
+install=clamav.install
+source=(https://www.clamav.net/downloads/production/${pkgname}-${pkgver}.tar.gz{,.sig}
+        clamav.logrotate
+        clamav.tmpfiles
+        clamav.sysusers)
+sha256sums=('d72ac3273bde8d2e5e28ec9978373ee3ab4529fd868bc3fc4d2d2671228f2461'
+            'SKIP'
+            'c36e3ddf790fa6ea90169038ae08521a31652a372017e6e38858e28fc63b3f74'
+            '8e216c7e4763a273a120930787dcc444ea221bb719eed180a9d15b4c1d603a84'
+            '01a896c3a1cd34b323594403fd82a9e353b5aa848b8462137b621959558199e8')
+validpgpkeys=('65ED513993F08DA06F9639A6F13F9E16BCA5BFAD') # 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
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  # --disable-zlib-vcheck because the configure script thinks that
+  # zlib 1.2.11 is older than 1.2.2
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc/clamav \
+    --with-dbdir=/var/lib/clamav \
+    --with-user=clamav \
+    --with-group=clamav \
+    --disable-rpath \
+    --disable-clamav \
+    --disable-llvm \
+    --enable-zlib-vcheck \
+    --enable-milter \
+    --enable-clamdtop
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" 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.install
===================================================================
--- clamav.install	2018-03-14 03:30:50 UTC (rev 318932)
+++ clamav.install	2018-03-14 03:30:59 UTC (rev 318933)
@@ -1,11 +0,0 @@
-post_upgrade() {
-  if (( $(vercmp $2 0.99.3) <= 0 )); then
-    cat << EOF
-
-===> WARNING: ClamAV service files have been renamed:
-  -> clamav-daemon.service
-  -> clamav-freshclam.service
-
-EOF
-  fi
-}

Copied: clamav/repos/extra-x86_64/clamav.install (from rev 318932, clamav/trunk/clamav.install)
===================================================================
--- clamav.install	                        (rev 0)
+++ clamav.install	2018-03-14 03:30:59 UTC (rev 318933)
@@ -0,0 +1,11 @@
+post_upgrade() {
+  if (( $(vercmp $2 0.99.3) <= 0 )); then
+    cat << EOF
+
+===> WARNING: ClamAV service files have been renamed:
+  -> clamav-daemon.service
+  -> clamav-freshclam.service
+
+EOF
+  fi
+}

Deleted: clamav.logrotate
===================================================================
--- clamav.logrotate	2018-03-14 03:30:50 UTC (rev 318932)
+++ clamav.logrotate	2018-03-14 03:30:59 UTC (rev 318933)
@@ -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 318932, clamav/trunk/clamav.logrotate)
===================================================================
--- clamav.logrotate	                        (rev 0)
+++ clamav.logrotate	2018-03-14 03:30:59 UTC (rev 318933)
@@ -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	2018-03-14 03:30:50 UTC (rev 318932)
+++ clamav.sysusers	2018-03-14 03:30:59 UTC (rev 318933)
@@ -1 +0,0 @@
-u clamav 64 "Clam AntiVirus" -

Copied: clamav/repos/extra-x86_64/clamav.sysusers (from rev 318932, clamav/trunk/clamav.sysusers)
===================================================================
--- clamav.sysusers	                        (rev 0)
+++ clamav.sysusers	2018-03-14 03:30:59 UTC (rev 318933)
@@ -0,0 +1 @@
+u clamav 64 "Clam AntiVirus" -

Deleted: clamav.tmpfiles
===================================================================
--- clamav.tmpfiles	2018-03-14 03:30:50 UTC (rev 318932)
+++ clamav.tmpfiles	2018-03-14 03:30:59 UTC (rev 318933)
@@ -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 318932, clamav/trunk/clamav.tmpfiles)
===================================================================
--- clamav.tmpfiles	                        (rev 0)
+++ clamav.tmpfiles	2018-03-14 03:30:59 UTC (rev 318933)
@@ -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