Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (ef2d284a9fc1b533e53709a633d50fcd973c86c5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (ef2d284a9fc1b533e53709a633d50fcd973c86c5)
  • Date: Sat, 3 Aug 2024 03:01:38 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

devel/github-cli/DETAILS | 1 +
devel/go/DETAILS | 2 +-
devel/go/HISTORY | 4 ++++
devel/go/INSTALL | 12 ++++--------
4 files changed, 10 insertions(+), 9 deletions(-)

New commits:
commit ef2d284a9fc1b533e53709a633d50fcd973c86c5
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

go: Simplify installation, PATCHLEVEL++

Use a single copy command to install everything; if binaries are not
installed alongside the rest they can't find the GOROOT:

$ go env
go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT
is not set

Instead, make symlinks at /usr/bin/.

commit d2c93224b830565f44175d608023a2441e786260
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

go: Remove obsolete note

commit 6c8e5258182e876a5c9a9f4410560b4c52c45184
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

github-cli: Add Watch line

diff --git a/devel/github-cli/DETAILS b/devel/github-cli/DETAILS
index 412f483..14875a4 100755
--- a/devel/github-cli/DETAILS
+++ b/devel/github-cli/DETAILS
@@ -1,3 +1,4 @@
+# Watch: https://github.com/cli/cli/tags
SPELL=github-cli
VERSION=1.3.1
SOURCE="$SPELL-$VERSION.tar.gz"
diff --git a/devel/go/DETAILS b/devel/go/DETAILS
index de95456..7bfd631 100755
--- a/devel/go/DETAILS
+++ b/devel/go/DETAILS
@@ -1,8 +1,8 @@
-# DO NOT UPDATE TO 1.20, see
https://bugs.sourcemage.org/show_bug.cgi?id=16147
# Watch: https://go.dev/dl/ /go([0-9.]+)[.]src
SPELL="go"
VERSION=1.22.5
SECURITY_PATCH=4
+ PATCHLEVEL=1
BOOTSTRAP_VERSION=$VERSION
SOURCE="${SPELL}${VERSION}.src.tar.gz"

SOURCE_HASH=sha512:798c2bd5d59be1fb5d7af98893fa7bb68322117facfdee546a37175ec5e8be634f2bed2d8d0e7d4d0555b354c8e9d72b3829c39670d3be2d2328376a00a48576
diff --git a/devel/go/HISTORY b/devel/go/HISTORY
index 4a3e861..b2360c5 100644
--- a/devel/go/HISTORY
+++ b/devel/go/HISTORY
@@ -1,3 +1,7 @@
+2024-08-02 Ismael Luceno <ismael AT sourcemage.org>
+ * INSTALL: simplified installation, fixes finding GOROOT
+ * DETAILS: PATCHLEVEL++
+
2024-07-06 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 1.22.5

diff --git a/devel/go/INSTALL b/devel/go/INSTALL
index 4c20398..66c543a 100755
--- a/devel/go/INSTALL
+++ b/devel/go/INSTALL
@@ -1,8 +1,4 @@
-mkdir -p ${INSTALL_ROOT}/opt/go &>/dev/null &&
-
-for d in doc lib src; do
- cp -r "${SOURCE_DIRECTORY}/${d}" "${INSTALL_ROOT}/opt/go/${d}"
-done &&
-cp -r "${SOURCE_DIRECTORY}/pkg" "${INSTALL_ROOT}/opt/go" &&
-
-install -m755 -o root -g root ${SOURCE_DIRECTORY}/bin/*
${INSTALL_ROOT}/usr/bin/
+cd "$SOURCE_DIRECTORY" &&
+install -vd "$INSTALL_ROOT"/opt/go &&
+cp -vr bin/ pkg/ doc/ lib/ src/ "$INSTALL_ROOT"/opt/go/ &&
+ln -vrsf "$INSTALL_ROOT"/opt/go/bin/* "$INSTALL_ROOT"/usr/bin/


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (ef2d284a9fc1b533e53709a633d50fcd973c86c5), Ismael Luceno, 08/02/2024

Archive powered by MHonArc 2.6.24.

Top of Page