net/remotefs: updated remotefs to 1.0

remotefs: Switched to Git tag for newest release, better
package name and correct versioning. Removed libfuse from remotefs-server
dependencies. Updated init script with actual version from remotefs
repository.

Signed-off-by: Aleksey Tulinov <aleksey.tulinov@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@39492 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2014-02-05 22:14:42 +00:00
parent 7184cf53a7
commit d94aef04e1
2 changed files with 8 additions and 5 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=remotefs PKG_NAME:=remotefs
PKG_REV:=a4c25cee1e677c30acd559ff36ed1cfdc4b99c91 PKG_REV:=1.0
PKG_VERSION:=$(PKG_REV) PKG_VERSION:=$(PKG_REV)
PKG_RELEASE:=1 PKG_RELEASE:=1
@ -38,6 +38,7 @@ endef
define Package/remotefs-server define Package/remotefs-server
$(call Package/remotefs) $(call Package/remotefs)
TITLE:=RemoteFS server TITLE:=RemoteFS server
DEPENDS:=
endef endef
define Build/Compile define Build/Compile

View File

@ -1,16 +1,18 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Author: Oskari Rauta <oskari.rauta@gmail.com>
START=50 START=50
LISTEN=$(ifconfig br-lan | sed -n 's/.*dr:\(.*\)Bc.*/\1/p') LISTEN=$(ifconfig br-lan | sed -n 's/.*dr:\(.*\)Bc.*/\1/p')
PORT="5001" PORT="5001"
RFSD_USER="root" RFSD_USER="root"
RFSD_GROUP="root"
PIDFILE="/var/run/rfsd.pid" PIDFILE="/var/run/rfsd.pid"
#QUIET="-q"
start() start()
{ {
rfsd -a ${LISTEN} -p ${PORT} -u ${RFSD_USER} -g ${RFSD_GROUP} -r ${PIDFILE} rfsd -a ${LISTEN} -p ${PORT} -u ${RFSD_USER} -r ${PIDFILE} ${QUIET}
} }
stop() stop()
@ -20,6 +22,6 @@ stop()
reload() reload()
{ {
kill -s HUP `cat ${PIDFILE}` kill -HUP `cat ${PIDFILE}` \
start && rfsd -a ${LISTEN} -p ${PORT} -u ${RFSD_USER} -r ${PIDFILE} ${QUIET}
} }