~alpine/devel

FWKNOP - adding notes to access.conf v1 PROPOSED

IT Offshore: 1
 FWKNOP - adding notes to access.conf

 1 files changed, 4 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/587/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] FWKNOP - adding notes to access.conf Export this patch

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
---