From b335bd18a07363d53b6dc0faa82e26f068d0ae7b Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 11 Jun 2023 12:56:58 +0200 Subject: [PATCH] package/leafnode2: bump version to 2.0.0.alpha202301 Rebased patch. Updated license hash due to upstream refresh of the license file: https://gitlab.com/leafnode-2/leafnode-2/-/commit/37442bbb7dd4f3cfd36f7264b9c3772e09531b5a Switched project URLs to gitlab. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/leafnode2/0001-cross_makefile.patch | 10 +++++----- package/leafnode2/Config.in | 9 +-------- package/leafnode2/leafnode2.hash | 4 ++-- package/leafnode2/leafnode2.mk | 6 +++--- 4 files changed, 11 insertions(+), 18 deletions(-) diff --git a/package/leafnode2/0001-cross_makefile.patch b/package/leafnode2/0001-cross_makefile.patch index b61a8ef3c6..32116446c3 100644 --- a/package/leafnode2/0001-cross_makefile.patch +++ b/package/leafnode2/0001-cross_makefile.patch @@ -10,11 +10,11 @@ Fix cross-compilation issues Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni -Index: b/Makefile.in +Index: b/Makefile.am =================================================================== ---- a/Makefile.in -+++ b/Makefile.in -@@ -1853,7 +1853,7 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -311,7 +311,7 @@ configparam_data.c: $(srcdir)/config.table b_sortnl$(EXEEXT) genconfigparam_data.awk rm -f config.table.sorted @@ -23,7 +23,7 @@ Index: b/Makefile.in $(AWK) -f $(srcdir)/genconfigparam_data.awk $@ \ || { rm -f $@ ; false ; } -@@ -1868,13 +1868,7 @@ +@@ -326,13 +326,7 @@ install-data-hook: $(INSTALL) -d -m 02770 $(DESTDIR)$(SPOOLDIR) $(INSTALL) -d -m 02770 $(DESTDIR)$(SPOOLDIR)/leaf.node diff --git a/package/leafnode2/Config.in b/package/leafnode2/Config.in index e244bdc45b..3700b6fb80 100644 --- a/package/leafnode2/Config.in +++ b/package/leafnode2/Config.in @@ -7,11 +7,4 @@ config BR2_PACKAGE_LEAFNODE2 server designed for small sites with just a few active newsgroups. - Leafnode-2 needs inetd, check chapter 14 of the documentation - at: - http://krusty.dt.e-technik.tu-dortmund.de/~ma/leafnode/beta/leafnode-readme.txt - - For example, you can add this line to inetd.conf: - nntp stream tcp nowait news /usr/sbin/leafnode - - http://krusty.dt.e-technik.tu-dortmund.de/~ma/leafnode/beta + https://gitlab.com/leafnode-2/leafnode-2 diff --git a/package/leafnode2/leafnode2.hash b/package/leafnode2/leafnode2.hash index 7dfa7cce8d..d03ea472b1 100644 --- a/package/leafnode2/leafnode2.hash +++ b/package/leafnode2/leafnode2.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 34eba2cbbb871b724c8d5dd402d1c358aeb21ba426beb5658e155ed0d7461075 leafnode-2.0.0.alpha20140727b.tar.bz2 +sha256 1c74de60c3f91ef6f8a3ec20f0c34a0933658aeac8e3723a5f286c0646319e5c leafnode2-ce7d3b13fb285c9fb7bffc382ea10fd41e12582d.tar.gz sha256 59d37f745dc5a2d63a51dff344f4ad89f72e76f8c7b7d877f20880d838b1bec9 COPYING -sha256 0c92246a9d3636e0aa6a244f6c481639b2e530fbbb25bc048ce7acd83e1fc5f6 COPYING.LGPL +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/package/leafnode2/leafnode2.mk b/package/leafnode2/leafnode2.mk index e82ca2e1ee..3ed2e20266 100644 --- a/package/leafnode2/leafnode2.mk +++ b/package/leafnode2/leafnode2.mk @@ -4,12 +4,12 @@ # ################################################################################ -LEAFNODE2_VERSION = 2.0.0.alpha20140727b -LEAFNODE2_SOURCE = leafnode-$(LEAFNODE2_VERSION).tar.bz2 -LEAFNODE2_SITE = http://krusty.dt.e-technik.tu-dortmund.de/~ma/leafnode/beta +LEAFNODE2_VERSION = ce7d3b13fb285c9fb7bffc382ea10fd41e12582d +LEAFNODE2_SITE = $(call gitlab,leafnode-2,leafnode-2,$(LEAFNODE2_VERSION)) LEAFNODE2_LICENSE = LGPL-2.1 LEAFNODE2_LICENSE_FILES = COPYING COPYING.LGPL LEAFNODE2_DEPENDENCIES = host-pcre pcre +LEAFNODE2_AUTORECONF = YES LEAFNODE2_CONF_ENV = \ PCRECONFIG="$(STAGING_DIR)/usr/bin/pcre-config"