[csw-devel] SF.net SVN: gar:[20677] csw/mgar/pkg/rsync/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Apr 11 16:04:26 CEST 2013


Revision: 20677
          http://gar.svn.sourceforge.net/gar/?rev=20677&view=rev
Author:   dmichelsen
Date:     2013-04-11 14:04:24 +0000 (Thu, 11 Apr 2013)
Log Message:
-----------
rsync/trunk: Add rsyncd.conf example

Modified Paths:
--------------
    csw/mgar/pkg/rsync/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/rsync/trunk/files/rsyncd.conf.CSW

Modified: csw/mgar/pkg/rsync/trunk/Makefile
===================================================================
--- csw/mgar/pkg/rsync/trunk/Makefile	2013-04-11 13:18:40 UTC (rev 20676)
+++ csw/mgar/pkg/rsync/trunk/Makefile	2013-04-11 14:04:24 UTC (rev 20677)
@@ -15,8 +15,9 @@
 endef
 
 MASTER_SITES = http://samba.anu.edu.au/ftp/rsync/
-DISTFILES = $(DISTNAME).tar.gz
+DISTFILES += $(DISTNAME).tar.gz
 DISTFILES += cswrsyncd
+DISTFILES += rsyncd.conf.CSW
 
 VENDOR_URL = http://rsync.samba.org/
 
@@ -30,7 +31,7 @@
 
 PACKAGES += CSWrsyncd
 SPKG_DESC_CSWrsyncd = Daemon for rsyncd server
-PKGFILES_CSWrsyncd += $(sysconfdir)/rsyncd.conf
+PKGFILES_CSWrsyncd += $(sysconfdir)/rsyncd.conf.CSW
 PKGFILES_CSWrsyncd += $(mandir)/man5/rsyncd.conf.5
 PKGFILES_CSWrsyncd += $(INITSMF)
 
@@ -42,6 +43,8 @@
 MIGRATE_FILES_CSWrsyncd = rsyncd.conf
 MIGRATE_SOURCE_DIR = /etc
 
+PRESERVECONF += $(sysconfdir)/rsyncd.conf
+
 CONFIGURE_ARGS += $(DIRPATHS)
 CONFIGURE_ARGS += --with-rsyncd-conf=$(sysconfdir)/rsyncd.conf
 
@@ -57,6 +60,8 @@
 
 include gar/category.mk
 
-post-install-modulated:
+post-install:
 	ginstall -d $(DESTDIR)/etc/opt/csw/init.d
 	ginstall -m 0755 $(WORKDIR)/cswrsyncd $(DESTDIR)/etc/opt/csw/init.d/cswrsyncd
+	ginstall -d $(DESTDIR)$(sysconfdir)
+	ginstall -m 0644 $(WORKDIR)/rsyncd.conf.CSW $(DESTDIR)$(sysconfdir)

Added: csw/mgar/pkg/rsync/trunk/files/rsyncd.conf.CSW
===================================================================
--- csw/mgar/pkg/rsync/trunk/files/rsyncd.conf.CSW	                        (rev 0)
+++ csw/mgar/pkg/rsync/trunk/files/rsyncd.conf.CSW	2013-04-11 14:04:24 UTC (rev 20677)
@@ -0,0 +1,17 @@
+#log file = /var/opt/csw/log/rsyncd.log
+
+#[repo1]
+#        path = /path/to/repo1
+#        read only = true
+#        use chroot = yes
+#        exclude = README
+#        comment = This is Repo 1
+
+#[repo2]
+#        path = /path/to/repo2
+#        read only = true
+#        use chroot = yes
+#        exclude = TODO
+#        comment = This is Repo 2
+
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list