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 139CADC077B for ; Fri, 22 Nov 2013 15:06:47 +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 64098BC38D7; Fri, 22 Nov 2013 15:06:46 +0000 (UTC) Date: Fri, 22 Nov 2013 16:06:43 +0100 From: Natanael Copa To: IT Offshore Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] FWKNOP - adding notes to access.conf Message-ID: <20131122160643.48b862b2@ncopa-desktop.alpinelinux.org> In-Reply-To: <1385043417-12445-1-git-send-email-developer@it-offshore.co.uk> References: <1385043417-12445-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 Thu, 21 Nov 2013 14:16:57 +0000 IT Offshore wrote: > Just a small patch to add 3 lines of notes to /etc/fwknop/access.conf > & undocumented GPG_ALLOW_NO_PW so gpg keys are setup correctly in an > automated environment. > --- > testing/fwknop/APKBUILD | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/testing/fwknop/APKBUILD b/testing/fwknop/APKBUILD > index aaf5f75..ff0ac31 100644 > --- a/testing/fwknop/APKBUILD > +++ b/testing/fwknop/APKBUILD > @@ -45,6 +45,10 @@ package() { > make DESTDIR="$pkgdir" install || return 1 > rm -f "$pkgdir"/usr/lib/*.la || return 1 > install -Dm755 "$srcdir"/fwknopd.initd "$pkgdir"/etc/init.d/fwknopd > + echo "# If using gnupg2 see http://www.gnupg.org/faq/GnuPG-FAQ.html#how-can-i-use-gnupg-in-an-automated-environment" >> "$pkgdir"/etc/fwknop/access.conf > + echo "# & sign the client public key on the server with a normal key which has a password" >> "$pkgdir"/etc/fwknop/access.conf > + echo "# disable GPG_DECRYPT_PW & enable the following variable:" >> "$pkgdir"/etc/fwknop/access.conf > + echo "#GPG_ALLOW_NO_PW: Y;" >> "$pkgdir"/etc/fwknop/access.conf > } > > server() { applied and bumped pkgrel and git commit --amend'ed it and pushed it. thanks! -nc PS. have a look at how the commit message looks like compared to the others: http://git.alpinelinux.org/cgit/aports/log/ --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---