From nobody Wed Apr 06 17:17:47 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 58E1B1A9F564; Wed, 6 Apr 2022 17:17:48 +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 4KYWRc1n2vz4sJw; Wed, 6 Apr 2022 17:17:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649265468; 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=7VmUzuoPuwD1Przr0eEyM6c34w1HeikuwmZgy+3kWwk=; b=lE8X1u277UixyJb5Q98dxx6Zxg90lVm+WkaXQqJlL3qwVR8XFTj2VXGiWrR4qgEogB//aa VNFRkNYTawDQLhGxMuZ4K0jjZtG7VvnRF23AvwmqqntpV0BHxw15ukmtW+Xhra3e1iffJQ eTM/xtM/yw01ImWCjrRKm+zsTe2iY56PNhWd2r6aE+KwZHu98xo1DDFYdhCihm8m/y1Iam r7Rp9jV8+MYl7pX3mAG7V2SG83nObTAtLsKNo+6kQI0sD7Gc623NLhHwj33IsJDL4Qt/TY Wg/Dos2AvRD1lP3t8hFfsSf2HiDs4PKcqXwDt0LIrEcoj/VgzqJzh7aQBw5Kvw== 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 19AE81F602; Wed, 6 Apr 2022 17:17:48 +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 236HHlmL082352; Wed, 6 Apr 2022 17:17:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 236HHlJL082351; Wed, 6 Apr 2022 17:17:47 GMT (envelope-from git) Date: Wed, 6 Apr 2022 17:17:47 GMT Message-Id: <202204061717.236HHlJL082351@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: e52b69af346a - main - sysutils/mgeupsd: Deprecate ancient port 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: e52b69af346a0680a2219b0f914121c5e2845c14 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649265468; 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=7VmUzuoPuwD1Przr0eEyM6c34w1HeikuwmZgy+3kWwk=; b=HJlMkLLt6/A7BhejTh1TGOnYA6x7+I8c4lOkAnXSIL9hhy08Nzorsbwbaq2LeBcjs+AYaZ mDAFexyR24754DfwM4sK8rueODjmL7+rUAuu9LB0Gn1HWQuy5W61oXSxh9CgrNkcNNCiTy CQBu2fGiLjqvG/I9vexAUk1x3aG1oyBujC0nDsTEuNW4UBeZZxtOXhXmfmhdioz+gXLiJY KlSS1RylIxE98L7Q0f2REBO9MtY4crLSWSHJEiMiP9//AdGZcTVqSfEqCP0JRXgIuOaMP7 n2lGZSvVvauYXz7J7PbbldD//ftXM7PlARcj2k46f7cP+EmHjKNa5jSTRWBITw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649265468; a=rsa-sha256; cv=none; b=plo/8cmiodiXKCj8AnMJVox9oomF8Lr+ecw213U50wZBQwzx0Xf2I772eLZsjdBCRqlSAQ 5ze3BebJm2DH72gLSpomh2ZuSOPL+6cSBZ0tOweGOF1YRfUSSRyKy0S7I8eERLivMp9JFK 8uivzV/uMFOOdruMQoI5cVwxQUfK2kZXcXQayHdtLnEJYNm6ZORmr6SyFSRLg/CZ2Gu2LV ck4pg2kFKuVDGJD0BVVKq3Bfrug3FPdPIpqrFSc7uQGBlpPchlr0zMGKl+PzyPS7I972Ob oHkCKt5Nsh08JJdtKZB1IPEO5gA0GbJfnKmUo6xh9XFl4RxeTn1h6jwk4mWaVQ== 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=e52b69af346a0680a2219b0f914121c5e2845c14 commit e52b69af346a0680a2219b0f914121c5e2845c14 Author: Fernando ApesteguĂ­a AuthorDate: 2022-04-06 14:21:47 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-04-06 17:14:54 +0000 sysutils/mgeupsd: Deprecate ancient port Last release was in 1999. It is unclear that this port works with any hardware that is still in production. Give plenty of time for this change to reach 2022Q3 in case some users only check quarterly branches. Nevertheless, while here, reformat patches. PR: 263028 Reported by: PauAmma --- sysutils/mgeupsd/Makefile | 5 ++++- sysutils/mgeupsd/files/patch-Makefile | 12 ++++++++++-- sysutils/mgeupsd/files/patch-mgeupsd.c | 14 +++++++------- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/sysutils/mgeupsd/Makefile b/sysutils/mgeupsd/Makefile index aafe9bab7b18..f83df43b6af3 100644 --- a/sysutils/mgeupsd/Makefile +++ b/sysutils/mgeupsd/Makefile @@ -2,13 +2,16 @@ PORTNAME= mgeupsd PORTVERSION= 0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SUNSITE/system/ups MAINTAINER= ports@FreeBSD.org COMMENT= Monitor a state of MGE Pulsar UPS connected to RS-232 port +DEPRECATED= Last release is 23 years old. It is not clear what devices are supported. +EXPIRATION_DATE= 2022-07-25 + USES= gmake WRKSRC= ${WRKDIR}/MGE diff --git a/sysutils/mgeupsd/files/patch-Makefile b/sysutils/mgeupsd/files/patch-Makefile index bddb25818bca..df3a7df9f56c 100644 --- a/sysutils/mgeupsd/files/patch-Makefile +++ b/sysutils/mgeupsd/files/patch-Makefile @@ -1,5 +1,13 @@ ---- Makefile.orig 1998-12-25 17:10:57.000000000 +0800 -+++ Makefile 2013-11-15 23:04:20.000000000 +0800 +--- Makefile.orig 1998-12-25 09:10:57 UTC ++++ Makefile +@@ -1,5 +1,5 @@ +-CC=gcc +-CFLAGS=-Wall -O2 ++CC=cc ++CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing + LDFLAGS=-s + + all: mgeupsd @@ -8,8 +8,8 @@ mgeupsd: mgeupsd.o $(CC) $(LDFLAGS) -o $@ $< diff --git a/sysutils/mgeupsd/files/patch-mgeupsd.c b/sysutils/mgeupsd/files/patch-mgeupsd.c index 1b73dbd127bd..e23d4c77bdfc 100644 --- a/sysutils/mgeupsd/files/patch-mgeupsd.c +++ b/sysutils/mgeupsd/files/patch-mgeupsd.c @@ -1,6 +1,6 @@ ---- mgeupsd.c.old Sat Dec 26 02:42:52 1998 -+++ mgeupsd.c Sat Mar 17 23:59:09 2001 -@@ -33,9 +33,9 @@ +--- mgeupsd.c.orig 1998-12-26 10:42:52 UTC ++++ mgeupsd.c +@@ -33,9 +33,9 @@ int RTS = TIOCM_RTS, use_syslog = 0; #define BS_TDP 12 /* status file for init */ @@ -12,7 +12,7 @@ #define RUNDIR "/var/run" char lockfile[40] = {0,}; char pidfile[40] = {0,}; -@@ -640,7 +640,7 @@ +@@ -640,7 +640,7 @@ operate: else { #ifndef TEST @@ -21,7 +21,7 @@ syslog (LOG_CRIT, "Process %u doesn not exist! Can't send SIGPWR", init_pid); #endif } -@@ -677,7 +677,7 @@ +@@ -677,7 +677,7 @@ operate: else { #ifndef TEST @@ -30,7 +30,7 @@ syslog (LOG_CRIT, "Process %u doesn not exist! Can't send SIGPWR", init_pid); #endif } -@@ -711,7 +711,7 @@ +@@ -711,7 +711,7 @@ operate: else { #ifndef TEST @@ -39,7 +39,7 @@ syslog (LOG_CRIT, "Process %u doesn not exist! Can't send SIGPWR", init_pid); #endif } -@@ -758,4 +758,5 @@ +@@ -758,4 +758,5 @@ operate: } } /* while(1) */ }