summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-18 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-09-18 23:14:34 +0000
commitf57b139ded4e8c4b10555985513b3f9a70a70e12 (patch)
tree5c1e21523a0039ae25bd6237e79cc8158e068bd5 /community
parentc7fd3b08e227a739803d62e0bb3033ebe65da775 (diff)
Sun Sep 18 23:14:34 UTC 2011
Diffstat (limited to 'community')
-rw-r--r--community/calibre/PKGBUILD12
-rw-r--r--community/sshguard/PKGBUILD15
2 files changed, 18 insertions, 9 deletions
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 <giovanni@archlinux.org>
# Contributor: Petrov Roman <nwhisper@gmail.com>
# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
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 <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
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