From nobody Mon Jul 08 05:27:32 2024 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 4WHXgn1JRBz5QySk; Mon, 08 Jul 2024 05:27:33 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WHXgn0c6Tz58KT; Mon, 8 Jul 2024 05:27:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720416453; 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=ZOnrTYxodA5BIg3jVguE3EAVa+LvoZ5WNAtC2uEpFHc=; b=wwkQ4cF5XYkVMqcGhw0vpJMQUf8NRIFx4Ch9Cpia3pxkzrvZjZKRW4XIgo4Jq/rjkHPzoW nw8z88UFt8MqerJJZu9FumXsC8ZKldsFhglx1YMHvaEtz064YNnlWPrupn/AintXtHcMt6 PJg4uLE6VV7oT3ZTgMAX3VKsGq64Rv5o8bm4eUpmILAAirhW3hJI5vFs9W2CImv/8Tpt2S UqRW1+zF/2mj0J22gwkHJJ+h6yBVsax0+33k/QoLmF0CETMVt22x7jffTllYNXfiIWKfKn q9DT/DDBP/+WoLVuY72dVJS/aHMnWExoRFmNAJK+U1YPDryEnYVcqPGgUSM18A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720416453; a=rsa-sha256; cv=none; b=ead1X/wvCQKnXg+GJOgQBFk4hM3FEeCZOvqeAoWCWP7eKEHktfogwoN3OMI4ONTbQOHzAb 4ziPZmrtQ8liv66dIvBmMvvIJYhKpCd633iRKwmu7N34ygmgjmVe+vw0qxAX9QocnHNICa LPYu3ytX+MwGQFXA742d5D16D/H3QFxNCTeHrtsj0KVxV86A6grhAYG/y9zbA63NDLWVsC nthYQ0tl1pKp8ORdPZ60py8T0XkXr4Htcg0OcEQsnSbFaclbzlwygpvCdlUwmt961NffVV fgHaBKtjZg7l9W72yhCmLJi13QDE9wMj9mLxX4NPl4yaxFYocM5IibesOYdh7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720416453; 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=ZOnrTYxodA5BIg3jVguE3EAVa+LvoZ5WNAtC2uEpFHc=; b=x1VLhWSrW3AqIb2XWr4kpJMWgxB5hVEO9DEAayifiXaVaBebLZvmy20DQvYU5pAqYFK3Nk K02RbR6f/OKAnjT6Um1Jltra0B8d1sA3+PEjGUOhK/1l/j9Qds/F+eb+nGmR+7RDh33h5s 0ZYsjtNDqmB65TU8AxkT2W/t2NUDjuq+yrFDtP+NzOJ+TDg/EX4xhtjN34tfmcldYr5RrU Z99CXjCkvP754eWJyERg3XlgWniGVMMJvGkPKCgx1ETeC3xlstZIlU2gKpT4KuGwQh213n 1x4TFEZM9QVKogr3nYakUkv+PsKzyJo09pqeeEcUyEe9KIEGYA26SwEG8b6wEg== 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 4WHXgn0CyCzf6K; Mon, 8 Jul 2024 05:27:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4685RW2k079529; Mon, 8 Jul 2024 05:27:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4685RWwY079526; Mon, 8 Jul 2024 05:27:32 GMT (envelope-from git) Date: Mon, 8 Jul 2024 05:27:32 GMT Message-Id: <202407080527.4685RWwY079526@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: ccca232b0a6f - main - sysutils/di: update to 4.53 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ccca232b0a6f12f16160066a45a144afce40ad1a Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=ccca232b0a6f12f16160066a45a144afce40ad1a commit ccca232b0a6f12f16160066a45a144afce40ad1a Author: Naram Qashat AuthorDate: 2024-07-08 05:22:10 +0000 Commit: Zsolt Udvari CommitDate: 2024-07-08 05:22:10 +0000 sysutils/di: update to 4.53 Swith to DISTVERSION. Add TEST_TARGET and USES=perl5 to test phase. Changelog: Fixed library check for modern compilers. Removed old D language stuff. Remove support for K&R compilers and ancient systems. Fix debug output for env vars. DI_ARGS: print error and exit when encountering unknown data. PR: 280151 Approved by: submitter is maintainer --- sysutils/di/Makefile | 9 ++++++--- sysutils/di/distinfo | 6 +++--- sysutils/di/files/patch-C-Makefile | 28 +++++----------------------- sysutils/di/files/patch-Makefile | 24 +++++++++--------------- sysutils/di/files/patch-tests.d_test__order | 8 ++++++++ 5 files changed, 31 insertions(+), 44 deletions(-) diff --git a/sysutils/di/Makefile b/sysutils/di/Makefile index db0facdf1281..84a3ef4f7b06 100644 --- a/sysutils/di/Makefile +++ b/sysutils/di/Makefile @@ -1,6 +1,5 @@ PORTNAME= di -PORTVERSION= 4.51 -PORTREVISION= 1 +DISTVERSION= 4.53 CATEGORIES= sysutils MASTER_SITES= SF/diskinfo-di @@ -11,13 +10,17 @@ WWW= https://diskinfo-di.sourceforge.io/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE +USES= perl5 +USE_PERL5= test + MAKE_ARGS= -e MAKE_ENV= prefix="${PREFIX}" +TEST_TARGET= test OPTIONS_DEFINE= NLS OPTIONS_SUB= yes -NLS_USES= gettext +NLS_USES= gettext NLS_MAKE_ENV_OFF= DI_NO_NLS=T pre-install: diff --git a/sysutils/di/distinfo b/sysutils/di/distinfo index 60e27b79b161..a3985318ee6d 100644 --- a/sysutils/di/distinfo +++ b/sysutils/di/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669607852 -SHA256 (di-4.51.tar.gz) = 79b2129c4aff27428695441175940a1717fa0fe2ec2f46d1b886ebb4921461bb -SIZE (di-4.51.tar.gz) = 229504 +TIMESTAMP = 1720237886 +SHA256 (di-4.53.tar.gz) = 00dd5befc11dac8d65a68b248fd34158a2e6a850c2e4e2ab77594c79aa01e83e +SIZE (di-4.53.tar.gz) = 200828 diff --git a/sysutils/di/files/patch-C-Makefile b/sysutils/di/files/patch-C-Makefile index 839722131a29..92fd828d75c2 100644 --- a/sysutils/di/files/patch-C-Makefile +++ b/sysutils/di/files/patch-C-Makefile @@ -1,29 +1,11 @@ ---- C/Makefile.orig 2019-10-30 18:14:13 UTC +--- C/Makefile.orig 2024-06-24 00:49:39 UTC +++ C/Makefile -@@ -29,7 +29,7 @@ TEST = test +@@ -42,7 +42,7 @@ TEST = test ### # installation options # -prefix = /usr/local +prefix ?= /usr/local - LOCALEDIR = $(prefix)/share/locale - - ### -@@ -178,7 +178,7 @@ bsd43-cc: - $(MAKE) _MKCONFIG_SHELL=$(MKCONFIG_SHELL) \ - CC=cc LD=cc EXE_EXT="" OBJ_EXT=".o" \ - DI_CFLAGS="$(DI_CFLAGS) -O" \ -- LDFLAGS="-O" di-programs -+ LDFLAGS="-O $(LDFLAGS)" di-programs - - .PHONY: bsd43-gcc - bsd43-gcc: -@@ -192,7 +192,7 @@ bsd43-gcc: - $(MAKE) _MKCONFIG_SHELL=$(MKCONFIG_SHELL) \ - CC=gcc LD=gcc EXE_EXT="" OBJ_EXT=".o" \ - DI_CFLAGS="$(DI_CFLAGS) -O2" \ -- LDFLAGS="-O2" di-programs -+ LDFLAGS="-O2 $(LDFLAGS)" di-programs - - .PHONY: ultrix-cc - ultrix-cc: + PREFIX = $(prefix) + BINDIR = $(PREFIX)/bin + DATADIR = $(PREFIX)/share diff --git a/sysutils/di/files/patch-Makefile b/sysutils/di/files/patch-Makefile index 23c0584ae338..cc43dcc0b0e9 100644 --- a/sysutils/di/files/patch-Makefile +++ b/sysutils/di/files/patch-Makefile @@ -1,26 +1,20 @@ ---- Makefile.orig 2015-05-18 19:48:09 UTC +--- Makefile.orig 2024-06-24 00:49:39 UTC +++ Makefile -@@ -36,12 +36,12 @@ MKC_DIR = ./mkconfig +@@ -34,7 +34,7 @@ MKC_DIR = ./mkconfig ### # installation options # -prefix = /usr/local +prefix ?= /usr/local - LOCALEDIR = $(prefix)/share/locale + PREFIX = $(prefix) PROG = di MPROG = mi - # --INSTALL_DIR = $(prefix) -+INSTALL_DIR = $(DESTDIR)$(prefix) - INSTALL_BIN_DIR = $(INSTALL_DIR)/bin - INST_LOCALEDIR = $(INSTALL_DIR)/share/locale - TARGET = $(INSTALL_BIN_DIR)/$(PROG)$(EXE_EXT) -@@ -140,7 +140,7 @@ install-prog: - $(TEST) -d $(INSTALL_BIN_DIR) || $(MKDIR) $(INSTALL_BIN_DIR) - $(CP) -f ./$(FROMDIR)/$(PROG)$(EXE_EXT) $(TARGET) +@@ -152,7 +152,7 @@ install-prog: + $(TEST) -d $(INST_BINDIR) || $(MKDIR) $(INST_BINDIR) + $(CP) -f ./$(FROMDIR)/$(PROG)$(EXE_EXT) $(DITARGET) -$(RM) -f $(MTARGET) > /dev/null 2>&1 -- -$(LN) -s $(PROG)$(EXE_EXT) $(MTARGET) -+ -( cd $(INSTALL_BIN_DIR) && $(LN) -s $(PROG)$(EXE_EXT) $(MPROG)$(EXE_EXT) ) +- -$(LN) -s $(DITARGET) $(MTARGET) ++ -$(LN) -s $(PROG)$(EXE_EXT) $(MTARGET) @-test -f $(FROMDIR)/config.h && \ grep '^#define _enable_nls 1' $(FROMDIR)/config.h >/dev/null 2>&1 && \ - (. ./$(FROMDIR)/di.env; $(MAKE) -e INST_LOCALEDIR="$(INST_LOCALEDIR)" \ + (. ./$(FROMDIR)/di.env; $(MAKE) -e LOCALEDIR="$(LOCALEDIR)" \ diff --git a/sysutils/di/files/patch-tests.d_test__order b/sysutils/di/files/patch-tests.d_test__order new file mode 100644 index 000000000000..8a97595a658a --- /dev/null +++ b/sysutils/di/files/patch-tests.d_test__order @@ -0,0 +1,8 @@ +--- tests.d/test_order.orig 2024-06-24 00:49:39 UTC ++++ tests.d/test_order +@@ -3,5 +3,4 @@ + 3 diarg + 3 disort + 3 ditot +-4 diinst + 5 dinls