blob: 32182eb678887fb65eeb9b45892f10b84e6cb530 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit toolchain-funcs
DESCRIPTION="Netkit - fingerd and finger client"
HOMEPAGE="https://wiki.linuxfoundation.org/networking/netkit"
SRC_URI="http://ftp.linux.org.uk/pub/linux/Networking/finger/bsd-finger-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
IUSE="selinux"
RDEPEND="selinux? ( sec-policy/selinux-finger )"
S=${WORKDIR}/bsd-finger-${PV}
PATCHES=(
"${FILESDIR}"/netkit-fingerd-0.17-includes.patch
"${FILESDIR}"/${P}-name-check.patch #80286
)
src_configure() {
# We'll skip this stage as the configure script is crappy and not really
# needed -- src_install installs all files by hand.
touch MCONFIG
tc-export CC
}
src_compile() {
emake CC="${CC}"
}
src_install() {
dobin finger/finger
dosbin fingerd/fingerd
dosym fingerd /usr/sbin/in.fingerd
doman finger/finger.1 fingerd/fingerd.8
dosym fingerd.8 /usr/share/man/man8/in.fingerd.8
dodoc README ChangeLog BUGS
insinto /etc/xinetd.d
newins "${FILESDIR}"/fingerd.xinetd fingerd
}
|