From 77398e424e45d9e98c1cef3c43bdadb9d56e81ef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2019 13:21:36 +0000 Subject: gentoo resync : 10.11.2019 --- app-backup/spideroak-bin/Manifest | 2 +- .../spideroak-bin/spideroak-bin-7.5.0-r1.ebuild | 104 +++++++++++++++++++++ .../spideroak-bin/spideroak-bin-7.5.0.ebuild | 104 --------------------- 3 files changed, 105 insertions(+), 105 deletions(-) create mode 100644 app-backup/spideroak-bin/spideroak-bin-7.5.0-r1.ebuild delete mode 100644 app-backup/spideroak-bin/spideroak-bin-7.5.0.ebuild (limited to 'app-backup/spideroak-bin') diff --git a/app-backup/spideroak-bin/Manifest b/app-backup/spideroak-bin/Manifest index 5e8ab37b4078..721b6a868058 100644 --- a/app-backup/spideroak-bin/Manifest +++ b/app-backup/spideroak-bin/Manifest @@ -1,4 +1,4 @@ DIST spideroak-bin-7.5.0_amd64.deb 20758038 BLAKE2B ecd549ee0d479f576e8d50b44f4f7a13c4d24445af32f460d34081e5b654586f314399b34cff1c937e157582a143fee6b98641a68655552bb6d3609e532ceba4 SHA512 4af9f6b57d8748c03bccb0ab843cf27f70eac8e8cc5f11bb494c597d5fd29f475bf9c68bce8971d3cc1550a6def7bac6beed78fdfb31961b09be61ee14116ddd DIST spideroak-bin-7.5.0_x86.deb 24779422 BLAKE2B 8cdae243794e5de6a8326e335b539d004c0ba0f1121b85067acbffffbef67f4a0c785f3b794abb62a5eedfd459c8e4d5e48cf8848b005ba637150b286b13db22 SHA512 32504b6e6931f1e923d4202f0b3201c93190128d30767ec41ac11cf7c8c751b87094bdedcf44dda3ae8089543418366c5a78093b9236fee5f95e7f89a29141fc -EBUILD spideroak-bin-7.5.0.ebuild 2661 BLAKE2B 3dd8e3f73569d55ec6abb62a00130b91105c03a93634f42460762bb69c5586ea1600b9a74b0a7feefa131141af89f664cc42e295e6a332bb17c316ba6ff05477 SHA512 5e4f3a45e07c60ac58768af56647478acdb2cdce78fcae9060e2f3c5051699cabe58047330140d11eda27424aef28015f947b488b4e38e9c9917c1f21dae0651 +EBUILD spideroak-bin-7.5.0-r1.ebuild 2668 BLAKE2B 32c56a7d6397d39a95d0de93c30f5fd3518d072e538a514144c573f03bfbfd4401df315f0d38915d552e5bc6e0e245b11365fe16349028fb81b71a5f577100d8 SHA512 dcc39e3ff959651bf9e3db5841beccdff348c206307810ce31c99e44a5ebdd303870bdd809ece124bfcc269fce50d8ccc07dbededb0786c73cb589247b890417 MISC metadata.xml 352 BLAKE2B d51f327fe859d894ae43eebfeac7b983b9b450ebd190352dedaaa95f844d1df86c6e8ea6b7478dafbc419af1fa273760b0c53c02280050947058ba052650f53b SHA512 fd3c4eea494c4e8e5f093e5cc099577c2f944d0f05c6376798a1e7680e9b194c45719e09a6cec755054b174dd6f9039c69d10e863f0bec72b6a15420d0c9bd7b diff --git a/app-backup/spideroak-bin/spideroak-bin-7.5.0-r1.ebuild b/app-backup/spideroak-bin/spideroak-bin-7.5.0-r1.ebuild new file mode 100644 index 000000000000..bd12c7b9d6fd --- /dev/null +++ b/app-backup/spideroak-bin/spideroak-bin-7.5.0-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils unpacker + +DESCRIPTION="Secure free online backup, storage, and sharing system" +HOMEPAGE="https://spideroak.com" + +SRC_URI_BASE="https://spideroak.com/release/spideroak" +SRC_URI="x86? ( ${SRC_URI_BASE}/deb_x86 -> ${P}_x86.deb ) + amd64? ( ${SRC_URI_BASE}/deb_x64 -> ${P}_amd64.deb )" + +RESTRICT="mirror strip" + +LICENSE="spideroak" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dbus X" + +DEPEND="dev-util/patchelf" +RDEPEND=" + app-crypt/mit-krb5[keyutils] + media-libs/libpng-compat:1.2 + dbus? ( sys-apps/dbus ) + X? ( + media-libs/fontconfig + media-libs/freetype:2 + dev-libs/glib:2 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXrender + x11-libs/libXt + ) +" + +S=${WORKDIR} + +QA_PREBUILT="*" + +src_prepare() { + # Set RPATH for preserve-libs handling (bug #400979). + cd "${S}/opt/SpiderOakONE/lib" || die + local x + for x in `find` ; do + # Use \x7fELF header to separate ELF executables and libraries + [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue + patchelf --set-rpath '$ORIGIN' "${x}" || \ + die "patchelf failed on ${x}" + done + + #Remove the libraries that break compatibility in modern systems + #SpiderOak will use the system libs instead + rm -f "${S}/opt/SpiderOakONE/lib/libstdc++.so.6" + rm -f "${S}/opt/SpiderOakONE/lib/libgcc_s.so.1" + rm -f "${S}/opt/SpiderOakONE/lib/libpng12.so.0" + rm -f "${S}/opt/SpiderOakONE/lib/libz.so.1" + + eapply_user +} + +src_install() { + #install the wrapper script + exeinto /usr/bin + doexe usr/bin/SpiderOakONE + + # inotify_dir_watcher needs to be marked executable, bug #453266 + #chmod a+rx opt/SpiderOakONE/lib/inotify_dir_watcher + + #install the executable + exeinto /opt/SpiderOakONE/lib + doexe opt/SpiderOakONE/lib/SpiderOakONE + doexe opt/SpiderOakONE/lib/inotify_dir_watcher + rm -f opt/SpiderOakONE/lib/{SpiderOakONE,inotify_dir_watcher} + + #install the prebundled libraries + insinto /opt/SpiderOakONE + doins -r opt/SpiderOakONE/lib + + #install the config files + use dbus || rm -rf etc/dbus-1 + insinto / + doins -r etc + + #install the manpage + doman usr/share/man/man1/SpiderOakONE.1.gz + + if use X; then + domenu usr/share/applications/SpiderOakONE.desktop + doicon usr/share/pixmaps/SpiderOakONE.png + fi +} + +pkg_postinst() { + if ! use X; then + einfo "For instructions on running SpiderOakONE without a GUI, please read the FAQ:" + einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/" + einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/" + fi +} diff --git a/app-backup/spideroak-bin/spideroak-bin-7.5.0.ebuild b/app-backup/spideroak-bin/spideroak-bin-7.5.0.ebuild deleted file mode 100644 index e078ec2edc60..000000000000 --- a/app-backup/spideroak-bin/spideroak-bin-7.5.0.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils unpacker - -DESCRIPTION="Secure free online backup, storage, and sharing system" -HOMEPAGE="https://spideroak.com" - -SRC_URI_BASE="https://spideroak.com/release/spideroak" -SRC_URI="x86? ( ${SRC_URI_BASE}/deb_x86 -> ${P}_x86.deb ) - amd64? ( ${SRC_URI_BASE}/deb_x64 -> ${P}_amd64.deb )" - -RESTRICT="mirror strip" - -LICENSE="spideroak" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dbus X" - -DEPEND="dev-util/patchelf" -RDEPEND=" - app-crypt/mit-krb5[keyutils] - media-libs/libpng:1.2 - dbus? ( sys-apps/dbus ) - X? ( - media-libs/fontconfig - media-libs/freetype:2 - dev-libs/glib:2 - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXmu - x11-libs/libXrender - x11-libs/libXt - ) -" - -S=${WORKDIR} - -QA_PREBUILT="*" - -src_prepare() { - # Set RPATH for preserve-libs handling (bug #400979). - cd "${S}/opt/SpiderOakONE/lib" || die - local x - for x in `find` ; do - # Use \x7fELF header to separate ELF executables and libraries - [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue - patchelf --set-rpath '$ORIGIN' "${x}" || \ - die "patchelf failed on ${x}" - done - - #Remove the libraries that break compatibility in modern systems - #SpiderOak will use the system libs instead - rm -f "${S}/opt/SpiderOakONE/lib/libstdc++.so.6" - rm -f "${S}/opt/SpiderOakONE/lib/libgcc_s.so.1" - rm -f "${S}/opt/SpiderOakONE/lib/libpng12.so.0" - rm -f "${S}/opt/SpiderOakONE/lib/libz.so.1" - - eapply_user -} - -src_install() { - #install the wrapper script - exeinto /usr/bin - doexe usr/bin/SpiderOakONE - - # inotify_dir_watcher needs to be marked executable, bug #453266 - #chmod a+rx opt/SpiderOakONE/lib/inotify_dir_watcher - - #install the executable - exeinto /opt/SpiderOakONE/lib - doexe opt/SpiderOakONE/lib/SpiderOakONE - doexe opt/SpiderOakONE/lib/inotify_dir_watcher - rm -f opt/SpiderOakONE/lib/{SpiderOakONE,inotify_dir_watcher} - - #install the prebundled libraries - insinto /opt/SpiderOakONE - doins -r opt/SpiderOakONE/lib - - #install the config files - use dbus || rm -rf etc/dbus-1 - insinto / - doins -r etc - - #install the manpage - doman usr/share/man/man1/SpiderOakONE.1.gz - - if use X; then - domenu usr/share/applications/SpiderOakONE.desktop - doicon usr/share/pixmaps/SpiderOakONE.png - fi -} - -pkg_postinst() { - if ! use X; then - einfo "For instructions on running SpiderOakONE without a GUI, please read the FAQ:" - einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/" - einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/" - fi -} -- cgit v1.2.3