Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] clamav: update to 0.103.3
Date: Sun, 11 Jul 2021 03:06:38 +0200	[thread overview]
Message-ID: <20210711010638.PkjzB-a61fSJ12IvdtL-Y7O4L3onYoUQWjMY_2au0oc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31902@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages clam
https://github.com/void-linux/void-packages/pull/31902

clamav: update to 0.103.3
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31902.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clam-31902.patch --]
[-- Type: text/x-diff, Size: 1860 bytes --]

From 1b2e45818880bc860a289149aacfda18fb5f26fc Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Sat, 10 Jul 2021 21:04:36 -0400
Subject: [PATCH] clamav: update to 0.103.3

---
 srcpkgs/clamav/template | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/clamav/template b/srcpkgs/clamav/template
index 11266034025a..a4d0f6961367 100644
--- a/srcpkgs/clamav/template
+++ b/srcpkgs/clamav/template
@@ -1,6 +1,6 @@
 # Template file for 'clamav'
 pkgname=clamav
-version=0.103.2
+version=0.103.3
 revision=1
 build_style=gnu-configure
 # XXX: system llvm is too new (< 3.7 required)
@@ -19,7 +19,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="http://www.clamav.net/"
 distfiles="http://www.clamav.net/downloads/production/${pkgname}-${version}.tar.gz"
-checksum=d4b5d0ac666262e423a326fb54778caa7c69624d6c3f9542895feb8478271bd2
+checksum=9f6e3d18449f3d1a3992771d696685249dfa12736fe2b2929858f2c7d8276ae9
 _clamav_homedir="/var/lib/_${pkgname}"
 _clamav_descr="ClamAV user"
 system_accounts="_clamav"
@@ -44,6 +44,7 @@ do_configure() {
 	# Need to set PCRE_HOME to make --with-pcre=/usr work
 	PCRE_HOME=/usr ./configure ${configure_args}
 }
+
 post_install() {
 	# Enable and patch clamd configuration
 	mv -v ${PKGDESTDIR}/etc/clamd.conf.sample ${PKGDESTDIR}/etc/clamd.conf
@@ -58,11 +59,16 @@ post_install() {
 	sed -i ${PKGDESTDIR}/etc/freshclam.conf \
 		-e "s;^Example$;# Example;" \
 		-e "s;#DatabaseDirectory.*;DatabaseDirectory /var/lib/_${pkgname};"
+
+	# Remove clamav-config from main package
+	rm ${PKGDESTDIR}/usr/bin/clamav-config
 }
+
 clamav-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
+		vbin clamav-config
 		vmove usr/lib/pkgconfig
 		vmove usr/include
 		vmove "usr/lib/*.so"

  reply	other threads:[~2021-07-11  1:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-11  0:59 [PR PATCH] " cinerea0
2021-07-11  1:06 ` cinerea0 [this message]
2021-07-17  3:45 ` ericonr
2021-07-17  3:46 ` [PR REVIEW] " ericonr
2021-07-17 15:32 ` [PR PATCH] [Updated] " cinerea0
2021-07-17 15:38 ` [PR REVIEW] " cinerea0
2021-07-17 20:15 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210711010638.PkjzB-a61fSJ12IvdtL-Y7O4L3onYoUQWjMY_2au0oc@z \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).