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 94DF5DC0244 for ; Fri, 15 Nov 2013 14:37:40 +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 EE3F6BC3ACE; Fri, 15 Nov 2013 14:37:39 +0000 (UTC) Date: Fri, 15 Nov 2013 15:37:36 +0100 From: Natanael Copa To: IT Offshore Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH 1/5] Initial APKBUILD for PSAD into Testing Message-ID: <20131115153736.00d5a583@ncopa-desktop.alpinelinux.org> In-Reply-To: <1384077540-7914-2-git-send-email-developer@it-offshore.co.uk> References: <1384077540-7914-1-git-send-email-developer@it-offshore.co.uk> <1384077540-7914-2-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 Sun, 10 Nov 2013 09:58:56 +0000 IT Offshore wrote: > Corrected patch for PSAD - the APKBUILD now provides the answers required by install.pl > so the package will build unattended. I looked at building the package the Redhat way > but the perl install script also preserves configuration settings on upgrades. > > Post-install script now only adds PSAD to the default runlevel & shows it's status as stopped. > --- > testing/psad/APKBUILD | 106 +++++++++++++++++++++++++++++++++++++++++ > testing/psad/psad.confd | 8 ++++ > testing/psad/psad.initd | 55 +++++++++++++++++++++ > testing/psad/psad.post-install | 6 +++ > 4 files changed, 175 insertions(+) > create mode 100644 testing/psad/APKBUILD > create mode 100644 testing/psad/psad.confd > create mode 100644 testing/psad/psad.initd > create mode 100644 testing/psad/psad.post-install I applied with some changes: * removed the post-install script * copied the stop() function from the provided initscript for gentoo and removed the start() as i believe the default start action will work. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---