[arch-commits] Commit in krb5/repos (8 files)

Felix Yan felixonmars at gemini.archlinux.org
Sat Nov 13 18:08:54 UTC 2021


    Date: Saturday, November 13, 2021 @ 18:08:54
  Author: felixonmars
Revision: 428311

archrelease: copy trunk to staging-x86_64

Added:
  krb5/repos/staging-x86_64/
  krb5/repos/staging-x86_64/PKGBUILD
    (from rev 428310, krb5/trunk/PKGBUILD)
  krb5/repos/staging-x86_64/krb5-config_LDFLAGS.patch
    (from rev 428310, krb5/trunk/krb5-config_LDFLAGS.patch)
  krb5/repos/staging-x86_64/krb5-kadmind.service
    (from rev 428310, krb5/trunk/krb5-kadmind.service)
  krb5/repos/staging-x86_64/krb5-kdc.service
    (from rev 428310, krb5/trunk/krb5-kdc.service)
  krb5/repos/staging-x86_64/krb5-kpropd.service
    (from rev 428310, krb5/trunk/krb5-kpropd.service)
  krb5/repos/staging-x86_64/krb5-kpropd.socket
    (from rev 428310, krb5/trunk/krb5-kpropd.socket)
  krb5/repos/staging-x86_64/krb5-kpropd at .service
    (from rev 428310, krb5/trunk/krb5-kpropd at .service)

---------------------------+
 PKGBUILD                  |   99 ++++++++++++++++++++++++++++++++++++++++++++
 krb5-config_LDFLAGS.patch |   12 +++++
 krb5-kadmind.service      |    8 +++
 krb5-kdc.service          |    9 ++++
 krb5-kpropd.service       |    8 +++
 krb5-kpropd.socket        |    9 ++++
 krb5-kpropd at .service      |    8 +++
 7 files changed, 153 insertions(+)

Copied: krb5/repos/staging-x86_64/PKGBUILD (from rev 428310, krb5/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-13 18:08:54 UTC (rev 428311)
@@ -0,0 +1,99 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=krb5
+_pkgvermajor=1.19
+pkgver=1.19.2
+pkgrel=2
+pkgdesc='The Kerberos network authentication system'
+url='https://web.mit.edu/kerberos/'
+arch=('x86_64')
+license=('custom')
+depends=('glibc' 'e2fsprogs' 'libss.so' 'libcom_err.so' 'libldap' 'keyutils')
+makedepends=('perl')
+provides=(
+  libgssapi_krb5.so
+  libgssrpc.so
+  libk5crypto.so
+  libkadm5clnt_mit.so
+  libkadm5srv_mit.so
+  libkdb5.so
+  libkdb_ldap.so
+  libkrad.so
+  libkrb5.so
+  libkrb5support.so
+  libverto.so
+)
+backup=(
+  'etc/krb5.conf'
+  'var/lib/krb5kdc/kdc.conf'
+)
+options=('!emptydirs')
+source=(https://web.mit.edu/kerberos/dist/krb5/${_pkgvermajor}/${pkgname}-${pkgver}.tar.gz{,.asc}
+        krb5-config_LDFLAGS.patch
+        krb5-kadmind.service
+        krb5-kdc.service
+        krb5-kpropd.service
+        krb5-kpropd at .service
+        krb5-kpropd.socket)
+sha512sums=('b90d6ed0e1e8a87eb5cb2c36d88b823a6a6caabf85e5d419adb8a930f7eea09a5f8491464e7e454cca7ba88be09d19415962fe0036ad2e31fc584f9fc0bbd470'
+            'SKIP'
+            '5a3782ff17b383f8cd0415fd13538ab56afd788130d6ad640e9f2682b7deaae7f25713ce358058ed771091040dccf62a3bc87e6fd473d505ec189a95debcc801'
+            'ae1fa980e8e30a83dfef7fe233be70a9ec530ebaffc344a0e7eba61e7de4c800421b45cf203f1e526cc8351754038d6539184b30aa049a567e2a9e80f0d39841'
+            'b137ff0154f9af4891e9e78cec692af47ecfd92ca9ce6e00b40ef137d942ba04e8caf483fc5d464b9559ad4a5c4e75ec57b6eab7fc35181115ca1606c0b316c1'
+            'b57bbe55c19c92a04cd3e8ad569adcc5aedd4246075b2e6dbcc363e523853332a3e7650be85098b91e495799f8b728ea550495ab303f46ccd9298a2260120b2f'
+            'a31ed42e988fed892dd3f1ca1942c3cd4bf391d894c9cebe5e91f52797392261e129727590ae06e2f727bb7b0f8d73a7aa35e8b983d6bad77f22a099091ee944'
+            '4e7ae175425e0787a1d5ff959471a88bf5af4cd6e213dc6d4048902fab7547c1186a082370b523f9549f5096acfab1fb03b4839e42bd80dc539130ae4bb3ea55')
+validpgpkeys=('2C732B1C0DBEF678AB3AF606A32F17FD0055C305'  # Tom Yu <tlyu at mit.edu>
+              'C4493CB739F4A89F9852CBC20CBA08575F8372DF') # Greg Hudson <ghudson at mit.edu>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # cf https://bugs.gentoo.org/show_bug.cgi?id=448778
+  patch -Np1 < "${srcdir}"/krb5-config_LDFLAGS.patch
+
+  # FS#25384
+  sed -i "/KRB5ROOT=/s/\/local//" src/util/ac_check_krb5.m4
+}
+
+build() {
+   cd ${pkgname}-${pkgver}/src
+   export CFLAGS+=" -fPIC -fno-strict-aliasing -fstack-protector-all"
+   export CPPFLAGS+=" -I/usr/include/et"
+   ./configure --prefix=/usr \
+               --sbindir=/usr/bin \
+               --sysconfdir=/etc \
+               --localstatedir=/var/lib \
+               --enable-shared \
+               --with-system-et \
+               --with-system-ss \
+               --disable-rpath \
+               --without-tcl \
+               --enable-dns-for-realm \
+               --with-ldap \
+               --without-system-verto
+   make
+}
+
+package() {
+   cd ${pkgname}-${pkgver}/src
+   make DESTDIR="${pkgdir}" EXAMPLEDIR=/usr/share/doc/${pkgname}/examples install
+
+   # Fix FS#29889
+   install -m 644 plugins/kdb/ldap/libkdb_ldap/kerberos.{ldif,schema} \
+     "${pkgdir}/usr/share/doc/${pkgname}/examples"
+
+   install -Dpm 644 config-files/krb5.conf -t "${pkgdir}/etc"
+   install -Dpm 644 config-files/kdc.conf -t "${pkgdir}/var/lib/krb5kdc"
+
+   install -Dm 644 util/ac_check_krb5.m4 -t "${pkgdir}/usr/share/aclocal"
+
+   install -Dm 644 "${srcdir}"/${pkgname}-${pkgver}/NOTICE \
+     "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+   # systemd stuff
+   install -Dm 644 "${srcdir}"/krb5-{kadmind.service,kdc.service,kpropd.service,kpropd at .service,kpropd.socket} \
+      -t "${pkgdir}/usr/lib/systemd/system"
+}
+
+# vim: ts=2 sw=2 et:

Copied: krb5/repos/staging-x86_64/krb5-config_LDFLAGS.patch (from rev 428310, krb5/trunk/krb5-config_LDFLAGS.patch)
===================================================================
--- staging-x86_64/krb5-config_LDFLAGS.patch	                        (rev 0)
+++ staging-x86_64/krb5-config_LDFLAGS.patch	2021-11-13 18:08:54 UTC (rev 428311)
@@ -0,0 +1,12 @@
+Bug #448778
+--- krb5-1.11/src/build-tools/krb5-config.in	2012-12-18 02:47:04.000000000 +0000
++++ krb5-1.11/src/build-tools/krb5-config.in	2012-12-28 07:13:16.582693363 +0000
+@@ -217,7 +217,7 @@
+ 	    -e 's#\$(PROG_RPATH)#'$libdir'#' \
+ 	    -e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \
+ 	    -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \
+-	    -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \
++	    -e 's#\$(LDFLAGS)##' \
+ 	    -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \
+ 	    -e 's#\$(CFLAGS)##'`
+ 

Copied: krb5/repos/staging-x86_64/krb5-kadmind.service (from rev 428310, krb5/trunk/krb5-kadmind.service)
===================================================================
--- staging-x86_64/krb5-kadmind.service	                        (rev 0)
+++ staging-x86_64/krb5-kadmind.service	2021-11-13 18:08:54 UTC (rev 428311)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Kerberos 5 administration server
+
+[Service]
+ExecStart=/usr/bin/kadmind -nofork
+
+[Install]
+WantedBy=multi-user.target

Copied: krb5/repos/staging-x86_64/krb5-kdc.service (from rev 428310, krb5/trunk/krb5-kdc.service)
===================================================================
--- staging-x86_64/krb5-kdc.service	                        (rev 0)
+++ staging-x86_64/krb5-kdc.service	2021-11-13 18:08:54 UTC (rev 428311)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Kerberos 5 KDC
+
+[Service]
+ExecStart=/usr/bin/krb5kdc -n
+Restart=always
+
+[Install]
+WantedBy=multi-user.target

Copied: krb5/repos/staging-x86_64/krb5-kpropd.service (from rev 428310, krb5/trunk/krb5-kpropd.service)
===================================================================
--- staging-x86_64/krb5-kpropd.service	                        (rev 0)
+++ staging-x86_64/krb5-kpropd.service	2021-11-13 18:08:54 UTC (rev 428311)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Kerberos 5 propagation server
+
+[Service]
+ExecStart=/usr/bin/kpropd -S
+
+[Install]
+WantedBy=multi-user.target

Copied: krb5/repos/staging-x86_64/krb5-kpropd.socket (from rev 428310, krb5/trunk/krb5-kpropd.socket)
===================================================================
--- staging-x86_64/krb5-kpropd.socket	                        (rev 0)
+++ staging-x86_64/krb5-kpropd.socket	2021-11-13 18:08:54 UTC (rev 428311)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Kerberos 5 propagation server
+
+[Socket]
+ListenStream=754
+Accept=yes
+
+[Install]
+WantedBy=sockets.target

Copied: krb5/repos/staging-x86_64/krb5-kpropd at .service (from rev 428310, krb5/trunk/krb5-kpropd at .service)
===================================================================
--- staging-x86_64/krb5-kpropd at .service	                        (rev 0)
+++ staging-x86_64/krb5-kpropd at .service	2021-11-13 18:08:54 UTC (rev 428311)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Kerberos 5 propagation server
+Conflicts=krb5-kpropd.service
+
+[Service]
+ExecStart=/usr/bin/kpropd
+StandardInput=socket
+StandardError=syslog



More information about the arch-commits mailing list