From nobody Thu Nov 14 08:43:58 2024 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 4Xptwv32FTz5cLg0; Thu, 14 Nov 2024 08:43:59 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xptwv124Dz4nXJ; Thu, 14 Nov 2024 08:43:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731573839; 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=/9RGv5306a+SWqDcYMOtUeDZ1ZN0AWvZHia6C+SwNEM=; b=W/vrlDUoveYdkQL6ZUfDIyke47GvfIPVYAoLgZpO/8peA8igdfhl9QiNJb5gL5SPRLzulG emQvMEvJKX03hw93STjB+BFwkvHhWDbbs9gIkVPfjTZ49YIbQuXEtLS0XDOz4pMMFwN5To f3WFCsnUdindUD/En0oHWvkQpa+KRLRJo1qBU9ed7yBQzZXSBA47TSUBZGddfr+RwuJBoT bJBAUfL41e/mRiYTkNv3pjDc9+QL/uOLRnP2HM9eUUDrLq/MgVUwyCLlAufF3kkBYPiBHk x38o6zvX3+jOKeQnedHpq43a7+fL4IdXNU5nlUiOmtbI1bSAy9Q5TQ9Nx0u1eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731573839; 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=/9RGv5306a+SWqDcYMOtUeDZ1ZN0AWvZHia6C+SwNEM=; b=nx7e3MTGsmPg4qf3GPNz81G7UW13bNq0Lk1bymxw7y8yZ5l944eGqbeYRhSmlthJZHdAKr n5U6Z1FL+HELMRmBAyE7PzN35mpGErTc5EZXObE13EeW8RhaIRgELIZiFWIDOegQ6lIiEv IaBEIJJbgIvgZC6MJHH8iqgLd0tkD/oPTI0uL3J5YIAilNqkasdhKk4GdopPSh6fARFI+I w3Qx3CUR0v21bnni04sfrqXZCIAd2l53+Dn4HqQnL3tHHu/7dLkvfg2w9rmqJp6FgmsXVt mMqaTe0riOzTzgKboXAqm5zBA1HtjrPtXKScOW839UUiMOSgQB1ltfviVl7EwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731573839; a=rsa-sha256; cv=none; b=UIU0CTX87kNsGSv1TnV8Z/9vYYmHiATUMhtYY5sE0IkQnRnsZIKMFswNmXEmuTNFsJ9vdU xPq06+KF4mueMy6aTh08o32jEBn7GN9j7OXkNm8vvVn6uSFiZ8oWXJlxRMVTC4q7akj80V rfYM8MT2V0HMd3OKe3rZEn/RMJ30TeOVvQ7QFWFrD5GH3XGNVVJMpYi9r6Emx0P1LNskF4 QACDqzf7EeBM+dl2IAEX35f2zk+UD/hIy2f7mOSImrDnCrq8C1cHQaPOaKAN5bRCngFCKK qJT+Xev0vX9YzgJCJEmXMtDkqLMVmAbKpGT8nMJQVrZHjkkdjn91r2vKu9FTfA== 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 4Xptwv0cB3zXS8; Thu, 14 Nov 2024 08:43:59 +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 4AE8hwrC019912; Thu, 14 Nov 2024 08:43:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AE8hw0v019909; Thu, 14 Nov 2024 08:43:58 GMT (envelope-from git) Date: Thu, 14 Nov 2024 08:43:58 GMT Message-Id: <202411140843.4AE8hw0v019909@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 3a14c653f469 - main - sysutils/ods2: unbreak fetch, fix build on 15-CURRENT, define license 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3a14c653f469248012926e196386c487c51fb7ce Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a14c653f469248012926e196386c487c51fb7ce commit 3a14c653f469248012926e196386c487c51fb7ce Author: Robert Clausecker AuthorDate: 2024-11-10 12:42:25 +0000 Commit: Robert Clausecker CommitDate: 2024-11-14 08:41:04 +0000 sysutils/ods2: unbreak fetch, fix build on 15-CURRENT, define license - turn static REINPLACE_CMD into patch file - define LICENSE - host distfile that has gone away locally (port seems import enough to warrant keeping it) - obey CC - link with -lutil to get ftime() on 15-CURRENT, this is harmless on older versions of FreeBSD Approved by: portmgr (build fix, infrastructure blanket) MFH: 2024Q4 --- sysutils/ods2/Makefile | 14 +++++++++----- sysutils/ods2/files/patch-makefile.unix | 11 +++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/sysutils/ods2/Makefile b/sysutils/ods2/Makefile index 174b99d60574..87f77fac6820 100644 --- a/sysutils/ods2/Makefile +++ b/sysutils/ods2/Makefile @@ -2,13 +2,21 @@ PORTNAME= ods2 PORTVERSION= 1.3 PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= http://www.lugs.ch/~dussuett/ +MASTER_SITES= LOCAL/fuz DISTNAME= ods2 MAINTAINER= pzn.unixbsd@gmail.com COMMENT= Utility for manipulating ODS-2 filesystems WWW= https://www.goatley.com/hunter/ +LICENSE= ODS2 +LICENSE_NAME= ODS2 +LICENSE_TEXT= ODS2 is distributed freely for all members of the \ + VMS community to use. However all derived works \ + must maintain comments in their source to acknowledge \ + the contibution of the original author. +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + USES= zip NO_WRKSUBDIR= yes MAKEFILE= makefile.unix @@ -19,10 +27,6 @@ PORTDOCS= aareadme.too aareadme.txt OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \ - ${WRKSRC}/${MAKEFILE} - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${STAGEDIR}${PREFIX}/sbin diff --git a/sysutils/ods2/files/patch-makefile.unix b/sysutils/ods2/files/patch-makefile.unix new file mode 100644 index 000000000000..13f4cffac11d --- /dev/null +++ b/sysutils/ods2/files/patch-makefile.unix @@ -0,0 +1,11 @@ +--- makefile.unix.orig 2001-09-27 00:40:14 UTC ++++ makefile.unix +@@ -6,7 +6,7 @@ ods2 : ods2.o rms.o direct.o update.o access.o device. + all : ods2 + + ods2 : ods2.o rms.o direct.o update.o access.o device.o phyunix.o cache.o vmstime.o +- cc $(CCFLAGS) -oods2 ods2.o rms.o direct.o update.o access.o device.o phyunix.o cache.o vmstime.o ++ $(CC) $(CCFLAGS) -oods2 ods2.o rms.o direct.o update.o access.o device.o phyunix.o cache.o vmstime.o -lcompat -lutil + + vmstime.o : vmstime.c vmstime.h + cc -c $(CCFLAGS) $(DEFS) vmstime.c