From e0f538465f55dd1a30f6e29aab7fef883154d4e7 Mon Sep 17 00:00:00 2001 From: krant Date: Thu, 8 Feb 2024 23:04:12 +0200 Subject: [PATCH] nbd: update to 3.25 - Use up-to-date project URLs - Use up-to-date configure args - Drop obsolete std=gnu99 from CFLAGS Signed-off-by: krant --- net/nbd/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/net/nbd/Makefile b/net/nbd/Makefile index 1507e61f4a..d1aaa76a0b 100644 --- a/net/nbd/Makefile +++ b/net/nbd/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nbd -PKG_VERSION:=3.19 -PKG_RELEASE:=2 +PKG_VERSION:=3.25 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@SF/nbd -PKG_HASH:=b4466412f13e057659f25d35e1e8e181afd62c7179bff22a6add81445ecb8690 +PKG_SOURCE_URL:=https://github.com/NetworkBlockDevice/nbd/releases/download/$(PKG_NAME)-$(PKG_VERSION) +PKG_HASH:=f5c8fd0fcb57b1c926594d0e57f356432ee08678bef1d40d088f0830f0cbdd0a PKG_LICENSE:=GPL-2.0-or-later PKG_MAINTAINER:=Marcin Jurkowski PKG_CPE_ID:=cpe:/a:network_block_device_project:network_block_device @@ -29,7 +29,7 @@ define Package/nbd SECTION:=net CATEGORY:=Network TITLE:=Network Block Device utilities - URL:=http://nbd.sourceforge.net + URL:=https://nbd.sourceforge.io DEPENDS:=+kmod-nbd endef @@ -41,7 +41,7 @@ define Package/nbd-server SECTION:=net CATEGORY:=Network TITLE:=Network Block Device Server - URL:=http://nbd.sourceforge.net + URL:=https://nbd.sourceforge.io DEPENDS:=+glib2 endef @@ -50,12 +50,11 @@ define Package/nbd-server/description endef CONFIGURE_ARGS += \ - --disable-glibtest \ --without-gnutls \ --without-libnl \ - --with-syslog + --enable-syslog -TARGET_CFLAGS += --std=gnu99 -DNODAEMON +TARGET_CFLAGS += -DNODAEMON define Package/nbd/install $(INSTALL_DIR) $(1)/usr/sbin -- 2.30.2