From eb17cef883968037fcc6177549d44a030f08b69c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Oct 2022 07:56:02 +0100 Subject: gentoo auto-resync : 18:10:2022 - 07:56:02 --- app-backup/Manifest.gz | Bin 8205 -> 8207 bytes app-backup/spideroak-bin/Manifest | 2 +- .../spideroak-bin/spideroak-bin-7.5.0-r1.ebuild | 107 -------------------- .../spideroak-bin/spideroak-bin-7.5.0-r2.ebuild | 108 +++++++++++++++++++++ 4 files changed, 109 insertions(+), 108 deletions(-) delete mode 100644 app-backup/spideroak-bin/spideroak-bin-7.5.0-r1.ebuild create mode 100644 app-backup/spideroak-bin/spideroak-bin-7.5.0-r2.ebuild (limited to 'app-backup') diff --git a/app-backup/Manifest.gz b/app-backup/Manifest.gz index b1adbe0e9743..9dd52d3d7584 100644 Binary files a/app-backup/Manifest.gz and b/app-backup/Manifest.gz differ diff --git a/app-backup/spideroak-bin/Manifest b/app-backup/spideroak-bin/Manifest index a19f6e230583..3480290a77ee 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-r1.ebuild 2734 BLAKE2B edded335d4b603ba6a4e27a21e17f5589630a3b04900e046daca2d15cb0164a82bd400e18f538b79eabb94a55e1a7dd0a9710211bfe03563455240f7ae58a688 SHA512 3c0a3016dd35889d0873429810846f810a1aaa29e53dfdb0beb905fb88e07141475d4fffbf7543477f6048ec17292401f1ee4993ee337ea5ee935f1c92ae421c +EBUILD spideroak-bin-7.5.0-r2.ebuild 2784 BLAKE2B f7a188186935ae51396242a659b6fc95a5d1b764f7f5d46dc9358599a93003afc15917cace104af2600c6e839296becfeea5af8ccb8ca82850741c7f60c9e3a8 SHA512 63eeeb2a65dc67cd785e9e206225e0a07de78bd5786597d8e538b6f8b43518b2aee8f950a6a41fda2edebe6758eb0d9c61af7012b29a20d9e08c0859e5ccf60a MISC metadata.xml 367 BLAKE2B 35e875f6930a45a018241b08aebd8cd6a8ad4cd36c504b774f58d2c2d05594edc0c2bd8625b5a1d1f28946d079165b8076b820e627fb671bfe62c2be67d2e38f SHA512 8ca0a2e05c8ad7bd949735534a5a6cca575de8fce832517aa89af31717022e9ef31920b79ccdf03873862dceeba13bea98dd67023b91d06812308354d8f944c0 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 deleted file mode 100644 index 9b91aa577c3c..000000000000 --- a/app-backup/spideroak-bin/spideroak-bin-7.5.0-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit desktop 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" || die - rm -f "${S}/opt/SpiderOakONE/lib/libgcc_s.so.1" || die - rm -f "${S}/opt/SpiderOakONE/lib/libpng12.so.0" || die - rm -f "${S}/opt/SpiderOakONE/lib/libz.so.1" || die - - 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} || die - - # Install the prebundled libraries - insinto /opt/SpiderOakONE - doins -r opt/SpiderOakONE/lib - - # Install the config files - if ! use dbus; then - rm -rf etc/dbus-1 || die - fi - - 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-r2.ebuild b/app-backup/spideroak-bin/spideroak-bin-7.5.0-r2.ebuild new file mode 100644 index 000000000000..897265b79cc9 --- /dev/null +++ b/app-backup/spideroak-bin/spideroak-bin-7.5.0-r2.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit desktop 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" || die + rm -f "${S}/opt/SpiderOakONE/lib/libgcc_s.so.1" || die + rm -f "${S}/opt/SpiderOakONE/lib/libpng12.so.0" || die + rm -f "${S}/opt/SpiderOakONE/lib/libz.so.1" || die + + 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} || die + + # Install the prebundled libraries + insinto /opt/SpiderOakONE + doins -r opt/SpiderOakONE/lib + + # Install the config files + if ! use dbus; then + rm -rf etc/dbus-1 || die + fi + + insinto / + doins -r etc + + # Install the manpage + gzip -d usr/share/man/man1/SpiderOakONE.1.gz || die + doman usr/share/man/man1/SpiderOakONE.1 + + 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