[trunk] -> [extra] 'rsync-s6-20201018-1' add

master
Nathan Owens 2 years ago
parent 77bb085eca
commit 32b72ddb95
  1. 5
      trunk/PKGBUILD
  2. 6
      trunk/rsyncd-log.run
  3. 5
      trunk/rsyncd.install
  4. 5
      x86_64/extra/PKGBUILD
  5. 6
      x86_64/extra/rsyncd-log.run
  6. 5
      x86_64/extra/rsyncd.install

@ -1,7 +1,7 @@
# Maintainer: Dudemanguy <dudemanguy@artixlinux.org>
# Contributor: Nathan Owens <ndowens@artixlinux.org>
pkgname=rsync-s6
pkgver=20200910
pkgver=20201018
pkgrel=1
pkgdesc="s6 service scripts for rsync"
arch=('any')
@ -11,13 +11,14 @@ provides=('rsync-runscripts')
conflicts=('rsync-runscripts')
depends=('rsync' 's6')
install=rsyncd.install
backup=('etc/s6/sv/rsyncd-log/conf')
source=("rsyncd-srv."{type,run,producer-for}
"rsyncd-log."{type,run,conf,pipeline-name,consumer-for,notification-fd})
b2sums=('d64d49cff4f8f99eb08cf0a31d20f5b6908fabfcc055feab7d5b260bbdae4a39fc5e7be8d91a0d8f97ffe6da2d3924c4c3fa91be18130bc144fdd42a8e63de85'
'f1c8fbcf2d60cd2ea2a9a49bc3802c5a6a41290e514218b400febfe16a307db774787ebcb1ce28e657db447214e228bdbb6067883b6935adb049568e213101a7'
'9f04643e5bc6c633e70d3d947f1fe2d0681b46133742d843391c3e5d846f8917fbfe2cf0e7db69e1f23946030e1fb6c3dfbee391eebf16c2ae7541d76f4d0edc'
'd64d49cff4f8f99eb08cf0a31d20f5b6908fabfcc055feab7d5b260bbdae4a39fc5e7be8d91a0d8f97ffe6da2d3924c4c3fa91be18130bc144fdd42a8e63de85'
'cf63e7713b20b7aa228f66da426d69b60438194f03c0ccec3889998a3539313c31317bbe3e413ac3c14933877c2db95ac1e8b14451cbe6f26569c233128692e2'
'23bb9e4908a9307ce26eafba8f3328e5a4c1c2ccd74c3fdb64fe8b2489af6a72a7ef8f294c8b042b342018887a2138da2b3e701f0d96120ef1ca3a3c2dde0dcc'
'2a517d2f5dc7ddbfb2e24054c863167044f2ac414cc636f60d86b6373592ab6e960d42a8ef5c0058b186099a92b5b98915753f9b80220aed9003e7beb987ef05'
'3aacfd2f2fd3577ea2b9279279b0efc8ccdb64f8874326a8e70f9ffb62ed22d15b15cc3e1c0abc2a65229d7c6cdbfb6a4392c631d0d08bdd66ad205593f6310e'
'90bb9a90b98b72228a045728a111d5b57e0060ea873769d55e9612992ee0f70dc1516a1c89b347d3b9d8daa04c3852a8ed9b04de9dd24fbff09e9e4f0b1dc43b'

@ -1,5 +1,5 @@
#!/usr/bin/execlineb -P
envfile /etc/s6/sv/rsyncd-log/conf
importas -iu DIRECTIVES DIRECTIVES
foreground { if -n -t { test -d /var/log/rsyncd } install -d -m 0755 -o s6log -g s6log /var/log/rsyncd }
s6-setuidgid s6log exec -c sh -c "s6-log -d3 -b ${DIRECTIVES} /var/log/rsyncd"
envfile /etc/s6/sv/rsyncd-log/conf
importas -sCiu DIRECTIVES DIRECTIVES
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/rsyncd

@ -3,3 +3,8 @@ pre_remove() {
s6-rc -d change rsyncd
fi
}
post_remove() {
rm -rf /etc/s6/sv/rsyncd-srv
rm -rf /etc/s6/sv/rsyncd-log
}

@ -1,7 +1,7 @@
# Maintainer: Dudemanguy <dudemanguy@artixlinux.org>
# Contributor: Nathan Owens <ndowens@artixlinux.org>
pkgname=rsync-s6
pkgver=20200910
pkgver=20201018
pkgrel=1
pkgdesc="s6 service scripts for rsync"
arch=('any')
@ -11,13 +11,14 @@ provides=('rsync-runscripts')
conflicts=('rsync-runscripts')
depends=('rsync' 's6')
install=rsyncd.install
backup=('etc/s6/sv/rsyncd-log/conf')
source=("rsyncd-srv."{type,run,producer-for}
"rsyncd-log."{type,run,conf,pipeline-name,consumer-for,notification-fd})
b2sums=('d64d49cff4f8f99eb08cf0a31d20f5b6908fabfcc055feab7d5b260bbdae4a39fc5e7be8d91a0d8f97ffe6da2d3924c4c3fa91be18130bc144fdd42a8e63de85'
'f1c8fbcf2d60cd2ea2a9a49bc3802c5a6a41290e514218b400febfe16a307db774787ebcb1ce28e657db447214e228bdbb6067883b6935adb049568e213101a7'
'9f04643e5bc6c633e70d3d947f1fe2d0681b46133742d843391c3e5d846f8917fbfe2cf0e7db69e1f23946030e1fb6c3dfbee391eebf16c2ae7541d76f4d0edc'
'd64d49cff4f8f99eb08cf0a31d20f5b6908fabfcc055feab7d5b260bbdae4a39fc5e7be8d91a0d8f97ffe6da2d3924c4c3fa91be18130bc144fdd42a8e63de85'
'cf63e7713b20b7aa228f66da426d69b60438194f03c0ccec3889998a3539313c31317bbe3e413ac3c14933877c2db95ac1e8b14451cbe6f26569c233128692e2'
'23bb9e4908a9307ce26eafba8f3328e5a4c1c2ccd74c3fdb64fe8b2489af6a72a7ef8f294c8b042b342018887a2138da2b3e701f0d96120ef1ca3a3c2dde0dcc'
'2a517d2f5dc7ddbfb2e24054c863167044f2ac414cc636f60d86b6373592ab6e960d42a8ef5c0058b186099a92b5b98915753f9b80220aed9003e7beb987ef05'
'3aacfd2f2fd3577ea2b9279279b0efc8ccdb64f8874326a8e70f9ffb62ed22d15b15cc3e1c0abc2a65229d7c6cdbfb6a4392c631d0d08bdd66ad205593f6310e'
'90bb9a90b98b72228a045728a111d5b57e0060ea873769d55e9612992ee0f70dc1516a1c89b347d3b9d8daa04c3852a8ed9b04de9dd24fbff09e9e4f0b1dc43b'

@ -1,5 +1,5 @@
#!/usr/bin/execlineb -P
envfile /etc/s6/sv/rsyncd-log/conf
importas -iu DIRECTIVES DIRECTIVES
foreground { if -n -t { test -d /var/log/rsyncd } install -d -m 0755 -o s6log -g s6log /var/log/rsyncd }
s6-setuidgid s6log exec -c sh -c "s6-log -d3 -b ${DIRECTIVES} /var/log/rsyncd"
envfile /etc/s6/sv/rsyncd-log/conf
importas -sCiu DIRECTIVES DIRECTIVES
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/rsyncd

@ -3,3 +3,8 @@ pre_remove() {
s6-rc -d change rsyncd
fi
}
post_remove() {
rm -rf /etc/s6/sv/rsyncd-srv
rm -rf /etc/s6/sv/rsyncd-log
}

Loading…
Cancel
Save