X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id E0DB9DC0150 for ; Tue, 19 Nov 2013 16:00:34 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 51548BC3B65; Tue, 19 Nov 2013 16:00:34 +0000 (UTC) Date: Tue, 19 Nov 2013 17:00:30 +0100 From: Natanael Copa To: IT Offshore Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] Patch for PSAD to fix sending mail & service starting. Message-ID: <20131119170030.66195661@ncopa-desktop.alpinelinux.org> In-Reply-To: <1384814423-2342-1-git-send-email-developer@it-offshore.co.uk> References: <1384814423-2342-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.20; x86_64-alpine-linux-uclibc) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 18 Nov 2013 22:40:23 +0000 IT Offshore wrote: > Added start() to /etc/init.d/psad - it was not starting without it. It does start without it here... (after installing mailx) > > Added a dependency for mailx to APKBUILD & fixed /etc/psad/psad.conf setting for mail (ssmtp on it's own was not enough - mail was > incorrectly formed). > > Tested on a live server - scans are detected, blocked & email notifications sent. > --- > testing/psad/APKBUILD | 12 +++++++----- > testing/psad/psad.initd | 6 ++++++ > 2 files changed, 13 insertions(+), 5 deletions(-) > > diff --git a/testing/psad/APKBUILD b/testing/psad/APKBUILD > index 85c1530..0e899eb 100644 > --- a/testing/psad/APKBUILD > +++ b/testing/psad/APKBUILD > @@ -7,8 +7,7 @@ pkgdesc="3 lightweight system daemons that analyze iptables log messages to dete > url="http://cipherdyne.org/psad/" > arch="all" > license="GPL" > -depends="perl iptables ip6tables ssmtp psmisc perl-bit-vector perl-date-calc perl-iptables-chainmgr perl-iptables-parse perl-net-ipv4addr perl-unix-syslog net-tools" > -install="" > +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" why is ssmtp a hard dependency? what if you run local postfix? I applied it as is and bumped pkgrel so builder picks it up. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---