2020-05-15 05:00:56 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
2020-07-29 00:01:42 +02:00
|
|
|
PKG_NAME:=fuse3
|
2021-09-19 09:35:39 +02:00
|
|
|
PKG_VERSION:=3.10.5
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=2
|
2020-05-15 05:00:56 +02:00
|
|
|
|
|
|
|
PKG_SOURCE:=fuse-$(PKG_VERSION).tar.xz
|
|
|
|
PKG_SOURCE_URL:=https://github.com/libfuse/libfuse/releases/download/fuse-$(PKG_VERSION)
|
2021-09-19 09:35:39 +02:00
|
|
|
PKG_HASH:=b2e283485d47404ac896dd0bb7f7ba81e1470838e677e45f659804c3a3b69666
|
2020-05-15 05:00:56 +02:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/fuse-$(PKG_VERSION)
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=
|
|
|
|
PKG_CPE_ID:=cpe:/a:fuse_project:fuse
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-09-08 00:24:45 +02:00
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2020-05-15 05:00:56 +02:00
|
|
|
|
2020-07-29 00:01:42 +02:00
|
|
|
define Package/fuse3/Default
|
|
|
|
TITLE:=FUSE
|
|
|
|
URL:=https://github.com/libfuse/libfuse
|
|
|
|
SUBMENU:=Filesystem
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fuse3/Default/description
|
|
|
|
fuse3 (Filesystem in UserSpacE)
|
|
|
|
endef
|
|
|
|
|
2020-05-15 05:00:56 +02:00
|
|
|
define Package/libfuse3
|
2020-07-29 00:01:42 +02:00
|
|
|
$(call Package/fuse3/Default)
|
|
|
|
TITLE+= library
|
2020-05-15 05:00:56 +02:00
|
|
|
URL:=https://github.com/libfuse/libfuse
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
DEPENDS:=+kmod-fuse +libpthread
|
2020-07-29 00:01:42 +02:00
|
|
|
ABI_VERSION:=3
|
2020-05-15 05:00:56 +02:00
|
|
|
LICENSE:=LGPL-2.1-only
|
|
|
|
LICENSE_FILES:=LGPL2.txt
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libfuse3/description
|
2020-07-29 00:01:42 +02:00
|
|
|
$(call Package/fuse3/Default/description)
|
2020-05-15 05:00:56 +02:00
|
|
|
This package contains the fuse3 shared libraries, needed by other programs.
|
|
|
|
- libfuse3
|
|
|
|
endef
|
|
|
|
|
2020-07-29 00:01:42 +02:00
|
|
|
define Package/fuse3-utils
|
|
|
|
$(call Package/fuse3/Default)
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
DEPENDS:=+libfuse3
|
|
|
|
TITLE+= (utilities)
|
|
|
|
SUBMENU:=Filesystem
|
|
|
|
LICENSE:=GPL-2.0-only
|
|
|
|
LICENSE_FILES:=COPYING
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fuse3-utils/description
|
|
|
|
$(call Package/fuse3/Default/description)
|
|
|
|
This package contains the FUSE utilities.
|
|
|
|
- fusermount3
|
|
|
|
- mount.fuse3
|
|
|
|
endef
|
|
|
|
|
2020-05-15 05:00:56 +02:00
|
|
|
MESON_ARGS += \
|
|
|
|
-Ddisable-mtab=true \
|
2020-07-29 00:01:42 +02:00
|
|
|
-Dudevrulesdir=/dev/null \
|
|
|
|
-Dutils=$(if $(CONFIG_PACKAGE_fuse3-utils),true,false) \
|
2020-05-15 05:00:56 +02:00
|
|
|
-Dexamples=false \
|
|
|
|
-Duseroot=false
|
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/fuse3
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/fuse3/*.h $(1)/usr/include/fuse3
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse3.so* $(1)/usr/lib/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fuse3.pc $(1)/usr/lib/pkgconfig/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libfuse3/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse3.so.* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
2020-07-29 00:01:42 +02:00
|
|
|
define Package/fuse3-utils/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fusermount3 $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mount.fuse3 $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
2020-05-15 05:00:56 +02:00
|
|
|
$(eval $(call BuildPackage,libfuse3))
|
2020-07-29 00:01:42 +02:00
|
|
|
$(eval $(call BuildPackage,fuse3-utils))
|