2014-09-12 18:12:04 +00:00
|
|
|
#
|
2015-01-31 08:19:58 +00:00
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
2014-09-12 18:12:04 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=davfs2
|
2021-12-16 02:21:01 +00:00
|
|
|
PKG_VERSION:=1.6.1
|
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 16:32:27 +00:00
|
|
|
PKG_RELEASE:=2
|
2014-09-12 18:12:04 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2019-02-02 22:10:27 +00:00
|
|
|
PKG_SOURCE_URL:=@SAVANNAH/davfs2
|
2021-12-16 02:21:01 +00:00
|
|
|
PKG_HASH:=ce3eb948ece582a51c934ccb0cc70e659839172717caff173f69a5e2af90c5c0
|
2019-02-02 22:10:27 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Federico Di Marco <fededim@gmail.com>
|
2020-08-12 04:24:43 +00:00
|
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
2019-02-02 22:10:27 +00:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2019-09-12 12:13:21 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:davfs2:davfs2
|
2014-09-12 18:12:04 +00:00
|
|
|
|
2020-08-12 04:24:43 +00:00
|
|
|
PKG_FIXUP:=gettext-version
|
|
|
|
PKG_INSTALL:=1
|
2019-02-02 22:10:27 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2015-01-19 18:28:04 +00:00
|
|
|
|
2014-09-12 18:12:04 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/davfs2
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
SUBMENU:=Filesystem
|
2017-06-07 21:21:38 +00:00
|
|
|
DEPENDS=+libneon +kmod-fuse +libfuse $(ICONV_DEPENDS) $(INTL_DEPENDS)
|
2014-09-12 18:12:04 +00:00
|
|
|
TITLE:=Mount a WebDAV resource as a regular file system.
|
2019-02-02 22:10:27 +00:00
|
|
|
URL:=https://savannah.nongnu.org/projects/davfs2/
|
2014-09-12 18:12:04 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/davfs2/description
|
|
|
|
Web Distributed Authoring and Versioning (WebDAV), an extension to the HTTP-protocol,
|
|
|
|
allows authoring of resources on a remote web server.davfs2 provides the ability to
|
|
|
|
access such resources like a typical filesystem, allowing for use by standard
|
|
|
|
applications with no built-in support for WebDAV.
|
|
|
|
|
|
|
|
davfs2 is designed to fully integrate into the filesystem semantics of Unix-like
|
|
|
|
systems (mount, umount, etc.). davfs2 makes mounting by unprivileged users as easy
|
|
|
|
and secure as possible.
|
|
|
|
|
|
|
|
davfs2 does extensive caching to make the file system responsive, to avoid
|
|
|
|
unnecessary network traffic and to prevent data loss, and to cope for slow or
|
|
|
|
unreliable connections.
|
|
|
|
|
|
|
|
davfs2 will work with most WebDAV servers needing little or no configuration.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/davfs2/conffiles
|
|
|
|
/etc/davfs2/davfs2.conf
|
2022-01-12 00:16:45 +00:00
|
|
|
/etc/davfs2/secrets
|
2014-09-12 18:12:04 +00:00
|
|
|
endef
|
|
|
|
|
2020-07-15 21:16:27 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--with-neon="$(STAGING_DIR)/usr" \
|
|
|
|
--disable-rpath
|
2014-09-12 18:12:04 +00:00
|
|
|
|
|
|
|
define Package/davfs2/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mount.davfs $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/umount.davfs $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_DIR) $(1)/etc/davfs2
|
|
|
|
$(INSTALL_DATA) files/$(PKG_NAME).conf $(1)/etc/davfs2
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,davfs2))
|