diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-05 12:28:54 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-06 07:15:53 +0100 |
commit | 3714ebf885d88981c8fd1bf5abbbdb7a76ca2331 (patch) | |
tree | 6f1132eb33a87eeeb48645bd06e28708978e145e | |
parent | e57cb1fe2d6c74c52b61b9e70f826f5d6f872fab (diff) | |
download | ptxdist-3714ebf885d88981c8fd1bf5abbbdb7a76ca2331.tar.gz ptxdist-3714ebf885d88981c8fd1bf5abbbdb7a76ca2331.tar.xz |
sshfs: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/sshfs.in | 16 | ||||
-rw-r--r-- | rules/sshfs.make | 58 |
2 files changed, 74 insertions, 0 deletions
diff --git a/rules/sshfs.in b/rules/sshfs.in new file mode 100644 index 000000000..2b1a99741 --- /dev/null +++ b/rules/sshfs.in @@ -0,0 +1,16 @@ +## SECTION=disk_and_file + +config SSHFS + tristate + select HOST_MESON + select GLIB + select FUSE3 + prompt "sshfs" + help + filesystem client based on SSH File Transfer Protocol + sshfs is a filesystem client based on the SSH File Transfer + Protocol. Since most SSH servers already support this protocol + it is very easy to set up: i.e. on the server side there`s + nothing to do. On the client side mounting the filesystem is as + easy as logging into the server with ssh. + diff --git a/rules/sshfs.make b/rules/sshfs.make new file mode 100644 index 000000000..d53d278b0 --- /dev/null +++ b/rules/sshfs.make @@ -0,0 +1,58 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_SSHFS) += sshfs + +# +# Paths and names +# +SSHFS_VERSION := 3.5.1 +SSHFS_MD5 := cae9508b97c938727e354448b40693cc +SSHFS := sshfs-$(SSHFS_VERSION) +SSHFS_SUFFIX := tar.xz +SSHFS_URL := https://github.com/libfuse/sshfs/releases/download/$(SSHFS)/$(SSHFS).$(SSHFS_SUFFIX) +SSHFS_SOURCE := $(SRCDIR)/$(SSHFS).$(SSHFS_SUFFIX) +SSHFS_DIR := $(BUILDDIR)/$(SSHFS) +SSHFS_LICENSE := unknown + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# meson +# +SSHFS_CONF_TOOL := meson + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/sshfs.targetinstall: + @$(call targetinfo) + + @$(call install_init, sshfs) + @$(call install_fixup, sshfs,PRIORITY,optional) + @$(call install_fixup, sshfs,SECTION,base) + @$(call install_fixup, sshfs,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") + @$(call install_fixup, sshfs,DESCRIPTION,missing) + + @$(call install_copy, sshfs, 0, 0, 0755, -, /usr/bin/sshfs) + @$(call install_link, sshfs, ../bin/sshfs, /usr/sbin/mount.sshfs) + @$(call install_link, sshfs, ../bin/sshfs, /usr/sbin/mount.fuse.sshfs) + + @$(call install_finish, sshfs) + + @$(call touch) + +# vim: syntax=make |