From nobody Tue Apr 12 10:18:12 2022 X-Original-To: dev-commits-ports-all@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 AD3BD13A3CD3; Tue, 12 Apr 2022 10:18:12 +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 4Kd1rh4Sv6z3t3n; Tue, 12 Apr 2022 10:18:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649758692; 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=yY3b0uOWiVIuiIcE33w2SK00DV/3JsCOmYUAkIUPzvw=; b=IKvDEuBEpotfHrFJzCcwwf7xUt1uHQ7mo4++vIC1EFafhIYWsbu2Uj2xeF3Kk2K59oFX+Y JizknrgAFjIXaWCJEJQLeS2DX+yKNcEC0j1j8jcygV7Oz95eyaA06UrB4fcmRvE28xIfAR 7k13fXbrci005So9sfZsdrCDoA0YNlm1eIZBEkHLRy0jF+Jdm3hm+sFGxxwsM4poKCSUZP LY4d6oAkGZIQN4Hi4EtTz0QFtaxfBrJkMLEUH/2ZTOIuMdzXm1dI2ox7lbNPTyWgy7Brsv OFr6hFdOq8c2kR2RXzJR7mQJEl5A62YsFgheXtplR30Y/odifbOqmd1bK/1Ngw== 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 7972715AAD; Tue, 12 Apr 2022 10:18:12 +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 23CAICSp088091; Tue, 12 Apr 2022 10:18:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CAICbA088090; Tue, 12 Apr 2022 10:18:12 GMT (envelope-from git) Date: Tue, 12 Apr 2022 10:18:12 GMT Message-Id: <202204121018.23CAICbA088090@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 Apestegu=C3=ADa?= Subject: git: c4a37205059c - main - irc/scrollz: Update to version 2.3.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: c4a37205059c6f8e365b50ee29e82e15a3e41221 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649758692; 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=yY3b0uOWiVIuiIcE33w2SK00DV/3JsCOmYUAkIUPzvw=; b=YXU+L33O2ovIngkMvC3kCDBJZR2AksLM56Vtf245NU4EEEH3AGFK7bY6pV50tShs9ncEc+ R9rMX2nxy57STCuAqiE7WIEGjkdrT6m4jloFUKt72QJbbcIYlPqCeNHFZcsk0ocXCU56EO yntyBRYN03JK/AdZEWnDJOlZFF7En9jRF0ZVSEGodZdhKmoLeRWnKPKXLHlLEx+Ny9SCUB qUhIyqgn6OA/chsL+ZNutZ4rDZwhc5t10Uy67rWzjbjhNFFG4gBucAX7GYgF008ytyhCie vi+Rh0be8g5gdmY34V1q8j4ZfsrkhYb5+QmuDjlLP/fkfMQjCSEuQwvonpmC6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649758692; a=rsa-sha256; cv=none; b=m1EEGGBc8I17vXmT7uWJPkfr30/xbmuxa3lMSEAaE1R1hiWQ3CwVwQgRO9Xh9qH5/pLQNm kBIsKmE4tjleBGvVAYLMH7QitJkJDrotjgsfeADdrdZTj1IipUz9OAwprKU3aRCcrbQdjZ NbjKz/xLIRyD9VwMT7irp6eb+r4U1cbEK43lpoOk4/KYqhZO5vxcY+Sisk1a3KTOTFi6lP uiNl96nV88ylpvhxOQV1RH49GLcgQPUKGRGH8ZNMpb5rdAk4zs2u/063SF3bejRiFW9uD0 ZJ1FIVuowvFlsEiwVndFDfSieSD2jupyRQjqdZdm8am316a/rCCc/dMFkLn7EA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4a37205059c6f8e365b50ee29e82e15a3e41221 commit c4a37205059c6f8e365b50ee29e82e15a3e41221 Author: Chris Petrik AuthorDate: 2022-04-07 08:55:18 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-04-12 10:05:26 +0000 irc/scrollz: Update to version 2.3.1 ChangeLog: https://www.scrollz.info/download/ChangeLog.2.3.1.txt Use online commit to avoid gcc. PR: 262693 Reported by: Christopher.petrik@usm.edu Approved by: freebsd@bitchx.org (maintainer, timeout > 2 weeks) Reviewed by: mikael@ MFH: 2022Q2 (bugfix release, security) Security: CVE-2021-29376 --- irc/scrollz/Makefile | 9 ++++++--- irc/scrollz/distinfo | 7 +++++-- irc/scrollz/files/patch-Makefile.in | 14 +++++++------- irc/scrollz/files/patch-a8b05aab | 16 ---------------- irc/scrollz/files/patch-include-screen.h | 4 ++-- irc/scrollz/files/patch-include-window.h | 4 ++-- irc/scrollz/files/patch-source-Makefile.in | 14 +++++++------- irc/scrollz/files/patch-source-screen.c | 16 ++++++++-------- irc/scrollz/pkg-plist | 1 + 9 files changed, 38 insertions(+), 47 deletions(-) diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile index 21ca6024d365..26ab1a1672af 100644 --- a/irc/scrollz/Makefile +++ b/irc/scrollz/Makefile @@ -1,11 +1,14 @@ # Created by: Will Andrews PORTNAME= ScrollZ -PORTVERSION= 2.3 +PORTVERSION= 2.3.1 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 1 CATEGORIES= irc +# Fix build with clang +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= c0dfa140341cf9a848a6e5f926392623d03d2c28.patch:-p1 + MAINTAINER= freebsd@bitchx.org COMMENT= Enhanced ircII client that supports scripts, colors, and more @@ -20,9 +23,9 @@ DATADIR= ${PREFIX}/share/${PORTNAME:tl} PLIST_SUB= SCROLLZ_VER="${PORTVERSION}" OPTIONS_DEFINE= IPV6 REGEX UTF8 +OPTIONS_DEFAULT= OPENSSL REGEX UTF8 OPTIONS_RADIO= SSL OPTIONS_RADIO_SSL= GNUTLS OPENSSL -OPTIONS_DEFAULT= OPENSSL REGEX UTF8 IPV6_CONFIGURE_ENABLE= ipv6 GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls diff --git a/irc/scrollz/distinfo b/irc/scrollz/distinfo index 182e20fbfb7e..9fe3bde30e98 100644 --- a/irc/scrollz/distinfo +++ b/irc/scrollz/distinfo @@ -1,2 +1,5 @@ -SHA256 (ScrollZ-ScrollZ-ScrollZ-2.3_GH0.tar.gz) = 22535bcc54ad752107ab181775d90d9cf1b37648f500d627f428388a9d3710e6 -SIZE (ScrollZ-ScrollZ-ScrollZ-2.3_GH0.tar.gz) = 981707 +TIMESTAMP = 1649327902 +SHA256 (ScrollZ-ScrollZ-ScrollZ-2.3.1_GH0.tar.gz) = 4ff4570020174b2ee9a859767c349e498e5ae68e2a76f11d69c08f12979b0452 +SIZE (ScrollZ-ScrollZ-ScrollZ-2.3.1_GH0.tar.gz) = 983428 +SHA256 (c0dfa140341cf9a848a6e5f926392623d03d2c28.patch) = 770cccf8e8931d72d0894602c2e151ed61d3ace5244f397446515452410c2e61 +SIZE (c0dfa140341cf9a848a6e5f926392623d03d2c28.patch) = 655 diff --git a/irc/scrollz/files/patch-Makefile.in b/irc/scrollz/files/patch-Makefile.in index a382cd307bb5..8fef9a3d739b 100644 --- a/irc/scrollz/files/patch-Makefile.in +++ b/irc/scrollz/files/patch-Makefile.in @@ -1,5 +1,5 @@ ---- Makefile.in.orig 2011-04-29 17:21:18.000000000 +0900 -+++ Makefile.in 2013-03-09 19:35:03.628110600 +0900 +--- Makefile.in.orig 2021-05-06 08:04:55 UTC ++++ Makefile.in @@ -31,14 +31,14 @@ # @(#)$Id: Makefile.in,v 1.23 2006-10-31 12:31:27 f Exp $ @@ -28,10 +28,10 @@ datarootdir = @datarootdir@ -mandir = @mandir@ +mandir = @mandir@/man1 - + DESTDIR = -@@ -105,7 +105,7 @@ +@@ -106,7 +106,7 @@ INSTALL_IRCFLUSH = $(bindir)/ircflush # This program allows you to use screen/xterm's to put new irc windows # on new screen/xterm windows. @@ -40,7 +40,7 @@ # This command will be used to install the irc help files. If you don't # want to install them, replace with the following: -@@ -126,14 +126,13 @@ +@@ -127,14 +127,13 @@ INSTALL_DATA = ./bsdinstall -c -m 644 VERSION = @VERSION@ SHELL = /bin/sh @@ -56,7 +56,7 @@ 'IRCSHARE=$(IRCSHARE)' \ 'IRCPATH=$(IRC_PATH)' \ 'LDFLAGS=$(LDFLAGS)' \ -@@ -143,32 +142,23 @@ +@@ -144,32 +143,23 @@ MFLAGS ='CC=$(CC)' \ 'LN=$(LN)' \ 'RM=$(RM)' @@ -95,7 +95,7 @@ installbin: installirc installirc: scrollz installdirs -@@ -189,8 +179,8 @@ +@@ -190,8 +180,8 @@ installio: ircio installdirs installflush: ircflush installdirs $(INSTALL) source/ircflush $(DESTDIR)/$(INSTALL_IRCFLUSH) diff --git a/irc/scrollz/files/patch-a8b05aab b/irc/scrollz/files/patch-a8b05aab deleted file mode 100644 index 03ec02284f94..000000000000 --- a/irc/scrollz/files/patch-a8b05aab +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/include/ircterm.h b/include/ircterm.h -index 1fdbfeb..1da3fab 100644 ---- include/ircterm.h -+++ include/ircterm.h -@@ -89,9 +89,9 @@ extern char *CM, - extern int SG; - /**************************** PATCHED by Flier ******************************/ - #ifdef WANTANSI --char *SETAF, -+extern char *SETAF, - *SETAB; --int NUMCOLORS; -+extern int NUMCOLORS; - #endif /* WANTANSI */ - /****************************************************************************/ - diff --git a/irc/scrollz/files/patch-include-screen.h b/irc/scrollz/files/patch-include-screen.h index 4f94722f057f..a068c1ee79d5 100644 --- a/irc/scrollz/files/patch-include-screen.h +++ b/irc/scrollz/files/patch-include-screen.h @@ -1,5 +1,5 @@ ---- include/screen.h.orig 2011-04-29 17:21:18.000000000 +0900 -+++ include/screen.h 2013-03-11 23:30:07.063088471 +0900 +--- include/screen.h.orig 2021-05-06 08:04:55 UTC ++++ include/screen.h @@ -47,6 +47,7 @@ #define ST_NOTHING -1 #define ST_SCREEN 0 diff --git a/irc/scrollz/files/patch-include-window.h b/irc/scrollz/files/patch-include-window.h index 2bedc237fb6a..6e9aa9720875 100644 --- a/irc/scrollz/files/patch-include-window.h +++ b/irc/scrollz/files/patch-include-window.h @@ -1,5 +1,5 @@ ---- include/window.h.orig 2011-04-29 17:21:18.000000000 +0900 -+++ include/window.h 2013-03-09 18:47:08.841093765 +0900 +--- include/window.h.orig 2021-05-06 08:04:55 UTC ++++ include/window.h @@ -42,7 +42,7 @@ * CREATE, that allows you to start new iscreen or xterm windows * connected to the ircII client. diff --git a/irc/scrollz/files/patch-source-Makefile.in b/irc/scrollz/files/patch-source-Makefile.in index 6db7970cb4e4..c1cab3491751 100644 --- a/irc/scrollz/files/patch-source-Makefile.in +++ b/irc/scrollz/files/patch-source-Makefile.in @@ -1,6 +1,6 @@ ---- source/Makefile.in.orig 2011-04-29 17:21:18.000000000 +0900 -+++ source/Makefile.in 2013-03-09 19:07:14.372106954 +0900 -@@ -47,7 +47,7 @@ +--- source/Makefile.in.orig 2021-05-06 08:04:55 UTC ++++ source/Makefile.in +@@ -47,7 +47,7 @@ IRCFLUSH_OBJECTS = ircflush.o ircsig.o INCLUDES = -I../include default: @@ -9,7 +9,7 @@ all: scrollz -@@ -63,7 +63,7 @@ +@@ -63,7 +63,7 @@ clean:: $(RM) scrollz $(OBJECTS) install: scrollz @@ -18,7 +18,7 @@ # .o files needing special compilation flags -@@ -86,7 +86,7 @@ +@@ -86,7 +86,7 @@ translat.o: Makefile ../Makefile $(CC) $(CFLAGS) $(DEFS) $(PP_DEFS) $(INCLUDES) -DTRANSLATION_PATH=\"$(TRANS_DIR)/\" -c translat.c screen.o: Makefile ../Makefile @@ -27,7 +27,7 @@ # auxiliary programs -@@ -96,7 +96,7 @@ +@@ -96,7 +96,7 @@ ircflush: $(IRCFLUSH_OBJECTS) ircio: $(IRCIO_OBJECTS) $(CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(DEFS) $(PPS_DEFS) -o $@ $(IRCIO_OBJECTS) $(LIBS) @@ -36,7 +36,7 @@ $(CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(DEFS) -o $@ $(WSERV_OBJECTS) $(LIBS) clean:: -@@ -106,7 +106,7 @@ +@@ -106,7 +106,7 @@ clean:: $(RM) ircio ircio.o newio.o clean:: diff --git a/irc/scrollz/files/patch-source-screen.c b/irc/scrollz/files/patch-source-screen.c index 98099b689fa7..26ad2d55779f 100644 --- a/irc/scrollz/files/patch-source-screen.c +++ b/irc/scrollz/files/patch-source-screen.c @@ -1,6 +1,6 @@ ---- ./source/screen.c.orig 2011-04-29 03:21:18.000000000 -0500 -+++ ./source/screen.c 2013-07-13 07:45:53.092133202 -0500 -@@ -2424,6 +2424,10 @@ +--- source/screen.c.orig 2021-05-06 08:04:55 UTC ++++ source/screen.c +@@ -2425,6 +2425,10 @@ create_additional_screen() { screen_type = ST_SCREEN; } @@ -11,7 +11,7 @@ else if ((char *) 0 != (displayvar = getenv("DISPLAY"))) { if ((char *) 0 == (termvar = getenv("TERM"))) -@@ -2462,6 +2466,7 @@ +@@ -2463,6 +2467,7 @@ create_additional_screen() say("Opening new %s...", screen_type == ST_XTERM ? "window" : screen_type == ST_SCREEN ? "screen" : @@ -19,10 +19,11 @@ "wound" ); snprintf(sock.sun_path, sizeof sock.sun_path, "/tmp/irc_%08d_%x", (int) pid, mycycle); sock.sun_family = AF_UNIX; -@@ -2577,6 +2582,22 @@ +@@ -2577,6 +2582,22 @@ create_additional_screen() + args[i++] = error_sockaddr->sun_path; args[i] = NULL; execvp(xterm, args); - } ++ } + else if (screen_type == ST_TMUX) + { + char *args[64], @@ -38,7 +39,6 @@ + Debug((3, "added: %s %s '%s'", args[i-3], args[i-2], args[i-1])); + args[i++] = NULL; + execvp("tmux", args); -+ } + } perror("execve"); unlink(sockaddr->sun_path); - unlink(error_sockaddr->sun_path); diff --git a/irc/scrollz/pkg-plist b/irc/scrollz/pkg-plist index 3f82915998cb..3b74a714e348 100644 --- a/irc/scrollz/pkg-plist +++ b/irc/scrollz/pkg-plist @@ -541,6 +541,7 @@ man/man1/scrollz.1.gz %%DATADIR%%/help/set/netsplit_time %%DATADIR%%/help/set/no_ask_nickname %%DATADIR%%/help/set/no_ctcp_flood +%%DATADIR%%/help/set/notification_level %%DATADIR%%/help/set/notify_handler %%DATADIR%%/help/set/notify_level %%DATADIR%%/help/set/notify_on_termination