diff options
author | Mantas Mikulėnas | 2019-10-19 18:37:48 +0300 |
---|---|---|
committer | Mantas Mikulėnas | 2019-10-19 18:38:16 +0300 |
commit | 69efee7efcd47c1eda02e8df490c3ee51ab0a7ba (patch) | |
tree | b0161290e13572cbf1673c9f5fea98563992e1fa | |
parent | 71419d35b3fbff54ccb87854c3230278f3a5ed1e (diff) | |
download | aur-69efee7efcd47c1eda02e8df490c3ee51ab0a7ba.tar.gz |
do not automatically trust CA roots
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | rcsc-localsign.install | 8 |
3 files changed, 15 insertions, 5 deletions
@@ -1,8 +1,9 @@ pkgbase = rcsc-localsign pkgdesc = RCSC LocalSign smartcard signing server (for GoSign and Elektroninis.lt) pkgver = 20191015 - pkgrel = 1 + pkgrel = 2 url = http://www.elektroninis.lt/lt/paruosti-kompiuteri/nid-469 + install = rcsc-localsign.install arch = x86_64 makedepends = p7zip makedepends = python @@ -1,6 +1,6 @@ pkgname=rcsc-localsign pkgver=20191015 -pkgrel=1 +pkgrel=2 pkgdesc="RCSC LocalSign smartcard signing server (for GoSign and Elektroninis.lt)" url="http://www.elektroninis.lt/lt/paruosti-kompiuteri/nid-469" arch=(x86_64) @@ -20,6 +20,7 @@ sha256sums=('17915f63108bc3f5279581589ae2616d908c9a28a71125df4ccf3a5884ceddeb' '0536801fbb443b3e905fd6d70d8c81eb88551be8061299110d2b4f82e64cade1' 'c1bd62c20a74c779e4b2d645736663f8d7451dccce9c886f6e7c1bedfeb43128' '92f7673db77de2b46b1bf91870dbe9a28defb3f9b939e819af97cb6d30763945') +install=$pkgname.install build() { msg2 "Extracting InstallShield self-executable..." @@ -37,9 +38,9 @@ build() { } package() { - install -Dm644 -t "$pkgdir"/opt/RCSC/LocalSign cab_files/local_webserver.jar - install -Dm644 -t "$pkgdir"/usr/lib/systemd/system rcsc-localsign.service - install -Dm644 -t "$pkgdir"/usr/share/ca-certificates/trust-source/anchors *.pem + install -Dm644 -t "$pkgdir"/opt/RCSC/LocalSign/ cab_files/local_webserver.jar + install -Dm644 -t "$pkgdir"/usr/lib/systemd/system/ rcsc-localsign.service + install -Dm644 -t "$pkgdir"/usr/share/$pkgname/ *.crt } # vim: ts=2:sw=2:et diff --git a/rcsc-localsign.install b/rcsc-localsign.install new file mode 100644 index 000000000000..db605d680a32 --- /dev/null +++ b/rcsc-localsign.install @@ -0,0 +1,8 @@ +post_install() { + echo "Note: This service needs the RCSC Root CA certificate to be installed and trusted by your browser (for communications with https://localhost:8000/)." + echo "" + echo "To trust this CA certificate system-wide, run:" + echo "" + echo " sudo trust anchor /usr/share/rcsc-localsign/RCSC_RootCA_2017.crt" + echo "" +} |