From 84c2517366c88572fcad44b782019811ae18f77b Mon Sep 17 00:00:00 2001 From: IT Offshore Date: Thu, 21 Nov 2013 14:16:57 +0000 Subject: FWKNOP - adding notes to access.conf 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'testing/fwknop') diff --git a/testing/fwknop/APKBUILD b/testing/fwknop/APKBUILD index aaf5f75c9..8890d1bb5 100644 --- a/testing/fwknop/APKBUILD +++ b/testing/fwknop/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=fwknop pkgver=2.5.1 -pkgrel=0 +pkgrel=1 pkgdesc="A Single Packet Authorization (SPA) implementation" url="http://www.cipherdyne.org/fwknop/" arch="all" @@ -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() { -- cgit v1.2.3