From nobody Thu Jul 20 09:48:28 2023 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 4R67DH6RHPz4dc7d; Thu, 20 Jul 2023 09:48:30 +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 4R67DF4zsSz4CYc; Thu, 20 Jul 2023 09:48:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689846509; 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=WE2ZY/jkSugwjPDyLQAFF+dyI+Q7M78F6k7eQ/WwBDI=; b=moZfl+NOp8EW9gY4HT8AmGPrcssAlbcFp8HB9B2JS1pHzBJ363Bp+i0XqBIyxD+kTOpxdK L7cCQSagl2NdhRGmuI5jDNPybiCwoq5ejMyATFCaWc7Ty8NydeyFTAmiRs8EKEjL+fD4y4 6jy4m20cBm2wDyonEnjl01jINJGB/yPqN4vw8YztfSD27KsXOJPvCujOSDPFk5vX3R+SuU OJ7SoOPkbHB9I6A0fDf2BtfHd7q0M9YUsVkv10Q85p+w5FJya/5FIXjbmQ+JU1LnHFrVsV HmH6drN9ZrLx4vdRb2LNwemUd+qPgzX1IQnugGsDckAFMX6X6nclAJFQoGESJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689846509; 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=WE2ZY/jkSugwjPDyLQAFF+dyI+Q7M78F6k7eQ/WwBDI=; b=v3xPUXurIexv3K5VgwU6ByKA2plD/0cY8FF3lytpwsNxVYg6jSvF+/Wr+FJvMb+3Kc7kI2 +KS7icSvpX0M+Wxl5mEPjF4aJFofipfKTUzYyQkJSHHN7a9h2rcTsle5fUqYYVm9SCH4S0 3/eNUiMdHW6gUZSSjcGMxPGG6PCc4BCkl4GehtEZGz8MOsc4+uQHvHspV+oOY/YwAzE6wC iMhkn81+7sYlJIuGgU5kwLr8rmOX7G18ha2WpAFNZyvweXIxnG7zDesSY9bNCjU2FCjtVA vyARIb0YpWvHW/eaeyEn3CvNeOf3v1Mj6zM1XtFF+9q0cPIIp09EHANXfwLI8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689846509; a=rsa-sha256; cv=none; b=AACwhF2DXUWYoFYSbSOgEkPKbEvjk6BvhHhaV4Ubpz6VXsXaWUFdqaOFhvaXcPP+GellV4 7fZdfzJ41dKFCr3tHi4+29pwM+EB0eFQtrtP284vHzL6ALZwajJ+SOMCBQRKGzyFzIzScA Fr8c+rzMvPKKfv0aQRgneh9lNWgMxK9RK/N5lXSLvCHNyEbU3SCqIwuTN4hkcAmGotZ41a t/qxm0wnKrN53EONoI/EWS72Kv1DWSIEXht98b21oHC7IEFxLaxvoet/mMXFVHE1yBdzHj GE0tac6bd/zhbfbmMJbUNfbJuIMnykGjuhHwrOxFeWo6j2jxE2ArO203KQBZHg== 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 4R67DF1L33zQnj; Thu, 20 Jul 2023 09:48:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36K9mSHE040994; Thu, 20 Jul 2023 09:48:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36K9mSDH040993; Thu, 20 Jul 2023 09:48:28 GMT (envelope-from git) Date: Thu, 20 Jul 2023 09:48:28 GMT Message-Id: <202307200948.36K9mSDH040993@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: db63cc4d3899 - main - net/mptsd: update to 1.1-27 and fix for FreeBSD 14 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: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: db63cc4d389920c499e8bf413a0e12227cd482f7 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=db63cc4d389920c499e8bf413a0e12227cd482f7 commit db63cc4d389920c499e8bf413a0e12227cd482f7 Author: Alex Mironov AuthorDate: 2023-07-20 06:20:26 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-07-20 09:48:17 +0000 net/mptsd: update to 1.1-27 and fix for FreeBSD 14 PR: 272603 Reported by: win2000rus@hotmail.com (maintainer) --- net/mptsd/Makefile | 10 ++++++++-- net/mptsd/distinfo | 10 +++++++--- net/mptsd/files/patch-Makefile | 21 --------------------- net/mptsd/files/patch-libfuncs_Makefile | 12 ++++-------- net/mptsd/files/patch-libtsfuncs_Makefile | 12 ++++-------- net/mptsd/files/patch-mptsd.c | 13 ++++++++----- 6 files changed, 31 insertions(+), 47 deletions(-) diff --git a/net/mptsd/Makefile b/net/mptsd/Makefile index 8d0e8b63bdb5..798d9f62ba85 100644 --- a/net/mptsd/Makefile +++ b/net/mptsd/Makefile @@ -1,16 +1,22 @@ PORTNAME= mptsd -PORTVERSION= 1.1 +DISTVERSIONPREFIX=v +DISTVERSION= 1.1-27 +DISTVERSIONSUFFIX=-g21bf4ea CATEGORIES= net multimedia MASTER_SITES= https://georgi.unixsol.org/programs/mptsd/ MAINTAINER= win2000rus@hotmail.com COMMENT= MPEG TS stream muxer -WWW= https://github.com/gfto/mptsd LICENSE= GPLv2 MIT LICENSE_COMB= multi USES= gmake tar:bzip2 +USE_GITHUB= yes +GH_ACCOUNT= gfto +GH_PROJECT= mptsd +GH_TUPLE= gfto:libfuncs:0dc8d87080badd7a276316ad7ae6e6f1aed2331b:libfuncs/libfuncs \ + gfto:libtsfuncs:45e7e999a17c1954915295bd13b242bbd937cf28:libtsfuncs/libtsfuncs do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin diff --git a/net/mptsd/distinfo b/net/mptsd/distinfo index f24ec2de6e68..f293a53b6221 100644 --- a/net/mptsd/distinfo +++ b/net/mptsd/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1523373210 -SHA256 (mptsd-1.1.tar.bz2) = 3609e13df7ee561f59f667d7700f13d515714c9b13c2220e88adb3c144b995f0 -SIZE (mptsd-1.1.tar.bz2) = 95989 +TIMESTAMP = 1689782801 +SHA256 (gfto-mptsd-v1.1-27-g21bf4ea_GH0.tar.gz) = 3f7744a8991301ec22442d34c8a496774443ca0c2e9199508368abc21385c7c0 +SIZE (gfto-mptsd-v1.1-27-g21bf4ea_GH0.tar.gz) = 46689 +SHA256 (gfto-libfuncs-0dc8d87080badd7a276316ad7ae6e6f1aed2331b_GH0.tar.gz) = c8446c30742815527676f1b26f94fb463b46ffc7a01e7a0b94ae8cba5952ff4e +SIZE (gfto-libfuncs-0dc8d87080badd7a276316ad7ae6e6f1aed2331b_GH0.tar.gz) = 12863 +SHA256 (gfto-libtsfuncs-45e7e999a17c1954915295bd13b242bbd937cf28_GH0.tar.gz) = a548f45cfbe4aa98ec7621198f4cbcec1731b86c6278b329d4b94506d9b34be1 +SIZE (gfto-libtsfuncs-45e7e999a17c1954915295bd13b242bbd937cf28_GH0.tar.gz) = 49660 diff --git a/net/mptsd/files/patch-Makefile b/net/mptsd/files/patch-Makefile deleted file mode 100644 index 32420b53455e..000000000000 --- a/net/mptsd/files/patch-Makefile +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile.orig 2012-01-26 12:00:02 UTC -+++ Makefile -@@ -1,17 +1,8 @@ --CC = $(CROSS)$(TARGET)gcc - STRIP = $(CROSS)$(TARGET)strip --BUILD_ID = $(shell date +%F_%R) - VERSION="v1.1" --GIT_VER = $(shell git describe --tags --dirty --always 2>/dev/null) --CFLAGS = -ggdb -Wall -Wextra -Wshadow -Wformat-security -Wno-strict-aliasing -O2 -D_GNU_SOURCE -DBUILD_ID=\"$(BUILD_ID)\" --ifneq "$(GIT_VER)" "" --CFLAGS += -DGIT_VER=\"$(GIT_VER)\" --else --CFLAGS += -DGIT_VER=\"$(VERSION)\" --endif -+CFLAGS += -Wall -Wextra -Wshadow -Wformat-security -Wno-strict-aliasing -D_GNU_SOURCE -DBUILD_ID=\"FreeBSD_port\" -DGIT_VER=\"$(VERSION)\" - - RM = /bin/rm -f --Q = @ - - LIBS = -lpthread -lm -lrt - diff --git a/net/mptsd/files/patch-libfuncs_Makefile b/net/mptsd/files/patch-libfuncs_Makefile index 69e1d6feeec9..19cca457bd25 100644 --- a/net/mptsd/files/patch-libfuncs_Makefile +++ b/net/mptsd/files/patch-libfuncs_Makefile @@ -1,16 +1,12 @@ ---- libfuncs/Makefile.orig 2012-01-05 12:40:53 UTC +--- libfuncs/Makefile.orig 2023-07-11 19:14:41 UTC +++ libfuncs/Makefile -@@ -1,12 +1,9 @@ --CC = $(CROSS)$(TARGET)gcc - LINK = $(CROSS)$(TARGET)ld -o - MKDEP = $(CC) -M -o $*.d $< +@@ -4,8 +4,7 @@ + MKDEP = $(CROSS)$(CC) -M -o $*.d $< LIBRARY_LINK_OPTS = -L. -r -CFLAGS = -O2 -ggdb -std=c99 -D_GNU_SOURCE -CFLAGS += -Wall -Wextra -Wshadow -Wformat-security -Wstrict-prototypes +CFLAGS += -std=c99 -D_GNU_SOURCE -Wall -Wextra -Wshadow -Wformat-security -Wstrict-prototypes RM = /bin/rm -f --Q=@ + Q=@ - OBJS = queue.o list.o cbuf.o io.o log.o http_response.o asyncdns.o \ - server.o misc.o diff --git a/net/mptsd/files/patch-libtsfuncs_Makefile b/net/mptsd/files/patch-libtsfuncs_Makefile index af6c11733184..231be4d0cea6 100644 --- a/net/mptsd/files/patch-libtsfuncs_Makefile +++ b/net/mptsd/files/patch-libtsfuncs_Makefile @@ -1,16 +1,12 @@ ---- libtsfuncs/Makefile.orig 2012-01-05 12:41:01 UTC +--- libtsfuncs/Makefile.orig 2023-07-11 19:18:33 UTC +++ libtsfuncs/Makefile -@@ -1,12 +1,9 @@ --CC = $(CROSS)$(TARGET)gcc - LINK = $(CROSS)$(TARGET)ld -o - MKDEP = $(CC) -M -o $*.d $< +@@ -4,8 +4,7 @@ + MKDEP = $(CROSS)$(CC) -M -o $*.d $< LIBRARY_LINK_OPTS = -L. -r -CFLAGS = -O2 -ggdb -std=c99 -D_GNU_SOURCE -CFLAGS += -Wall -Wextra -Wshadow -Wformat-security -Wstrict-prototypes +CFLAGS += -std=c99 -D_GNU_SOURCE -Wall -Wextra -Wshadow -Wformat-security -Wstrict-prototypes RM = /bin/rm -f --Q=@ + Q=@ - OBJS = log.o tsfuncs.o crc.o misc.o time.o \ - sections.o secdata.o \ diff --git a/net/mptsd/files/patch-mptsd.c b/net/mptsd/files/patch-mptsd.c index 731e7881245e..a14e34708e28 100644 --- a/net/mptsd/files/patch-mptsd.c +++ b/net/mptsd/files/patch-mptsd.c @@ -1,11 +1,14 @@ ---- mptsd.c.orig 2011-09-16 12:37:04 UTC +--- mptsd.c.orig 2018-05-07 06:42:40 UTC +++ mptsd.c -@@ -34,7 +34,7 @@ - +@@ -35,9 +35,9 @@ #define PROGRAM_NAME "ux-mptsd" + #ifdef BUILD_ID -const char *program_id = PROGRAM_NAME " " GIT_VER " build " BUILD_ID; -+const char *program_id = PROGRAM_NAME " FreeBSD port"; ++const char *program_id = PROGRAM_NAME " " GIT_VER " build " BUILD_ID " FreeBSD port"; + #else +-const char *program_id = PROGRAM_NAME " " GIT_VER; ++const char *program_id = PROGRAM_NAME " " GIT_VER " FreeBSD port"; + #endif char *server_sig = PROGRAM_NAME; - char *server_ver = GIT_VER;