[packages] rsync: update to 3.1.0

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40013 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
luka 2014-03-24 00:59:47 +00:00
parent 1d5920e8b2
commit 8202a37c93
2 changed files with 21 additions and 23 deletions

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2007-2011 OpenWrt.org # Copyright (C) 2007-2014 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=rsync PKG_NAME:=rsync
PKG_VERSION:=3.0.9 PKG_VERSION:=3.1.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync/src PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync/src
PKG_MD5SUM:=5ee72266fe2c1822333c407e1761b92b PKG_MD5SUM:=3be148772a33224771a8d4d2a028b132
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
@ -35,18 +35,17 @@ define Package/rsyncd
SUBMENU:=File Transfer SUBMENU:=File Transfer
TITLE:=Rsync daemon TITLE:=Rsync daemon
DEPENDS:=+rsync DEPENDS:=+rsync
URL:=http://rsync.samba.org/
endef endef
define Package/rsync/description define Package/rsync/description
rsync is a program that allows files to be copied to rsync is a program that allows files to be copied to and from remote machines
and from remote machines in much the same way as rcp. in much the same way as rcp. It has many more options than rcp, and uses the
It has many more options than rcp, and uses the rsync rsync remote-update protocol to greatly speed up file transfers when the
remote-update protocol to greatly speed up file destination file already exists.
transfers when the destination file already exists.
The rsync remote-update protocol allows rsync to The rsync remote-update protocol allows rsync to transfer just the differences
transfer just the differences between two sets of files between two sets of files across the network link.
across the network link.
endef endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
@ -62,9 +61,8 @@ define Package/rsync/install
endef endef
define Package/rsyncd/description define Package/rsyncd/description
rsyncd is a configuration file and initscript to rsyncd is a configuration file and initscript to utilize rsync as a daemon. It
utilize rsync as a daemon. It uses the same binary uses the same binary as rsync.
as rsync.
endef endef
define Package/rsyncd/conffiles define Package/rsyncd/conffiles

View File

@ -1,14 +1,14 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2011 OpenWrt.org # Copyright (C) 2011-2014 OpenWrt.org
START=50 START=90
STOP=10
SERVICE_PID_FILE=/var/run/rsyncd.pid USE_PROCD=1
PROG=/usr/bin/rsync
start() { start_service() {
service_start /usr/bin/rsync --daemon procd_open_instance
} procd_set_param command "$PROG" --daemon --no-detach
procd_close_instance
stop() {
service_stop /usr/bin/rsync
} }