[arch-commits] CVS update of extra/daemons/knockd (PKGBUILD knockd.logrotate)

Aaron Griffin aaron at archlinux.org
Mon Dec 17 01:54:56 EST 2007


    Date: Monday, December 17, 2007 @ 01:54:56
  Author: aaron
    Path: /home/cvs-extra/extra/daemons/knockd

   Added: knockd.logrotate (1.1)
Modified: PKGBUILD (1.15 -> 1.16)

upgpkg: knockd 0.5-5
    Fix FS#5959


------------------+
 PKGBUILD         |   18 ++++++++++++------
 knockd.logrotate |    5 +++++
 2 files changed, 17 insertions(+), 6 deletions(-)


Index: extra/daemons/knockd/PKGBUILD
diff -u extra/daemons/knockd/PKGBUILD:1.15 extra/daemons/knockd/PKGBUILD:1.16
--- extra/daemons/knockd/PKGBUILD:1.15	Sun Oct  7 02:37:52 2007
+++ extra/daemons/knockd/PKGBUILD	Mon Dec 17 01:54:56 2007
@@ -1,16 +1,21 @@
-# $Id: PKGBUILD,v 1.15 2007/10/07 06:37:52 tpowa Exp $
-# Maintainer: judd <jvinet at zeroflux.org>
+# $Id: PKGBUILD,v 1.16 2007/12/17 06:54:56 aaron Exp $
+# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
 pkgname=knockd
 pkgver=0.5
-pkgrel=4
+pkgrel=5
 pkgdesc="A simple port-knocking daemon"
 arch=(i686 x86_64)
 url="http://www.zeroflux.org/knock/"
-license="GPL"
+license=(GPL)
 depends=('libpcap>=0.9.8')
 backup=('etc/knockd.conf')
-source=(http://www.zeroflux.org/knock/files/knock-$pkgver.tar.gz knockd)
-md5sums=('ca09d61458974cff90a700aba6120891' '72302d899887996694586c3d479de245')
+source=(http://www.zeroflux.org/knock/files/knock-$pkgver.tar.gz
+        knockd knockd.logrotate)
+md5sums=('ca09d61458974cff90a700aba6120891'
+         '72302d899887996694586c3d479de245'
+         '56a4113ec89ba2e96f79ab23c914d52a')
 
 build() {
   cd $startdir/src/knock-$pkgver
@@ -18,4 +23,5 @@
   make || return 1
   make DESTDIR=$startdir/pkg install
   install -D -m755 ../knockd $startdir/pkg/etc/rc.d/knockd
+  install -D -m644 ../knockd.logrotate $startdir/pkg/etc/logrotate.d/knockd
 }
Index: extra/daemons/knockd/knockd.logrotate
diff -u /dev/null extra/daemons/knockd/knockd.logrotate:1.1
--- /dev/null	Mon Dec 17 01:54:56 2007
+++ extra/daemons/knockd/knockd.logrotate	Mon Dec 17 01:54:56 2007
@@ -0,0 +1,5 @@
+/var/log/knockd.log {
+   missingok
+   notifempty
+   delaycompress
+}




More information about the arch-commits mailing list