-
Notifications
You must be signed in to change notification settings - Fork 289
/
Copy pathkrb5.yaml
131 lines (113 loc) · 3.38 KB
/
krb5.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package:
name: krb5
version: 1.21.2
epoch: 1
description: The Kerberos network authentication system
copyright:
- license: MIT
environment:
contents:
packages:
- autoconf
- automake
- bison
- build-base
- busybox
- ca-certificates-bundle
- e2fsprogs-dev
- flex
- keyutils-dev
- krb5-conf
- libverto-dev
- openldap-dev
- openssl-dev
- perl
pipeline:
- uses: fetch
with:
expected-sha256: 9560941a9d843c0243a71b17a7ac6fe31c7cebb5bce3983db79e52ae7e850491
uri: https://web.mit.edu/kerberos/dist/krb5/1.21/krb5-${{package.version}}.tar.gz
- uses: autoconf/configure
with:
dir: src
opts: |
CPPFLAGS="$CPPFLAGS -fPIC -I/usr/include/et" \
--localstatedir=/var/lib \
--enable-shared \
--disable-nls \
--disable-static \
--disable-rpath \
--with-system-et \
--with-system-ss \
--with-system-verto \
--without-tcl \
--with-ldap
- uses: autoconf/make
with:
dir: src
- uses: autoconf/make-install
with:
dir: src
- runs: |
mkdir -p ${{targets.destdir}}/usr/share/doc/krb5
mv ${{targets.destdir}}/usr/share/examples ${{targets.destdir}}/usr/share/doc/krb5/
- uses: strip
subpackages:
- name: krb5-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- krb5-libs
- e2fsprogs-dev
- libverto-dev
- krb5-conf
description: krb5 dev
- name: krb5-doc
pipeline:
- uses: split/manpages
description: krb5 manpages
- name: krb5-server
dependencies:
runtime:
- libverto-libev
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/share
mkdir -p ${{targets.subpkgdir}}/usr/bin
install -d ${{targets.subpkgdir}}/var/lib/krb5kdc
mv ${{targets.destdir}}/usr/sbin ${{targets.subpkgdir}}/usr/
mv ${{targets.destdir}}/usr/bin/sclient ${{targets.subpkgdir}}/usr/bin/
description: The KDC and related programs for Kerberos 5
- name: krb5-server-ldap
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib/krb5/plugins/kdb
mkdir -p ${{targets.subpkgdir}}/usr/lib
install -Dm644 \
-t ${{targets.subpkgdir}}/usr/share/kerberos \
src/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif \
src/plugins/kdb/ldap/libkdb_ldap/kerberos.openldap.ldif
mv ${{targets.destdir}}/usr/lib/krb5/plugins/kdb/kldap.so ${{targets.subpkgdir}}/usr/lib/krb5/plugins/kdb/
mv ${{targets.destdir}}/usr/lib/libkdb_ldap* ${{targets.subpkgdir}}/usr/lib/
description: The LDAP storage plugin for the Kerberos 5 KDC
- name: krb5-pkinit
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib/krb5/plugins/preauth
mv ${{targets.destdir}}/usr/lib/krb5/plugins/preauth/pkinit.so ${{targets.subpkgdir}}/usr/lib/krb5/plugins/preauth/
description: The PKINIT module for Kerberos 5
- name: krb5-libs
dependencies:
runtime:
- krb5-conf
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib ${{targets.subpkgdir}}/usr/
description: The shared libraries used by Kerberos 5
update:
enabled: true
release-monitor:
identifier: 13287
strip-suffix: -final