Commit 84c25173 authored by Stuart Cardall's avatar Stuart Cardall Committed by Natanael Copa

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.
parent 48ce18a4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fwknop pkgname=fwknop
pkgver=2.5.1 pkgver=2.5.1
pkgrel=0 pkgrel=1
pkgdesc="A Single Packet Authorization (SPA) implementation" pkgdesc="A Single Packet Authorization (SPA) implementation"
url="http://www.cipherdyne.org/fwknop/" url="http://www.cipherdyne.org/fwknop/"
arch="all" arch="all"
...@@ -45,6 +45,10 @@ package() { ...@@ -45,6 +45,10 @@ package() {
make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la || return 1 rm -f "$pkgdir"/usr/lib/*.la || return 1
install -Dm755 "$srcdir"/fwknopd.initd "$pkgdir"/etc/init.d/fwknopd 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() { server() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment