net-p2p/syncthing - 1.27.12 (ryans)

Search

Install

Install this version:

emerge -a =net-p2p/syncthing-1.27.12

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-p2p/syncthing-1.27.12

Or alternatively:

emerge --autounmask-write -a =net-p2p/syncthing-1.27.12

Package Information

Description:
Open Source Continuous File Synchronization
Homepage:
https://syncthing.net
License:
Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 Unlicense

Ebuild Details

Version EAPI Keywords Slot
1.27.12 8 ~arm64-macos 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go

DESCRIPTION="Open Source Continuous File Synchronization"
HOMEPAGE="https://syncthing.net"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN}-source-v${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}"/${PN}

LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 Unlicense"
SLOT="0"
KEYWORDS="~arm64-macos"

BDEPEND=">=dev-lang/go-1.21.0"

DOCS=( README.md AUTHORS CONTRIBUTING.md )

src_compile() {
	GOARCH= go run build.go -version "v${PV}" \
		-no-upgrade \
		-build-out="${T}"/go-bin/ \
		${GOARCH:+-goarch="${GOARCH}"} \
		build syncthing || die "build failed"
}

src_test() {
	go run build.go test || die "test failed"
}

src_install() {
	go_src_install

	doman man/syncthing*.[157]
	einstalldocs
}

Inherited Eclasses

go

Dependencies

BDEPEND

>=dev-lang/go-1.21.0

Manifest for 1.27.12

Type File Size Source URLs
DIST syncthing-1.27.12.tar.gz 15553432 bytes https://github.com/syncthing/syncthing/releases/download/v1.27.12/syncthing-source-v1.27.12.tar.gz