X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 9FF68DC832A for ; Tue, 30 Jun 2015 13:52:11 +0000 (UTC) Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 6BF71DC6ACC for ; Tue, 30 Jun 2015 13:52:11 +0000 (UTC) Received: from [81.4.121.188] (port=54735 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1Z9vxH-0033yG-Va; Tue, 30 Jun 2015 14:52:08 +0100 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH] testing/psad: temporarily disable whois lookups Date: Tue, 30 Jun 2015 13:51:58 +0000 Message-Id: <1435672318-1446-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.4.4 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.thewebhostserver.com X-AntiAbuse: Original Domain - lists.alpinelinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - it-offshore.co.uk X-Get-Message-Sender-Via: apollo.thewebhostserver.com: authenticated_id: developer@it-offshore.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: At the moment whois lookups trigger reboots on Alpine 3.1 & 3.2 so I don't think it's related to the new OpenRC version. Have raised an issue on github. --- testing/psad/APKBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/testing/psad/APKBUILD b/testing/psad/APKBUILD index 0815c56..e1cf8de 100644 --- a/testing/psad/APKBUILD +++ b/testing/psad/APKBUILD @@ -2,12 +2,13 @@ # Maintainer: Stuart Cardall pkgname=psad pkgver=2.4.1 -pkgrel=0 +pkgrel=1 pkgdesc="3 lightweight system daemons that analyze iptables log messages to detect port scans and other suspicious traffic" url="http://cipherdyne.org/psad/" arch="all" license="GPL" -depends="perl iptables ip6tables ssmtp mailx psmisc perl-bit-vector perl-date-calc perl-iptables-chainmgr perl-iptables-parse perl-net-ipv4addr perl-unix-syslog net-tools" +depends="perl iptables ip6tables ssmtp mailx psmisc perl-bit-vector perl-date-calc perl-iptables-chainmgr \ + perl-iptables-parse perl-net-ipv4addr perl-unix-syslog net-tools" subpackages="$pkgname-doc" source="http://cipherdyne.org/psad/download/$pkgname-nodeps-$pkgver.tar.gz psad.initd @@ -84,7 +85,7 @@ package() { chmod -R o+r $pkgdir/usr/sbin/* chmod 0700 $pkgdir/var/lib/psad #remove whois symbolic link - rm -rf $pkgdir/usr/bin/whois + rm f $pkgdir/usr/bin/whois # Fix the config sed -e "s|$pkgdir||" $pkgdir/etc/psad/psad.conf -i @@ -95,6 +96,9 @@ package() { "$pkgdir"/etc/init.d/$pkgname || return 1 install -m644 -D "$srcdir"/$pkgname.confd \ "$pkgdir"/etc/conf.d/$pkgname || return 1 + + # temporarily disable whois lookups https://github.com/mrash/psad/issues/22 + sed -i 's|ENABLE_WHOIS_LOOKUPS Y;|ENABLE_WHOIS_LOOKUPS N;|' "$pkgdir"/etc/psad/psad.conf } md5sums="acbb0ab7ae9a983386b8baee2a51b929 psad-nodeps-2.4.1.tar.gz -- 2.4.4 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---