git: ded12c027989 - main - editors/led: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 16 Dec 2023 19:16:05 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ded12c02798996e6dd0d6e88c62d09886d3ef627

commit ded12c02798996e6dd0d6e88c62d09886d3ef627
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-16 16:56:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-16 19:15:39 +0000

    editors/led: Mark DEPRECATED
    
    - Refresh patches
    - Last upstream release was in 2002 reconsier using a maintained editor like
      nano
    - Set EXPIRATION_DATE 2024-01-16
---
 editors/led/Makefile                                     |  3 +++
 editors/led/files/patch-src-modules-perlapi-Makefile     |  6 +++---
 editors/led/files/patch-src__file.c                      |  6 +++---
 editors/led/files/patch-src__modules__perlapi__perlapi.c | 10 +++++-----
 editors/led/files/patch-src_color.c                      |  6 +++---
 editors/led/files/patch-src_complete.c                   |  6 +++---
 6 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/editors/led/Makefile b/editors/led/Makefile
index 4acab6dbc8fc..aaac78af564c 100644
--- a/editors/led/Makefile
+++ b/editors/led/Makefile
@@ -11,6 +11,9 @@ WWW=		https://led-editor.sourceforge.net/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Last upstream release was in 2002 reconsider using editors/nano
+EXPIRATION_DATE=	2024-01-16
+
 USES=		ncurses perl5
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
diff --git a/editors/led/files/patch-src-modules-perlapi-Makefile b/editors/led/files/patch-src-modules-perlapi-Makefile
index c3e4cc52bb53..445690b7d46f 100644
--- a/editors/led/files/patch-src-modules-perlapi-Makefile
+++ b/editors/led/files/patch-src-modules-perlapi-Makefile
@@ -1,6 +1,6 @@
---- src/modules/perlapi/Makefile.orig	Mon Mar 22 14:29:51 2004
-+++ src/modules/perlapi/Makefile	Mon Mar 22 14:29:59 2004
-@@ -8,7 +8,7 @@
+--- src/modules/perlapi/Makefile.orig	2002-01-26 18:17:41 UTC
++++ src/modules/perlapi/Makefile
+@@ -8,7 +8,7 @@ include ../Makefile.module
  
  include ../Makefile.module
  
diff --git a/editors/led/files/patch-src__file.c b/editors/led/files/patch-src__file.c
index 4b57bb9153ef..e0fbb0dd6e5e 100644
--- a/editors/led/files/patch-src__file.c
+++ b/editors/led/files/patch-src__file.c
@@ -1,6 +1,6 @@
---- src/file.c	2002/07/15 11:40:21	1.1
-+++ src/file.c	2002/07/15 11:42:31
-@@ -192,6 +192,8 @@
+--- src/file.c.orig	2002-02-16 16:41:11 UTC
++++ src/file.c
+@@ -192,6 +192,8 @@ forcenl:
  			putc('\r', fp);
  		putc('\n', fp);
  	}
diff --git a/editors/led/files/patch-src__modules__perlapi__perlapi.c b/editors/led/files/patch-src__modules__perlapi__perlapi.c
index 0804d6393d73..368973ffb58b 100644
--- a/editors/led/files/patch-src__modules__perlapi__perlapi.c
+++ b/editors/led/files/patch-src__modules__perlapi__perlapi.c
@@ -1,6 +1,6 @@
---- ./src/modules/perlapi/perlapi.c.orig	2002-02-14 22:07:31.000000000 +0100
-+++ ./src/modules/perlapi/perlapi.c	2013-11-14 16:41:36.000000000 +0100
-@@ -36,6 +36,7 @@
+--- src/modules/perlapi/perlapi.c.orig	2002-02-14 21:07:31 UTC
++++ src/modules/perlapi/perlapi.c
+@@ -36,6 +36,7 @@ static void xs_init() {
  /* extension module support */
  static void xs_init() {
  	char *file = __FILE__;
@@ -8,7 +8,7 @@
  
  	newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
  	newXS("Led::bootstrap", boot_Led, file);
-@@ -66,6 +67,7 @@
+@@ -66,6 +67,7 @@ int perlapi_init() {
  	char *args[] = { "", "-e", "" };
  	char *bootargs[] = { "Led", 0 };
  	u_char *expath;
@@ -16,7 +16,7 @@
  
  	/* add perl commands to the editor */
  	command_addf("perl_eval", input_allocsyms(1), perlapi_doeval);
-@@ -124,6 +126,7 @@
+@@ -124,6 +126,7 @@ void perlapi_eval(u_char *string) {
  /* evaluate some perl */
  void perlapi_eval(u_char *string) {
  	SV *sv;
diff --git a/editors/led/files/patch-src_color.c b/editors/led/files/patch-src_color.c
index 033bf3e33c06..11ee201b01a6 100644
--- a/editors/led/files/patch-src_color.c
+++ b/editors/led/files/patch-src_color.c
@@ -1,6 +1,6 @@
---- src/color.c.orig	Mon Aug 23 17:16:34 2004
-+++ src/color.c	Mon Aug 23 17:16:57 2004
-@@ -206,6 +206,7 @@
+--- src/color.c.orig	2002-03-02 05:19:00 UTC
++++ src/color.c
+@@ -206,6 +206,7 @@ out:
  		}
  	}
  out:
diff --git a/editors/led/files/patch-src_complete.c b/editors/led/files/patch-src_complete.c
index cc7b8b19baf0..0a1861d343b7 100644
--- a/editors/led/files/patch-src_complete.c
+++ b/editors/led/files/patch-src_complete.c
@@ -1,6 +1,6 @@
---- src/complete.c.orig	Mon Aug 23 17:17:13 2004
-+++ src/complete.c	Mon Aug 23 17:17:24 2004
-@@ -183,6 +183,7 @@
+--- src/complete.c.orig	2002-02-16 16:41:11 UTC
++++ src/complete.c
+@@ -183,6 +183,7 @@ next:
  				sizeof(u_char *));
  		}
  next: