aboutsummaryrefslogtreecommitdiff
path: root/share/hoarder
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-04-20 17:53:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-04-20 17:53:26 -0300
commit656ada4b067d74cb2c2b94aa8a735d8f4d46a1ae (patch)
tree88d761cc91dbc1cd324abc3d10fc9d4cc3d97718 /share/hoarder
parent57f63e3c7c977b2d5fac17131832cc81a768aa50 (diff)
downloadtrashman-656ada4b067d74cb2c2b94aa8a735d8f4d46a1ae.tar.gz
trashman-656ada4b067d74cb2c2b94aa8a735d8f4d46a1ae.tar.bz2
Adds hoarder/irpf2018 and trashman/oracle-java8
Diffstat (limited to 'share/hoarder')
-rw-r--r--share/hoarder/irpf2018/info1
-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
5 files changed, 36 insertions, 0 deletions
diff --git a/share/hoarder/irpf2018/info b/share/hoarder/irpf2018/info
new file mode 100644
index 0000000..fd712fc
--- /dev/null
+++ b/share/hoarder/irpf2018/info
@@ -0,0 +1 @@
+declaração de imposto de renda pessoa física - 2018
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