aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fwknop
diff options
context:
space:
mode:
authorIT Offshore <developer@it-offshore.co.uk>2013-11-21 14:16:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-22 14:59:40 +0000
commit84c2517366c88572fcad44b782019811ae18f77b (patch)
tree8a6c5eda0b2cb36ff448fa97e5f00c7c100afabe /testing/fwknop
parent48ce18a4656a6e1081477f85d496c7ebc16bf656 (diff)
downloadaports-84c2517366c88572fcad44b782019811ae18f77b.tar.bz2
aports-84c2517366c88572fcad44b782019811ae18f77b.tar.xz
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.
Diffstat (limited to 'testing/fwknop')
-rw-r--r--testing/fwknop/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/fwknop/APKBUILD b/testing/fwknop/APKBUILD
index aaf5f75c98..8890d1bb5b 100644
--- a/testing/fwknop/APKBUILD
+++ b/testing/fwknop/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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() {