Commit 2c1187d2 authored by Sören Tempel's avatar Sören Tempel Committed by Natanael Copa
Browse files

main/rsync: fix syntax error in logrotate file

From logrotate(8):

	Values are separated from directives by whitespace and/or an
	optional =. Numbers must be specified in a format understood by
	strtoul(3).

Since logrotate 3.18.1, logrotate emits a warning if the keyword is not
properly separated from the value [1]. This causes error messages such
as:

	rsyncd:5 keyword 'size' not properly separated, found 0x3d

During log rotation. This commit fixes the syntax error in the logrotate
script for rsyncd.

[1]: https://github.com/logrotate/logrotate/commit/2b588b5ec2e5c27bee857c4abeddafa6a9602ebc#diff-74eb92dd55d0dc52d3107aedbba99f2d7d68ba12b8ecdf9132c7ba3385b3e405

(cherry picked from commit c11dbe86)
parent 089e41c4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rsync
pkgver=3.2.3
pkgrel=1
pkgrel=2
pkgdesc="A file transfer program to keep remote files in sync"
url="https://rsync.samba.org/"
arch="all"
......@@ -74,8 +74,10 @@ rrsync() {
install -D -m 755 ./support/rrsync "$subpkgdir"/usr/bin/rrsync
}
sha512sums="48b68491f3ef644dbbbfcaec5ab90a1028593e02d50367ce161fd9d3d0bd0a3628bc57c5e5dec4be3a1d213f784f879b8a8fcdfd789ba0f99837cba16e1ae70e rsync-3.2.3.tar.gz
sha512sums="
48b68491f3ef644dbbbfcaec5ab90a1028593e02d50367ce161fd9d3d0bd0a3628bc57c5e5dec4be3a1d213f784f879b8a8fcdfd789ba0f99837cba16e1ae70e rsync-3.2.3.tar.gz
b9bf1aa02f96e4294642ead5751bd529ca1267c08e83a16342fba5736c3a8ec89568feb11fb737e974cb1bee7e00e7a8898d25844892366c6167b9ea8d1e647c rsyncd.initd
d91337cfb57e6e3b2a8ba1e24f7d851dd927bfc327da2212b9eb0acda0e1ca2f24987f6dcc4903eccc3bf170e0f115172b3cfa5a172700495296f26302c834d7 rsyncd.confd
3db8a2b364fc89132af6143af90513deb6be3a78c8180d47c969e33cb5edde9db88aad27758a6911f93781e3c9846aeadc80fffc761c355d6a28358853156b62 rsyncd.conf
b8d6c0bb467a5c963317dc55478d2c10874564cd264d943d4a42037e2fce134fe001fabc92af5c6b5775e84dc310b1c8da147afaa61c99e5663c36580d8651a5 rsyncd.logrotate"
e7ff164926785c4eff2ea641c7ce2d270b25f1c26d93a6108bb6ff2c0207a28ebfd93dca39596243446ce41aceaeae62fc2b34084eb9c9086fcdbc03a657eed8 rsyncd.logrotate
"
......@@ -2,7 +2,7 @@
compress
maxage 365
rotate 7
size=+1024k
size 1024k
notifempty
missingok
copytruncate
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment