Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Troy Dawson
e8d1daded5 epel8-playground decommissioned : https://pagure.io/epel/issue/136 2022-01-31 10:08:22 -08:00
27 changed files with 1 additions and 2230 deletions

9
.gitignore vendored
View file

@ -1,9 +0,0 @@
/heimdal-7.1.0-7195232.tar.gz
/heimdal-7195232-autoconf.tar.gz
/heimdal-7.3.0-40d4229.tar.gz
/heimdal-40d4229-autoconf.tar.gz
/heimdal-7.4.0-a3d72c6.tar.gz
/heimdal-a3d72c6-autoconf.tar.gz
/heimdal-3e58559-autoconf.tar.gz
/heimdal-7.5.0-3e58559.tar.gz
/heimdal-7.7.0.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
epel8-playground decommissioned : https://pagure.io/epel/issue/136

View file

@ -1,55 +0,0 @@
From 15d0c5593079f0c75b0e3ed9209e549e5d2e7822 Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer@ktdreyer.com>
Date: Wed, 28 May 2014 15:00:44 -0600
Subject: [PATCH 1/2] Fedora: add heimdal- prefixes to heimtools cmds
The Fedora Heimdal package renames the klist and kswitch commands in
/usr/bin to use "heimdal-" prefixes in order to avoid conflicting with
MIT's utilities.
Add these "heimdal-" names to the heimtools command configuration so
that heimtools will recognize the commands under the new names as well
as the old names.
---
kuser/heimtools-commands.in | 2 ++
kuser/heimtools.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/kuser/heimtools-commands.in b/kuser/heimtools-commands.in
index b22a8c5..62388ce 100644
--- a/kuser/heimtools-commands.in
+++ b/kuser/heimtools-commands.in
@@ -34,6 +34,7 @@
command = {
name = "klist"
name = "list"
+ name = "heimdal-klist"
help = "List kerberos tickets"
option = {
long = "cache"
@@ -136,6 +137,7 @@ command = {
command = {
name = "kswitch"
name = "switch"
+ name = "heimdal-kswitch"
help = "Switch default kerberos cache"
option = {
long = "type"
diff --git a/kuser/heimtools.c b/kuser/heimtools.c
index 70b23d6..c1ef60e 100644
--- a/kuser/heimtools.c
+++ b/kuser/heimtools.c
@@ -89,8 +89,8 @@ static int
command_alias(const char *name)
{
const char *aliases[] = {
- "kinit", "klist", "kswitch", "kgetcred", "kvno", "kdeltkt",
- "kdestroy", "kcpytkt", NULL
+ "kinit", "klist", "heimdal-klist", "kswitch", "heimdal-kswitch",
+ "kgetcred", "kvno", "kdeltkt", "kdestroy", "kcpytkt", NULL
}, **p = aliases;
while (*p && strcmp(name, *p) != 0)
--
1.9.3

View file

@ -1,156 +0,0 @@
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/hx509/quote.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/hx509/quote.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/hx509/quote.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# -*- coding: utf-8 -*-
#
# Copyright (c) 2010 Kungliga Tekniska Högskolan
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/Makefile.am
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/Makefile.am
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/Makefile.am
@@ -89,7 +89,7 @@ idn_lookup_SOURCES = idn-lookup.c
LDADD = libwind.la $(LIB_roken)
-PYTHON = python
+PYTHON = python2
if !MAINTAINER_MODE
skip_python = test -f $@ ||
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/UnicodeData.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/UnicodeData.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/UnicodeData.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-bidi.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-bidi.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-bidi.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-combining.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-combining.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-combining.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-errorlist.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-errorlist.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-errorlist.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-map.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-map.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-map.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-normalize.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-normalize.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-normalize.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-punycode-examples.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-punycode-examples.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-punycode-examples.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/generate.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/generate.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/generate.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/rfc3454.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/rfc3454.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/rfc3454.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/rfc4518.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/rfc4518.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/rfc4518.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/stringprep.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/stringprep.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/stringprep.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/util.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/util.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/util.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python2
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/windows/NTMakefile.w32
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/windows/NTMakefile.w32
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/windows/NTMakefile.w32
@@ -120,7 +120,7 @@ RC=rc
AWK_CMD=gawk.exe
YACC_CMD=bison.exe
LEX_CMD=flex.exe
-PYTHON=python.exe
+PYTHON=python2.exe
PERL=perl.exe
CMP=cmp.exe
MAKECAT=makecat.exe

View file

@ -1,296 +0,0 @@
commit 58c8ad967e765f703273c95140f7f7a7f1694ae0
Author: Alexander Boström <abo@root.snowtree.se>
Date: Sat Mar 21 13:56:33 2020 +0100
Changes generated by 2to3 for all Python sources.
diff --git a/cf/symbol-version.py b/cf/symbol-version.py
index 414f06f8f..23666ecf8 100644
--- a/cf/symbol-version.py
+++ b/cf/symbol-version.py
@@ -40,7 +40,7 @@ t_SYMBOL = r'[a-zA-Z_][a-zA-Z0-9_\.]*'
t_ignore = " \t\n"
def t_error(t):
- print "Illegal character '%s'" % t.value[0]
+ print("Illegal character '%s'" % t.value[0])
t.lexer.skip(1)
import ply.lex as lex
@@ -51,7 +51,7 @@ symbols = []
def p_syms(p):
'syms : SYMBOL "{" elements "}"'
- print "# %s" % p[1]
+ print("# %s" % p[1])
def p_elements(p):
'''elements : element
@@ -68,9 +68,9 @@ def p_element(p):
def p_error(p):
if p:
- print "Syntax error at '%s'" % p.value
+ print("Syntax error at '%s'" % p.value)
else:
- print "Syntax error at EOF"
+ print("Syntax error at EOF")
import ply.yacc as yacc
yacc.yacc()
@@ -82,4 +82,4 @@ for line in lines:
for symbol in symbols:
if symbol[0] == "global":
- print "%s" % symbol[1]
+ print("%s" % symbol[1])
diff --git a/lib/hx509/quote.py b/lib/hx509/quote.py
index 41887e5d4..95898d4c5 100644
--- a/lib/hx509/quote.py
+++ b/lib/hx509/quote.py
@@ -76,26 +76,26 @@ chars[ord('>')] |= RFC2253_QUOTE
chars[ord('#')] |= RFC2253_QUOTE
chars[ord(';')] |= RFC2253_QUOTE
-print "#define Q_CONTROL_CHAR 1"
-print "#define Q_PRINTABLE 2"
-print "#define Q_RFC2253_QUOTE_FIRST 4"
-print "#define Q_RFC2253_QUOTE_LAST 8"
-print "#define Q_RFC2253_QUOTE 16"
-print "#define Q_RFC2253_HEX 32"
-print ""
-print "#define Q_RFC2253 (Q_RFC2253_QUOTE_FIRST|Q_RFC2253_QUOTE_LAST|Q_RFC2253_QUOTE|Q_RFC2253_HEX)"
-print "\n" * 2
+print("#define Q_CONTROL_CHAR 1")
+print("#define Q_PRINTABLE 2")
+print("#define Q_RFC2253_QUOTE_FIRST 4")
+print("#define Q_RFC2253_QUOTE_LAST 8")
+print("#define Q_RFC2253_QUOTE 16")
+print("#define Q_RFC2253_HEX 32")
+print("")
+print("#define Q_RFC2253 (Q_RFC2253_QUOTE_FIRST|Q_RFC2253_QUOTE_LAST|Q_RFC2253_QUOTE|Q_RFC2253_HEX)")
+print("\n" * 2)
-print "unsigned char char_map[] = {\n\t",
+print("unsigned char char_map[] = {\n\t", end=' ')
for x in range(0, 256):
if (x % 8) == 0 and x != 0:
- print "\n\t",
- print "0x%(char)02x" % { 'char' : chars[x] },
+ print("\n\t", end=' ')
+ print("0x%(char)02x" % { 'char' : chars[x] }, end=' ')
if x < 255:
- print ", ",
+ print(", ", end=' ')
else:
- print ""
-print "};"
+ print("")
+print("};")
diff --git a/lib/wind/gen-bidi.py b/lib/wind/gen-bidi.py
index e2efcbb55..fdadcbec7 100644
--- a/lib/wind/gen-bidi.py
+++ b/lib/wind/gen-bidi.py
@@ -42,7 +42,7 @@ import generate
import rfc3454
if len(sys.argv) != 3:
- print("usage: %s rfc3454.txt outdir" % sys.argv[0])
+ print(("usage: %s rfc3454.txt outdir" % sys.argv[0]))
sys.exit(1)
tables = rfc3454.read(sys.argv[1])
diff --git a/lib/wind/gen-combining.py b/lib/wind/gen-combining.py
index 43e0d52eb..4e73840b5 100644
--- a/lib/wind/gen-combining.py
+++ b/lib/wind/gen-combining.py
@@ -42,13 +42,13 @@ import generate
import UnicodeData
if len(sys.argv) != 3:
- print("usage: %s UnicodeData.txt out-dir" % sys.argv[0])
+ print(("usage: %s UnicodeData.txt out-dir" % sys.argv[0]))
sys.exit(1)
ud = UnicodeData.read(sys.argv[1])
trans = {}
-for k,v in ud.items():
+for k,v in list(ud.items()):
if int(v[2]) != 0 :
trans[k] = [int(v[2]), v[1]]
diff --git a/lib/wind/gen-errorlist.py b/lib/wind/gen-errorlist.py
index 97646cf5a..345be300b 100644
--- a/lib/wind/gen-errorlist.py
+++ b/lib/wind/gen-errorlist.py
@@ -44,13 +44,13 @@ import rfc4518
import stringprep
if len(sys.argv) != 3:
- print("usage: %s rfc3454.txt out-dir" % sys.argv[0])
+ print(("usage: %s rfc3454.txt out-dir" % sys.argv[0]))
sys.exit(1)
tables = rfc3454.read(sys.argv[1])
t2 = rfc4518.read()
-for x in t2.keys():
+for x in list(t2.keys()):
tables[x] = t2[x]
error_list = stringprep.get_errorlist()
@@ -85,7 +85,7 @@ const struct error_entry _wind_errorlist_table[] = {
trans=[]
-for t in error_list.keys():
+for t in list(error_list.keys()):
for l in tables[t]:
m = re.search('^ *([0-9A-F]+)-([0-9A-F]+); *(.*) *$', l)
if m:
@@ -104,7 +104,7 @@ for x in trans:
(start, length, description, tables) = x
symbols = stringprep.symbols(error_list, tables)
if len(symbols) == 0:
- print("no symbol for %s" % description)
+ print(("no symbol for %s" % description))
sys.exit(1)
errorlist_c.file.write(" {0x%x, 0x%x, %s}, /* %s: %s */\n"
% (start, length, symbols, ",".join(tables), description))
diff --git a/lib/wind/gen-map.py b/lib/wind/gen-map.py
index dc10d6fae..c84d71cd2 100644
--- a/lib/wind/gen-map.py
+++ b/lib/wind/gen-map.py
@@ -45,7 +45,7 @@ import stringprep
import util
if len(sys.argv) != 3:
- print("usage: %s rfc3454.txt out-dir" % sys.argv[0])
+ print(("usage: %s rfc3454.txt out-dir" % sys.argv[0]))
sys.exit(1)
tables = rfc3454.read(sys.argv[1])
@@ -114,7 +114,7 @@ trans = stringprep.sort_merge_trans(trans)
for x in trans:
if x[0] == 0xad:
- print("fooresult %s" % ",".join(x[3]))
+ print(("fooresult %s" % ",".join(x[3])))
for x in trans:
(key, value, description, table) = x
@@ -130,7 +130,7 @@ for x in trans:
(key, value, description, tables) = x
symbols = stringprep.symbols(map_list, tables)
if len(symbols) == 0:
- print("no symbol for %s %s (%s)" % (key, description, tables))
+ print(("no symbol for %s %s (%s)" % (key, description, tables)))
sys.exit(1)
v = value.split()
map_c.file.write(" {0x%x, %u, %u, %s}, /* %s: %s */\n"
diff --git a/lib/wind/gen-normalize.py b/lib/wind/gen-normalize.py
index daf3c3dc4..901a07fee 100644
--- a/lib/wind/gen-normalize.py
+++ b/lib/wind/gen-normalize.py
@@ -43,8 +43,8 @@ import UnicodeData
import util
if len(sys.argv) != 4:
- print("usage: %s UnicodeData.txt"
- " CompositionExclusions-3.2.0.txt out-dir" % sys.argv[0])
+ print(("usage: %s UnicodeData.txt"
+ " CompositionExclusions-3.2.0.txt out-dir" % sys.argv[0]))
sys.exit(1)
ud = UnicodeData.read(sys.argv[1])
@@ -56,10 +56,10 @@ def sortedKeys(d):
return keys
trans = dict([(k, [re.sub('<[a-zA-Z]+>', '', v[4]), v[0]])
- for k,v in ud.items() if v[4]])
+ for k,v in list(ud.items()) if v[4]])
maxLength = 0
-for v in trans.values():
+for v in list(trans.values()):
maxLength = max(maxLength, len(v[0].split()))
normalize_h = generate.Header('%s/normalize_table.h' % sys.argv[3])
@@ -135,7 +135,7 @@ exclusions = UnicodeData.read(sys.argv[2])
inv = dict([(''.join(["%05x" % int(x, 0x10) for x in v[4].split(' ')]),
[k, v[0]])
- for k,v in ud.items()
+ for k,v in list(ud.items())
if v[4] and not re.search('<[a-zA-Z]+> *', v[4]) and not k in exclusions])
table = 0
@@ -162,7 +162,7 @@ def add(table, k, v):
top = createTable()
-for k,v in inv.items():
+for k,v in list(inv.items()):
add(tables[top], k, v)
next_table = []
diff --git a/lib/wind/gen-punycode-examples.py b/lib/wind/gen-punycode-examples.py
index f2eddbb37..44d2c5d9a 100644
--- a/lib/wind/gen-punycode-examples.py
+++ b/lib/wind/gen-punycode-examples.py
@@ -40,7 +40,7 @@ import sys
import generate
if len(sys.argv) != 3:
- print("usage: %s rfc3492.txt" % sys.argv[0])
+ print(("usage: %s rfc3492.txt" % sys.argv[0]))
sys.exit(1)
f = open(sys.argv[1], 'r')
diff --git a/lib/wind/stringprep.py b/lib/wind/stringprep.py
index cff4d02a7..73c9d43c2 100644
--- a/lib/wind/stringprep.py
+++ b/lib/wind/stringprep.py
@@ -38,7 +38,7 @@ import re
import string
def _merge_table(res, source):
- for table in source.keys():
+ for table in list(source.keys()):
res[table] = res.get(table, []) + source.get(table, [])
name_error = ['C.1.2', 'C.2.2', 'C.3', 'C.4', 'C.5', 'C.6', 'C.7', 'C.8', 'C.9']
@@ -57,21 +57,21 @@ def symbols(tabledict, tables):
list = list + tabledict.get(x, [])
if len(list) == 0:
return ""
- return "|".join(map(lambda x: "WIND_PROFILE_%s" % (x.upper()), list))
+ return "|".join(["WIND_PROFILE_%s" % (x.upper()) for x in list])
def get_errorlist():
d = dict()
- _merge_table(d, dict(map(lambda x: [x, ['name']], name_error)))
- _merge_table(d, dict(map(lambda x: [x, ['ldap']], ldap_error)))
- _merge_table(d, dict(map(lambda x: [x, ['sasl']], sasl_error)))
+ _merge_table(d, dict([[x, ['name']] for x in name_error]))
+ _merge_table(d, dict([[x, ['ldap']] for x in ldap_error]))
+ _merge_table(d, dict([[x, ['sasl']] for x in sasl_error]))
return d
def get_maplist():
d = dict()
- _merge_table(d, dict(map(lambda x: [x, ['name']], name_map)))
- _merge_table(d, dict(map(lambda x: [x, ['ldap']], ldap_map)))
- _merge_table(d, dict(map(lambda x: [x, ['ldap_case']], ldap_case_map)))
- _merge_table(d, dict(map(lambda x: [x, ['sasl']], sasl_map)))
+ _merge_table(d, dict([[x, ['name']] for x in name_map]))
+ _merge_table(d, dict([[x, ['ldap']] for x in ldap_map]))
+ _merge_table(d, dict([[x, ['ldap_case']] for x in ldap_case_map]))
+ _merge_table(d, dict([[x, ['sasl']] for x in sasl_map]))
return d
def sort_merge_trans(trans):

View file

@ -1,17 +0,0 @@
--- a/cf/check-var.m4 2013-04-24 20:07:35.000000000 -0600
+++ b/cf/check-var.m4 2020-01-07 11:36:36.493955390 -0700
@@ -6,12 +6,12 @@ AC_MSG_CHECKING(for $1)
AC_CACHE_VAL(ac_cv_var_$1, [
m4_ifval([$2],[
AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2
- void * foo(void) { return &$1; }]],[[foo()]])],
+ __attribute__ ((used)) void * foo(void) { return &$1; }]],[[foo()]])],
[ac_cv_var_$1=yes],[ac_cv_var_$1=no])])
if test "$ac_cv_var_$1" != yes ; then
AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2
extern int $1;
-int foo(void) { return $1; }]],[[foo()]])],
+__attribute__ ((used)) int foo(void) { return $1; }]],[[foo()]])],
[ac_cv_var_$1=yes],[ac_cv_var_$1=no])
fi
])

View file

@ -1,156 +0,0 @@
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/hx509/quote.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/hx509/quote.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/hx509/quote.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2010 Kungliga Tekniska Högskolan
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/Makefile.am
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/Makefile.am
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/Makefile.am
@@ -89,7 +89,7 @@ idn_lookup_SOURCES = idn-lookup.c
LDADD = libwind.la $(LIB_roken)
-PYTHON = python
+PYTHON = python3
if !MAINTAINER_MODE
skip_python = test -f $@ ||
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/UnicodeData.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/UnicodeData.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/UnicodeData.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-bidi.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-bidi.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-bidi.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-combining.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-combining.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-combining.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-errorlist.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-errorlist.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-errorlist.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-map.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-map.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-map.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-normalize.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-normalize.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-normalize.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-punycode-examples.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/gen-punycode-examples.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/gen-punycode-examples.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/generate.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/generate.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/generate.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/rfc3454.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/rfc3454.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/rfc3454.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/rfc4518.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/rfc4518.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/rfc4518.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/stringprep.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/stringprep.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/stringprep.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/util.py
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/lib/wind/util.py
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/lib/wind/util.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python3
# -*- coding: iso-8859-1 -*-
# $Id$
Index: heimdal-3e58559362dd3f485e6d6659d587a9169a131391/windows/NTMakefile.w32
===================================================================
--- heimdal-3e58559362dd3f485e6d6659d587a9169a131391.orig/windows/NTMakefile.w32
+++ heimdal-3e58559362dd3f485e6d6659d587a9169a131391/windows/NTMakefile.w32
@@ -120,7 +120,7 @@ RC=rc
AWK_CMD=gawk.exe
YACC_CMD=bison.exe
LEX_CMD=flex.exe
-PYTHON=python.exe
+PYTHON=python3.exe
PERL=perl.exe
CMP=cmp.exe
MAKECAT=makecat.exe

View file

@ -1,7 +0,0 @@
alias kinit="/usr/bin/kinit.heimdal"
alias kdestroy="/usr/bin/kdestroy.heimdal"
alias klist="/usr/bin/klist.heimdal"
alias kpasswd="/usr/bin/kpasswd.heimdal"
alias kadmin="/usr/sbin/kadmin.heimdal"
alias krb5-config="/usr/bin/krb5-config.heimdal"
alias ktutil="/usr/sbin/ktutil.heimdal"

View file

@ -1,102 +0,0 @@
#! /bin/sh
#
# ipropd-master Startup script for Heimdal ipropd-master
#
# chkconfig: - 39 61
# description: Starts and stops the Heimdal ipropd-master
### BEGIN INIT INFO
# Provides: ipropd-master
# Required-Start: $local_fs $network $named
# Required-Stop: $local_fs $network
# Default-Start:
# Default-Stop:
# Short-Description: Starts and stops the Heimdal ipropd-master
# Description: Heimdal ipropd-master implements incremental propagation
### END INIT INFO
[ -f /etc/rc.d/init.d/functions ] && . /etc/rc.d/init.d/functions
exec=/usr/libexec/ipropd-master
prog=ipropd-master
MASTER_ARGS="--detach"
[ -e /etc/sysconfig/heimdal ] && . /etc/sysconfig/heimdal
args="${MASTER_ARGS}"
lockfile=/var/lock/subsys/$prog
start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon "$exec $args"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
killproc "$prog"
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
# run checks to determine if the service is running or use generic status
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
exit 2
esac
exit $?

View file

@ -1,12 +0,0 @@
[Unit]
Description=Heimdal ipropd-master incremental propagation service
Documentation=man:iprop(8) info:heimdal http://www.h5l.org/
After=syslog.target network.target
[Service]
Type=forking
ExecStart=/usr/libexec/ipropd-master --detach
PIDFile=/var/run/ipropd-master.pid
[Install]
WantedBy=multi-user.target

View file

@ -1,12 +0,0 @@
#!/bin/bash
set -e; set -o pipefail
. /etc/sysconfig/heimdal
if [[ -z "$MASTER" ]]; then
echo >&2 "MASTER must be specified in /etc/sysconfig/heimdal"
exit 1
fi
exec /usr/libexec/ipropd-slave --detach "$MASTER"

View file

@ -1,102 +0,0 @@
#! /bin/sh
#
# ipropd-slave Startup script for Heimdal ipropd-slave
#
# chkconfig: - 39 61
# description: Starts and stops the Heimdal ipropd-slave
### BEGIN INIT INFO
# Provides: ipropd-slave
# Required-Start: $local_fs $network $named
# Required-Stop: $local_fs $network
# Default-Start:
# Default-Stop:
# Short-Description: Starts and stops the Heimdal ipropd-slave
# Description: Heimdal ipropd-slave implements incremental propagation
### END INIT INFO
[ -f /etc/rc.d/init.d/functions ] && . /etc/rc.d/init.d/functions
exec=/usr/libexec/ipropd-slave
prog=ipropd-slave
SLAVE_ARGS="--detach"
[ -e /etc/sysconfig/heimdal ] && . /etc/sysconfig/heimdal
args="${SLAVE_ARGS} ${MASTER}"
lockfile=/var/lock/subsys/$prog
start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon "$exec $args"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
killproc "$prog"
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
# run checks to determine if the service is running or use generic status
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
exit 2
esac
exit $?

View file

@ -1,12 +0,0 @@
[Unit]
Description=Heimdal ipropd-slave incremental propagation service
Documentation=man:iprop(8) info:heimdal http://www.h5l.org/
After=syslog.target network.target
[Service]
Type=forking
ExecStart=/usr/libexec/ipropd-slave-wrapper
PIDFile=/var/run/ipropd-slave.pid
[Install]
WantedBy=multi-user.target

View file

@ -1,102 +0,0 @@
#! /bin/sh
#
# heimdal-kadmind Startup script for Heimdal kadmind
#
# chkconfig: - 39 61
# description: Starts and stops the Heimdal kadmind
### BEGIN INIT INFO
# Provides: heimdal-kadmind
# Required-Start: $local_fs $network $named
# Required-Stop: $local_fs $network
# Default-Start:
# Default-Stop:
# Short-Description: Starts and stops the Heimdal kadmind
# Description: Heimdal kadmind implements remote administration in Heimdal
### END INIT INFO
[ -f /etc/rc.d/init.d/functions ] && . /etc/rc.d/init.d/functions
exec=/usr/libexec/heimdal-kadmind
prog=heimdal-kadmind
KADMIND_ARGS=""
[ -e /etc/sysconfig/heimdal ] && . /etc/sysconfig/heimdal
args="${KADMIND_ARGS} &"
lockfile=/var/lock/subsys/$prog
start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon "$exec $args"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
killproc "$prog"
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
# run checks to determine if the service is running or use generic status
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
exit 2
esac
exit $?

View file

@ -1,12 +0,0 @@
[Unit]
Description=Heimdal kadmind remote administration service
Documentation=man:heimdal-kadmind(8) info:heimdal http://www.h5l.org/
After=syslog.target network.target
[Service]
Type=simple
ExecStart=/usr/libexec/heimdal-kadmind
PIDFile=/var/run/heimdal-kadmind.pid
[Install]
WantedBy=multi-user.target

View file

@ -1,10 +0,0 @@
[logging]
default = FILE:/var/log/heimdal/heimdal.log
kdc = FILE:/var/log/heimdal/kdc.log
admin_server = FILE:/var/log/heimdal/kadmind.log
[kdc]
enable-http = true
[kadmin]
require-preauth = true

View file

@ -1,102 +0,0 @@
#! /bin/sh
#
# kdc Startup script for Heimdal kdc
#
# chkconfig: - 39 61
# description: Starts and stops the Heimdal kdc
### BEGIN INIT INFO
# Provides: kdc
# Required-Start: $local_fs $network $named
# Required-Stop: $local_fs $network
# Default-Start:
# Default-Stop:
# Short-Description: Starts and stops the Heimdal kdc
# Description: Heimdal KDC is a Kerberos 5 Key Distribution Center server
### END INIT INFO
[ -f /etc/rc.d/init.d/functions ] && . /etc/rc.d/init.d/functions
exec=/usr/libexec/kdc
prog=kdc
KDC_ARGS="--detach"
[ -e /etc/sysconfig/heimdal ] && . /etc/sysconfig/heimdal
args="${KDC_ARGS}"
lockfile=/var/lock/subsys/$prog
start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon "$exec $args"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
killproc "$prog"
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
# run checks to determine if the service is running or use generic status
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
exit 2
esac
exit $?

View file

@ -1,12 +0,0 @@
[Unit]
Description=Heimdal KDC is a Kerberos 5 Key Distribution Center server
Documentation=man:kdc(8) info:heimdal http://www.h5l.org/
After=syslog.target network.target
[Service]
Type=simple
ExecStart=/usr/libexec/kdc
PIDFile=/var/run/kdc.pid
[Install]
WantedBy=multi-user.target

View file

@ -1,103 +0,0 @@
#! /bin/sh
#
# kpasswdd Startup script for Heimdal kpasswdd
#
# chkconfig: - 39 61
# description: Starts and stops the Heimdal kpasswdd
### BEGIN INIT INFO
# Provides: kpasswdd
# Required-Start: $local_fs $network $named
# Required-Stop: $local_fs $network
# Default-Start:
# Default-Stop:
# Short-Description: Starts and stops the Heimdal kpasswdd
# Description: Heimdal kpasswdd allows Kerberos 5 users to change \
# their KDC passwords
### END INIT INFO
[ -f /etc/rc.d/init.d/functions ] && . /etc/rc.d/init.d/functions
exec=/usr/libexec/kpasswdd
prog=kpasswdd
KPASSWD_ARGS=""
[ -e /etc/sysconfig/heimdal ] && . /etc/sysconfig/heimdal
args="${KPASSWD_ARGS} &"
lockfile=/var/lock/subsys/$prog
start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon "$exec $args"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
killproc "$prog"
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
rh_status() {
# run checks to determine if the service is running or use generic status
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
exit 2
esac
exit $?

View file

@ -1,12 +0,0 @@
[Unit]
Description=Heimdal kpasswdd allows users to change their KDC passwords
Documentation=man:kpasswdd(8) info:heimdal http://www.h5l.org/
After=syslog.target network.target
[Service]
Type=simple
ExecStart=/usr/libexec/kpasswdd
PIDFile=/var/run/kpasswdd.pid
[Install]
WantedBy=multi-user.target

View file

@ -1,3 +0,0 @@
if ( "${path}" !~ */usr/lib/heimdal/bin* ) then
set path = ( /usr/lib/heimdal/bin $path )
endif

View file

@ -1,9 +0,0 @@
/var/log/heimdal/*.log {
compress
delaycompress
maxage 100
minsize 100M
missingok
notifempty
}

View file

@ -1,3 +0,0 @@
if ! echo ${PATH} | /bin/grep -q /usr/lib/heimdal/bin ; then
PATH=/usr/lib/heimdal/bin:${PATH}
fi

View file

@ -1,881 +0,0 @@
%global _hardened_build 1
%global libdir %{_libdir}/heimdal
%global bindir %{_exec_prefix}/lib/heimdal
# Use systemd unit files on RHEL 7 and above.
%if ! (0%{?rhel} && 0%{?rhel} < 7)
%global _with_systemd 1
%endif
Name: heimdal
Version: 7.7.0
Release: 6%{?dist}
Summary: A Kerberos 5 implementation without export restrictions
License: BSD and MIT
URL: http://www.heimdal.software/
Source0: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Source3: %{name}.sysconfig
Source4: %{name}.sh
Source5: %{name}.csh
Source9: krb5.conf.sample
Source10: %{name}.logrotate
Source11: %{name}-bashrc
Source20: %{name}-kdc.init
Source21: %{name}-ipropd-master.init
Source22: %{name}-ipropd-slave.init
Source23: %{name}-kadmind.init
Source24: %{name}-kpasswdd.init
Source25: %{name}-kdc.conf
Source26: %{name}-kdc.service
Source27: %{name}-ipropd-master.service
Source28: %{name}-ipropd-slave.service
Source29: %{name}-kadmind.service
Source30: %{name}-kpasswdd.service
Source31: %{name}-ipropd-slave-wrapper
# klist, kswitch, and kvno are symlinks to "heimtools", and this utility needs
# to know how to interpret the "heimdal-" prefixes.
Patch1: heimdal-1.6.0-c25f45a-rename-commands.patch
Patch3: heimdal-7.7.0-pythonpath.patch
Patch4: heimdal-7.7.0-configure.patch
Patch5: heimdal-7.7.0-58c8ad96-py3.patch
BuildRequires: gettext
BuildRequires: bison
BuildRequires: flex
BuildRequires: libedit-devel
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: openldap-devel
#Required for tests/ldap
%if (0%{?rhel} && 0%{?rhel} > 7)
# but not available on RHEL 8
%else
BuildRequires: openldap-servers
%endif
BuildRequires: pam-devel
BuildRequires: perl(JSON)
BuildRequires: sqlite-devel
BuildRequires: texinfo
BuildRequires: libcom_err-devel
BuildRequires: libcap-ng-devel
%if (0%{?rhel} && 0%{?rhel} < 7)
BuildRequires: db4-devel
%else
BuildRequires: libdb-devel
%endif
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: python3
%if (0%{?rhel} && 0%{?rhel} < 7)
BuildRequires: groff
%else
BuildRequires: groff-base
%endif
%if 0%{?_with_systemd}
BuildRequires: systemd-units
%endif
# Bundled libtommath (https://bugzilla.redhat.com/1118462)
Provides: bundled(libtommath) = 0.42.0
# This macro was added in Fedora 20. Use the old version if it's undefined
# on older Fedoras and RHELs prior to RHEL 8.
# https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
%description
Kerberos 5 is a network authentication and single sign-on system.
Heimdal is a free Kerberos 5 implementation without export restrictions
written from the spec (rfc1510 and successors) including advanced features
like thread safety, IPv6, master-slave replication of Kerberos Key
Distribution Center server and support for ticket delegation (S4U2Self,
S4U2Proxy).
This package can coexist with MIT Kerberos 5 packages. Hesiod is disabled
by default since it is deemed too big a security risk by the packager.
%package workstation
Summary: Heimdal kerberos programs for use on workstations
%description workstation
This package contains Heimdal Kerberos 5 programs and utilities for
use on workstations (kinit, klist, kdestroy, kpasswd)
%package server
Summary: Heimdal kerberos server
Requires: logrotate
%if 0%{?_with_systemd}
Requires(preun): systemd
Requires(postun): systemd
Requires(post): systemd
%else
Requires(post): chkconfig
Requires(preun): chkconfig
Requires(preun): initscripts
Requires(postun): initscripts
%endif
Provides: heimdal-kdc = %{version}-%{release}
Obsoletes: heimdal-kdc < 1.5
%description server
This package contains the master Heimdal kerberos Key Distribution
Center (KDC), admin interface server (admind) and master-slave
synchronisation daemons. Install this package if you intend to
set up Kerberos server.
%package libs
Summary: Heimdal kerberos shared libraries
Requires(post): info
Requires(preun): info
%description libs
This package contains shared libraries required by several of the other
Heimdal packages.
%package devel
Summary: Header and other development files for Heimdal kerberos
Provides: %{name}-static = %{version}-%{release}
%description devel
Contains files needed to compile and link software using the Heimdal
kerberos headers/libraries.
%package path
Summary: Heimdal kerberos PATH manipulation
Requires: %{name}-libs
# For /etc/profile.d
Requires: setup
%description path
This package prepends the Heimdal binary directory to the beginning of
PATH.
%prep
%setup -q
%patch1 -p1 -b .cmds
%patch3 -p1 -b .pythonpath
%patch4 -p1 -b .config
%patch5 -p1 -b .2to3
./autogen.sh
%build
%ifarch i386
%global build_fix "-march=i686"
%else
%global build_fix ""
%endif
autoreconf -ivf
%configure \
--prefix=%{_prefix} \
--includedir=%{_includedir}/%{name} \
--libdir=%{libdir} \
--enable-static \
--enable-shared \
--enable-pthread-support \
--without-x \
--without-hesiod \
--with-ipv6 \
--enable-kcm \
--enable-pk-init \
--with-openldap=%{_prefix} \
--with-sqlite3=%{_prefix} \
--with-libedit=%{_prefix} \
LIBS="-ltermcap" \
CFLAGS="-fPIC %{optflags} %{build_fix}"
%make_build -C include krb5-types.h
%make_build
%make_build -C doc html
# po/localefiles is not in the tarball, which causes install to fail
touch po/localefiles
%make_build -C po mo
%check
# Several intermittent test failures here, so make this non-fatal:
# (timeout to debug hard to reproduce stuck build)
timeout 20m %make_build check || :
%install
%make_install
# install the init files
%if 0%{?_with_systemd}
# install systemd service files
mkdir -p %{buildroot}%{_unitdir}
pushd %{buildroot}%{_unitdir}
install -p -D -m 644 %{SOURCE26} heimdal-kdc.service
install -p -D -m 644 %{SOURCE27} heimdal-ipropd-master.service
install -p -D -m 644 %{SOURCE28} heimdal-ipropd-slave.service
install -p -D -m 644 %{SOURCE29} heimdal-kadmind.service
install -p -D -m 644 %{SOURCE30} heimdal-kpasswdd.service
popd
install -p -D -m 755 %{SOURCE31} %{buildroot}%{_libexecdir}/ipropd-slave-wrapper
%else
# install legacy SysV init scripts
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
pushd %{buildroot}%{_sysconfdir}/rc.d/init.d
install -p -D -m 755 %{SOURCE20} heimdal-kdc
install -p -D -m 755 %{SOURCE21} heimdal-ipropd-master
install -p -D -m 755 %{SOURCE22} heimdal-ipropd-slave
install -p -D -m 755 %{SOURCE23} heimdal-kadmind
install -p -D -m 755 %{SOURCE24} heimdal-kpasswdd
popd
%endif
install -p -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/heimdal
install -p -D -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d/heimdal.sh
install -p -D -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/profile.d/heimdal.csh
install -p -D -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/logrotate.d/heimdal
mkdir -p %{buildroot}%{_localstatedir}/heimdal/
install -p -D -m 755 %{SOURCE25} %{buildroot}%{_sysconfdir}/heimdal-kdc.conf
ln -s %{_sysconfdir}/heimdal-kdc.conf %{buildroot}%{_localstatedir}/heimdal/kdc.conf
echo "# see man heimdal-kadmind(8)" > %{buildroot}%{_sysconfdir}/heimdal-kadmind.acl
ln -s %{_sysconfdir}/heimdal-kadmind.acl %{buildroot}%{_localstatedir}/heimdal/kadmind.acl
touch %{buildroot}%{_sysconfdir}/heimdal-slaves
ln -s %{_sysconfdir}/heimdal-slaves %{buildroot}%{_localstatedir}/heimdal/slaves
install -d -m 700 %{buildroot}%{_localstatedir}/log/heimdal
install -d -m 755 %{buildroot}/%{_pkgdocdir}
install -p -D -m 644 LICENSE %{buildroot}/%{_pkgdocdir}/LICENSE
install -p -D -m 644 %{SOURCE9} %{buildroot}/%{_pkgdocdir}/krb5.conf.sample
install -p -D -m 644 %{SOURCE11} %{buildroot}/%{_pkgdocdir}/bashrc
# we don't need pkgconfig file and info/dir
rm -rf %{buildroot}%{libdir}/pkgconfig
rm -rf %{buildroot}%{_infodir}/dir
# NOTICE: no support for X11
rm -f %{buildroot}%{_mandir}/man1/kx.1*
rm -f %{buildroot}%{_mandir}/man1/rxtelnet.1*
rm -f %{buildroot}%{_mandir}/man1/rxterm.1*
rm -f %{buildroot}%{_mandir}/man1/tenletxr.1*
rm -f %{buildroot}%{_mandir}/man1/xnlock.1*
rm -f %{buildroot}%{_mandir}/man8/kxd.8*
# Remove CAT files, they are not needed
rm -rf %{buildroot}%{_mandir}/cat*
# Remove libtool archives
find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF
%{_libdir}/%{name}
EOF
mkdir -p %{buildroot}%{bindir}/bin
mkdir -p %{buildroot}%{_mandir}/%{name}/man{1,5,8}
# rename clashes with other pkgs from <app> to heimdal-<app>
for prog in kadmin kadmind kdestroy kinit klist kpasswd krb5-config ktutil su pagsh compile_et
do
if [ -e %{buildroot}%{_bindir}/${prog} ]; then
mv %{buildroot}%{_bindir}/{,%{name}-}${prog}
ln -s %{_bindir}/%{name}-${prog} %{buildroot}%{bindir}/bin/${prog}
elif [ -e %{buildroot}%{_sbindir}/${prog} ]; then
mv %{buildroot}%{_sbindir}/{,%{name}-}${prog}
ln -s %{_sbindir}/%{name}-${prog} %{buildroot}%{bindir}/bin/${prog}
elif [ -e %{buildroot}%{_libexecdir}/${prog} ]; then
mv %{buildroot}%{_libexecdir}/{,%{name}-}${prog}
fi
if [ -e %{buildroot}%{_mandir}/man1/${prog}.1 ]; then
mv %{buildroot}%{_mandir}/man1/{,%{name}-}${prog}.1
elif [ -e %{buildroot}%{_mandir}/man8/${prog}.8 ]; then
mv %{buildroot}%{_mandir}/man8/{,%{name}-}${prog}.8
fi
done
# If we have the prefixed name in one pkg we want it in all.
mv %{buildroot}%{_bindir}/{,%{name}-}kswitch
ln -s %{_bindir}/%{name}-kswitch %{buildroot}%{bindir}/bin/kswitch
mv %{buildroot}%{_mandir}/man1/{,%{name}-}kswitch.1
ln -s %{name}-kinit %{buildroot}%{_bindir}/kauth
mv %{buildroot}%{_mandir}/man5/{,%{name}-}krb5.conf.5
rm %{buildroot}%{_mandir}/man5/qop.5
ln -s mech.5.gz %{buildroot}%{_mandir}/man5/qop.5.gz
%find_lang %{name} --all-name
%post server
%if 0%{?_with_systemd}
%systemd_post heimdal-kdc.service
%systemd_post heimdal-ipropd-master.service
%systemd_post heimdal-ipropd-slave.service
%systemd_post heimdal-kadmind.service
%systemd_post heimdal-kpasswdd.service
%else
/sbin/chkconfig --add heimdal-kdc
/sbin/chkconfig --add heimdal-ipropd-master
/sbin/chkconfig --add heimdal-ipropd-slave
/sbin/chkconfig --add heimdal-kadmind
/sbin/chkconfig --add heimdal-kpasswdd
%endif
%preun server
%if 0%{?_with_systemd}
%systemd_preun heimdal-kdc.service
%systemd_preun heimdal-ipropd-master.service
%systemd_preun heimdal-ipropd-slave.service
%systemd_preun heimdal-kadmind.service
%systemd_preun heimdal-kpasswdd.service
%else
if [ $1 -eq 0 ] ; then
/sbin/service heimdal-kdc stop >/dev/null 2>&1 || :
/sbin/chkconfig --del heimdal-kdc
/sbin/service heimdal-ipropd-master stop >/dev/null 2>&1 || :
/sbin/chkconfig --del heimdal-ipropd-master
/sbin/service heimdal-ipropd-slave stop >/dev/null 2>&1 || :
/sbin/chkconfig --del heimdal-ipropd-slave
/sbin/service heimdal-kadmind stop >/dev/null 2>&1 || :
/sbin/chkconfig --del heimdal-kadmind
/sbin/service heimdal-kpasswdd stop >/dev/null 2>&1 || :
/sbin/chkconfig --del >/dev/null
fi
%endif
%postun server
%if 0%{?_with_systemd}
%systemd_postun heimdal-kdc.service
%systemd_postun heimdal-ipropd-master.service
%systemd_postun heimdal-ipropd-slave.service
%systemd_postun heimdal-kadmind.service
%systemd_postun heimdal-kpasswdd.service
%else
if [ $1 -eq 1 ] ; then
/sbin/service heimdal-kdc condrestart >/dev/null 2>&1 || :
/sbin/service heimdal-ipropd-master condrestart >/dev/null 2>&1 || :
/sbin/service heimdal-ipropd-slave condrestart >/dev/null 2>&1 || :
/sbin/service heimdal-kadmind condrestart >/dev/null 2>&1 || :
/sbin/service heimdal-kpasswdd condrestart >/dev/null 2>&1 || :
fi
%endif
%if (0%{?rhel} && 0%{?rhel} < 8)
%post libs
/sbin/ldconfig
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
%preun libs
if [ $1 = 0 ] ; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%postun libs
/sbin/ldconfig
%endif
%files libs -f %{name}.lang
%dir %{bindir}
%dir %{bindir}/bin
%dir %{libdir}
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%{libdir}/lib*.so*
%{libdir}/windc.so*
%{_infodir}/heimdal.info*
%{_infodir}/hx509.info*
%{_mandir}/man5/%{name}-krb5.conf.5*
%{_mandir}/man5/qop.5*
%{_mandir}/man5/mech.5*
%{_mandir}/man8/kerberos.8*
%{_prefix}/bin/string2key
%{_mandir}/man8/string2key.8*
%{_libexecdir}/kdigest
%{_mandir}/man8/kdigest.8*
%{_prefix}/bin/verify_krb5_conf
%{_mandir}/man8/verify_krb5_conf.8*
%{_libexecdir}/digest-service
%doc %{_pkgdocdir}
%license LICENSE
%files server
%if 0%{?_with_systemd}
%{_unitdir}/*.service
%else
%{_initrddir}/*
%endif
%{_sysconfdir}/logrotate.d/heimdal
%config(noreplace) %{_sysconfdir}/sysconfig/heimdal
%dir %attr(700,root,root) %{_localstatedir}/heimdal
%dir %attr(700,root,root) %{_localstatedir}/log/heimdal
%config(noreplace) %attr(600,root,root) %{_sysconfdir}/heimdal-kdc.conf
%config(noreplace) %{_localstatedir}/heimdal/kdc.conf
%config(noreplace) %attr(600,root,root) %{_sysconfdir}/heimdal-kadmind.acl
%config(noreplace) %{_localstatedir}/heimdal/kadmind.acl
%config(noreplace) %attr(600,root,root) %{_sysconfdir}/heimdal-slaves
%config(noreplace) %{_localstatedir}/heimdal/slaves
%{_libexecdir}/hprop
%{_mandir}/man8/hprop.8*
%{_libexecdir}/hpropd
%{_mandir}/man8/hpropd.8*
%{_mandir}/man8/iprop.8*
%{_sbindir}/iprop-log
%{_mandir}/man8/iprop-log.8*
%{_libexecdir}/ipropd-master
%{_mandir}/man8/ipropd-master.8*
%{_libexecdir}/ipropd-slave
%{_mandir}/man8/ipropd-slave.8*
%if 0%{?_with_systemd}
%{_libexecdir}/ipropd-slave-wrapper
%endif
%{_libexecdir}/%{name}-kadmind
%{_mandir}/man8/%{name}-kadmind.8*
%{_libexecdir}/kdc
%{_mandir}/man8/kdc.8*
%{_libexecdir}/kpasswdd
%{_mandir}/man8/kpasswdd.8*
%{_sbindir}/kstash
%{_mandir}/man8/kstash.8*
%files workstation
%{_prefix}/bin/afslog
%{_mandir}/man1/afslog.1*
%{_prefix}/bin/bsearch
%{_mandir}/man1/bsearch.1*
%{_prefix}/bin/%{name}-pagsh
%{bindir}/bin/pagsh
%{_mandir}/man1/%{name}-pagsh.1*
%{_prefix}/bin/gsstool
%{_prefix}/bin/heimtools
%{_prefix}/bin/hxtool
%{_prefix}/bin/idn-lookup
%{_prefix}/bin/%{name}-kdestroy
%{bindir}/bin/kdestroy
%{_mandir}/man1/%{name}-kdestroy.1*
%{_prefix}/bin/kf
%{_mandir}/man1/kf.1*
%{_prefix}/bin/kgetcred
%{_mandir}/man1/kgetcred.1*
%{_libexecdir}/kimpersonate
%{_mandir}/man8/kimpersonate.8*
%{_prefix}/bin/%{name}-kinit
%{bindir}/bin/kinit
%{_prefix}/bin/kauth
%{_mandir}/man1/%{name}-kinit.1*
%{_prefix}/bin/%{name}-klist
%{bindir}/bin/klist
%{_mandir}/man1/%{name}-klist.1*
%{_prefix}/bin/%{name}-kpasswd
%{bindir}/bin/kpasswd
%{_mandir}/man1/%{name}-kpasswd.1*
%{_prefix}/bin/heimdal-kswitch
%{bindir}/bin/kswitch
%{_mandir}/man1/heimdal-kswitch.1*
%{_prefix}/bin/otp
%{_mandir}/man1/otp.1*
%{_prefix}/bin/otpprint
%{_mandir}/man1/otpprint.1*
%{_bindir}/%{name}-kadmin
%{bindir}/bin/kadmin
%{_mandir}/man1/%{name}-kadmin.1*
%{_libexecdir}/kcm
%{_mandir}/man8/kcm.8*
%{_libexecdir}/kfd
%{_mandir}/man8/kfd.8*
%{_bindir}/%{name}-ktutil
%{bindir}/bin/ktutil
%{_mandir}/man1/%{name}-ktutil.1*
# NOTICE: no support for X11
#%%{_libexecdir}/kxd
#%%{_mandir}/man8/kxd.8*
#%%{_mandir}/cat8/kxd.8*
%attr(04550,root,root) %{_prefix}/bin/%{name}-su
%{bindir}/bin/su
%{_mandir}/man1/%{name}-su.1*
%files devel
%dir %{_libexecdir}/%{name}
%{_bindir}/%{name}-krb5-config
%{bindir}/bin/krb5-config
%{_mandir}/man1/%{name}-krb5-config.1*
%{_includedir}/*
%{libdir}/lib*.a
%{libdir}/windc.a
%{_mandir}/man3/*
%{_mandir}/man7/*
%{_libexecdir}/%{name}/asn1_compile
%{_libexecdir}/%{name}/asn1_print
%{_libexecdir}/%{name}/slc
%files path
%{_sysconfdir}/profile.d/%{name}.sh
%{_sysconfdir}/profile.d/%{name}.csh
%changelog
* Tue Mar 31 2020 Alexander Boström <abo@root.snowtree.se> - 7.7.0-6
- Do not buildrequire openldap-servers on RHEL8+
* Sat Mar 21 2020 Alexander Boström <abo@root.snowtree.se> - 7.7.0-5
- Add Python 3 code patch
- Use Python 3 binary path
- BuildRequire Python 3
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 17 2020 Jeff Law <law@redhat.com> - 7.7.0-3
- Fix configure tests compromised by LTO
* Sat Dec 21 2019 Alexander Boström <abo@root.snowtree.se> - 7.7.0-2
- Set timeout on make check
* Fri Dec 20 2019 Alexander Boström <abo@root.snowtree.se> - 7.7.0-1
- Update to 7.7.0
- Remove upstreamed patch
- New project URL
- Update buildreqs
- Add locale build fix
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 7.5.0-7
- Rebuilt for libcrypt.so.2 (#1666033)
* Sun Jan 06 2019 Björn Esser <besser82@fedoraproject.org> - 7.5.0-6
- Add patch to explicitly use python2 binary, fixes FTBFS (#1604316)
- Do not run 'make dist', fixes FTBFS (#1604316)
- Make sure 'krb5-types.h' is build, fixes FTBFS (#1604316)
- Remove el5 bits
- Drop unneeded scriptlets for newer distros
- Use %%make_build and %%make_install macros
- Install license file using %%license in libs package
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 7.5.0-4
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 7.5.0-2
- Rebuilt for switch to libxcrypt
* Thu Dec 14 2017 Ken Dreyer <ktdreyer@ktdreyer.com> - 7.5.0-1
- Update to 7.5.0 GA release (CVE-2017-17439)
* Mon Oct 23 2017 Alexander Boström <abo@root.snowtree.se> - 7.4.0-5
- Backport fix to prevent wait() loop on non-existant child process
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jul 12 2017 Ken Dreyer <ktdreyer@ktdreyer.com> - 7.4.0-2
- Make test failures non-fatal
* Tue Jul 11 2017 Ken Dreyer <ktdreyer@ktdreyer.com> - 7.4.0-1
- Update to 7.4.0 GA release (CVE-2017-11103)
* Mon Apr 17 2017 Ken Dreyer <ktdreyer@ktdreyer.com> - 7.3.0-1
- Update to 7.3.0 GA release (CVE-2017-6594)
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 29 2016 Ken Dreyer <ktdreyer@ktdreyer.com> - 7.1.0-1
- Update to 7.1.0 GA release
- Drop all remaining xinetd bits
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-0.13.20150115gitc25f45a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Aug 10 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.12.20150115gitc25f45a
- Fix ld.so.conf.d file conflict between 32-bit and 64-bit packages
(rhbz#1244316)
- Mark ld.so.conf.d as %%config(noreplace)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-0.11.20150115gitc25f45a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Jan 15 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.10.20150115gitc25f45a
- Update git snapshot to latest tip of heimdal-1-6-branch
- Remove upstreamed patches
- Add virtual provides for bundled(libtommath) (RHBZ #1118462)
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-0.10.20140621gita5adc06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Mon Jul 07 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.9.20140621gita5adc06
- Remove OpenSSL BR and go back to using hcrypto with bundled libtommath.
OpenSSL is not thread safe without callbacks (RHBZ #1118462)
* Tue Jul 01 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.8.20140621gita5adc06
- Patch for parallel build failure in kadm5. Thanks Jakub Čajka.
- Remove comments about X11 binaries (we will never ship those).
* Sun Jun 22 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.7.20140621gita5adc06
- Update git snapshot to latest tip of heimdal-1-6-branch
* Sat Jun 07 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.6.20140606git966108b
- Update git snapshot to latest tip of heimdal-1-6-branch
- Don't ship xinetd support if the distro has systemd (RHBZ #613001)
* Fri May 30 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.5.20140529gitddde77b
- Update git snapshot to latest tip of heimdal-1-6-branch
- Use /sbin path in %%pre/%%post scripts for EL6 and EL5
- Install login.users(5) normally, since it doesn't conflict with anything
(RHBZ #613001)
- Don't ship ftpusers(5) (RHBZ #613001)
- Patch heimtools to deal with the commands' "heimdal-" prefixes (RHBZ #613001)
- Use "simple" systemd service type for kdc, kadmind, kpasswdd
- Add "--detach" flag in heimdal-ipropd-slave-wrapper to match the systemd
forking service type
- Patch kadmind to handle systemd's restrictions on setpgid() (RHBZ #613001)
* Thu May 22 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.4.20140522git229d8c7
- Update git snapshot to latest tip of heimdal-1-6-branch
- Drop upstreamed text-fx patch
- Install Texinfo files (RHBZ #613001)
- Add Provides: heimdal-static to -devel subpackage (RHBZ #613001)
- Drop %%defattr (RHBZ #613001)
- Add text content to kadmind.acl to help users (and remove a zero-length file)
- Install profile.d scripts with non-executable permissions
- Remove .la files
- Patch to remove AC_PROG_LIBTOOL macro
- Reload xinetd when using systemd
- Require logrotate and setup, since we drop config files into directories that
these packages own.
- Add unowned Heimdal directories in %%files
- Replace "heimdal" with %%{name} in %%files
- Do not BR libcap-ng-devel on EL5
* Tue Apr 29 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.3.20140429gitd60ba47
- Add BR libdb-devel on Fedora (RHBZ #613001)
- Add BR openssl-devel and libcap-ng-devel (RHBZ #613001)
- Only set BuildRoot on el5
- Alphabetize non-conditional BuildRequires
- Remove duplicate BR openldap-devel
* Tue Apr 29 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.2.20140326git7e6b55
- Update git snapshot to latest tip of heimdal-1-6-branch
- Rename Source11 with "heimdal-" prefix
- Use newer macro for UnversionedDocdirs change
* Mon Jan 06 2014 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.6.0-0.1.20140106git46a508
- Package git snapshot from master branch
* Wed Oct 16 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.3-24.20130903gitb074e0b
- Disable autogen and parallel make on EL5
- Add pregenerated autoconf tarball as Source1
- Add script to pregenerate autoconf files as Source2
* Tue Sep 10 2013 Alexander Boström <abo@kth.se> - 1.5.3-23.20130903gitb074e0b
- Fix build. (Problem with symlinks to kcc.)
* Thu Sep 05 2013 Alexander Boström <abo@kth.se> - 1.5.3-22.20130903gitb074e0b
- Rename rename kcc to heimdal-kcc (conflicts in el5 and fedora)
- Rename kswitch to heimdal-kswitch in el6 too
* Tue Sep 03 2013 Alexander Boström <abo@kth.se> - 1.5.3-21.20130903gitb074e0b
- Update to latest git snapshot of heimdal-1-5-branch
- remove upstreamed patch
* Tue Sep 03 2013 Alexander Boström <abo@kth.se> - 1.5.3-20.20130813gitdcc7c13
- Split ipv6_loopbacks_fix.patch into one backport and one smaller change
* Tue Aug 20 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.3-19.20130813gitdcc7c13
- Build against libedit instead of readline (avoid GPL entanglements)
* Tue Aug 13 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.3-18.20130813gitdcc7c13
- Update to latest git snapshot of heimdal-1-5-branch
- remove upstreamed texinfo patches
* Tue Aug 13 2013 Alexander Boström <abo@kth.se> - 1.5.3-17.20130730gitd9b3691
- remove workaround for bogus check-iprop check failure
* Mon Aug 12 2013 Alexander Boström <abo@kth.se> - 1.5.3-16.20130730gitd9b3691
- buildreq groff on el6 and older
- remove most comments from sysconfig file
- systemd: only use /etc/sysconfig/heimdal to specify the iprop master
host, via a wrapper script
- systemd: use Type=forking
- make systemd the default, check for known sysv systems
* Mon Aug 12 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.3-15.20130812git29f0a90
- Update to latest git snapshot of heimdal-1-5-branch
* Mon Aug 12 2013 Alexander Boström <abo@kth.se> - 1.5.3-14.20130730gitd9b3691
- do not ghost files in owned directory
* Mon Aug 12 2013 Alexander Boström <abo@kth.se> - 1.5.3-13.20130730gitd9b3691
- use global instead of define
* Mon Aug 12 2013 Alexander Boström <abo@kth.se> - 1.5.3-12.20130730gitd9b3691
- add doc references to unit files
* Mon Aug 12 2013 Alexander Boström <abo@kth.se> - 1.5.3-11.20130730gitd9b3691
- add missing req on xinetd
- remove slash after buildroot macro usage
- preserve timestamps of installed files
- move slaves config file to /etc
- no attributes on symlinks
- only ghost own the slave-stats file
* Fri Aug 09 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.3-10.20130730gitd9b3691
- add systemd files and _with_systemd conditional
- remove "--detach" from sysconfig comments
- tweak kadmind service description
- add comments about texinfo patches
* Fri Aug 09 2013 Alexander Boström <abo@kth.se> - 1.5.3-9.20130730gitd9b3691
- SysV scriptlets and initscript cleanups
- xinetd services ipv6 enabled
* Thu Aug 08 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.3-8.20130730gitd9b3691
- Add Debian's texinfo patch to hx509, plus my own hacks for 5.1
* Thu Aug 08 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.3-7.20130730gitd9b3691
- Add missing groff buildreq on F19 and above
- Tweak Summary
* Thu Aug 08 2013 Alexander Boström <abo@kth.se> - 1.5.3-6
- Add missing buildreqs
* Thu Aug 08 2013 Alexander Boström <abo@kth.se> - 1.5.3-5
- Update to post 1.5.3 snapshot, deprecating a couple of patches
- Add autogen.sh and extra BRs, build fixes.
* Thu Aug 08 2013 Alexander Boström <abo@kth.se> - 1.5.3-4
- No autoreconf
- More robust ?rhel macro usage
- BR libcom_err-devel instead of e2fsprogs-devel (but not on el5)
- el5 build fixes
* Tue Aug 06 2013 Alexander Boström <abo@kth.se> - 1.5.3-3
- Add heimdal-des-key-selection.patch
* Tue Aug 06 2013 Alexander Boström <abo@kth.se> - 1.5.3-2
- Use upstream tarball.
- Remove unused patches.
- Fix heimdal-kdc.conf
- Handle the case of no .mo files
* Tue Aug 06 2013 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.5.3-1
- Update to 1.5.3 (tag from Git)
- Use the find_lang macro to include the translation files
- Add Getopt patch in order to build with Fedora's newer Perl
- Adjust Group to satisfy rpmlint
- Remove macros from comments to satisfy rpmlint
* Mon Jul 29 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.19
- really fix prefix munge patch
- fix texi build
* Wed Jul 3 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.18
- fix prefix munge patch
* Tue Jul 2 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.17
- rename kswitch to heimdal-kswitch (except on el6)
* Tue Jul 2 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.16
- ignore missing otp binaries
* Fri Jun 28 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.15
- fix license, fix macro-in-changelog
* Fri Jun 28 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.14
- enable dns_lookup_realm and dns_lookup_kdc in the sample config file
- changed logrotate conf, postrotate should not be required
- add kdc.conf
- move kadmind.acl to sysconfdir
* Thu Jun 27 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.13
- fix qop man symlink
* Thu Jun 27 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.12
- workstation does not require xinetd
- fix paths in xinetd confs
* Wed Jun 26 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.11
- fix symlinks
* Wed Jun 26 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.10
- provide/obsolete heimdal-kdc
* Wed Apr 10 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.9
- make PATH manipulation an optional subpackage
* Wed Apr 10 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.8
- rename to heimdal-* instead of *.heimdal
* Tue Apr 9 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.7
- split init script into multiple services
* Tue Apr 9 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.6
- move su to the workstation subpkg
* Tue Apr 9 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.5
- Add symlinks in the bin dir.
* Tue Apr 9 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.4
- Reuse /etc/security/access.conf from PAM.
* Tue Apr 9 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.3
- move daemon binaries to regular libexec dir, with executable name suffix
* Mon Apr 8 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.2
- move binaries from /usr/lib64/heimdal/bin to /usr/lib/heimdal/bin
* Mon Apr 8 2013 Alexander Boström <abo@kth.se> - 1.5.2-3.kth.1
- disable tests
* Wed Jul 4 2012 Rok Papež, ARNES <rok.papez@arnes.si> - 1.5.2-3
- updated to upstream 1.5.2
- added support for Fedora 17
- fixed wrong PATH on x86_64
- fixed IPv6 and multiple interfaces bug in krb5_parse_address:
https://bugzilla.redhat.com/show_bug.cgi?id=808147
- added support for .heimdal prefix to kcc
* Tue Oct 4 2011 Rok Papež, ARNES <rok.papez@arnes.si> - 1.5.1-1
- updated to upstream 1.5.1
* Tue Sep 27 2011 Rok Papež, ARNES <aaa-podpora@arnes.si> - 1.5.1.pre20110912git-2
- FESCo updates: https://fedorahosted.org/fesco/ticket/577
- Implicit requires removed, rpmbuild can figure them out itself
- Implicit provides removed, we are NOT compatible with krb5
- Enable hardened build:
https://fedoraproject.org/wiki/Packaging:Guidelines#PIE
https://fedoraproject.org/wiki/User:Kevin/DRAFT_When_to_use_PIE_compiler_flags
- Merged updates from Orion Poplawski
* Mon Sep 12 2011 Rok Papež, ARNES <aaa-podpora@arnes.si> - 1.5.1.pre20110912git-1.arnes
- Updated to Heimdal 1.5.1.pre20110912git
* Tue Nov 30 2010 Rok Papež, ARNES <aaa-podpora@arnes.si> - 1.4.1rc1-1.arnes
- Updated to Heimdal 1.4.1rc1
* Fri Jul 09 2010 Rok Papež, ARNES <aaa-podpora@arnes.si> - 1.3.3-1.arnes
- Updated to Heimdal 1.3.3
* Wed Apr 21 2010 Rok Papež, ARNES <aaa-podpora@arnes.si> - 1.3.2-2.arnes
- Updated to Heimdal 1.3.2
* Thu Sep 17 2009 Rok Papež, ARNES <aaa-podpora@arnes.si> - 1.3.0pre9-1
- Updated to Heimdal 1.3.0pre9
- Building on CentOS 5.3 i386 and Fedora 11 x86_64.
* Wed Jun 10 2009 Rok Papež, ARNES <aaa-podpora@arnes.si> - 1.2.1-9
- Fixed build for CentOS 4.7 (thanks to Nitzan Zaifman for bugreport)
* Mon Jun 8 2009 Rok Papež, ARNES <aaa-podpora@arnes.si> - 1.2.1-8
- Fixed paths for building on CentOS 5.3
- Rebuilt for CentOS 5.3
- removed obsolete X11 dependency
* Thu Feb 19 2009 Mitja Mihelic, ARNES <aaa-podpora@arnes.si> - 1.2.1-7
- added dependency on xinetd for heimdal-workstation
* Tue Jan 20 2009 Rok Papež, ARNES <aaa-podpora@arnes.si>
- Fixed permissions
* Wed Oct 8 2008 Rok Papež, ARNES <aaa-podpora@arnes.si>
- New specs for Heimdel 1.2.1, suggestions taken from both PDC and Mandrake specs file.
- Need to be compatible with MIT Kerberos 5 installation.
- Let MIT have priority

View file

@ -1,2 +0,0 @@
# hostname of the iprop master
#MASTER=""

View file

@ -1,42 +0,0 @@
[logging]
default = FILE:/var/log/heimdal/heimdal.log
kdc = FILE:/var/log/heimdal/kdc.log
admin_server = FILE:/var/log/heimdal/kadmind.log
[libdefaults]
default_realm = EXAMPLE.COM
dns_lookup_realm = true
dns_lookup_kdc = true
ticket_lifetime = 24h
forwardable = yes
[realms]
EXAMPLE.COM = {
kdc = kerberos.example.com:88
admin_server = kerberos.example.com:749
default_domain = example.com
}
[domain_realm]
.example.com = EXAMPLE.COM
example.com = EXAMPLE.COM
[appdefaults]
forwardable = true
proxiable = true
encrypt = true
forward = true
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}
[kdc]
enable-https = true
check-ticket-addresses = true
[kadmin]
require-preauth = true

View file

@ -1 +0,0 @@
SHA512 (heimdal-7.7.0.tar.gz) = 6660939b5a36ce36310721a08a089fb671d1e3d2e8ac74ea4775bfa5f8f772d32de805551456200fe96cc486c092c44beb84f5dd877008bc305490ee971bbf99