aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fwknop
diff options
context:
space:
mode:
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() {