From 18163ef231a0e78d604c178b789e1fedde636771 Mon Sep 17 00:00:00 2001 From: Maniacikarus Date: Sun, 7 Dec 2008 14:13:04 +0100 Subject: [PATCH] Added sshfs to supported fuse filesystems --- config/rootfiles/common/sshfs | 2 + lfs/sshfs | 80 +++++++++++++++++++++++++++++++++++ make.sh | 3 +- 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 config/rootfiles/common/sshfs create mode 100644 lfs/sshfs diff --git a/config/rootfiles/common/sshfs b/config/rootfiles/common/sshfs new file mode 100644 index 0000000000..2cafa3e24c --- /dev/null +++ b/config/rootfiles/common/sshfs @@ -0,0 +1,2 @@ +usr/bin/sshfs +#usr/share/man/man1/sshfs.1 diff --git a/lfs/sshfs b/lfs/sshfs new file mode 100644 index 0000000000..3b54176341 --- /dev/null +++ b/lfs/sshfs @@ -0,0 +1,80 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 2.2 + +THISAPP = sshfs-fuse-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 26e9206eb5169e87e6f95f54bc005a4f + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 2c5a111504..60eaf87bb8 100755 --- a/make.sh +++ b/make.sh @@ -584,6 +584,7 @@ buildipfire() { ipfiremake cryptsetup ipfiremake splix ipfiremake streamripper + ipfiremake sshfs echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild echo >> $BASEDIR/build/var/ipfire/firebuild @@ -668,7 +669,7 @@ buildpackages() { fi # Create updater package - ipfiremake updater + #ipfiremake updater mv $LFS/install/images/{*.iso,*.tgz,*.img.gz,*.bz2} $BASEDIR >> $LOGFILE 2>&1 ipfirepackages -- 2.39.2