Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (d4b9c7ffbd1bf2d2e201324df52eae032ad0e088)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (d4b9c7ffbd1bf2d2e201324df52eae032ad0e088)
  • Date: Sat, 19 May 2018 00:03:12 +0000

GIT changes to master z-rejected grimoire by Vlad Glagolev
<stealth AT sourcemage.org>:

ChangeLog | 4 +
accounts | 46 ++++++++++++++++++++-
groups | 61
+++++++++++++++++++++++++++-
z-ftp/resilio-sync/BUILD | 1
z-ftp/resilio-sync/CONFIGURE | 3 +
z-ftp/resilio-sync/DETAILS | 25 +++++++++++
z-ftp/resilio-sync/FINAL | 4 +
z-ftp/resilio-sync/HISTORY | 3 +
z-ftp/resilio-sync/INSTALL | 9 ++++
z-ftp/resilio-sync/PRE_BUILD | 6 ++
z-ftp/resilio-sync/init.d/resilio-sync | 18 ++++++++
z-ftp/resilio-sync/init.d/resilio-sync.conf | 3 +
12 files changed, 181 insertions(+), 2 deletions(-)

New commits:
commit d4b9c7ffbd1bf2d2e201324df52eae032ad0e088
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

resilio-sync: new spell, resilient, fast and scalable file
synchronization tool

commit 4aed4ce01e8a59537b4b6e3c96a384dbb121c4f8
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

accounts, groups: sync with test

diff --git a/ChangeLog b/ChangeLog
index b8528cf..0d870d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-18 Vlad Glagolev <stealth AT sourcemage.org>
+ * z-ftp/resilio-sync: new spell, resilient, fast and scalable file
+ synchronization tool
+
2018-02-16 Vlad Glagolev <stealth AT sourcemage.org>
* z-audio/spotify: new spell, official Spotify client

diff --git a/accounts b/accounts
index 35bbc59..6d9b1fe 100755
--- a/accounts
+++ b/accounts
@@ -14,6 +14,8 @@ tinydns:88:88
dnslog:89:88
dnscache:90:88
axfrdns:91:88
+mediatomb:95:95
+tor:96:96
bind:101:101
gnats:102:102
postgres:103:103
@@ -68,5 +70,47 @@ pascal:153:153
wnn:154:154
musicdaemon:155:29
iplog:156:156
-nx:179:179
+davfs2:158:158
+dovecot:159:159
+nsd:160:164
+polkituser:161:165
+backuppc:162:166
+pulse:163:167
+nginx:164:170
+halevt:165:172
+oprofile:166:173
+flowd:167:174
+avahi:168:162
+tss:175:175
+memcached:176:177
+camera:177:178
+mariadb:178:180
+nx:179:148
+avahi-autoipd:180:184
+puppet:181:181
+prosody:182:182
+dovenull:183:183
+mongodb:184:185
+unbound:185:186
+postgrey:186:187
+dspam:187:188
+nslcd:188:189
+redis:189:190
+lightdm:191:191
+masqmail:192:192
+burp:193:194
+ratbox:194:195
+mdm:195:196
+polkitd:196:197
+opendkim:197:198
+dk-milter:198:199
+gnarwl:201:201
+sddm:202:202:
+rpc:204:204:
+smtpd:206:206:
+smtpq:207:207:
+varnish:208:208
+bird:209:209
+netdata:210:210
+rslsync:211:211
nobody:65534:65534
diff --git a/groups b/groups
index a904eeb..4740497 100755
--- a/groups
+++ b/groups
@@ -15,13 +15,18 @@ kmem:15:
ppp:20:
cdrom:24:
floppy:25:
+tape:26:
audio:29:
www-data:33:
backup:34:
+shadow:42:
utmp:43:
games:60:
+crontab:66:
firebird:84:
djbdns:88:
+mediatomb:95:
+tor:96:
bind:101:
gnats:102:
postgres:103:
@@ -68,6 +73,7 @@ captive:143:
video:144:
silcd:145:
anubis:146:
+nx:148:
nagios:149:
nagcmd:150:
scanner:151:
@@ -77,6 +83,59 @@ wnn:154:
powerdev:155:
iplog:156:
stb-admin:157:
-nx:179:
+davfs2:158:
+dovecot:159:
+netdev:160:
+kde4:161:
+avahi:162:
+vlock:163:
+nsd:164:
+polkituser:165:
+backuppc:166:
+pulse:167:
+pulse-rt:168:
+pulse-access:169:
+nginx:170:
+dialout:171:
+halevt:172:
+oprofile:173:
+flowd:174:
+tss:175:
+pkcs11:176:
+memcached:177:
+camera:178:
+libvirt:179:
+mariadb:180:
+puppet:181:
+prosody:182:
+dovenull:183:
+avahi-autoipd:184:
+mongodb:185:
+unbound:186:
+postgrey:187:
+dspam:188:
+nslcd:189:
+redis:190:
+lightdm:191:
+masqmail:192:
+bumblebee:193:
+burp:194:
+ratbox:195:
+mdm:196:
+polkitd:197:
+opendkim:198:
+dk-milter:199:
+plasma:200:
+gnarwl:201:
+sddm:202:
+input:203:
+rpc:204:
+docker:205:
+smtpd:206:
+smtpq:207:
+varnish:208:
+bird:209:
+netdata:210:
+rslsync:211:
users:1000:
nogroup:65534:
diff --git a/z-ftp/resilio-sync/BUILD b/z-ftp/resilio-sync/BUILD
new file mode 100755
index 0000000..7faa71a
--- /dev/null
+++ b/z-ftp/resilio-sync/BUILD
@@ -0,0 +1 @@
+create_account rslsync
diff --git a/z-ftp/resilio-sync/CONFIGURE b/z-ftp/resilio-sync/CONFIGURE
new file mode 100755
index 0000000..49b9e31
--- /dev/null
+++ b/z-ftp/resilio-sync/CONFIGURE
@@ -0,0 +1,3 @@
+# Standard rejected warnings.
+#
+source $GRIMOIRE/REJECTED_MSG
diff --git a/z-ftp/resilio-sync/DETAILS b/z-ftp/resilio-sync/DETAILS
new file mode 100755
index 0000000..098cfc7
--- /dev/null
+++ b/z-ftp/resilio-sync/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=resilio-sync
+ VERSION=2.5.12
+ VERSIONX=2501
+if [[ ${SMGL_COMPAT_ARCHS[1]} == "x86_64" ]]; then
+ ARCH=x64
+
SOURCE_HASH=sha512:e58a81bc1b50584701b61a81b826a4af7659876f22b2518cf93901e9d154d26678d634ab30e9a69e28d90a5c902e3a53cdf636fe91fd14c1b17855614bc1386e
+else
+ ARCH=i386
+
SOURCE_HASH=sha512:d298c90f71e1013c7ae971ff53d60c7d87d50db6494fed998e2be1cb89aada743dd43ca5cd7f6bcab4def968a85e0cc922ecd3c3b12ae961d047ac46c9d981fe
+fi
+ SOURCE=${SPELL}-${VERSION}_${ARCH}.tar.gz
+ SOURCEX=${SPELL}_${ARCH}.tar.gz
+
SOURCE_URL[0]=https://download-cdn.resilio.com/stable/linux-${ARCH}/cc/${VERSIONX}/${SOURCEX}
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOCS="LICENSE.TXT"
+ WEB_SITE=https://www.resilio.com/
+ LICENSE[0]=https://www.resilio.com/legal/eula
+ ENTERED=20180518
+ REJECT="is non-source"
+ SHORT="resilient, fast and scalable file synchronization tool"
+cat << EOF
+Resilio Sync is a proprietary peer-to-peer multiplatform file synchronization
+tool It can sync files between devices on a local network, or between remote
+devices over the Internet via a modified version of the BitTorrent protocol.
+EOF
diff --git a/z-ftp/resilio-sync/FINAL b/z-ftp/resilio-sync/FINAL
new file mode 100755
index 0000000..1571059
--- /dev/null
+++ b/z-ftp/resilio-sync/FINAL
@@ -0,0 +1,4 @@
+# binaries require /lib64
+if [ ! -d "${INSTALL_ROOT}/lib64" ]; then
+ ln -vsf "${TRACK_ROOT}/lib" "${INSTALL_ROOT}/lib64"
+fi
diff --git a/z-ftp/resilio-sync/HISTORY b/z-ftp/resilio-sync/HISTORY
new file mode 100644
index 0000000..7111f7a
--- /dev/null
+++ b/z-ftp/resilio-sync/HISTORY
@@ -0,0 +1,3 @@
+2018-05-18 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, INSTALL, {PRE_,}BUILD, CONFIGURE, UNATTEND_SAFE, FINAL,
+ init.d: created spell, version 2.5.12
diff --git a/z-ftp/resilio-sync/INSTALL b/z-ftp/resilio-sync/INSTALL
new file mode 100755
index 0000000..d40f61e
--- /dev/null
+++ b/z-ftp/resilio-sync/INSTALL
@@ -0,0 +1,9 @@
+install -vm 755 rslsync "${INSTALL_ROOT}/usr/sbin/rslsync" &&
+install -vm 700 -o rslsync -g rslsync -d "${INSTALL_ROOT}/var/lib/rslsync" &&
+
+install_config_file rslsync.conf.sample "${INSTALL_ROOT}/etc/rslsync.conf" &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "${SPELL_DIRECTORY}/init.d/resilio-sync.conf" \
+ "${INSTALL_ROOT}/etc/sysconfig/resilio-sync"
+fi
diff --git a/z-ftp/resilio-sync/PRE_BUILD b/z-ftp/resilio-sync/PRE_BUILD
new file mode 100755
index 0000000..9c31b7e
--- /dev/null
+++ b/z-ftp/resilio-sync/PRE_BUILD
@@ -0,0 +1,6 @@
+mkdir "${SOURCE_DIRECTORY}" &&
+cd "${SOURCE_DIRECTORY}" &&
+
+unpack_file &&
+
+./rslsync --dump-sample-config > rslsync.conf.sample
diff --git a/z-ftp/resilio-sync/UNATTEND_SAFE
b/z-ftp/resilio-sync/UNATTEND_SAFE
new file mode 100644
index 0000000..e69de29
diff --git a/z-ftp/resilio-sync/init.d/resilio-sync
b/z-ftp/resilio-sync/init.d/resilio-sync
new file mode 100755
index 0000000..eb11168
--- /dev/null
+++ b/z-ftp/resilio-sync/init.d/resilio-sync
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+. /etc/sysconfig/resilio-sync
+
+PROGRAM=/usr/sbin/rslsync
+PIDFILE=/var/lib/rslsync/sync.pid
+ARGS="$RSLSYNC_ARGS"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+start() {
+ echo "Starting $NAME..."
+
+ su rslsync -s /bin/sh -c "$PROGRAM $ARGS"
+ evaluate_retval
+}
diff --git a/z-ftp/resilio-sync/init.d/resilio-sync.conf
b/z-ftp/resilio-sync/init.d/resilio-sync.conf
new file mode 100644
index 0000000..2e3c246
--- /dev/null
+++ b/z-ftp/resilio-sync/init.d/resilio-sync.conf
@@ -0,0 +1,3 @@
+# For arguments and description see ``rslsync --help''
+
+RSLSYNC_ARGS="--config /etc/rslsync.conf --storage /var/lib/rslsync"



  • [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (d4b9c7ffbd1bf2d2e201324df52eae032ad0e088), Vlad Glagolev, 05/18/2018

Archive powered by MHonArc 2.6.24.

Top of Page