From f57b139ded4e8c4b10555985513b3f9a70a70e12 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 18 Sep 2011 23:14:34 +0000 Subject: Sun Sep 18 23:14:34 UTC 2011 --- community/calibre/PKGBUILD | 12 ++++++------ community/sshguard/PKGBUILD | 15 ++++++++++++--- 2 files changed, 18 insertions(+), 9 deletions(-) (limited to 'community') diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD index 33b5cc2a5..5f07b3ecc 100644 --- a/community/calibre/PKGBUILD +++ b/community/calibre/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 55511 2011-09-13 21:33:02Z ebelanger $ +# $Id: PKGBUILD 55681 2011-09-17 19:15:18Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Petrov Roman # Contributor: Andrea Fagiani pkgname=calibre -pkgver=0.8.18 -pkgrel=2 +pkgver=0.8.19 +pkgrel=1 pkgdesc="Ebook management application" arch=('i686' 'x86_64') url="http://calibre-ebook.com/" @@ -18,9 +18,9 @@ depends=('python2-dateutil' 'python2-cssutils' 'python2-cherrypy' makedepends=('python2-pycountry') optdepends=('ipython: to use calibre-debug') install=calibre.install -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz - desktop_integration.patch) -md5sums=('6347327567c92ce7ebf82b308e1f6610' +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'desktop_integration.patch') +md5sums=('156c1fb275b774ce971f4ef820b9885d' '253ce4fe5d01f8ff76b63cd3825755ea') build() { diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD index d49e1f99a..0de299933 100644 --- a/community/sshguard/PKGBUILD +++ b/community/sshguard/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 55622 2011-09-16 11:14:14Z spupykin $ +# $Id: PKGBUILD 55676 2011-09-17 17:07:50Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin pkgname=sshguard pkgver=1.5 -pkgrel=2 +pkgrel=3 pkgdesc="brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" arch=('i686' 'x86_64') #url="http://sourceforge.net/projects/sshguard/" url="http://www.sshguard.net/" license=('GPL') -depends=('glibc') +depends=('iptables') options=(zipman) install=sshguard.install source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.bz2" @@ -24,6 +24,15 @@ build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --with-firewall=iptables make +} + +check() { + cd $srcdir/$pkgname-$pkgver + strings src/sshguard | grep -E "^`which iptables`[[:space:]]" >/dev/null +} + +package() { + cd $srcdir/$pkgname-$pkgver make prefix=$pkgdir/usr install install -Dm0755 $srcdir/sshguard.rc $pkgdir/etc/rc.d/sshguard install -Dm0644 $srcdir/sshguard.conf.d $pkgdir/etc/conf.d/sshguard -- cgit v1.2.3-54-g00ecf