This release adds the advanced folder option caseSensitiveFS (https://docs.syncthing.net/advanced/folder-caseSensitiveFS.html) to disable the new safe handling of case insensitive filesystems. Bugfixes: #1787: Case-only renames break stuff #5708: Properly handle upper-/lowercase-only file name collisions #6613: TestWatchRename test fails on FreeBSD. #6793: Error status should take precedence over Local Additions #6850: Global state incorrect when ignoring local change #6864: Folder incorrectly marked “Up to Date” after switching from “Receive Only” to “Send & Receive” #6867: Certificate error when built with Go 1.15 #6886: chmod permission after editing .stignore via WebUI not preserved #6889: test failures with Go 1.15 #6892: Syncthing 1.8.0 trying to connect via wrong network route #6898: tests in TestCopyRange fail on ppc64le with "inappropriate ioctl for device" #6908: NAT service fails to terminate during Shutdown #6910: Local Additions when deleting file after changing folder type from SR to RO #6922: Auto accepted folders not saved #6938: Modifying config during first scan corrupts folder state Enhancements: #2739: Syncthing should be case insensitive by default #5579: Avoid anti-aliasing artifacts for svg device icons #6873: Don't fail dirs in receive-only folders that were removed elsewhere but exist locally Signed-off-by: Paul Spooren <mail@aparcar.org>
65 lines
1.9 KiB
Makefile
65 lines
1.9 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=syncthing
|
|
PKG_VERSION:=1.9.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=syncthing-source-v$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://github.com/syncthing/syncthing/releases/download/v$(PKG_VERSION)
|
|
PKG_HASH:=a4e3e5997b2c4c76512ed9b32a067b2a90e26c0d445f8c3c62af65d2b93d4d8b
|
|
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/$(PKG_NAME)
|
|
|
|
PKG_MAINTAINER:=Paul Spooren <mail@aparcar.org>
|
|
PKG_LICENSE:=MPL-2.0
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:syncthing:syncthing
|
|
|
|
PKG_BUILD_DEPENDS:=golang/host
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_USE_MIPS16:=0
|
|
|
|
GO_PKG:=github.com/syncthing/syncthing/
|
|
GO_PKG_BUILD_PKG:=github.com/syncthing/syncthing/cmd/syncthing/
|
|
GO_PKG_INSTALL_EXTRA:=^gui/
|
|
|
|
GO_PKG_LDFLAGS_X:=\
|
|
github.com/syncthing/syncthing/lib/build.Version=v$(PKG_VERSION) \
|
|
github.com/syncthing/syncthing/lib/build.Stamp=$(SOURCE_DATE_EPOCH) \
|
|
github.com/syncthing/syncthing/lib/build.User=openwrt \
|
|
github.com/syncthing/syncthing/lib/build.Host=openwrt \
|
|
github.com/syncthing/syncthing/lib/build.Program=syncthing
|
|
GO_PKG_TAGS:=noupgrade
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../../lang/golang/golang-package.mk
|
|
|
|
define Package/syncthing
|
|
TITLE:=Continuous file synchronization program
|
|
URL:=https://syncthing.net
|
|
DEPENDS:=$(GO_ARCH_DEPENDS)
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
USERID:=syncthing=499:syncthing=499
|
|
endef
|
|
|
|
define Package/syncthing/conffiles
|
|
/etc/config/syncthing
|
|
/etc/syncthing
|
|
endef
|
|
|
|
define Package/syncthing/description
|
|
Syncthing replaces proprietary sync and cloud services with something
|
|
open, trustworthy and decentralized. Your data is your data alone and
|
|
you deserve to choose where it is stored, if it is shared with some
|
|
third party and how it's transmitted over the Internet.
|
|
endef
|
|
|
|
define Package/syncthing/install
|
|
$(call GoPackage/Package/Install/Bin,$(1))
|
|
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call GoBinPackage,syncthing))
|
|
$(eval $(call BuildPackage,syncthing))
|