mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/leafnode2: bump version to 2.0.0.alpha202601
https://gitlab.com/leafnode-2/leafnode-2/-/blob/leafnode-2.0.0.alpha202601/NEWS Rebased patch 0001. Upstream switched from pcre to pcre2. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
ec62109990
commit
c8e9c53d8c
@@ -7,14 +7,15 @@ Fix cross-compilation issues
|
||||
cross-compiling. We're anyway not root, so simply remove the
|
||||
chown/chgrp dance.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
[Bernd: rebased for 2.0.0.alpha202601]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/Makefile.am
|
||||
===================================================================
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -311,7 +311,7 @@
|
||||
@@ -324,7 +324,7 @@
|
||||
|
||||
configparam_data.c: $(srcdir)/config.table b_sortnl$(EXEEXT) genconfigparam_data.awk
|
||||
rm -f config.table.sorted
|
||||
@@ -23,7 +24,7 @@ Index: b/Makefile.am
|
||||
$(AWK) -f $(srcdir)/genconfigparam_data.awk <config.table.sorted >$@ \
|
||||
|| { rm -f $@ ; false ; }
|
||||
|
||||
@@ -326,13 +326,7 @@
|
||||
@@ -339,13 +339,7 @@
|
||||
install-data-hook:
|
||||
$(INSTALL) -d -m 02770 $(DESTDIR)$(SPOOLDIR)
|
||||
$(INSTALL) -d -m 02770 $(DESTDIR)$(SPOOLDIR)/leaf.node
|
||||
|
||||
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LEAFNODE2
|
||||
bool "leafnode2"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_PCRE
|
||||
select BR2_PACKAGE_PCRE2
|
||||
help
|
||||
Leafnode-2 is a store-and-forward NNTP (or Usenet) proxy
|
||||
server designed for small sites with just a few active
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 42f2185f29a74f683a962e9cf6e38bc5f8a342d0dde8b6a03457a165365e3445 leafnode2-9543ffaf82406f943d449d522d88baa554515e0f.tar.gz
|
||||
sha256 c98201dffc51addf4157ceb67f2ef7f2c0f3813e49342834f243244a872d90c1 leafnode2-2.0.0.alpha202601.tar.gz
|
||||
sha256 59d37f745dc5a2d63a51dff344f4ad89f72e76f8c7b7d877f20880d838b1bec9 COPYING
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LEAFNODE2_VERSION = 9543ffaf82406f943d449d522d88baa554515e0f
|
||||
LEAFNODE2_SITE = $(call gitlab,leafnode-2,leafnode-2,$(LEAFNODE2_VERSION))
|
||||
LEAFNODE2_VERSION = 2.0.0.alpha202601
|
||||
LEAFNODE2_SITE = $(call gitlab,leafnode-2,leafnode-2,leafnode-$(LEAFNODE2_VERSION))
|
||||
LEAFNODE2_LICENSE = LGPL-2.1
|
||||
LEAFNODE2_LICENSE_FILES = COPYING COPYING.LGPL
|
||||
LEAFNODE2_DEPENDENCIES = host-pcre pcre
|
||||
LEAFNODE2_DEPENDENCIES = host-pcre2 pcre2
|
||||
LEAFNODE2_AUTORECONF = YES
|
||||
|
||||
# pod2man doesn't work when cross compiling
|
||||
@@ -18,7 +18,7 @@ endef
|
||||
LEAFNODE2_POST_PATCH_HOOKS += LEAFNODE2_DISABLE_POD2MAN
|
||||
|
||||
LEAFNODE2_CONF_ENV = \
|
||||
PCRECONFIG="$(STAGING_DIR)/usr/bin/pcre-config"
|
||||
PCRE2CONFIG="$(STAGING_DIR)/usr/bin/pcre2-config"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
LEAFNODE2_DEPENDENCIES += libxcrypt
|
||||
@@ -35,13 +35,13 @@ LEAFNODE2_CONF_OPTS = \
|
||||
# Leafnode2 needs the host version of b_sortnl during
|
||||
# compilation. Instead of creating a separate host package and
|
||||
# installing b_sortnl to $(HOST_DIR) this binary is compiled
|
||||
# on-the-fly, host-pcre is needed for this
|
||||
# on-the-fly, host-pcre2 is needed for this
|
||||
define LEAFNODE2_BUILD_SORTNL_TOOL
|
||||
cd $(@D); \
|
||||
$(HOSTCC) $(HOST_CFLAGS) -o b_sortnl_host \
|
||||
arc4random.c mergesort.c b_sortnl.c critmem_malloc.c \
|
||||
critmem_realloc.c -DHAVE_CONFIG_H -I$(HOST_DIR)/include \
|
||||
-L $(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib -lpcre
|
||||
-L $(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib -lpcre2-8
|
||||
endef
|
||||
|
||||
LEAFNODE2_PRE_BUILD_HOOKS += LEAFNODE2_BUILD_SORTNL_TOOL
|
||||
|
||||
Reference in New Issue
Block a user