X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 5C106DC00FA for ; Thu, 21 Nov 2013 14:15:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=it-offshore.co.uk; s=default; h=Message-Id:Date:Subject:Cc:To:From; bh=kqQbRDd+g4Tio+Fzr79+kIx8FiUzsgZA8ixyOl2k/oE=; b=M7tsgb5dhfRGjZf1L77uayqSY1MJNcGkRtNobXC5jjqIuS+fNkYet92B8elg8NbP8N7UMfDA3jD/hntaH1ujrb6JQznSWt0yM+qdjKnlTJaPZnBQR9J8FpxBQKFh0JyV; Received: from [81.4.121.188] (port=59301 helo=alpine.my.domain) by apollo.thewebhostserver.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1VjV2h-003eYp-Qj; Thu, 21 Nov 2013 14:15:40 +0000 From: IT Offshore To: alpine-devel@lists.alpinelinux.org Cc: IT Offshore Subject: [alpine-devel] [PATCH] FWKNOP - adding notes to access.conf Date: Thu, 21 Nov 2013 14:16:57 +0000 Message-Id: <1385043417-12445-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 1.8.4.3 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-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: 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() { -- 1.8.4.3 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---