summaryrefslogtreecommitdiff
path: root/app-misc/tails-installer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/tails-installer
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/tails-installer')
-rw-r--r--app-misc/tails-installer/Manifest7
-rw-r--r--app-misc/tails-installer/files/fix-desktop-file.patch28
-rw-r--r--app-misc/tails-installer/files/sgdisk.patch29
-rw-r--r--app-misc/tails-installer/metadata.xml11
-rw-r--r--app-misc/tails-installer/tails-installer-4.4.11.ebuild48
-rw-r--r--app-misc/tails-installer/tails-installer-4.4.8.ebuild48
6 files changed, 171 insertions, 0 deletions
diff --git a/app-misc/tails-installer/Manifest b/app-misc/tails-installer/Manifest
new file mode 100644
index 000000000000..ae788a344553
--- /dev/null
+++ b/app-misc/tails-installer/Manifest
@@ -0,0 +1,7 @@
+AUX fix-desktop-file.patch 1046 BLAKE2B c27059fdd3baf37ecab603c1f96d70927c967909a360371c8da0cf0bc34c78c5425a9e64af4582ec0b3de5b2a5328cb3d4248f999ddc662ce8370bec6377c4bc SHA512 9c51d36b6b97e7fd52aaacc8bae9b6dc16785c249eddc01cfa1ba3bd76b5badfd1b60e53c8735d6d206753e19d7ac48e7405d2bf69300c08391b94a0ca173dc0
+AUX sgdisk.patch 1138 BLAKE2B 1dcbc23924f592a619336827fa5c4bd21fb37f52070bbd44b08ec41c3dae8c8d09a322f2aeae9e0e67a2dce435cb9ddee7729d9e83e31fe3f06513f35f1ba934 SHA512 971e9b89acd7d175e7b6e44d3c31f7541721936e5cb7c08ba196b257170e841fb95965bbdfaffb2a9cf49f43e3ab05cde29136376b497ff3ba9741735c1cbc35
+DIST tails-installer-4.4.11.tar.gz 346123 BLAKE2B c6e0888cce180d411ab60a8098581da0df64ea6b2201076e58d6ae4d489feb5e9967fd67a457e8d333fad9934350d5df13044e02e2d428980bee335fd5420dcd SHA512 06d7e21f01841250ada8eca3dcb14078331450b61be4a15923fd0543970b9fb4284aba6cf12729515b2adff9dfa3f8a011e48d97a114356fff1edfd1eb914684
+DIST tails-installer-4.4.8.tar.gz 332532 BLAKE2B 5c597f38e8cfd690b56e1a08d98567278bcb12eb72cb292c02b77d497c8fc4925f5829efdbb3351fc5a30296d9138a07f2dc8077ada2e32bf7b04dff2f31193e SHA512 3a15d31d54ae17c12c1ba8346782f26678fbabcdd99582a5b43c75f520001ec01e5cc09b1832d0f7d346852f9eb30114135c92caff8690281469f35f23806a12
+EBUILD tails-installer-4.4.11.ebuild 1158 BLAKE2B 50a17a692c89d7ef4281b4d5523143027265dc7691b751013ff64df045a5b73366dcc39fcc4f05f3fa50b2129afd3210637c21ba63a2e38629e72878a1c906d6 SHA512 bb52088ac9b0a26824b894e85f13258710b6e4643c8cf3e6945aaa26973a7a65b3684713e251c83bccd77dbd66f1f5a23c655ac7368e50e8a55229fc4991b262
+EBUILD tails-installer-4.4.8.ebuild 1160 BLAKE2B 3eb26826d2ac9201bec0e8137effa1e3eff9e8f2b2d79a32f7c928768bfe51125181fb224e5c5e684717dcc0852f2705289d248bfc59da318cb833abade1fb12 SHA512 a8a7bcea7e1ffad14b6f11eb11024a3cbc3204043689cf8928201dd011bbd9d38a956914c16619c87c6a7126e2792269ccd4b951a672f3b79eede598e0b1600a
+MISC metadata.xml 398 BLAKE2B 89d09e8e687f1b78c7b57002ac5033c4f39e22b82b856487f31db3e7e5a2bc1786f416970e0f35c95bdabc3b8025326a4f85618b6891f14bcfd7881ac016e8d0 SHA512 6871f9133b0f24777a9046d0a5d51f2191a0b36bf1532d6e2d560df1e786940da997ec0cdfe59b45236e5650c907a2e7f1ebc4e7949de3dbea373db60edf3767
diff --git a/app-misc/tails-installer/files/fix-desktop-file.patch b/app-misc/tails-installer/files/fix-desktop-file.patch
new file mode 100644
index 000000000000..ef6b5880d445
--- /dev/null
+++ b/app-misc/tails-installer/files/fix-desktop-file.patch
@@ -0,0 +1,28 @@
+diff --git a/data/tails-installer-launcher.desktop b/data/tails-installer-launcher.desktop
+index b8a3f81..c7c5b2a 100644
+--- a/data/tails-installer-launcher.desktop
++++ b/data/tails-installer-launcher.desktop
+@@ -6,8 +6,8 @@ Name[sv]=Tails installerare
+ Comment=Install, clone, upgrade Tails
+ Comment[fr]=Installer, cloner, mettre à jour Tails
+ Comment[sv]=Installera, klona, uppgradera Tails
+-Icon=tails-installer.svg
++Icon=tails-installer
+ Exec=tails-installer-launcher
+ Terminal=false
+-Categories=System;Tails;
++Categories=System;
+ Keywords=Tails;Install;Upgrade;Update;Copy;Clone;Installer;USB;Installation;Anonymity;Tor;Anonymous;SD;Amnesic;Amnesia;
+diff --git a/data/tails-installer.desktop b/data/tails-installer.desktop
+index 7d7fd2c..a79b57a 100644
+--- a/data/tails-installer.desktop
++++ b/data/tails-installer.desktop
+@@ -2,7 +2,7 @@
+ Type=Application
+ Name=Tails Installer
+ Comment=Write operating system images to a USB device
+-Icon=tails-installer.svg
++Icon=tails-installer
+ Exec=tails-installer
+ Terminal=false
+ Categories=System;
diff --git a/app-misc/tails-installer/files/sgdisk.patch b/app-misc/tails-installer/files/sgdisk.patch
new file mode 100644
index 000000000000..21339b23ae6c
--- /dev/null
+++ b/app-misc/tails-installer/files/sgdisk.patch
@@ -0,0 +1,29 @@
+--- /tails_installer/creator.py
++++ /tails_installer/creator.py
+@@ -220,7 +220,7 @@
+ raise NotImplementedError
+
+ def update_system_partition_properties(self):
+- cmd = ( [ '/sbin/sgdisk' ]
++ cmd = ( [ '/usr/sbin/sgdisk' ]
+ + [ '--typecode=1:%s' % ESP_GUID ]
+ + [ self.drive['parent'] ])
+ self.popen(cmd, shell=False)
+@@ -235,7 +235,7 @@
+ if not device:
+ device = self.drive['device']
+
+- proc = self.popen(['/sbin/sgdisk', '--print', device], shell=False, passive=True)
++ proc = self.popen(['/usr/sbin/sgdisk', '--print', device], shell=False, passive=True)
+ if proc.returncode:
+ return False
+ return True
+@@ -249,7 +249,7 @@
+ # understand... while we want to make it do this reset
+ # precisely to fix that unreadable partition table issue.
+ # Chicken'n'egg, right.
+- self.popen(['/sbin/sgdisk', '--zap-all', device],
++ self.popen(['/usr/sbin/sgdisk', '--zap-all', device],
+ shell=False, passive=True)
+
+ def switch_drive_to_system_partition(self):
diff --git a/app-misc/tails-installer/metadata.xml b/app-misc/tails-installer/metadata.xml
new file mode 100644
index 000000000000..5d675ba1a31b
--- /dev/null
+++ b/app-misc/tails-installer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wizardedit@gentoo.org</email>
+ <name>Austin English</name>
+ </maintainer>
+ <longdescription>
+ Tails Installer is a graphical tool to install or upgrade Tails on a USB stick from an ISO image.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/tails-installer/tails-installer-4.4.11.ebuild b/app-misc/tails-installer/tails-installer-4.4.11.ebuild
new file mode 100644
index 000000000000..e67daaeac16f
--- /dev/null
+++ b/app-misc/tails-installer/tails-installer-4.4.11.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils
+
+DESCRIPTION="A graphical tool to install or upgrade Tails on a USB stick from an ISO image"
+HOMEPAGE="https://tails.boum.org https://git.tails.boum.org/liveusb-creator"
+SRC_URI="https://deb.tails.boum.org/pool/main/t/${PN}/${PN}_${PV}+dfsg.orig.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+PATCHES=( ${FILESDIR}/fix-desktop-file.patch ${FILESDIR}/sgdisk.patch )
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="${PYTHON_DEPS}
+ app-arch/p7zip
+ dev-libs/glib:2
+ dev-python/configobj[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/urlgrabber[${PYTHON_USEDEP}]
+ sys-apps/gptfdisk
+ sys-auth/polkit
+ sys-boot/syslinux
+ sys-fs/dosfstools
+ sys-fs/mtools
+ sys-fs/udisks:2[introspection]
+ virtual/cdrtools
+ x11-libs/gtk+:3[introspection]"
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/tails-installer/tails-installer-4.4.8.ebuild b/app-misc/tails-installer/tails-installer-4.4.8.ebuild
new file mode 100644
index 000000000000..95febfb28b2b
--- /dev/null
+++ b/app-misc/tails-installer/tails-installer-4.4.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils
+
+DESCRIPTION="A graphical tool to install or upgrade Tails on a USB stick from an ISO image"
+HOMEPAGE="https://tails.boum.org https://git.tails.boum.org/liveusb-creator"
+SRC_URI="https://deb.tails.boum.org/pool/main/t/${PN}/${PN}_${PV}+dfsg.orig.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+PATCHES=( ${FILESDIR}/fix-desktop-file.patch ${FILESDIR}/sgdisk.patch )
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="${PYTHON_DEPS}
+ app-arch/p7zip
+ dev-libs/glib:2
+ dev-python/configobj[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/urlgrabber[${PYTHON_USEDEP}]
+ sys-apps/gptfdisk
+ sys-auth/polkit
+ sys-boot/syslinux
+ sys-fs/dosfstools
+ sys-fs/mtools
+ sys-fs/udisks:2[introspection]
+ virtual/cdrtools
+ x11-libs/gtk+:3[introspection]"
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}