2 # Copyright (C) 2007-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync/src
16 PKG_MD5SUM:=3be148772a33224771a8d4d2a028b132
21 include $(INCLUDE_DIR)/package.mk
26 SUBMENU:=File Transfer
27 TITLE:=Fast remote file copy program (like rcp)
29 URL:=http://rsync.samba.org/
35 SUBMENU:=File Transfer
38 URL:=http://rsync.samba.org/
41 define Package/rsync/description
42 rsync is a program that allows files to be copied to and from remote machines
43 in much the same way as rcp. It has many more options than rcp, and uses the
44 rsync remote-update protocol to greatly speed up file transfers when the
45 destination file already exists.
47 The rsync remote-update protocol allows rsync to transfer just the differences
48 between two sets of files across the network link.
52 --with-included-popt=no \
55 --disable-xattr-support \
56 --disable-acl-support \
58 define Package/rsync/install
59 $(INSTALL_DIR) $(1)/usr/bin
60 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
63 define Package/rsyncd/description
64 rsyncd is a configuration file and initscript to utilize rsync as a daemon. It
65 uses the same binary as rsync.
68 define Package/rsyncd/conffiles
72 define Package/rsyncd/install
73 $(INSTALL_DIR) $(1)/etc
74 $(INSTALL_DATA) ./files/rsyncd.conf $(1)/etc/
75 $(INSTALL_DIR) $(1)/etc/init.d
76 $(INSTALL_BIN) ./files/rsyncd.init $(1)/etc/init.d/rsyncd
79 $(eval $(call BuildPackage,rsync))
80 $(eval $(call BuildPackage,rsyncd))