[arch-commits] Commit in krb5/repos (16 files)
Levente Polyak
anthraxx at archlinux.org
Mon Sep 25 21:27:37 UTC 2017
Date: Monday, September 25, 2017 @ 21:27:36
Author: anthraxx
Revision: 306231
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
krb5/repos/testing-i686/
krb5/repos/testing-i686/PKGBUILD
(from rev 306230, krb5/trunk/PKGBUILD)
krb5/repos/testing-i686/krb5-config_LDFLAGS.patch
(from rev 306230, krb5/trunk/krb5-config_LDFLAGS.patch)
krb5/repos/testing-i686/krb5-kadmind.service
(from rev 306230, krb5/trunk/krb5-kadmind.service)
krb5/repos/testing-i686/krb5-kdc.service
(from rev 306230, krb5/trunk/krb5-kdc.service)
krb5/repos/testing-i686/krb5-kpropd.service
(from rev 306230, krb5/trunk/krb5-kpropd.service)
krb5/repos/testing-i686/krb5-kpropd.socket
(from rev 306230, krb5/trunk/krb5-kpropd.socket)
krb5/repos/testing-i686/krb5-kpropd at .service
(from rev 306230, krb5/trunk/krb5-kpropd at .service)
krb5/repos/testing-x86_64/
krb5/repos/testing-x86_64/PKGBUILD
(from rev 306230, krb5/trunk/PKGBUILD)
krb5/repos/testing-x86_64/krb5-config_LDFLAGS.patch
(from rev 306230, krb5/trunk/krb5-config_LDFLAGS.patch)
krb5/repos/testing-x86_64/krb5-kadmind.service
(from rev 306230, krb5/trunk/krb5-kadmind.service)
krb5/repos/testing-x86_64/krb5-kdc.service
(from rev 306230, krb5/trunk/krb5-kdc.service)
krb5/repos/testing-x86_64/krb5-kpropd.service
(from rev 306230, krb5/trunk/krb5-kpropd.service)
krb5/repos/testing-x86_64/krb5-kpropd.socket
(from rev 306230, krb5/trunk/krb5-kpropd.socket)
krb5/repos/testing-x86_64/krb5-kpropd at .service
(from rev 306230, krb5/trunk/krb5-kpropd at .service)
------------------------------------------+
testing-i686/PKGBUILD | 83 +++++++++++++++++++++++++++++
testing-i686/krb5-config_LDFLAGS.patch | 12 ++++
testing-i686/krb5-kadmind.service | 8 ++
testing-i686/krb5-kdc.service | 9 +++
testing-i686/krb5-kpropd.service | 8 ++
testing-i686/krb5-kpropd.socket | 9 +++
testing-i686/krb5-kpropd at .service | 8 ++
testing-x86_64/PKGBUILD | 83 +++++++++++++++++++++++++++++
testing-x86_64/krb5-config_LDFLAGS.patch | 12 ++++
testing-x86_64/krb5-kadmind.service | 8 ++
testing-x86_64/krb5-kdc.service | 9 +++
testing-x86_64/krb5-kpropd.service | 8 ++
testing-x86_64/krb5-kpropd.socket | 9 +++
testing-x86_64/krb5-kpropd at .service | 8 ++
14 files changed, 274 insertions(+)
Copied: krb5/repos/testing-i686/PKGBUILD (from rev 306230, krb5/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-09-25 21:27:36 UTC (rev 306231)
@@ -0,0 +1,83 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=krb5
+_pkgvermajor=1.15
+pkgver=${_pkgvermajor}.2
+pkgrel=1
+pkgdesc='The Kerberos network authentication system'
+url='https://web.mit.edu/kerberos/'
+arch=('i686' '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=('e5814bb66384b13637c37918df694c6b9933c29c2d952da0ed0dcd2e623b269060b4c16b6c02162039dadebdab99ff1085e37e7621ae4748dafb036424e612c2'
+ '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-i686/krb5-config_LDFLAGS.patch (from rev 306230, krb5/trunk/krb5-config_LDFLAGS.patch)
===================================================================
--- testing-i686/krb5-config_LDFLAGS.patch (rev 0)
+++ testing-i686/krb5-config_LDFLAGS.patch 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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-i686/krb5-kadmind.service (from rev 306230, krb5/trunk/krb5-kadmind.service)
===================================================================
--- testing-i686/krb5-kadmind.service (rev 0)
+++ testing-i686/krb5-kadmind.service 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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-i686/krb5-kdc.service (from rev 306230, krb5/trunk/krb5-kdc.service)
===================================================================
--- testing-i686/krb5-kdc.service (rev 0)
+++ testing-i686/krb5-kdc.service 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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-i686/krb5-kpropd.service (from rev 306230, krb5/trunk/krb5-kpropd.service)
===================================================================
--- testing-i686/krb5-kpropd.service (rev 0)
+++ testing-i686/krb5-kpropd.service 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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-i686/krb5-kpropd.socket (from rev 306230, krb5/trunk/krb5-kpropd.socket)
===================================================================
--- testing-i686/krb5-kpropd.socket (rev 0)
+++ testing-i686/krb5-kpropd.socket 2017-09-25 21:27:36 UTC (rev 306231)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Kerberos 5 propagation server
+
+[Socket]
+ListenStream=754
+Accept=yes
+
+[Install]
+WantedBy=sockets.target
Copied: krb5/repos/testing-i686/krb5-kpropd at .service (from rev 306230, krb5/trunk/krb5-kpropd at .service)
===================================================================
--- testing-i686/krb5-kpropd at .service (rev 0)
+++ testing-i686/krb5-kpropd at .service 2017-09-25 21:27:36 UTC (rev 306231)
@@ -0,0 +1,8 @@
+[Unit]
+Description=Kerberos 5 propagation server
+Conflicts=krb5-kpropd.service
+
+[Service]
+ExecStart=/usr/bin/kpropd
+StandardInput=socket
+StandardError=syslog
Copied: krb5/repos/testing-x86_64/PKGBUILD (from rev 306230, krb5/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-09-25 21:27:36 UTC (rev 306231)
@@ -0,0 +1,83 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=krb5
+_pkgvermajor=1.15
+pkgver=${_pkgvermajor}.2
+pkgrel=1
+pkgdesc='The Kerberos network authentication system'
+url='https://web.mit.edu/kerberos/'
+arch=('i686' '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=('e5814bb66384b13637c37918df694c6b9933c29c2d952da0ed0dcd2e623b269060b4c16b6c02162039dadebdab99ff1085e37e7621ae4748dafb036424e612c2'
+ '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 306230, krb5/trunk/krb5-config_LDFLAGS.patch)
===================================================================
--- testing-x86_64/krb5-config_LDFLAGS.patch (rev 0)
+++ testing-x86_64/krb5-config_LDFLAGS.patch 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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 306230, krb5/trunk/krb5-kadmind.service)
===================================================================
--- testing-x86_64/krb5-kadmind.service (rev 0)
+++ testing-x86_64/krb5-kadmind.service 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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 306230, krb5/trunk/krb5-kdc.service)
===================================================================
--- testing-x86_64/krb5-kdc.service (rev 0)
+++ testing-x86_64/krb5-kdc.service 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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 306230, krb5/trunk/krb5-kpropd.service)
===================================================================
--- testing-x86_64/krb5-kpropd.service (rev 0)
+++ testing-x86_64/krb5-kpropd.service 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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 306230, krb5/trunk/krb5-kpropd.socket)
===================================================================
--- testing-x86_64/krb5-kpropd.socket (rev 0)
+++ testing-x86_64/krb5-kpropd.socket 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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 306230, krb5/trunk/krb5-kpropd at .service)
===================================================================
--- testing-x86_64/krb5-kpropd at .service (rev 0)
+++ testing-x86_64/krb5-kpropd at .service 2017-09-25 21:27:36 UTC (rev 306231)
@@ -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