aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-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
-rw-r--r--share/trashman/oracle-java8/info1
-rwxr-xr-xshare/trashman/oracle-java8/unix/linux/debian/install21
7 files changed, 58 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
diff --git a/share/trashman/oracle-java8/info b/share/trashman/oracle-java8/info
new file mode 100644
index 0000000..55bf21c
--- /dev/null
+++ b/share/trashman/oracle-java8/info
@@ -0,0 +1 @@
+java 8 from oracle
diff --git a/share/trashman/oracle-java8/unix/linux/debian/install b/share/trashman/oracle-java8/unix/linux/debian/install
new file mode 100755
index 0000000..6bea746
--- /dev/null
+++ b/share/trashman/oracle-java8/unix/linux/debian/install
@@ -0,0 +1,21 @@
+#!/usr/bin/env sh
+#
+# https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-debian-8
+# http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
+# https://tecadmin.net/install-java-8-on-debian/
+# http://www.webupd8.org/p/ubuntu-ppas-by-webupd8.html
+# https://launchpad.net/~webupd8team/+archive/ubuntu/java
+
+# Parameters
+SHARE="$1"
+
+# Include basic functions
+. $SHARE/trashman/functions || exit 1
+. $SHARE/trashman/debian || exit 1
+
+# Requirements
+#trashman_apt_install_packages dirmngr
+#apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
+trashman_apt_install_packages software-properties-common
+add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main"
+trashman_apt_install_packages oracle-java8-installer