summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-18 19:04:17 +0100
committerSam James <sam@gentoo.org>2022-04-18 19:04:17 +0100
commitb45d2ac157b1438da51e161ee506a322afabb39e (patch)
tree6e219debd9209269525097c2307d66f814241e09 /net-misc/fakeidentd
parentedo.eclass: update eclassdoc to clarify purpose (diff)
downloadgentoo-b45d2ac157b1438da51e161ee506a322afabb39e.tar.gz
gentoo-b45d2ac157b1438da51e161ee506a322afabb39e.tar.bz2
gentoo-b45d2ac157b1438da51e161ee506a322afabb39e.zip
net-misc/fakeidentd: update EAPI 6 -> 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/fakeidentd')
-rw-r--r--net-misc/fakeidentd/fakeidentd-2.6-r1.ebuild20
-rw-r--r--net-misc/fakeidentd/metadata.xml2
2 files changed, 8 insertions, 14 deletions
diff --git a/net-misc/fakeidentd/fakeidentd-2.6-r1.ebuild b/net-misc/fakeidentd/fakeidentd-2.6-r1.ebuild
index a1b1584dfa28..60a633ebe65a 100644
--- a/net-misc/fakeidentd/fakeidentd-2.6-r1.ebuild
+++ b/net-misc/fakeidentd/fakeidentd-2.6-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-inherit toolchain-funcs
+inherit edo toolchain-funcs
DESCRIPTION="A static, secure identd. One source file only!"
HOMEPAGE="http://www.guru-group.fi/~too/sw/"
@@ -13,22 +13,16 @@ SRC_URI="http://www.guru-group.fi/~too/sw/identd.readme -> ${P}.readme
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86"
-IUSE=""
-
-echoit() {
- echo "$@"
- "$@"
-}
src_unpack() {
- mkdir -p "${S}"
- echoit cp "${DISTDIR}"/${P}.{c,readme} "${S}" || die
+ mkdir -p "${S}" || die
+ edo cp "${DISTDIR}"/${P}.{c,readme} "${S}"
}
src_compile() {
- echoit $(tc-getCC) ${CFLAGS} ${LDFLAGS} \
+ edo $(tc-getCC) ${CFLAGS} ${LDFLAGS} \
-DTRG=\"${PN}\" -DUSE_UNIX_OS -DVERSION=\"${PV}\" \
- -o ${PN} ${P}.c || die
+ -o ${PN} ${P}.c
}
src_install() {
diff --git a/net-misc/fakeidentd/metadata.xml b/net-misc/fakeidentd/metadata.xml
index 85e4ed814fa2..115e9d64a669 100644
--- a/net-misc/fakeidentd/metadata.xml
+++ b/net-misc/fakeidentd/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <!-- maintainer-needed -->
</pkgmetadata>