PaganOS Luna 0.6.0
PL EN DE
← recipes

Commit 281c140b

2
files
+10
added
-45
deleted
@@ -1,6 +1,6 @@
1 1 pkgname: kerberos
2 2 pkgver: '1.22.2'
3 -pkgrel: '4'
3 +pkgrel: '5'
4 4 pkgdesc: The Kerberos network authentication system
5 5 url: 'https://web.mit.edu/kerberos/'
6 6 arch: x86_64
@@ -28,15 +28,7 @@ sha256sums:
28 28 - 32e0aec88cc56a8afe0b2671debe47d19357792a6ffaffaf6e3db8a021a57072
29 29 - 3243ffbc8ea4d4ac22ddc7dd2a1dc54c57874c40648b60ff97009763554eaf13
30 30 hooks:
31 - post-install: "name=kerberos\nversion=1.22.2\nrelease=3\nINFO=\"\\033[1;36m\"\nNORMAL=\"\\033[0;39m\"\n\nif [ ! -f etc/krb5.conf\
32 - \ ]; then\n cat > /etc/krb5.conf << \"EOF\"\n# Begin /etc/krb5.conf\n\n[libdefaults]\n default_realm = <EXAMPLE.ORG>\n\
33 - \ encrypt = true\n\n[realms]\n <EXAMPLE.ORG> = {\n kdc = <belgarath.example.org>\n admin_server =\
34 - \ <belgarath.example.org>\n dict_file = /usr/share/dict/words\n }\n\n[domain_realm]\n .<example.org> = <EXAMPLE.ORG>\n\
35 - \n[logging]\n kdc = SYSLOG:INFO:AUTH\n admin_server = SYSLOG:INFO:AUTH\n default = SYSLOG:DEBUG:DAEMON\n\n# End\
36 - \ /etc/krb5.conf\nEOF\n printf \"${INFO} /etc/krb5.conf created ${NORMAL}\\n\"\n printf \"${INFO} YOU MUST adapt /etc/krb5.conf\
37 - \ to your needs.${NORMAL}\\n\"\n printf \"${INFO} Substitute your domain and proper hostname for the occurrences of\
38 - \ the <belgarath> and <example.org> names.${NORMAL}\\n\"\nfi \nsystemctl enable krb5-kdc.service\nsystemctl enable krb5-kpropd.service\n\
39 - systemctl enable krb5-kadmind.service\n"
31 + post-install: "name=kerberos\nversion=1.22.2\nrelease=5\n# Kerberos jest w Pagan BIBLIOTEKA (zaleznosc qt6-base, bind, cifs-utils,\n# mariadb). Serwer KDC wymaga wlasnego realmu i bazy principal - bez tego\n# systemd co boot zglasza \"Failed to start Kerberos 5 KDC\". Nie tworzymy\n# przykladowego /etc/krb5.conf (realm <EXAMPLE.ORG>) i nie wlaczamy jednostek.\nexit 0\n"
40 32 build: |
41 33 cd krb5-${pkgver}
42 34 patch -Np1 -i ../mitkrb-1.22.2-upstream_fix-1.patch
@@ -1,35 +1,8 @@
1 -INFO="\033[1;36m"
2 -NORMAL="\033[0;39m"
3 -
4 -if [ ! -f etc/krb5.conf ]; then
5 - cat > /etc/krb5.conf << "EOF"
6 -# Begin /etc/krb5.conf
7 -
8 -[libdefaults]
9 - default_realm = <EXAMPLE.ORG>
10 - encrypt = true
11 -
12 -[realms]
13 - <EXAMPLE.ORG> = {
14 - kdc = <belgarath.example.org>
15 - admin_server = <belgarath.example.org>
16 - dict_file = /usr/share/dict/words
17 - }
18 -
19 -[domain_realm]
20 - .<example.org> = <EXAMPLE.ORG>
21 -
22 -[logging]
23 - kdc = SYSLOG:INFO:AUTH
24 - admin_server = SYSLOG:INFO:AUTH
25 - default = SYSLOG:DEBUG:DAEMON
26 -
27 -# End /etc/krb5.conf
28 -EOF
29 - printf "${INFO} /etc/krb5.conf created ${NORMAL}\n"
30 - printf "${INFO} YOU MUST adapt /etc/krb5.conf to your needs.${NORMAL}\n"
31 - printf "${INFO} Substitute your domain and proper hostname for the occurrences of the <belgarath> and <example.org> names.${NORMAL}\n"
32 -fi
33 -systemctl enable krb5-kdc.service
34 -systemctl enable krb5-kpropd.service
35 -systemctl enable krb5-kadmind.service
1 +name=kerberos
2 +version=1.22.2
3 +release=5
4 +# Kerberos jest w Pagan BIBLIOTEKA (zaleznosc qt6-base, bind, cifs-utils,
5 +# mariadb). Serwer KDC wymaga wlasnego realmu i bazy principal - bez tego
6 +# systemd co boot zglasza "Failed to start Kerberos 5 KDC". Nie tworzymy
7 +# przykladowego /etc/krb5.conf (realm <EXAMPLE.ORG>) i nie wlaczamy jednostek.
8 +exit 0