[gentoo-commits] repo/gentoo:master commit in: sys-apps/netkit-base/

2022-10-05 Thread Mike Gilbert
commit: 5ada7ff7f15033e0db3eb5c1774535b6470f3262
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Oct  5 23:48:02 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Oct  5 23:48:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ada7ff7

sys-apps/netkit-base: update HOMEPAGE, SRC_URI

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-apps/netkit-base/netkit-base-0.17-r9.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild 
b/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild
index 4564a8f93738..9c57b935f6ad 100644
--- a/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild
+++ b/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,8 +6,8 @@ EAPI=7
 inherit toolchain-funcs
 
 DESCRIPTION="Old-style inetd"
-HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/;
-SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz;
+HOMEPAGE="https://wiki.linuxfoundation.org/networking/netkit;
+SRC_URI="http://ftp.linux.org.uk/pub/linux/Networking/netkit/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/netkit-base/

2020-10-24 Thread David Seifert
commit: 1dcf8515fd43c0f91520e3012cfe586b00a6a274
Author: David Seifert  gentoo  org>
AuthorDate: Sat Oct 24 13:20:48 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Oct 24 13:20:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dcf8515

sys-apps/netkit-base: Port to EAPI 7

Closes: https://bugs.gentoo.org/742101
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/netkit-base/netkit-base-0.17-r9.ebuild | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild 
b/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild
index 7a4209222bc..256e04387e2 100644
--- a/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild
+++ b/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Old-style inetd"
 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/;
@@ -12,14 +12,16 @@ 
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz;
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
-IUSE=""
 
-src_prepare() {
-   epatch "${FILESDIR}"/*.patch
-}
+PATCHES=(
+   "${FILESDIR}"/003_all_netkit-base-0.17-gcc4.patch
+   "${FILESDIR}"/004_all_netkit-base-0.17-misc-fixes.patch
+   "${FILESDIR}"/005_all_netkit-base-0.17-no-rpc.patch
+)
 
 src_configure() {
tc-export CC
+
./configure || die
sed -i \
-e "/^CFLAGS=/s:=.*:=${CFLAGS} -Wall -Wbad-function-cast 
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Winline:" \
@@ -30,7 +32,7 @@ src_configure() {
 src_install() {
sed -i \
-e 's:in\.telnetd$:in.telnetd -L /usr/sbin/telnetlogin:' \
-   etc.sample/inetd.conf
+   etc.sample/inetd.conf || die
 
dosbin inetd/inetd
doman inetd/inetd.8
@@ -38,5 +40,5 @@ src_install() {
 
dodoc BUGS ChangeLog README
docinto samples
-   dodoc etc.sample/*
+   dodoc -r etc.sample/.
 }