[arch-commits] Commit in vsftpd/trunk (PKGBUILD vsftpd.logrotate)
Jonathan Steel
jsteel at nymeria.archlinux.org
Sun May 11 11:51:14 UTC 2014
Date: Sunday, May 11, 2014 @ 13:51:14
Author: jsteel
Revision: 110964
Added logrotate - FS#39696
Added:
vsftpd/trunk/vsftpd.logrotate
Modified:
vsftpd/trunk/PKGBUILD
------------------+
PKGBUILD | 15 ++++++++++-----
vsftpd.logrotate | 7 +++++++
2 files changed, 17 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-11 11:09:38 UTC (rev 110963)
+++ PKGBUILD 2014-05-11 11:51:14 UTC (rev 110964)
@@ -1,21 +1,24 @@
# $Id$
-# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
# Contributor: Andreas Radke <andyrtr at archlinux.org>
# Contributor: judd <jvinet at zeroflux.org>
pkgname=vsftpd
pkgver=3.0.2
-pkgrel=2
+pkgrel=3
pkgdesc="Very Secure FTP daemon"
arch=('i686' 'x86_64')
url="https://security.appspot.com/vsftpd.html"
license=('GPL2')
-depends=('openssl')
+depends=('libcap' 'pam')
+optdepends=('logrotate')
backup=('etc/vsftpd.conf' 'etc/xinetd.d/vsftpd')
install=vsftpd.install
source=(https://security.appspot.com/downloads/$pkgname-$pkgver.tar.gz{,.asc}
vsftpd.xinetd vsftpd-ssl.socket vsftpd.socket
- vsftpd.service vsftpd at .service vsftpd-ssl.service vsftpd-ssl at .service)
+ vsftpd.service vsftpd at .service vsftpd-ssl.service vsftpd-ssl at .service
+ $pkgname.logrotate)
sha256sums=('be46f0e2c5528fe021fafc8dab1ecfea0c1f183063a06977f8537fcd0b195e56'
'SKIP'
'5909f9b95479429c236170a06879d27d07ddda52d9c4c5543c961500c4cac2e0'
@@ -24,7 +27,8 @@
'50c392f373f8ce37aa226a9af7a6b038a8683ee3e041ebbad1bb483e47e8a1f8'
'd7b8e4827d4f6bafcbf52f9d2d7380958c7b08bb3f757806aa89d4bc06c9671c'
'b88a50fc68b3bf746d13c9a777df77791cd3eac6eb7c2df655418071c2adf422'
- '4a55c2468b08d858f71bacf1f4885847bec8e548b0e92088068d9bdd3884af84')
+ '4a55c2468b08d858f71bacf1f4885847bec8e548b0e92088068d9bdd3884af84'
+ 'a0df9d4e3d3b83ff32a15a9e3a98d79a0549a095a4f1c508346ffa6f8e335cd8')
build() {
cd $pkgname-$pkgver
@@ -45,6 +49,7 @@
install -D -m644 vsftpd.8 $pkgdir/usr/share/man/man8/vsftpd.8
install -D -m644 vsftpd.conf.5 $pkgdir/usr/share/man/man5/vsftpd.conf.5
install -D -m644 $srcdir/vsftpd.xinetd $pkgdir/etc/xinetd.d/vsftpd
+ install -D -m644 "$srcdir"/$pkgname.logrotate "$pkgdir"/etc/logrotate.d/$pkgname
install -D -m644 $srcdir/vsftpd.service $pkgdir/usr/lib/systemd/system/vsftpd.service
install -D -m644 $srcdir/vsftpd at .service $pkgdir/usr/lib/systemd/system/vsftpd at .service
Added: vsftpd.logrotate
===================================================================
--- vsftpd.logrotate (rev 0)
+++ vsftpd.logrotate 2014-05-11 11:51:14 UTC (rev 110964)
@@ -0,0 +1,7 @@
+/var/log/vsftpd.log {
+ missingok
+ notifempty
+ postrotate
+ /usr/bin/killall -HUP vsftpd
+ endscript
+}
More information about the arch-commits
mailing list