summaryrefslogtreecommitdiff
path: root/app-misc/tails-installer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/tails-installer
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/tails-installer')
-rw-r--r--app-misc/tails-installer/Manifest8
-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, 172 insertions, 0 deletions
diff --git a/app-misc/tails-installer/Manifest b/app-misc/tails-installer/Manifest
new file mode 100644
index 000000000000..be781b12720d
--- /dev/null
+++ b/app-misc/tails-installer/Manifest
@@ -0,0 +1,8 @@
+AUX fix-desktop-file.patch 1046 SHA256 2bc2fc8a668789c03ba552418c5319d83e09dbadd0db45a860e9a0cb0d4c481b SHA512 9c51d36b6b97e7fd52aaacc8bae9b6dc16785c249eddc01cfa1ba3bd76b5badfd1b60e53c8735d6d206753e19d7ac48e7405d2bf69300c08391b94a0ca173dc0 WHIRLPOOL 6aaac6b56c77ebdbdfbcf99fcc0a302b30d717ab6ae30de072f98d5f4b5b2b58103440e6a2969c270d7b3eabc9daa92d83be967fd3956f4f7d25667afb81405c
+AUX sgdisk.patch 1138 SHA256 cb5ab1071803d30df4afe1df2e4d853ce202623c07e4797551f1ea7d38e90d9c SHA512 971e9b89acd7d175e7b6e44d3c31f7541721936e5cb7c08ba196b257170e841fb95965bbdfaffb2a9cf49f43e3ab05cde29136376b497ff3ba9741735c1cbc35 WHIRLPOOL d12c56191d9c267b8b3d0695117433f67d69aff5974ff05afe3cce624862023105b86f5448189eed5abc4ee439ba809cd31429a4c7e8defc8e5cacc02c2ae378
+DIST tails-installer-4.4.11.tar.gz 346123 SHA256 a2a1d0d54380156e07a84def509b5b1b9b60835e937d9df0fe0c3ed185622177 SHA512 06d7e21f01841250ada8eca3dcb14078331450b61be4a15923fd0543970b9fb4284aba6cf12729515b2adff9dfa3f8a011e48d97a114356fff1edfd1eb914684 WHIRLPOOL 2fad88bb6d623a9068006c456dcbb601cea852b7f57950f6d3015c5465645d1b7b8adfea5c23377db95f1fb69aec9a83c2f206a53eec619123fd53a960e1e983
+DIST tails-installer-4.4.8.tar.gz 332532 SHA256 09ea129474760bae44f46f208af2348cc65c42524ce62e34f0ac209ce52fe8b1 SHA512 3a15d31d54ae17c12c1ba8346782f26678fbabcdd99582a5b43c75f520001ec01e5cc09b1832d0f7d346852f9eb30114135c92caff8690281469f35f23806a12 WHIRLPOOL b1ff3a988c05e3d1520b7274d8034c508d12aac57f0f470a587ad68f61496d96c65b2c80d2b7efd83831e09274f8de7c9b21f258c1eaaf56f33e845dddf00feb
+EBUILD tails-installer-4.4.11.ebuild 1156 SHA256 1403ad4e782655bac517510f4da8bba1d7b0ecd57c40f6c5569b0f814861d804 SHA512 95c0b153f5127b9e26016ad4e18c441a85a556d46b82383036f2efe00baccbfa3fbb71f5a53896f460ea1c18f9d20b6a0de0933c06651864aaebf397acc55a08 WHIRLPOOL e63818a5e5b269cfc1bed4ee157900b92c033f1520c8b71ba248e5e063b0c029d3434b1180d3e2ad77ca10c3a50e83c189cda26fb465e4cb498f3994f3001cee
+EBUILD tails-installer-4.4.8.ebuild 1158 SHA256 ee472e1dd86f275b26440cb92e17a261dbcb475380103a1bf327c298c6e9fddb SHA512 83ec233a4800d5fb8311649c0673c97bc1f09a338001c82145f74d1e61d92f48c285d1abce01b22bd595d99e3fb18e15f83940d4be596ec424318617b9810616 WHIRLPOOL 1c35b7cd0ab258d051754198fb961ac48512c2442f8b740d23c89fcda8ec6ece0fe525fa58fd48320166e02e876695f552817f6fdf591b33e337016b02a0e674
+MISC ChangeLog 788 SHA256 d4924652d2da11f3a98589d7268c839821f08b8079296e669555091e55d550e0 SHA512 00cb3665166f8c49b6db28d63c99341a2f9c69ea6b7ea665750d80bab4c4036c9864e77aa760b6e1002137002559946d21500e3a68e9d53cfca2fe11c115f52e WHIRLPOOL 6559ab922fbdc5bc52c7d1188006b89c47c89ad6f79455dfce0c5297f9c4711e40d143e897f75951b8c856c4d928bfc9b351d07d4a4a5f160f035a01c3197abc
+MISC metadata.xml 398 SHA256 297e971b867a0310a8ef7abd5f0963529b8af9ea6f54858cc9f49266e88a8b80 SHA512 6871f9133b0f24777a9046d0a5d51f2191a0b36bf1532d6e2d560df1e786940da997ec0cdfe59b45236e5650c907a2e7f1ebc4e7949de3dbea373db60edf3767 WHIRLPOOL ef4c61eccd5f948cbf9fd01bdc23573016d509f4d97c6ab3ef892cd1d32eab993c76b0adc7a6e6d35d0e61a3a6099b76897ee5486894f80cf76d0039b77ad051
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..19426c959275
--- /dev/null
+++ b/app-misc/tails-installer/tails-installer-4.4.11.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 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 http://git.tails.boum.org/liveusb-creator"
+SRC_URI="http://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..2c3bb2dc3688
--- /dev/null
+++ b/app-misc/tails-installer/tails-installer-4.4.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 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 http://git.tails.boum.org/liveusb-creator"
+SRC_URI="http://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
+}