From 4e9ca346a3adf35a2914b46d8ba24c3afaf11cf0 Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz <hrw@openedhand.com>
Date: Tue, 11 Dec 2007 13:43:19 +0000
Subject: rsync: added 2.6.9 from OE

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3328 311d38ba-8fff-0310-9ca6-ca027cbcb966
---
 meta/packages/rsync/files/rsyncd.conf | 15 +++++++++++++++
 meta/packages/rsync/rsync_2.6.9.bb    | 17 +++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta/packages/rsync/files/rsyncd.conf
 create mode 100644 meta/packages/rsync/rsync_2.6.9.bb

diff --git a/meta/packages/rsync/files/rsyncd.conf b/meta/packages/rsync/files/rsyncd.conf
new file mode 100644
index 000000000..845f5b33f
--- /dev/null
+++ b/meta/packages/rsync/files/rsyncd.conf
@@ -0,0 +1,15 @@
+# /etc/rsyncd.conf
+
+# Minimal configuration file for rsync daemon
+# See rsync(1) and rsyncd.conf(5) man pages for help
+
+# This file is required by rsync --daemon
+pid file = /var/run/rsyncd.pid
+use chroot = yes
+read only = yes
+
+# Simple example for enabling your own local rsync server
+#[everything]
+#	path = /
+#	comment = Everything except /etc exposed
+#	exclude = /etc
diff --git a/meta/packages/rsync/rsync_2.6.9.bb b/meta/packages/rsync/rsync_2.6.9.bb
new file mode 100644
index 000000000..ab7ae4342
--- /dev/null
+++ b/meta/packages/rsync/rsync_2.6.9.bb
@@ -0,0 +1,17 @@
+LICENSE = "GPL"
+DESCRIPTION = "A file-synchronization tool"
+SECTION = "console/network"
+PRIORITY = "optional"
+PR = "r0"
+
+SRC_URI = "http://rsync.samba.org/ftp/rsync/rsync-${PV}.tar.gz \
+           file://rsyncd.conf"
+
+inherit autotools
+
+do_install_append() {
+	install -d ${D}/etc
+	install -m 0644 ${WORKDIR}/rsyncd.conf ${D}/etc
+}
+
+EXTRA_OEMAKE='STRIP=""'
-- 
cgit v1.2.3