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

Levente Polyak anthraxx at archlinux.org
Wed Dec 13 19:41:59 UTC 2017


    Date: Wednesday, December 13, 2017 @ 19:41:58
  Author: anthraxx
Revision: 312361

archrelease: copy trunk to testing-x86_64

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

---------------------------+
 PKGBUILD                  |   83 ++++++++++++++++++++++++++++++++++++++++++++
 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, 137 insertions(+)

Copied: krb5/repos/testing-x86_64/PKGBUILD (from rev 312360, krb5/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-12-13 19:41:58 UTC (rev 312361)
@@ -0,0 +1,83 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=krb5
+_pkgvermajor=1.16
+pkgver=${_pkgvermajor}
+pkgrel=1
+pkgdesc='The Kerberos network authentication system'
+url='https://web.mit.edu/kerberos/'
+arch=('x86_64')
+license=('custom')
+depends=('e2fsprogs' 'libldap' 'keyutils')
+makedepends=('perl')
+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=('7e162467b95dad2b6aaa11686d08a00f1cc4eb08247fca8f0e5a8bcaa5f9f7b42cdf00db69c5c6111bdf9eb8063d53cef3bb207ce5d6a287615ca10b710153f9'
+            '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 -p1 < "${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/testing-x86_64/krb5-config_LDFLAGS.patch (from rev 312360, krb5/trunk/krb5-config_LDFLAGS.patch)
===================================================================
--- testing-x86_64/krb5-config_LDFLAGS.patch	                        (rev 0)
+++ testing-x86_64/krb5-config_LDFLAGS.patch	2017-12-13 19:41:58 UTC (rev 312361)
@@ -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/testing-x86_64/krb5-kadmind.service (from rev 312360, krb5/trunk/krb5-kadmind.service)
===================================================================
--- testing-x86_64/krb5-kadmind.service	                        (rev 0)
+++ testing-x86_64/krb5-kadmind.service	2017-12-13 19:41:58 UTC (rev 312361)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Kerberos 5 administration server
+
+[Service]
+ExecStart=/usr/bin/kadmind -nofork
+
+[Install]
+WantedBy=multi-user.target

Copied: krb5/repos/testing-x86_64/krb5-kdc.service (from rev 312360, krb5/trunk/krb5-kdc.service)
===================================================================
--- testing-x86_64/krb5-kdc.service	                        (rev 0)
+++ testing-x86_64/krb5-kdc.service	2017-12-13 19:41:58 UTC (rev 312361)
@@ -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/testing-x86_64/krb5-kpropd.service (from rev 312360, krb5/trunk/krb5-kpropd.service)
===================================================================
--- testing-x86_64/krb5-kpropd.service	                        (rev 0)
+++ testing-x86_64/krb5-kpropd.service	2017-12-13 19:41:58 UTC (rev 312361)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Kerberos 5 propagation server
+
+[Service]
+ExecStart=/usr/bin/kpropd -S
+
+[Install]
+WantedBy=multi-user.target

Copied: krb5/repos/testing-x86_64/krb5-kpropd.socket (from rev 312360, krb5/trunk/krb5-kpropd.socket)
===================================================================
--- testing-x86_64/krb5-kpropd.socket	                        (rev 0)
+++ testing-x86_64/krb5-kpropd.socket	2017-12-13 19:41:58 UTC (rev 312361)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Kerberos 5 propagation server
+
+[Socket]
+ListenStream=754
+Accept=yes
+
+[Install]
+WantedBy=sockets.target

Copied: krb5/repos/testing-x86_64/krb5-kpropd at .service (from rev 312360, krb5/trunk/krb5-kpropd at .service)
===================================================================
--- testing-x86_64/krb5-kpropd at .service	                        (rev 0)
+++ testing-x86_64/krb5-kpropd at .service	2017-12-13 19:41:58 UTC (rev 312361)
@@ -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