e2tools: upgraded package to upstream

Upgraded sys-fs/e2tools to version 0.1.0-r1 on amd64.

This is needed since latest sys-fs/e2fsprogs removed the dependency on
sys-libs/e2fsprogs-libs and included all the dependent code in
sys-fs/e2fsprogs. Due to this, upstream deleted sys-fs/e2fsprogs-libs.

BUG=b/230908058,b/230907566
TEST=presubmit
RELEASE_NOTE=Upgrade sys-fs/e2tools to v0.1.0.

Change-Id: I8eea776bfbbca6f5a20ba62dc1c5fa609de64ec9
Reviewed-on: https://cos-review.googlesource.com/c/third_party/overlays/portage-stable/+/33582
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
diff --git a/sys-fs/e2tools/Manifest b/sys-fs/e2tools/Manifest
index e3ee74c..20f3907 100644
--- a/sys-fs/e2tools/Manifest
+++ b/sys-fs/e2tools/Manifest
@@ -1 +1 @@
-DIST e2tools-0.0.16.tar.gz 72333 SHA256 4e3c8e17786ccc03fc9fb4145724edf332bb50e1b3c91b6f33e0e3a54861949b
+DIST e2tools-0.1.0.tar.gz 243245 BLAKE2B 62a1e478b71e9105274ba8b815f1f4765ecc05593de481c4ef384ff9463a0be811efe5f37bd3509393dfd3bdfb0103625e192ebcce52cbf896a6f7758cb50884 SHA512 5fde992727946d253acd46987944bdf49615d2ab45bbea715c86b304d117c6900dd70fcffb093f3d564247e27978b78b4710e7fea7ffd28375e804955fe4d5c9
diff --git a/sys-fs/e2tools/e2tools-0.0.16.ebuild b/sys-fs/e2tools/e2tools-0.0.16.ebuild
deleted file mode 100644
index 1d5050d..0000000
--- a/sys-fs/e2tools/e2tools-0.0.16.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2tools/e2tools-0.0.16.ebuild,v 1.1 2011/12/13 18:30:54 vapier Exp $
-
-EAPI="4"
-
-DESCRIPTION="utilities to read, write, and manipulate files in an ext2/ext3 filesystem"
-HOMEPAGE="http://home.earthlink.net/~k_sheff/sw/e2tools/index.html"
-SRC_URI="http://home.earthlink.net/~k_sheff/sw/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="*"
-IUSE=""
-
-DEPEND="sys-fs/e2fsprogs
-	sys-libs/e2fsprogs-libs"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	sed -i '/e2cp_LDADD/s:-L@[^@]*@::' Makefile.in || die
-}
diff --git a/sys-fs/e2tools/e2tools-0.1.0-r1.ebuild b/sys-fs/e2tools/e2tools-0.1.0-r1.ebuild
new file mode 100644
index 0000000..5a56cd8
--- /dev/null
+++ b/sys-fs/e2tools/e2tools-0.1.0-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="utilities to read, write, and manipulate files in an ext2/ext3 filesystem"
+HOMEPAGE="https://github.com/ndim/e2tools"
+SRC_URI="https://github.com/e2tools/e2tools/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="*"
+IUSE=""
+
+DEPEND="
+	sys-fs/e2fsprogs"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	tc-export CC
+	default
+}
diff --git a/sys-fs/e2tools/metadata.xml b/sys-fs/e2tools/metadata.xml
index 96a2d58..73dda14 100644
--- a/sys-fs/e2tools/metadata.xml
+++ b/sys-fs/e2tools/metadata.xml
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>base-system</herd>
+<maintainer type="project">
+	<email>base-system@gentoo.org</email>
+	<name>Gentoo Base System</name>
+</maintainer>
 </pkgmetadata>