forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
krb5.yaml
161 lines (141 loc) · 3.97 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
package:
name: krb5
version: 1.21.3
epoch: 2
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
- openssf-compiler-options
- openssl-dev
- perl
pipeline:
- uses: git-checkout
with:
repository: https://github.com/krb5/krb5.git
tag: krb5-${{package.version}}-final
expected-commit: 8f56f544dd179056e9b8d02552e6c5e392eb2966
- working-directory: src
runs: |
autoreconf -vfi
- 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-crypto-impl=openssl \
--with-tls-impl=openssl \
--with-system-et \
--with-system-ss \
--with-system-verto \
--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
test:
pipeline:
- runs: |
krb5-config --version
krb5-config --help
- uses: test/pkgconf
- 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
test:
pipeline:
- runs: |
kdb5_ldap_util --version
kdb5_ldap_util --help
krb5-send-pr --version
krb5-send-pr --help
- 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
github:
identifier: krb5/krb5
use-tag: true
strip-prefix: krb5-
strip-suffix: -final
test:
pipeline:
# AUTOGENERATED
- runs: |
klist -V
ktutil --version
ktutil --help