diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2016-10-18 12:15:07 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-10-18 14:31:10 +0200 |
commit | 3e0f09f5933d9c39d5b7e70caf3b62a0cb182a8b (patch) | |
tree | a4d25a964261fe37dec196333c6a8b56eb29f854 /net-p2p | |
parent | net-p2p/syncthing: version bump to 0.14.9. (diff) | |
download | gentoo-3e0f09f5933d9c39d5b7e70caf3b62a0cb182a8b.tar.gz gentoo-3e0f09f5933d9c39d5b7e70caf3b62a0cb182a8b.tar.bz2 gentoo-3e0f09f5933d9c39d5b7e70caf3b62a0cb182a8b.zip |
net-p2p/syncthing: remove old.
Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2586
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/syncthing/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/syncthing/syncthing-0.13.10.ebuild | 101 |
2 files changed, 0 insertions, 102 deletions
diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest index 0edc0911a48d..1cc6b81936a7 100644 --- a/net-p2p/syncthing/Manifest +++ b/net-p2p/syncthing/Manifest @@ -1,4 +1,3 @@ -DIST syncthing-0.13.10.tar.gz 4292039 SHA256 a86c7948afabc6e7b07f217d5200fb1e36cde5bb13373d99cc67d5dc991ce3be SHA512 199c38644a7e5d43777ca2e497d5304d8e77485d21aeed9a00efc74dd98bfb0c473dd0bf3230b8e1e9742315915419f198bb8d0a9b294d2f6fe918b6e0175812 WHIRLPOOL a6f82ce032455e78122b9958ddab885b187bd7d46e1a00ca64f855d1ad6e3c25538b8304318ce7fba7753bd1ee17a91325a774ed27d8f1bcb635915937742b96 DIST syncthing-0.14.5.tar.gz 6387026 SHA256 32979e333a77dcd4e2ba9cb9c74404f9fd06891032c84b1285bcb779c9e132b6 SHA512 c60e3205624e49de34c17a77cf3a8e7af49572a53faa97a6dca7e57a7009c068f70f986e4e3f60774514e3b74a09edff4e6843563456d4ff97b408843a9a06fb WHIRLPOOL 6283cf0cf0440a1333f4a27bdc5fcef389df975d177cd0cd41f7174164c9b9abc79dddbb9a64c394808b8ec4fa77b1f92fd67f2276d9b0277886d1a25437ef4e DIST syncthing-0.14.6.tar.gz 6390369 SHA256 481d9e88db0c3b3e9b0c796fa6dbb62447f0da69022c77f0065370873b0909ff SHA512 2a6d7dda6f014b1fce75d3199afdde517344524356e3881bb3cac035adc53dae3401260f072099a60d31394279e386c1d0e661fe21a5df0f1bf6b9808017ba34 WHIRLPOOL e24ce88d5448d4f599a3de52c049d5eed3531d7072b9dbf731ec684e648b580f02b559e0b72f441b4bc41aeb8500e7e78cc2379aeb029b35c7b91bb7e411970e DIST syncthing-0.14.7.tar.gz 6434379 SHA256 5586f24e10e695bf2a3db1f2bfd2b8bf986753ecbc9919c922e2ba10c0bbb119 SHA512 883c8c7b060b7f216bcaf54393614f56f730772ccda91dc1c08545e26b439dca8532fcda1bd406ba07f32aad747af14174cd8d72be3349f5030d985ac90af0e3 WHIRLPOOL d736c6ade06e81b3de94a3dd72ef7888cfa1f30c3097870fde4ce80d332b9ee2dedfeae5bec9e511d63ac34b4828010147c5ab238a84d807f1c1c2047be28400 diff --git a/net-p2p/syncthing/syncthing-0.13.10.ebuild b/net-p2p/syncthing/syncthing-0.13.10.ebuild deleted file mode 100644 index 74577d231b01..000000000000 --- a/net-p2p/syncthing/syncthing-0.13.10.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -EGO_PN="github.com/syncthing/syncthing" -EGIT_COMMIT=v${PV} - -inherit golang-vcs-snapshot systemd user versionator - -DESCRIPTION="Open Source Continuous File Synchronization" -HOMEPAGE="https://syncthing.net" -SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~arm" -IUSE="tools" - -DOCS="README.md AUTHORS CONTRIBUTING.md" -PATCHES=( "${FILESDIR}/relaysrv.systemd.patch" ) - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} - - if use tools ; then - # separate user for relaysrv - enewgroup ${PN}-relaysrv - enewuser ${PN}-relaysrv -1 -1 /var/lib/${PN}-relaysrv ${PN}-relaysrv - fi -} - -src_compile() { - export GOPATH="${S}:$(get_golibdir_gopath)" - cd src/${EGO_PN} || die - # If we pass "build" to build.go, it builds only syncthing itself, and - # places the binary in the root folder. If we do not pass "build", all the - # tools are built, and all binaries are placed in folder ./bin. - ST_BUILD="build" - if use tools ; then - ST_BUILD="" - fi - go run build.go -version "v${PV}" -no-upgrade ${ST_BUILD} || die "build failed" -} - -src_test() { - cd src/${EGO_PN} || die - go run build.go test || die "test failed" -} - -src_install() { - cd src/${EGO_PN} || die - doman man/*.[157] - - if use tools ; then - dobin bin/syncthing - exeinto /usr/libexec/syncthing - for exe in bin/* ; do - [ "${exe}" = "bin/syncthing" ] || doexe "${exe}" - done - else - dobin syncthing - fi - - # openrc and systemd service files - systemd_dounit "${S}"/src/${EGO_PN}/etc/linux-systemd/system/${PN}@.service \ - "${S}"/src/${EGO_PN}/etc/linux-systemd/system/${PN}-resume.service - systemd_douserunit "${S}"/src/${EGO_PN}/etc/linux-systemd/user/${PN}.service - newconfd "${FILESDIR}/${PN}.confd" ${PN} - newinitd "${FILESDIR}/${PN}.initd" ${PN} - - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotate" ${PN} - - if use tools ; then - # openrc and systemd service files - systemd_dounit "${S}"/src/${EGO_PN}/cmd/relaysrv/etc/linux-systemd/${PN}-relaysrv.service - newconfd "${FILESDIR}/${PN}-relaysrv.confd" ${PN}-relaysrv - newinitd "${FILESDIR}/${PN}-relaysrv.initd" ${PN}-relaysrv - - keepdir /var/lib/${PN}-relaysrv - fowners ${PN}-relaysrv:${PN}-relaysrv /var/{lib,log}/${PN} - - insinto /etc/logrotate.d - newins "${FILESDIR}/syncthing-relaysrv.logrotate" syncthing-relaysrv - fi -} - -pkg_postinst() { - if [[ $(get_version_component_range 2) -gt \ - $(get_version_component_range 2 ${REPLACING_VERSIONS}) ]]; then - ewarn "Version ${PV} is not protocol-compatible with version" \ - "0.$(($(get_version_component_range 2) - 1)).x or lower." - ewarn "Make sure all your devices are running at least version" \ - "0.$(get_version_component_range 2).0." - fi -} |