diff --git a/audio/vorbis-tools/Makefile b/audio/vorbis-tools/Makefile index 9fb3f6b9b725..d63d9e7c06c7 100644 --- a/audio/vorbis-tools/Makefile +++ b/audio/vorbis-tools/Makefile @@ -1,40 +1,41 @@ PORTNAME= vorbis-tools -DISTVERSION= 1.4.2 -PORTREVISION= 6 +DISTVERSION= 1.4.3 PORTEPOCH= 3 CATEGORIES= audio MASTER_SITES= https://downloads.xiph.org/releases/vorbis/ MAINTAINER= naddy@FreeBSD.org COMMENT= Play, encode, and manage Ogg Vorbis files WWW= https://xiph.org/vorbis/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libao.so:audio/libao \ libcurl.so:ftp/curl \ libFLAC.so:audio/flac \ libogg.so:audio/libogg \ libopusfile.so:audio/opusfile \ libspeex.so:audio/speex \ libvorbis.so:audio/libvorbis USES= cpe iconv localbase:ldflags pkgconfig CPE_VENDOR= xiph GNU_CONFIGURE= yes CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" CONFIGURE_ARGS= --without-kate +TEST_TARGET= check + OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools ${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \ ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools/ogg123rc .include diff --git a/audio/vorbis-tools/distinfo b/audio/vorbis-tools/distinfo index 1a077ad0b2b6..a68f69359337 100644 --- a/audio/vorbis-tools/distinfo +++ b/audio/vorbis-tools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1611440307 -SHA256 (vorbis-tools-1.4.2.tar.gz) = db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0 -SIZE (vorbis-tools-1.4.2.tar.gz) = 1389947 +TIMESTAMP = 1744869841 +SHA256 (vorbis-tools-1.4.3.tar.gz) = a1fe3ddc6777bdcebf6b797e7edfe0437954b24756ffcc8c6b816b63e0460dde +SIZE (vorbis-tools-1.4.3.tar.gz) = 1804238 diff --git a/audio/vorbis-tools/files/patch-CVE-2023-43361 b/audio/vorbis-tools/files/patch-CVE-2023-43361 deleted file mode 100644 index bd6fe963410b..000000000000 --- a/audio/vorbis-tools/files/patch-CVE-2023-43361 +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/oggenc/platform.c b/oggenc/platform.c -index 6d9f4ef..b66e47a 100644 ---- oggenc/platform.c -+++ oggenc/platform.c -@@ -136,18 +136,22 @@ int create_directories(char *fn, int isutf8) - { - char *end, *start; - struct stat statbuf; -- char *segment = malloc(strlen(fn)+1); -+ const size_t fn_len = strlen(fn); -+ char *segment = malloc(fn_len+1); - #ifdef _WIN32 - wchar_t seg[MAX_PATH+1]; - #endif - - start = fn; - #ifdef _WIN32 -- if(strlen(fn) >= 3 && isalpha(fn[0]) && fn[1]==':') -+ // Strip drive prefix -+ if(fn_len >= 3 && isalpha(fn[0]) && fn[1]==':') { -+ - start = start+2; - #endif - -- while((end = strpbrk(start+1, PATH_SEPS)) != NULL) -+ // Loop through path segments, creating directories if necessary -+ while((end = strpbrk(start + strspn(start, PATH_SEPS), PATH_SEPS)) != NULL) - { - int rv; - memcpy(segment, fn, end-fn); diff --git a/audio/vorbis-tools/files/patch-ogginfo_codec__skeleton.c b/audio/vorbis-tools/files/patch-ogginfo_codec__skeleton.c deleted file mode 100644 index aefd970ec393..000000000000 --- a/audio/vorbis-tools/files/patch-ogginfo_codec__skeleton.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ogginfo/codec_skeleton.c.orig 2021-01-23 22:20:35 UTC -+++ ogginfo/codec_skeleton.c -@@ -24,6 +24,7 @@ - - #include - -+#include "utf8.h" - #include "i18n.h" - - #include "private.h" diff --git a/audio/vorbis-tools/pkg-plist b/audio/vorbis-tools/pkg-plist index 8f5dff76d212..d3fb4343ce7a 100644 --- a/audio/vorbis-tools/pkg-plist +++ b/audio/vorbis-tools/pkg-plist @@ -1,30 +1,36 @@ bin/ogg123 bin/oggdec bin/oggenc bin/ogginfo bin/vcut bin/vorbiscomment share/examples/vorbis-tools/ogg123rc %%NLS%%share/locale/be/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/cs/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/da/LC_MESSAGES/vorbis-tools.mo +%%NLS%%share/locale/de/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/eo/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/es/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/fr/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/hr/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/hu/LC_MESSAGES/vorbis-tools.mo +%%NLS%%share/locale/id/LC_MESSAGES/vorbis-tools.mo +%%NLS%%share/locale/ka/LC_MESSAGES/vorbis-tools.mo +%%NLS%%share/locale/nb/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/nl/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/pl/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/ro/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/ru/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/sk/LC_MESSAGES/vorbis-tools.mo +%%NLS%%share/locale/sl/LC_MESSAGES/vorbis-tools.mo +%%NLS%%share/locale/sr/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/sv/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/uk/LC_MESSAGES/vorbis-tools.mo %%NLS%%share/locale/vi/LC_MESSAGES/vorbis-tools.mo share/man/man1/ogg123.1.gz share/man/man1/oggdec.1.gz share/man/man1/oggenc.1.gz share/man/man1/ogginfo.1.gz share/man/man1/vcut.1.gz share/man/man1/vorbiscomment.1.gz