summaryrefslogtreecommitdiff
blob: 93d710527a2e6e73c8dac900c0d9f9a0dadc0df3 (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Modified versions of kinit for refreshing kerberos tickets automatically"
HOMEPAGE="https://www.eyrie.org/~eagle/software/kstart/"
SRC_URI="https://archives.eyrie.org/software/kerberos/${P}.tar.gz"

LICENSE="|| ( MIT Stanford ISC )"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="afs"

DEPEND="virtual/krb5
		sys-apps/keyutils
		afs? ( net-fs/openafs )"
RDEPEND="${DEPEND}"

src_configure() {
	econf \
		--enable-reduced-depends \
		--with-libkeyutils \
		"$(use_with afs)" \
		"$(use_enable afs setpag)"
}

src_install() {
	emake DESTDIR="${D}" install
	dodoc README NEWS TODO examples/*
}