Date: Wednesday, December 14, 2022 @ 17:19:29 Author: eworm Revision: 464324
archrelease: copy trunk to testing-x86_64 Added: logrotate/repos/testing-x86_64/PKGBUILD (from rev 464323, logrotate/trunk/PKGBUILD) logrotate/repos/testing-x86_64/keys/ logrotate/repos/testing-x86_64/logrotate.conf (from rev 464323, logrotate/trunk/logrotate.conf) Deleted: logrotate/repos/testing-x86_64/PKGBUILD logrotate/repos/testing-x86_64/keys/ logrotate/repos/testing-x86_64/logrotate.conf ----------------+ PKGBUILD | 102 +++++++++++++++++++++++++++---------------------------- logrotate.conf | 76 ++++++++++++++++++++-------------------- 2 files changed, 89 insertions(+), 89 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-12-14 17:19:26 UTC (rev 464323) +++ PKGBUILD 2022-12-14 17:19:29 UTC (rev 464324) @@ -1,51 +0,0 @@ -# Maintainer: Pierre Schmitz <pie...@archlinux.de> - -pkgname=logrotate -pkgver=3.21.0 -pkgrel=1 -pkgdesc="Rotates system logs automatically" -arch=('x86_64') -url="https://github.com/logrotate/logrotate" -license=('GPL') -depends=('popt' 'gzip' 'acl') -backup=('etc/logrotate.conf') -source=("https://github.com/logrotate/logrotate/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc} - 'logrotate.conf') -sha256sums=('8fa12015e3b8415c121fc9c0ca53aa872f7b0702f543afda7e32b6c4900f6516' - 'SKIP' - '42e289081a4d6b144c89dbfc49bde7a01b383055bf90a05a764f8c3dee25a6ce') -validpgpkeys=('992A96E075056E79CD8214F9873DB37572A37B36') - -build() { - cd "$srcdir/${pkgname}-${pkgver}" - - ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --mandir=/usr/share/man \ - --with-compress-command=/usr/bin/gzip \ - --with-uncompress-command=/usr/bin/gunzip \ - --with-default-mail-command=/usr/bin/mail \ - --with-acl - make -} - -check() { - cd "$srcdir/${pkgname}-${pkgver}" - - make test -} - -package() { - cd "$srcdir/${pkgname}-${pkgver}" - - make DESTDIR="$pkgdir" install - - install -dm755 "$pkgdir/etc/logrotate.d" - install -Dm644 "$srcdir/logrotate.conf" "$pkgdir/etc/logrotate.conf" - - install -D -m644 examples/logrotate.timer "${pkgdir}/usr/lib/systemd/system/logrotate.timer" - install -D -m644 examples/logrotate.service "${pkgdir}/usr/lib/systemd/system/logrotate.service" - install -d -m755 "$pkgdir/usr/lib/systemd/system/timers.target.wants" - ln -s ../logrotate.timer "$pkgdir/usr/lib/systemd/system/timers.target.wants/logrotate.timer" -} Copied: logrotate/repos/testing-x86_64/PKGBUILD (from rev 464323, logrotate/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-12-14 17:19:29 UTC (rev 464324) @@ -0,0 +1,51 @@ +# Maintainer: Pierre Schmitz <pie...@archlinux.de> + +pkgname=logrotate +pkgver=3.21.0 +pkgrel=2 +pkgdesc="Rotates system logs automatically" +arch=('x86_64') +url="https://github.com/logrotate/logrotate" +license=('GPL') +depends=('popt' 'gzip' 'acl') +backup=('etc/logrotate.conf') +source=("https://github.com/logrotate/logrotate/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc} + 'logrotate.conf') +sha256sums=('8fa12015e3b8415c121fc9c0ca53aa872f7b0702f543afda7e32b6c4900f6516' + 'SKIP' + '42e289081a4d6b144c89dbfc49bde7a01b383055bf90a05a764f8c3dee25a6ce') +validpgpkeys=('992A96E075056E79CD8214F9873DB37572A37B36') + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --mandir=/usr/share/man \ + --with-compress-command=/usr/bin/gzip \ + --with-uncompress-command=/usr/bin/gunzip \ + --with-default-mail-command=/usr/bin/mail \ + --with-acl + make +} + +check() { + cd "$srcdir/${pkgname}-${pkgver}" + + make test +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + + make DESTDIR="$pkgdir" install + + install -dm755 "$pkgdir/etc/logrotate.d" + install -Dm644 "$srcdir/logrotate.conf" "$pkgdir/etc/logrotate.conf" + + install -D -m644 examples/logrotate.timer "${pkgdir}/usr/lib/systemd/system/logrotate.timer" + install -D -m644 examples/logrotate.service "${pkgdir}/usr/lib/systemd/system/logrotate.service" + install -d -m755 "$pkgdir/usr/lib/systemd/system/timers.target.wants" + ln -s ../logrotate.timer "$pkgdir/usr/lib/systemd/system/timers.target.wants/logrotate.timer" +} Deleted: logrotate.conf =================================================================== --- logrotate.conf 2022-12-14 17:19:26 UTC (rev 464323) +++ logrotate.conf 2022-12-14 17:19:29 UTC (rev 464324) @@ -1,38 +0,0 @@ -# see "man logrotate" for details -# rotate log files weekly -weekly - -# keep 4 weeks worth of backlogs -rotate 4 - -# restrict maximum size of log files -#size 20M - -# create new (empty) log files after rotating old ones -create - -# uncomment this if you want your log files compressed -#compress - -# Logs are moved into directory for rotation -# olddir /var/log/archive - -# Ignore pacman saved files -tabooext + .pacorig .pacnew .pacsave - -# Arch packages drop log rotation information into this directory -include /etc/logrotate.d - -/var/log/wtmp { - monthly - create 0664 root utmp - minsize 1M - rotate 1 -} - -/var/log/btmp { - missingok - monthly - create 0600 root utmp - rotate 1 -} Copied: logrotate/repos/testing-x86_64/logrotate.conf (from rev 464323, logrotate/trunk/logrotate.conf) =================================================================== --- logrotate.conf (rev 0) +++ logrotate.conf 2022-12-14 17:19:29 UTC (rev 464324) @@ -0,0 +1,38 @@ +# see "man logrotate" for details +# rotate log files weekly +weekly + +# keep 4 weeks worth of backlogs +rotate 4 + +# restrict maximum size of log files +#size 20M + +# create new (empty) log files after rotating old ones +create + +# uncomment this if you want your log files compressed +#compress + +# Logs are moved into directory for rotation +# olddir /var/log/archive + +# Ignore pacman saved files +tabooext + .pacorig .pacnew .pacsave + +# Arch packages drop log rotation information into this directory +include /etc/logrotate.d + +/var/log/wtmp { + monthly + create 0664 root utmp + minsize 1M + rotate 1 +} + +/var/log/btmp { + missingok + monthly + create 0600 root utmp + rotate 1 +}