From nobody Thu Feb 24 21:05:49 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4CAA319CE221; Thu, 24 Feb 2022 21:05:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K4QRf0pgYz4k4P; Thu, 24 Feb 2022 21:05:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645736750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=duUPAMhOQHy81giKetiua22gSeoupua2IzHD1LKpqJI=; b=bPPS+ARq0J61qyFqdweA5RISrK4eMtvWaUtFH/lkibjW40lsRpq8l0liqF7Pa7Bwmto4kX 7rmTYvkHPWJHW1smDXHmsd+pN9j9FfKy0xy161Entp3nXeRTOzu7uX5p7pFoVnH+J3VfH9 W5/ncK0jyLAW6bhxA58L1V8tcOCrSWdjFxGDb9J1Cq9NeYyjqcY0FZsFKY/ScspnQRu6YJ nHHyKm0x3g6zMet+5xTfpflQP4iSXqhuGeI2g1ST87MZglI+q4oxyaz6qrj8EaJroUuU1o xmP2NyeWybFUmB+B0aOoUJ6m8FTC+BnakT2I+oRb7htzSHXc3g35BImgSdrjPQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF655130EF; Thu, 24 Feb 2022 21:05:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21OL5nd1090002; Thu, 24 Feb 2022 21:05:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21OL5nOk090001; Thu, 24 Feb 2022 21:05:49 GMT (envelope-from git) Date: Thu, 24 Feb 2022 21:05:49 GMT Message-Id: <202202242105.21OL5nOk090001@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Christian Weisgerber Subject: git: b8c79b4c2749 - main - audio/flac: update to 1.3.4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: naddy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b8c79b4c27492e2d15565dd751774e06a9b7a5f0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645736750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=duUPAMhOQHy81giKetiua22gSeoupua2IzHD1LKpqJI=; b=HVeVWWvvasp9r9XL3KiSXUPFXmVGFpJzC+WkT1/sNhR3FFm3T3hgncTZXUB2u3+PnDLSL4 MOP93bReGH59EiE671B81304q/04tFx/aZDx1Dyh/AWYJ0r8q+rYaUMCIZ4moZED+ZAGiQ XILFLMlmcdViacP1d9yqtoESEI0WxASIRaN0136y7eQ0gcaFy9JgG2W5zYnP9ZjBvSuRmn OM6hnbvIGxzgI46HC5UpgcCoh1CeGMKckay07tu6oZXla16S94/vwzs/KlCt+w9RqPE7CW L4iUikggnGEG4aG4weVh4KwbainJBxFCxO4Hw6B98ZUAgBJXUHoIZtbprSEtPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645736750; a=rsa-sha256; cv=none; b=cWgPkRPFDoB7DOE5FgWvVMvo7LqNf0jNV9F9Gegj1PcOlkjb/ETMVWGfodeIicTal/0sM7 sb+51psmoXxFtH2SCpFSf0dwgqwSoAtAMTtReOIFYUTYwhZZXRgd8fuEGoKKonHnGe+4sO dgrvf6qBqjMGMeDWaaZ5UvtVWoHt0XeHVgFLJfLcnObfzaajRZVHindVzJSyU3EzDNAOcz TTF3LJeaX3hdp0pOiPoyXLAVSusOreBBCB6lDnpe9zVTZREztJcpGphQ4zhO0pGwurso3e rRtzH5IZIIZKlTUBBad0mxVZ97EZT1lRDn/7B6WhcwpyeWc221fvrprkkHeTbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by naddy: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8c79b4c27492e2d15565dd751774e06a9b7a5f0 commit b8c79b4c27492e2d15565dd751774e06a9b7a5f0 Author: Christian Weisgerber AuthorDate: 2022-02-24 21:02:58 +0000 Commit: Christian Weisgerber CommitDate: 2022-02-24 21:05:00 +0000 audio/flac: update to 1.3.4 This release mostly fixes (security related) bugs. MFH: 2022Q1 Security: e1440c6-95af-11ec-b320-f8b156b6dcc8 --- audio/flac/Makefile | 5 ++- audio/flac/distinfo | 6 ++-- audio/flac/files/patch-configure.ac | 20 ----------- audio/flac/files/patch-src_libFLAC_bitreader.c | 13 ------- audio/flac/files/patch-src_libFLAC_cpu.c | 48 -------------------------- 5 files changed, 5 insertions(+), 87 deletions(-) diff --git a/audio/flac/Makefile b/audio/flac/Makefile index 422615f18901..420c0e2c8d96 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -1,8 +1,7 @@ # Created by: Ying-Chieh Liao PORTNAME= flac -PORTVERSION= 1.3.3 -PORTREVISION= 1 +PORTVERSION= 1.3.4 CATEGORIES= audio MASTER_SITES= https://downloads.xiph.org/releases/flac/ \ https://ftp.osuosl.org/pub/xiph/releases/flac/ @@ -17,7 +16,7 @@ LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.FDL LIB_DEPENDS= libogg.so:audio/libogg -USES= autoreconf compiler:c11 cpe iconv libtool pathfix pkgconfig tar:xz +USES= compiler:c11 cpe iconv libtool pathfix pkgconfig tar:xz CPE_VENDOR= flac_project diff --git a/audio/flac/distinfo b/audio/flac/distinfo index 21e84ab78d75..14605fa2f22b 100644 --- a/audio/flac/distinfo +++ b/audio/flac/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1565699962 -SHA256 (flac-1.3.3.tar.xz) = 213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748 -SIZE (flac-1.3.3.tar.xz) = 1044472 +TIMESTAMP = 1645726425 +SHA256 (flac-1.3.4.tar.xz) = 8ff0607e75a322dd7cd6ec48f4f225471404ae2730d0ea945127b1355155e737 +SIZE (flac-1.3.4.tar.xz) = 1038356 diff --git a/audio/flac/files/patch-configure.ac b/audio/flac/files/patch-configure.ac deleted file mode 100644 index 5b1c9b1a05d5..000000000000 --- a/audio/flac/files/patch-configure.ac +++ /dev/null @@ -1,20 +0,0 @@ ---- configure.ac.orig 2019-08-04 08:26:40 UTC -+++ configure.ac -@@ -69,7 +69,7 @@ AC_C_INLINE - AC_C_VARARRAYS - AC_C_TYPEOF - --AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h sys/ioctl.h termios.h x86intrin.h cpuid.h]) -+AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h sys/ioctl.h termios.h x86intrin.h cpuid.h sys/auxv.h]) - - XIPH_C_BSWAP32 - XIPH_C_BSWAP16 -@@ -104,6 +104,8 @@ AC_CHECK_TYPES(socklen_t, [], []) - dnl check for getopt in standard library - dnl AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) - AC_CHECK_FUNCS(getopt_long, [], []) -+ -+AC_CHECK_FUNCS([getauxval elf_aux_info]) - - AC_CHECK_SIZEOF(void*,1) - diff --git a/audio/flac/files/patch-src_libFLAC_bitreader.c b/audio/flac/files/patch-src_libFLAC_bitreader.c deleted file mode 100644 index 463343e0d428..000000000000 --- a/audio/flac/files/patch-src_libFLAC_bitreader.c +++ /dev/null @@ -1,13 +0,0 @@ -https://github.com/xiph/flac/commit/2e7931c27eb15e387da440a37f12437e35b22dd4 - ---- src/libFLAC/bitreader.c.orig 2021-05-08 16:06:17 UTC -+++ src/libFLAC/bitreader.c -@@ -864,7 +864,7 @@ incomplete_lsbs: - cwords = br->consumed_words; - words = br->words; - ucbits = FLAC__BITS_PER_WORD - br->consumed_bits; -- b = br->buffer[cwords] << br->consumed_bits; -+ b = cwords < br->capacity ? br->buffer[cwords] << br->consumed_bits : 0; - } while(cwords >= words && val < end); - } - diff --git a/audio/flac/files/patch-src_libFLAC_cpu.c b/audio/flac/files/patch-src_libFLAC_cpu.c deleted file mode 100644 index 4615f3970ad7..000000000000 --- a/audio/flac/files/patch-src_libFLAC_cpu.c +++ /dev/null @@ -1,48 +0,0 @@ ---- src/libFLAC/cpu.c.orig 2018-08-20 08:17:21 UTC -+++ src/libFLAC/cpu.c -@@ -53,7 +53,7 @@ - #define dfprintf(file, format, ...) - #endif - --#if defined FLAC__CPU_PPC -+#if defined(HAVE_SYS_AUXV_H) - #include - #endif - -@@ -236,7 +236,10 @@ x86_cpu_info (FLAC__CPUInfo *info) - static void - ppc_cpu_info (FLAC__CPUInfo *info) - { --#if defined FLAC__CPU_PPC -+ info->ppc.arch_2_07 = false; -+ info->ppc.arch_3_00 = false; -+ -+#if defined(FLAC__CPU_PPC) - #ifndef PPC_FEATURE2_ARCH_3_00 - #define PPC_FEATURE2_ARCH_3_00 0x00800000 - #endif -@@ -245,14 +248,21 @@ ppc_cpu_info (FLAC__CPUInfo *info) - #define PPC_FEATURE2_ARCH_2_07 0x80000000 - #endif - -+#if defined(HAVE_GETAUXVAL) - if (getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_3_00) { - info->ppc.arch_3_00 = true; - } else if (getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_2_07) { - info->ppc.arch_2_07 = true; - } --#else -- info->ppc.arch_2_07 = false; -- info->ppc.arch_3_00 = false; -+#elif defined(HAVE_ELF_AUX_INFO) -+ long hwcaps; -+ elf_aux_info(AT_HWCAP2, &hwcaps, sizeof(hwcaps)); -+ if (hwcaps & PPC_FEATURE2_ARCH_3_00) { -+ info->ppc.arch_3_00 = true; -+ } else if (hwcaps & PPC_FEATURE2_ARCH_2_07) { -+ info->ppc.arch_2_07 = true; -+ } -+#endif - #endif - } -