aboutsummaryrefslogtreecommitdiff
path: root/share/hoarder/irpf2018/unix
diff options
context:
space:
mode:
Diffstat (limited to 'share/hoarder/irpf2018/unix')
-rw-r--r--share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha11
-rw-r--r--share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha2561
-rw-r--r--share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha5121
-rwxr-xr-xshare/hoarder/irpf2018/unix/linux/install32
4 files changed, 35 insertions, 0 deletions
diff --git a/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha1 b/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha1
new file mode 100644
index 0000000..40718cb
--- /dev/null
+++ b/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha1
@@ -0,0 +1 @@
+68cd2fb7cfdce5392472c200afc5695f28f56e9f IRPF2018Linux-x86_64v1.4.bin
diff --git a/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha256 b/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha256
new file mode 100644
index 0000000..32626f0
--- /dev/null
+++ b/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha256
@@ -0,0 +1 @@
+27c44aa866ef4bb8f267ab40931bee19a053d5a6a888773f4d43ed37949c6de0 IRPF2018Linux-x86_64v1.4.bin
diff --git a/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha512 b/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha512
new file mode 100644
index 0000000..5810bc4
--- /dev/null
+++ b/share/hoarder/irpf2018/unix/linux/hashes/IRPF2018Linux-x86_64v1.4.bin.sha512
@@ -0,0 +1 @@
+fe06dddfd37b38f487d8d8007c45379d707e0c8a7ab83e0d3d7b755115c6170ec32d98102cc2504ebf7cf32c6398e9d4b02fc8a9411edf1e5844044d7876a715 IRPF2018Linux-x86_64v1.4.bin
diff --git a/share/hoarder/irpf2018/unix/linux/install b/share/hoarder/irpf2018/unix/linux/install
new file mode 100755
index 0000000..c2cc641
--- /dev/null
+++ b/share/hoarder/irpf2018/unix/linux/install
@@ -0,0 +1,32 @@
+#!/usr/bin/env sh
+#
+# Install IRPF 2018
+# Requires trashman/oracle-java8
+# https://idg.receita.fazenda.gov.br/interface/cidadao/irpf/2018/download/linux-bin-64-bits
+
+# Parameters
+SHARE="$1"
+LIB="$2"
+
+# Include basic functions
+. $LIB/trashman/functions || exit 1
+. $LIB/trashman/debian || exit 1
+
+# Working folder
+CWD="`pwd`"
+WORK="`mktemp -d`" || exit 1
+
+# Download
+cd $WORK &> /dev/null
+wget -c http://downloadirpf.receita.fazenda.gov.br/irpf/2018/irpf/arquivos/IRPF2018Linux-x86_64v1.4.bin || exit 1
+chmod +x IRPF2018Linux-x86_64v1.4.bin || exit 1
+./IRPF2018Linux-x86_64v1.4.bin || exit 1
+cp $SHARE/hoarder/unix/linux/hashes/* . || exit 1
+sha1sum -c IRPF2018Linux-x86_64v1.4.bin.sha1 || exit 1
+sha256sum -c IRPF2018Linux-x86_64v1.4.bin.sha256 || exit 1
+sha251sum -c IRPF2018Linux-x86_64v1.4.bin.sha512 || exit 1
+cd $CWD
+rm -rf $WORK || exit 1
+
+# Run
+#/usr/bin/java -Xms128M -Xmx512M -jar /home/user/ProgramasRFB/IRPF2018/irpf.jar