git: e52b69af346a - main - sysutils/mgeupsd: Deprecate ancient port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Apr 2022 17:17:47 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=e52b69af346a0680a2219b0f914121c5e2845c14 commit e52b69af346a0680a2219b0f914121c5e2845c14 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2022-04-06 14:21:47 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> 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 <pauamma@gundo.com> --- 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) */ }