]> git.pld-linux.org Git - SPECS.git/blob - kstart.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / kstart.spec
1 #
2 # Conditional build:
3 %bcond_with     krb5            # build with MIT kerberos
4 #
5 Summary:        Obtain and optionally keep active a Kerberos v5 ticket
6 Name:           kstart
7 Version:        4.1
8 Release:        1
9 License:        MIT
10 Group:          Applications
11 Source0:        http://archives.eyrie.org/software/kerberos/%{name}-%{version}.tar.gz
12 # Source0-md5:  313e6f120d2e6f2e79ab20b1a4ec8be5
13 URL:            http://www.eyrie.org/~eagle/software/kstart/
14 %if %{with krb5}
15 BuildRequires:  krb5-devel
16 %else
17 BuildRequires:  heimdal-devel
18 %endif
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 k5start and krenew are modified versions of kinit which add support
23 for running as a daemon to maintain a ticket cache, running a command
24 with credentials from a keytab and maintaining a ticket cache until
25 that command completes, obtaining AFS tokens (via an external aklog)
26 after obtaining tickets, and creating an AFS PAG for a command.
27 They are primarily useful in conjunction with long-running jobs; for
28 moving ticket handling code out of servers, cron jobs, or daemons; and
29 to obtain tickets and AFS tokens with a single command.
30
31 %prep
32 %setup -q
33
34 %build
35 %configure \
36         --disable-k4start \
37         --enable-setpag
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc LICENSE NEWS README TODO
53 %attr(755,root,root) %{_bindir}/*
54 %{_mandir}/man1/*.1*
This page took 0.910827 seconds and 3 git commands to generate.