summaryrefslogtreecommitdiff
path: root/security/ssl-admin/files/patch-ssl-admin
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2023-08-20 13:50:04 +0000
committerDan Langille <dvl@FreeBSD.org>2023-08-20 14:37:04 +0000
commitda1328032e6388794830111ccc0c5a41d1380997 (patch)
treeba8e70c724a315f5eafc5d418108aecc7dbf0097 /security/ssl-admin/files/patch-ssl-admin
parentdevel/jetbrains-pty4j: enable on powerpc64le (diff)
security/ssl-admin: Use the right tarball
The developer has indicated the correcdt tarball supplied in the assets, not the tagged Github tarball. The Github tarball will provide the wrong VERSION in the app. Not mentioned in my previous commit: this release adds a new feature: C) Generate new Certificate Revokation List (CRL) While here: * run portfmt * remove dependency on archivers/zip by patching to use bsdtar from base (credit to diizzy@ for patch and help with this commit) Approved by: maintainer (via Github discussions)
Diffstat (limited to 'security/ssl-admin/files/patch-ssl-admin')
-rw-r--r--security/ssl-admin/files/patch-ssl-admin14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/ssl-admin/files/patch-ssl-admin b/security/ssl-admin/files/patch-ssl-admin
new file mode 100644
index 000000000000..8e5209204cd9
--- /dev/null
+++ b/security/ssl-admin/files/patch-ssl-admin
@@ -0,0 +1,14 @@
+--- ssl-admin.orig 2023-08-20 13:30:11 UTC
++++ ssl-admin
+@@ -476,9 +476,9 @@ sub menu_handler {
+ chomp($yn = <>);
+ } until $yn =~ m/^[yn]$/;
+ if ($yn eq "n"){
+- $zip_cmd = "cd $working_dir/packages/ && zip $cn.zip client.crt client.key ca.crt";
++ $zip_cmd = "cd $working_dir/packages/ && bsdtar -a -cf $cn.zip client.crt client.key ca.crt";
+ } else {
+- $zip_cmd = "cd $working_dir/packages/ && zip $cn.zip client.crt client.key ca.crt client.ovpn";
++ $zip_cmd = "cd $working_dir/packages/ && bsdtar -a -cf $cn.zip client.crt client.key ca.crt client.ovpn";
+ }
+ print "=================> Zipping File\n";
+ system($zip_cmd);