🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
pkgname: kerberos
pkgver: '1.22.2'
pkgrel: '5'
pkgdesc: The Kerberos network authentication system
url: 'https://web.mit.edu/kerberos/'
arch: x86_64
license:
- custom
depends:
- e2fsprogs
- keyutils
- openssl
makedepends:
- perl
- e2fsprogs
- bison
- gawk
source:
- mitkrb-1.22.2-upstream_fix-1.patch
- mitkrb-1.22.2-security_fix-1.patch
- mitkrb-1.22.2-openssl_4_fixes-1.patch
- 'https://repo.paganlinux.eu/sources/pagan-scripts-20260822.tar.gz'
- 'https://web.mit.edu/${pkgname}/dist/krb5/1.22/krb5-${pkgver}.tar.gz'
sha256sums:
- SKIP
- SKIP
- SKIP
- 32e0aec88cc56a8afe0b2671debe47d19357792a6ffaffaf6e3db8a021a57072
- 3243ffbc8ea4d4ac22ddc7dd2a1dc54c57874c40648b60ff97009763554eaf13
hooks:
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"
build: |
cd krb5-${pkgver}
patch -Np1 -i ../mitkrb-1.22.2-upstream_fix-1.patch
patch -Np1 -i ../mitkrb-1.22.2-security_fix-1.patch
patch -Np1 -i ../mitkrb-1.22.2-openssl_4_fixes-1.patch
cd src
sed -i -e '/eq 0/{N;s/12 //}' plugins/kdb/db2/libdb2/test/run.test
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--runstatedir=/run \
--with-system-et \
--with-system-ss \
--with-system-verto=no \
--enable-dns-for-realm \
--disable-rpath
make
make DESTDIR=${PKGDIR} install
install -v -dm755 ${PKGDIR}/usr/share/doc/krb5
cp -vfr ../doc/* ${PKGDIR}/usr/share/doc/krb5
# Service
cd ${SRCDIR}/pagan-scripts-20260822
make DESTDIR=${PKGDIR} install-sysd-krb5
package: |
true