summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2016-12-14 17:27:46 +0100
committerPatrice Clement <monsieurp@gentoo.org>2016-12-17 23:02:16 +0100
commitb8b8993132c16265a36687cc8d7f7fd15a9b5af7 (patch)
tree1947397172a6e4a686679e06de0a5752d4d90f16 /net-p2p/syncthing
parentnet-p2p/syncthing: version bump to 0.14.14. (diff)
downloadgentoo-b8b8993132c16265a36687cc8d7f7fd15a9b5af7.tar.gz
gentoo-b8b8993132c16265a36687cc8d7f7fd15a9b5af7.tar.bz2
gentoo-b8b8993132c16265a36687cc8d7f7fd15a9b5af7.zip
net-p2p/syncthing: remove vulnerable versions.
All versions prior to 0.14.14 suffer from serious vulnerabilities. https://github.com/syncthing/syncthing/releases/tag/v0.14.14 Package-Manager: portage-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/3116 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-p2p/syncthing')
-rw-r--r--net-p2p/syncthing/Manifest3
-rw-r--r--net-p2p/syncthing/syncthing-0.14.10.ebuild123
-rw-r--r--net-p2p/syncthing/syncthing-0.14.12.ebuild122
-rw-r--r--net-p2p/syncthing/syncthing-0.14.13.ebuild122
4 files changed, 0 insertions, 370 deletions
diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest
index 9c9a9ac6eba1..1c9a1772b819 100644
--- a/net-p2p/syncthing/Manifest
+++ b/net-p2p/syncthing/Manifest
@@ -1,4 +1 @@
-DIST syncthing-0.14.10.tar.gz 6439231 SHA256 abd0695f12a4bc1dbb9ac1c5f3a9caf7b20e3c2cdeee9ab3859d66df98070dce SHA512 69f9d7ab3b3df663604d0da272d35abcf47553ae7e0b825d22385a3331848621597d35c6bd4b9591231c1160d9fb2c8d368fb9845f0d2e80aef7833acb829b7a WHIRLPOOL bf63ee69f889ed54f5bded339224a131ef2aa9781df4cbfbfb7d279fe83c9268c9ca350ccbaa3f8509d46297e05754f2454d854d96966ef366340bc05fef29cd
-DIST syncthing-0.14.12.tar.gz 6464612 SHA256 0778785636e2c095f8f6cd353a206e0e1b1db37c40a4c79156a08eaaffcff81f SHA512 89e6bc7ae351da8904cb8d84af912f6864a66ad509dedbc74cda9ba2eaa5035f0e5123d76402070ca3251fde3caeb94eb25897cef23152265651a9478835bc9d WHIRLPOOL 66a96998d1aec638de770dc5fb424a46aa13d84e86a8584e7b41b2014ac3c1df2627eaf2faf42ddca11b0b9cf54cc676609a2483b307c7e8242f2ab8e37d5998
-DIST syncthing-0.14.13.tar.gz 6468568 SHA256 13bce8afff0814817a0d70cdd4deddcdb2fa46494561976ad75e238a0ffbdb47 SHA512 24f7f46e965df962a3759b1fdad15bded4b2b3c81a9a266798570b9686c3aad40a7ba99507ad5955ee2a5f1ed5224a8ba89b20459c65ca5f5338f2958d42fcf8 WHIRLPOOL 73d971209b1d6548b43e3209a019030278cafa69cf2e7b17ac442c3c3639c6867f0fd22ebcf96bf9fa4e071f9e053d75909b9d77684966837bba12ac3fafa7b1
DIST syncthing-0.14.14.tar.gz 5947169 SHA256 a719570ebe206a1ad97044db73d92298131d3858d5af8a22e579627592c52a4e SHA512 0b5934d87aa04b23e1059249c2dc3e4f1214825826e9c2b201487af33c991187e7b9909f41b29ee424cf4ec9d93be42f584af995eaee06d35297e0bfd8e316b4 WHIRLPOOL fa3c9aa13f5baea2600042763733469a7bdacb82c971c98f9fe0e430129fc3922fe118f356b312db33f35fbb12e18589b917ed7377ec90a14c3d2fd92e2eb84b
diff --git a/net-p2p/syncthing/syncthing-0.14.10.ebuild b/net-p2p/syncthing/syncthing-0.14.10.ebuild
deleted file mode 100644
index 1b9c50530737..000000000000
--- a/net-p2p/syncthing/syncthing-0.14.10.ebuild
+++ /dev/null
@@ -1,123 +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/${PN}/${PN}"
-
-inherit golang-vcs-snapshot systemd user versionator
-
-DESCRIPTION="Open Source Continuous File Synchronization"
-HOMEPAGE="https://syncthing.net"
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~arm"
-IUSE="tools"
-
-DOCS="README.md AUTHORS CONTRIBUTING.md"
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-
- if use tools ; then
- # separate user for the relay server
- enewgroup strelaysrv
- enewuser strelaysrv -1 -1 /var/lib/strelaysrv strelaysrv
- # and his home folder
- keepdir /var/lib/strelaysrv
- fowners strelaysrv:strelaysrv /var/lib/strelaysrv
- fi
-}
-
-src_prepare() {
- default
- sed -i \
- 's|^ExecStart=.*|ExecStart=/usr/libexec/syncthing/strelaysrv|' \
- src/${EGO_PN}/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
- || die
-}
-
-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]
- einstalldocs
-
- if use tools ; then
- dobin bin/syncthing
- exeinto /usr/libexec/syncthing
- local exe
- 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/strelaysrv/etc/linux-systemd/strelaysrv.service
- newconfd "${FILESDIR}/strelaysrv.confd" strelaysrv
- newinitd "${FILESDIR}/strelaysrv.initd" strelaysrv
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/strelaysrv.logrotate" strelaysrv
- fi
-}
-
-pkg_postinst() {
- local v
- for v in ${REPLACING_VERSIONS}; do
- if [[ $(get_version_component_range 2) -gt \
- $(get_version_component_range 2 ${v}) ]]; 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
- done
-
- # check if user syncthing-relaysrv exists
- # if yes, warn that it has been moved to strelaysrv
- if [[ -n "$(egetent passwd syncthing-relaysrv 2>/dev/null)" ]]; then
- ewarn
- ewarn "The user and group for the relay server have been changed"
- ewarn "from syncthing-relaysrv to strelaysrv"
- ewarn "The old user and group are not deleted automatically. Delete them by running:"
- ewarn " userdel -r syncthing-relaysrv"
- ewarn " groupdel syncthing-relaysrv"
- fi
-}
diff --git a/net-p2p/syncthing/syncthing-0.14.12.ebuild b/net-p2p/syncthing/syncthing-0.14.12.ebuild
deleted file mode 100644
index 14832b575a92..000000000000
--- a/net-p2p/syncthing/syncthing-0.14.12.ebuild
+++ /dev/null
@@ -1,122 +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/${PN}/${PN}"
-
-inherit golang-vcs-snapshot systemd user versionator
-
-DESCRIPTION="Open Source Continuous File Synchronization"
-HOMEPAGE="https://syncthing.net"
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~arm"
-IUSE="tools"
-
-DEPEND="tools? ( >=dev-lang/go-1.7.1:= )"
-
-DOCS=(README.md AUTHORS CONTRIBUTING.md)
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-
- if use tools ; then
- # separate user for the relay server
- enewgroup strelaysrv
- enewuser strelaysrv -1 -1 /var/lib/strelaysrv strelaysrv
- # and his home folder
- keepdir /var/lib/strelaysrv
- fowners strelaysrv:strelaysrv /var/lib/strelaysrv
- fi
-}
-
-src_prepare() {
- default
- sed -i \
- 's|^ExecStart=.*|ExecStart=/usr/libexec/syncthing/strelaysrv|' \
- src/${EGO_PN}/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
- || die
-}
-
-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.
- go run build.go -version "v${PV}" -no-upgrade $(usex tools "" "build") \
- || die "build failed"
-}
-
-src_test() {
- cd src/${EGO_PN} || die
- go run build.go test || die "test failed"
-}
-
-src_install() {
- pushd src/${EGO_PN} >& /dev/null || die
- doman man/*.[157]
- einstalldocs
-
- if use tools ; then
- dobin bin/syncthing
- exeinto /usr/libexec/syncthing
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == "bin/syncthing" ]] || doexe "${exe}"
- done
- else
- dobin syncthing
- fi
- popd >& /dev/null || die
-
- # openrc and systemd service files
- systemd_dounit src/${EGO_PN}/etc/linux-systemd/system/${PN}{@,-resume}.service
- systemd_douserunit 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 src/${EGO_PN}/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service
- newconfd "${FILESDIR}/strelaysrv.confd" strelaysrv
- newinitd "${FILESDIR}/strelaysrv.initd" strelaysrv
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/strelaysrv.logrotate" strelaysrv
- fi
-}
-
-pkg_postinst() {
- local v
- for v in ${REPLACING_VERSIONS}; do
- if [[ $(get_version_component_range 2) -gt \
- $(get_version_component_range 2 ${v}) ]]; 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
- done
-
- # check if user syncthing-relaysrv exists
- # if yes, warn that it has been moved to strelaysrv
- if [[ -n "$(egetent passwd syncthing-relaysrv 2>/dev/null)" ]]; then
- ewarn
- ewarn "The user and group for the relay server have been changed"
- ewarn "from syncthing-relaysrv to strelaysrv"
- ewarn "The old user and group are not deleted automatically. Delete them by running:"
- ewarn " userdel -r syncthing-relaysrv"
- ewarn " groupdel syncthing-relaysrv"
- fi
-}
diff --git a/net-p2p/syncthing/syncthing-0.14.13.ebuild b/net-p2p/syncthing/syncthing-0.14.13.ebuild
deleted file mode 100644
index 14832b575a92..000000000000
--- a/net-p2p/syncthing/syncthing-0.14.13.ebuild
+++ /dev/null
@@ -1,122 +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/${PN}/${PN}"
-
-inherit golang-vcs-snapshot systemd user versionator
-
-DESCRIPTION="Open Source Continuous File Synchronization"
-HOMEPAGE="https://syncthing.net"
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~arm"
-IUSE="tools"
-
-DEPEND="tools? ( >=dev-lang/go-1.7.1:= )"
-
-DOCS=(README.md AUTHORS CONTRIBUTING.md)
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-
- if use tools ; then
- # separate user for the relay server
- enewgroup strelaysrv
- enewuser strelaysrv -1 -1 /var/lib/strelaysrv strelaysrv
- # and his home folder
- keepdir /var/lib/strelaysrv
- fowners strelaysrv:strelaysrv /var/lib/strelaysrv
- fi
-}
-
-src_prepare() {
- default
- sed -i \
- 's|^ExecStart=.*|ExecStart=/usr/libexec/syncthing/strelaysrv|' \
- src/${EGO_PN}/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
- || die
-}
-
-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.
- go run build.go -version "v${PV}" -no-upgrade $(usex tools "" "build") \
- || die "build failed"
-}
-
-src_test() {
- cd src/${EGO_PN} || die
- go run build.go test || die "test failed"
-}
-
-src_install() {
- pushd src/${EGO_PN} >& /dev/null || die
- doman man/*.[157]
- einstalldocs
-
- if use tools ; then
- dobin bin/syncthing
- exeinto /usr/libexec/syncthing
- local exe
- for exe in bin/* ; do
- [[ "${exe}" == "bin/syncthing" ]] || doexe "${exe}"
- done
- else
- dobin syncthing
- fi
- popd >& /dev/null || die
-
- # openrc and systemd service files
- systemd_dounit src/${EGO_PN}/etc/linux-systemd/system/${PN}{@,-resume}.service
- systemd_douserunit 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 src/${EGO_PN}/cmd/strelaysrv/etc/linux-systemd/strelaysrv.service
- newconfd "${FILESDIR}/strelaysrv.confd" strelaysrv
- newinitd "${FILESDIR}/strelaysrv.initd" strelaysrv
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/strelaysrv.logrotate" strelaysrv
- fi
-}
-
-pkg_postinst() {
- local v
- for v in ${REPLACING_VERSIONS}; do
- if [[ $(get_version_component_range 2) -gt \
- $(get_version_component_range 2 ${v}) ]]; 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
- done
-
- # check if user syncthing-relaysrv exists
- # if yes, warn that it has been moved to strelaysrv
- if [[ -n "$(egetent passwd syncthing-relaysrv 2>/dev/null)" ]]; then
- ewarn
- ewarn "The user and group for the relay server have been changed"
- ewarn "from syncthing-relaysrv to strelaysrv"
- ewarn "The old user and group are not deleted automatically. Delete them by running:"
- ewarn " userdel -r syncthing-relaysrv"
- ewarn " groupdel syncthing-relaysrv"
- fi
-}