dev-go/text: Updated to v0.3.8

This fixes CVE-2022-32149.

BUG=b/270020717
TEST=presubmit
RELEASE_NOTE=Updated dev-go/text to v0.3.8. This
fixes CVE-2022-32149.

cos-patch: security-high
Change-Id: I889aaabe13ee67f8f76093f6867cad4fb74cfd76
Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/chromiumos-overlay/+/43288
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
(cherry picked from commit 68bc0a44ca9cce532f2a414787192182ca3ad492)
Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/chromiumos-overlay/+/43727
diff --git a/dev-go/text/Manifest b/dev-go/text/Manifest
index b5f706b..5fbd59b 100644
--- a/dev-go/text/Manifest
+++ b/dev-go/text/Manifest
@@ -1 +1 @@
-DIST go.googlesource.com-text-1cbadb444a806fd9430d14ad08967ed91da4fa0a.tar.gz 4588630 SHA256 e5776032458bfea51b87881b40de353045a832b87f09e689504878111acfe7ac SHA512 bbe9d84e17cb9ae041c9686c097c400a463bc427f44130b90fa0207c195444a9029f24ed6488cef87aef3d595380ac8a8460699e5c6297b9dde3eecd99f83a77 WHIRLPOOL a408613fcbe10f0655cbd0f8de7fb92d2ef126b3643455539c9d3ecf6d9c2fbdca31a0ca922249c62897452e745ced57784aa17faba0916f7779a79448b8af81
+DIST go.googlesource.com-text-v0.3.8.tar.gz 8305890 BLAKE2B bf41da4d5fdcaaadad48a2df4dbb97fa1ef6b2d11f8c667ff67f5e67ef6665031b482d3997a6301977845f0113e6c5b8f64abe3301ec8ab91e251ffafc6b4cd3 SHA512 6f822d69b70238ee7c907d89bd0dab9d2538e22cc73e256856c8f9f2877225acb6c052c0852aa4f412aa9acb8e6e47639cb4eec88800db30a58d5571af06ff67
diff --git a/dev-go/text/text-0.0.1-r2.ebuild b/dev-go/text/text-0.0.1-r2.ebuild
deleted file mode 120000
index 77fd2dc..0000000
--- a/dev-go/text/text-0.0.1-r2.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-text-0.0.1.ebuild
\ No newline at end of file
diff --git a/dev-go/text/text-0.0.1.ebuild b/dev-go/text/text-0.0.1.ebuild
deleted file mode 100644
index 4bdf574..0000000
--- a/dev-go/text/text-0.0.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2015 The Chromium OS Authors. All rights reserved.
-# Distributed under the terms of the GNU General Public License v2.
-
-EAPI=5
-
-CROS_GO_SOURCE="go.googlesource.com/text:golang.org/x/text 1cbadb444a806fd9430d14ad08967ed91da4fa0a"
-
-CROS_GO_PACKAGES=(
-	"golang.org/x/text/encoding"
-	"golang.org/x/text/encoding/charmap"
-	"golang.org/x/text/encoding/internal"
-	"golang.org/x/text/encoding/internal/identifier"
-	"golang.org/x/text/secure/bidirule"
-	"golang.org/x/text/transform"
-	"golang.org/x/text/unicode/bidi"
-	"golang.org/x/text/unicode/norm"
-)
-
-CROS_GO_TEST=(
-	"${CROS_GO_PACKAGES[@]}"
-)
-
-inherit cros-go
-
-DESCRIPTION="Go text processing support"
-HOMEPAGE="https://golang.org/x/text"
-SRC_URI="$(cros-go_src_uri)"
-
-LICENSE="BSD-Google"
-SLOT="0"
-KEYWORDS="*"
-IUSE=""
-RESTRICT="binchecks strip"
-
-DEPEND=""
-RDEPEND=""
diff --git a/dev-go/text/text-0.3.8-r1.ebuild b/dev-go/text/text-0.3.8-r1.ebuild
new file mode 100644
index 0000000..a5c2264
--- /dev/null
+++ b/dev-go/text/text-0.3.8-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022 The Chromium OS Authors. All rights reserved.
+# Distributed under the terms of the GNU General Public License v2.
+
+EAPI=7
+
+CROS_GO_SOURCE="go.googlesource.com/text:golang.org/x/text v${PV}"
+
+CROS_GO_PACKAGES=(
+	"golang.org/x/text/cases"
+	"golang.org/x/text/encoding"
+	"golang.org/x/text/encoding/charmap"
+	"golang.org/x/text/encoding/internal"
+	"golang.org/x/text/encoding/internal/identifier"
+	"golang.org/x/text/encoding/internal/enctest"
+	"golang.org/x/text/encoding/htmlindex"
+	"golang.org/x/text/encoding/japanese"
+	"golang.org/x/text/encoding/korean"
+	"golang.org/x/text/encoding/simplifiedchinese"
+	"golang.org/x/text/encoding/traditionalchinese"
+	"golang.org/x/text/encoding/unicode"
+	"golang.org/x/text/internal"
+	"golang.org/x/text/internal/gen"
+	"golang.org/x/text/internal/language"
+	"golang.org/x/text/internal/language/compact"
+	"golang.org/x/text/internal/tag"
+	"golang.org/x/text/internal/testtext"
+	"golang.org/x/text/internal/ucd"
+	"golang.org/x/text/internal/utf8internal"
+	"golang.org/x/text/language"
+	"golang.org/x/text/runes"
+	"golang.org/x/text/secure/bidirule"
+	"golang.org/x/text/transform"
+	"golang.org/x/text/unicode/bidi"
+	"golang.org/x/text/unicode/cldr"
+	"golang.org/x/text/unicode/norm"
+	"golang.org/x/text/unicode/rangetable"
+	"golang.org/x/text/unicode/runenames"
+	"golang.org/x/text/width"
+)
+
+CROS_GO_TEST=(
+	"${CROS_GO_PACKAGES[@]}"
+)
+
+inherit cros-go
+
+DESCRIPTION="Go text processing support"
+HOMEPAGE="https://golang.org/x/text"
+SRC_URI="$(cros-go_src_uri)"
+
+LICENSE="BSD-Google"
+SLOT="0"
+KEYWORDS="*"
+IUSE=""
+RESTRICT="binchecks strip"
+
+DEPEND=""
+RDEPEND=""
diff --git a/dev-go/text/text-0.3.8.ebuild b/dev-go/text/text-0.3.8.ebuild
new file mode 100644
index 0000000..a5c2264
--- /dev/null
+++ b/dev-go/text/text-0.3.8.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022 The Chromium OS Authors. All rights reserved.
+# Distributed under the terms of the GNU General Public License v2.
+
+EAPI=7
+
+CROS_GO_SOURCE="go.googlesource.com/text:golang.org/x/text v${PV}"
+
+CROS_GO_PACKAGES=(
+	"golang.org/x/text/cases"
+	"golang.org/x/text/encoding"
+	"golang.org/x/text/encoding/charmap"
+	"golang.org/x/text/encoding/internal"
+	"golang.org/x/text/encoding/internal/identifier"
+	"golang.org/x/text/encoding/internal/enctest"
+	"golang.org/x/text/encoding/htmlindex"
+	"golang.org/x/text/encoding/japanese"
+	"golang.org/x/text/encoding/korean"
+	"golang.org/x/text/encoding/simplifiedchinese"
+	"golang.org/x/text/encoding/traditionalchinese"
+	"golang.org/x/text/encoding/unicode"
+	"golang.org/x/text/internal"
+	"golang.org/x/text/internal/gen"
+	"golang.org/x/text/internal/language"
+	"golang.org/x/text/internal/language/compact"
+	"golang.org/x/text/internal/tag"
+	"golang.org/x/text/internal/testtext"
+	"golang.org/x/text/internal/ucd"
+	"golang.org/x/text/internal/utf8internal"
+	"golang.org/x/text/language"
+	"golang.org/x/text/runes"
+	"golang.org/x/text/secure/bidirule"
+	"golang.org/x/text/transform"
+	"golang.org/x/text/unicode/bidi"
+	"golang.org/x/text/unicode/cldr"
+	"golang.org/x/text/unicode/norm"
+	"golang.org/x/text/unicode/rangetable"
+	"golang.org/x/text/unicode/runenames"
+	"golang.org/x/text/width"
+)
+
+CROS_GO_TEST=(
+	"${CROS_GO_PACKAGES[@]}"
+)
+
+inherit cros-go
+
+DESCRIPTION="Go text processing support"
+HOMEPAGE="https://golang.org/x/text"
+SRC_URI="$(cros-go_src_uri)"
+
+LICENSE="BSD-Google"
+SLOT="0"
+KEYWORDS="*"
+IUSE=""
+RESTRICT="binchecks strip"
+
+DEPEND=""
+RDEPEND=""