rsync add rep

This commit is contained in:
burakerturk
2015-07-16 02:50:18 +03:00
parent 5139510106
commit 5d22bb0a7a
11 changed files with 218 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>network.share</Name>
</PISI>
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir="rsync-%s" % get.srcVERSION().replace('_','')
def setup():
autotools.configure("--without-included-zlib")
def build():
autotools.make()
def check():
autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("NEWS","README","TODO")
+22
View File
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
serviceType = "server"
serviceDesc = _({"en": "RSync Daemon",
"tr": "RSync Servisi"})
serviceConf = "rsyncd"
from comar.service import *
@synchronized
def start():
startService(command="/usr/bin/rsync",
args="--daemon %s" % config.get("RSYNC_OPTS", ""),
pidfile="/run/rsyncd.pid",
donotify=True)
@synchronized
def stop():
stopService(pidfile="/run/rsyncd.pid",
donotify=True)
def status():
return isServiceRunning("/run/rsyncd.pid")
+23
View File
@@ -0,0 +1,23 @@
# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help
pid file = /run/rsyncd.pid
use chroot = yes
read only = yes
uid = nobody
guid = nobody
#max connections = 5
#syslog facility = local5
# Simple example for enabling your own local rsync server
#[ftp]
# path = /home/ftp
# comment = FTP
# exclude = /pub
# hosts deny = 192.168.3.0/255.255.255.0
#[restricted]
# path = /home/user/docs
# comment = My Documents
# hosts allow = 192.168.1.0/24, 10.10.1.1, alt.alanadi.net
# list = false
+3
View File
@@ -0,0 +1,3 @@
# see man pages for rsync or run `rsync --help`
# for valid cmdline options
#RSYNC_OPTS=""
+66
View File
@@ -0,0 +1,66 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>rsync</Name>
<Homepage>http://rsync.samba.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>service</IsA>
<IsA>app:console</IsA>
<Summary>File transfer program to keep local copies in sync with remote files</Summary>
<Description>rsync is a tool to keep local copies of remote files in sync (i.e. make sure local files are exact copies of remote files).</Description>
<Archive sha1sum="c84faba04f721d393feccfa0476bfeed9b5b5250" type="targz">http://rsync.samba.org/ftp/rsync/rsync-3.1.1.tar.gz</Archive>
</Source>
<Package>
<Name>rsync</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="config">/etc</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/rsyncd.conf">rsyncd.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/rsyncd">rsyncd.conf.d</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
</Package>
<History>
<Update release="4">
<Date>2015-03-24</Date>
<Version>3.1.1</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2015-02-11</Date>
<Version>3.1.1</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-02-10</Date>
<Version>3.1.0</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-05</Date>
<Version>3.0.9</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>rsync</Name>
<Summary xml:lang="tr">Dosya yedekleme ve eşleme uygulaması</Summary>
<Description xml:lang="tr">rsync, uzaktaki dosyaları senkronize tutan bir dosya transfer uygulamasıdır.</Description>
</Source>
</PISI>
+66
View File
@@ -29010,6 +29010,72 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>rsync</Name>
<Homepage>http://rsync.samba.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>service</IsA>
<IsA>app:console</IsA>
<PartOf>network.share</PartOf>
<Summary xml:lang="en">File transfer program to keep local copies in sync with remote files</Summary>
<Summary xml:lang="tr">Dosya yedekleme ve eşleme uygulaması</Summary>
<Description xml:lang="en">rsync is a tool to keep local copies of remote files in sync (i.e. make sure local files are exact copies of remote files).</Description>
<Description xml:lang="tr">rsync, uzaktaki dosyaları senkronize tutan bir dosya transfer uygulamasıdır.</Description>
<Archive type="targz" sha1sum="c84faba04f721d393feccfa0476bfeed9b5b5250">http://rsync.samba.org/ftp/rsync/rsync-3.1.1.tar.gz</Archive>
<SourceURI>network/share/rsync/pspec.xml</SourceURI>
</Source>
<Package>
<Name>rsync</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="config">/etc</Path>
</Files>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
<AdditionalFiles>
<AdditionalFile target="/etc/rsyncd.conf" permission="0644" owner="root">rsyncd.conf</AdditionalFile>
<AdditionalFile target="/etc/conf.d/rsyncd" permission="0644" owner="root">rsyncd.conf.d</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="4">
<Date>2015-03-24</Date>
<Version>3.1.1</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2015-02-11</Date>
<Version>3.1.1</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-02-10</Date>
<Version>3.1.0</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-05</Date>
<Version>3.0.9</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>asciidoc</Name>
+1 -1
View File
@@ -1 +1 @@
e71d198707ff47d47ce52f748d0f840759c93459
018a52edec239077a8cd70e4be739d6d7d21b0ce
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
e1eb011d34cd99766706520be34a79527c587363
82646a19cecd549b17d759aad24e1d39320f0ff4