Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] minidlna: update to 1.3.1.
Date: Wed, 27 Apr 2022 02:37:38 +0200	[thread overview]
Message-ID: <20220427003738.X9H_Ka4l11nFBWOX3rHnZSMoN93KQHO0g1FcdRWUw2U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36878@inbox.vuxu.org>

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

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

https://github.com/ericonr/void-packages minidlna
https://github.com/void-linux/void-packages/pull/36878

minidlna: update to 1.3.1.
The git snapshot had to be used due to [1]. Hopefully a future release
will come with tarballs.

[1] https://sourceforge.net/p/minidlna/support-requests/78/

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

I have only built it natively, so far.

@Duncaen

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- 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/36878.patch is attached

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

From f0ad721814fb642217d208a27b6bfc7c5433c018 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Tue, 26 Apr 2022 21:34:55 -0300
Subject: [PATCH] minidlna: update to 1.3.1.

Fixes: CVE-2022-26505.

The git snapshot had to be used due to [1]. Hopefully a future release
will come with tarballs.

[1] https://sourceforge.net/p/minidlna/support-requests/78/
---
 srcpkgs/minidlna/template | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template
index da681f604300..b4cbe573abc7 100644
--- a/srcpkgs/minidlna/template
+++ b/srcpkgs/minidlna/template
@@ -1,7 +1,9 @@
 # Template file for 'minidlna'
 pkgname=minidlna
-version=1.3.0
-revision=2
+version=1.3.1
+revision=1
+_hash=66939d5ac4986020764c0518455f55b68422369f
+wrksrc=minidlna-git-${_hash}
 build_style=gnu-configure
 configure_args="
  --sbindir=/usr/bin
@@ -11,7 +13,7 @@ conf_files="/etc/minidlna.conf"
 make_dirs="
  /var/lib/minidlna 0750 minidlna minidlna
  /var/log/minidlna 0750 minidlna minidlna"
-hostmakedepends="pkg-config gettext"
+hostmakedepends="pkg-config gettext automake gettext-devel-tools"
 makedepends="ffmpeg-devel libjpeg-turbo-devel sqlite-devel libexif-devel
  libid3tag-devel libvorbis-devel libflac-devel"
 short_desc="DLNA/UPnP-AV compliant media server"
@@ -19,8 +21,9 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
 license="GPL-2.0-only, BSD-3-Clause"
 homepage="https://minidlna.sourceforge.net/"
 changelog="https://sourceforge.net/projects/minidlna/files/minidlna/${version}/README/view"
-distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=47d9b06b4c48801a4c1112ec23d24782728b5495e95ec2195bbe5c81bc2d3c63
+#distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
+distfiles="https://sourceforge.net/code-snapshots/git/m/mi/minidlna/git.git/minidlna-git-${_hash}.zip"
+checksum=6e13ecde024885694f37a7cc942032b37a32f8b3043e864ade95f07c2de6fa09
 
 system_accounts="minidlna"
 minidlna_homedir="/var/lib/minidlna"
@@ -31,6 +34,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi
 
+pre_configure() {
+	autoreconf -fvi
+}
+
 post_install() {
 	vlicense LICENCE.miniupnpd # This one is BSD. COPYING is GPL-2
 	vconf minidlna.conf

  reply	other threads:[~2022-04-27  0:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27  0:37 [PR PATCH] " ericonr
2022-04-27  0:37 ` ericonr [this message]
2022-07-26  2:14 ` github-actions
2022-08-10  2:09 ` [PR PATCH] [Closed]: " github-actions

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=20220427003738.X9H_Ka4l11nFBWOX3rHnZSMoN93KQHO0g1FcdRWUw2U@z \
    --to=ericonr@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).