public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-lfs/
Date: Wed, 18 Nov 2020 15:24:48 +0000 (UTC)	[thread overview]
Message-ID: <1605713080.4f191086a4920e3b5a3d2183667a5ac88c3ab506.juippis@gentoo> (raw)

commit:     4f191086a4920e3b5a3d2183667a5ac88c3ab506
Author:     Nils Freydank <nils.freydank <AT> posteo <DOT> de>
AuthorDate: Tue Nov 10 08:59:07 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 15:24:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f191086

dev-vcs/git-lfs: Bump to 2.12.1

This bump includes some ebuild changes and reduces the binary size by
omission of debug symbols.

On the side the release includes a fix for CVE-2020-27955 (Unix not
affected, [1]).

[1] https://github.com/git-lfs/git-lfs/security/advisories/GHSA-4g4p-42wc-9f3m

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Nils Freydank <holgersson <AT> posteo.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-vcs/git-lfs/Manifest              |  1 +
 dev-vcs/git-lfs/git-lfs-2.12.1.ebuild | 62 +++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-vcs/git-lfs/Manifest b/dev-vcs/git-lfs/Manifest
index 0a2f26c8da8..613df178825 100644
--- a/dev-vcs/git-lfs/Manifest
+++ b/dev-vcs/git-lfs/Manifest
@@ -1 +1,2 @@
 DIST git-lfs-2.11.0.tar.gz 2839623 BLAKE2B e9d0e8ea37f19617a4f727abdc93c3c937052ad98b6ac40de27ced6b250789701797d04f1bf795b259e83155e5d8a1ca122dbf8b40503c2c41d6d891a3ecf096 SHA512 2117b425864a36f773c14d34c78999636d836646184cf8d89045ef6de90cbded873d4de4613ecfafb0fa2ea8ae068e11f5ae22eed6af01715b5fac9be70f033b
+DIST git-lfs-2.12.1.tar.gz 2848245 BLAKE2B 745a1ad252b925074a9ddfd9f899098dfca0b672b176178675652d910737f76c2c55aa502d0a544ad36a7eee00a464e12b9bb178ccd1fb118c2a96b362de80d1 SHA512 728bf414910a9a9106ea6769b939aae9ec25976e686399d0612e8ff99131a6571641b4121cb123ad6c32fc6dd59674ca50416a48e4771924b27062326df78ce0

diff --git a/dev-vcs/git-lfs/git-lfs-2.12.1.ebuild b/dev-vcs/git-lfs/git-lfs-2.12.1.ebuild
new file mode 100644
index 00000000000..f5a948c8f4f
--- /dev/null
+++ b/dev-vcs/git-lfs/git-lfs-2.12.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN=github.com/git-lfs/git-lfs
+inherit go-module
+
+DESCRIPTION="Command line extension and specification for managing large files with git"
+HOMEPAGE="https://git-lfs.github.com/"
+
+if [[ "${PV}" = 9999* ]]; then
+	EGIT_REPO_URI="https://${EGO_PN}"
+	inherit git-r3
+else
+	SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="Apache-2.0 BSD BSD-2 BSD-4 ISC MIT"
+SLOT="0"
+IUSE="doc test"
+
+BDEPEND="doc? ( app-text/ronn )"
+RDEPEND="dev-vcs/git"
+
+RESTRICT+=" !test? ( test )"
+
+src_compile() {
+	# Flags -w, -s: Omit debugging information to reduce binary size,
+	# see https://golang.org/cmd/link/.
+	local mygobuildargs=(
+		-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT} -s -w"
+		-mod vendor -v -work -x
+	)
+	go build "${mygobuildargs[@]}" -o git-lfs git-lfs.go || die
+
+	if use doc; then
+		ronn docs/man/*.ronn || die "man building failed"
+	fi
+}
+
+src_install() {
+	dobin git-lfs
+	dodoc {CHANGELOG,CODE-OF-CONDUCT,CONTRIBUTING,README}.md
+	use doc && doman docs/man/*.1
+}
+
+src_test() {
+	local mygotestargs=(
+		-ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT}"
+		-mod vendor
+	)
+	go test "${mygotestargs[@]}" ./... || die
+}
+
+pkg_postinst () {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		elog ""
+		elog "Run \'git lfs install\' once for each user account manually."
+		elog "For more details see https://bugs.gentoo.org/show_bug.cgi?id=733372."
+	fi
+}


             reply	other threads:[~2020-11-18 15:24 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 15:24 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-20 22:55 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-lfs/ Sam James
2025-01-15  5:39 Michał Górny
2025-01-15  5:39 Michał Górny
2024-12-01 11:45 Sam James
2024-12-01 11:45 Sam James
2024-12-01 11:45 Sam James
2024-07-11 11:01 Sam James
2024-04-09  6:59 Yixun Lan
2024-04-09  6:59 Yixun Lan
2023-09-25  6:33 Arthur Zamarin
2023-09-25  6:33 Arthur Zamarin
2023-08-08  5:27 Sam James
2023-08-08  5:27 Sam James
2023-08-08  5:27 Sam James
2023-07-26  2:53 Sam James
2023-07-26  2:53 Sam James
2023-06-12 14:06 Sam James
2023-04-25 22:16 Sam James
2023-04-10 22:17 Sam James
2023-03-04 13:22 Arthur Zamarin
2023-02-21  9:29 Sam James
2023-02-21  9:29 Sam James
2023-02-21  9:29 Sam James
2022-10-15  6:58 Jakov Smolić
2022-07-25  6:10 Joonas Niilola
2022-06-12  7:33 Joonas Niilola
2022-05-18 15:14 Joonas Niilola
2022-05-18 15:14 Joonas Niilola
2022-04-09 17:56 Agostino Sarubbo
2022-03-04  9:49 Joonas Niilola
2022-03-04  9:49 Joonas Niilola
2022-01-28  7:24 Sam James
2021-12-15  5:37 Sam James
2021-04-10  7:45 Joonas Niilola
2021-04-10  7:45 Joonas Niilola
2021-02-01 16:32 Sam James
2021-01-28  8:16 Joonas Niilola
2021-01-28  8:16 Joonas Niilola
2021-01-28  8:16 Joonas Niilola
2020-11-18 15:24 Joonas Niilola
2020-08-12 22:10 Thomas Deutschmann
2020-08-12 22:10 Thomas Deutschmann
2020-07-19 16:03 Sam James
2020-07-05 17:17 William Hubbs
2020-06-15 14:59 Agostino Sarubbo
2020-05-24 20:01 William Hubbs
2020-05-24 19:57 William Hubbs
2020-05-17 11:29 Joonas Niilola
2020-05-17 11:29 Joonas Niilola
2020-05-17 11:29 Joonas Niilola
2020-05-17 11:29 Joonas Niilola
2020-05-07 13:29 Agostino Sarubbo
2020-03-25 11:17 Joonas Niilola
2020-03-25 11:17 Joonas Niilola
2020-03-25 11:17 Joonas Niilola
2019-06-24 15:14 Michael Haubenwallner
2019-06-18  6:55 Ettore Di Giacinto
2019-06-18  6:55 Ettore Di Giacinto
2019-05-31  6:49 Agostino Sarubbo
2019-02-08 22:15 Ettore Di Giacinto
2019-02-08 22:15 Ettore Di Giacinto
2018-09-23 11:26 Ettore Di Giacinto
2018-09-23 11:26 Ettore Di Giacinto
2018-06-27 14:41 Ettore Di Giacinto
2018-06-27 14:41 Ettore Di Giacinto
2018-02-03 10:03 Ettore Di Giacinto
2017-10-01  8:27 Ettore Di Giacinto
2017-10-01  8:27 Ettore Di Giacinto
2017-09-24  9:22 Ettore Di Giacinto
2017-09-24  9:22 Ettore Di Giacinto
2017-07-20 17:11 Ettore Di Giacinto
2017-07-02 14:16 Ettore Di Giacinto
2017-07-02 14:16 Ettore Di Giacinto
2017-06-04 15:18 Ettore Di Giacinto
2017-05-21 11:14 Ettore Di Giacinto
2017-05-01 10:18 Ettore Di Giacinto
2017-05-01 10:18 Ettore Di Giacinto
2017-05-01 10:18 Ettore Di Giacinto
2017-03-31 14:10 Ettore Di Giacinto
2017-03-31 14:10 Ettore Di Giacinto
2017-03-08 10:17 Ettore Di Giacinto
2017-03-03  9:47 Ettore Di Giacinto
2017-02-23 14:25 Ettore Di Giacinto
2017-02-23 14:25 Ettore Di Giacinto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1605713080.4f191086a4920e3b5a3d2183667a5ac88c3ab506.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox