From 01150ba0f85e7b6a45601bc6e706d522b081ecaf Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Tue, 23 Jan 2024 21:24:27 +0100 Subject: net-p2p/resilio-sync: Update glibc dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All glibc versions where missing crypt useflag indicated hard-enabled are gone. Signed-off-by: Andreas K. Hüttel --- .../resilio-sync/resilio-sync-2.7.2.1375-r1.ebuild | 80 ++++++++++++++++++++++ .../resilio-sync/resilio-sync-2.7.2.1375.ebuild | 80 ---------------------- 2 files changed, 80 insertions(+), 80 deletions(-) create mode 100644 net-p2p/resilio-sync/resilio-sync-2.7.2.1375-r1.ebuild delete mode 100644 net-p2p/resilio-sync/resilio-sync-2.7.2.1375.ebuild (limited to 'net-p2p/resilio-sync') diff --git a/net-p2p/resilio-sync/resilio-sync-2.7.2.1375-r1.ebuild b/net-p2p/resilio-sync/resilio-sync-2.7.2.1375-r1.ebuild new file mode 100644 index 000000000000..e1eb3e20ec3f --- /dev/null +++ b/net-p2p/resilio-sync/resilio-sync-2.7.2.1375-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker + +QA_PREBUILT="usr/bin/rslsync" +BASE_URI="http://download-cdn.resilio.com/${PV}/Debian/${PN}_${PV}-1_@arch@.deb" + +DESCRIPTION="Resilient, fast and scalable file synchronization tool" +HOMEPAGE="https://resilio.com/" +SRC_URI=" + amd64? ( ${BASE_URI/@arch@/amd64} ) + x86? ( ${BASE_URI/@arch@/i386} ) +" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + acct-group/rslsync + acct-user/rslsync +" + +RDEPEND=" + ${DEPEND} + || ( + sys-libs/libxcrypt[compat] + sys-libs/glibc[crypt(-)] + )" + +DOC_CONTENTS="You may need to review /etc/resilio-sync/config.json\\n +Default metadata path is /var/lib/resilio-sync/.sync\\n +Default web-gui URL is http://localhost:8888/\\n\\n" + +src_unpack() { + unpacker_src_unpack + + unpack usr/share/man/man1/resilio-sync.1.gz +} + +src_install() { + dobin usr/bin/rslsync + pax-mark m "${ED}"/usr/bin/rslsync + + doman resilio-sync.1 + + newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync + newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync + newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user + newconfd "${FILESDIR}"/resilio-sync-user.confd resilio-sync-user + systemd_dounit "${FILESDIR}"/resilio-sync.service + systemd_douserunit "${FILESDIR}"/resilio-sync-user.service + newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf + + readme.gentoo_create_doc + + # Generate sample config, uncomment config directives and change values + insopts -orslsync -grslsync -m0644 + insinto /etc/resilio-sync + newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \ + sed \ + -e "/storage_path/s|//| |g" \ + -e "/pid_file/s|//| |g" \ + -e "/storage_path/s|/home/user/.sync|/var/lib/resilio-sync/.sync|g" \ + -e "/pid_file/s|resilio/resilio|resilio-sync/resilio-sync|g" \ + || die "sed failed for config.json" ) + + diropts -orslsync -grslsync -m0700 + keepdir /etc/resilio-sync /var/lib/resilio-sync/.sync /var/log/resilio-sync +} + +pkg_postinst() { + tmpfiles_process resilio-sync.conf + readme.gentoo_print_elog +} diff --git a/net-p2p/resilio-sync/resilio-sync-2.7.2.1375.ebuild b/net-p2p/resilio-sync/resilio-sync-2.7.2.1375.ebuild deleted file mode 100644 index 8fa9b94c65f9..000000000000 --- a/net-p2p/resilio-sync/resilio-sync-2.7.2.1375.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker - -QA_PREBUILT="usr/bin/rslsync" -BASE_URI="http://download-cdn.resilio.com/${PV}/Debian/${PN}_${PV}-1_@arch@.deb" - -DESCRIPTION="Resilient, fast and scalable file synchronization tool" -HOMEPAGE="https://resilio.com/" -SRC_URI=" - amd64? ( ${BASE_URI/@arch@/amd64} ) - x86? ( ${BASE_URI/@arch@/i386} ) -" -S="${WORKDIR}" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="bindist mirror" - -DEPEND=" - acct-group/rslsync - acct-user/rslsync -" - -RDEPEND=" - ${DEPEND} - || ( - sys-libs/libxcrypt[compat] - sys-libs/glibc[crypt(+)] - )" - -DOC_CONTENTS="You may need to review /etc/resilio-sync/config.json\\n -Default metadata path is /var/lib/resilio-sync/.sync\\n -Default web-gui URL is http://localhost:8888/\\n\\n" - -src_unpack() { - unpacker_src_unpack - - unpack usr/share/man/man1/resilio-sync.1.gz -} - -src_install() { - dobin usr/bin/rslsync - pax-mark m "${ED}"/usr/bin/rslsync - - doman resilio-sync.1 - - newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync - newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync - newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user - newconfd "${FILESDIR}"/resilio-sync-user.confd resilio-sync-user - systemd_dounit "${FILESDIR}"/resilio-sync.service - systemd_douserunit "${FILESDIR}"/resilio-sync-user.service - newtmpfiles "${FILESDIR}"/resilio-sync.tmpfile resilio-sync.conf - - readme.gentoo_create_doc - - # Generate sample config, uncomment config directives and change values - insopts -orslsync -grslsync -m0644 - insinto /etc/resilio-sync - newins - config.json < <("${ED}"/usr/bin/rslsync --dump-sample-config | \ - sed \ - -e "/storage_path/s|//| |g" \ - -e "/pid_file/s|//| |g" \ - -e "/storage_path/s|/home/user/.sync|/var/lib/resilio-sync/.sync|g" \ - -e "/pid_file/s|resilio/resilio|resilio-sync/resilio-sync|g" \ - || die "sed failed for config.json" ) - - diropts -orslsync -grslsync -m0700 - keepdir /etc/resilio-sync /var/lib/resilio-sync/.sync /var/log/resilio-sync -} - -pkg_postinst() { - tmpfiles_process resilio-sync.conf - readme.gentoo_print_elog -} -- cgit v1.2.3-65-gdbad