[arch-commits] Commit in lib32-systemd/repos (3 files)

Christian Hesse eworm at archlinux.org
Fri Jun 1 07:21:05 UTC 2018


    Date: Friday, June 1, 2018 @ 07:21:03
  Author: eworm
Revision: 335570

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-systemd/repos/multilib-testing-x86_64/
  lib32-systemd/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 335569, lib32-systemd/trunk/PKGBUILD)
  lib32-systemd/repos/multilib-testing-x86_64/gnupg-keys.gpg
    (from rev 335569, lib32-systemd/trunk/gnupg-keys.gpg)

----------+
 PKGBUILD |  151 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 151 insertions(+)

Copied: lib32-systemd/repos/multilib-testing-x86_64/PKGBUILD (from rev 335569, lib32-systemd/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2018-06-01 07:21:03 UTC (rev 335570)
@@ -0,0 +1,151 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Tom Gundersen <teg at jklm.no>
+
+pkgname=lib32-systemd
+_pkgbasename=systemd
+# latest commit on stable branch
+_commit='f58e62cbbc1c2842881a2a6ab9beda7bcb044a30'
+# Bump this to latest major release for signed tag verification,
+# the commit count is handled by pkgver() function.
+pkgver=238.133
+pkgrel=1
+pkgdesc="system and service manager (32-bit)"
+arch=('x86_64')
+url="https://www.github.com/systemd/systemd"
+license=('GPL2' 'LGPL2.1')
+depends=('lib32-gcc-libs' 'lib32-libcap' 'lib32-libgcrypt' 'lib32-xz' 'systemd')
+makedepends=('gcc-multilib' 'git' 'gperf' 'intltool' 'lib32-acl' 'lib32-bzip2'
+             'lib32-curl' 'lib32-dbus' 'lib32-gcc-libs' 'lib32-glib2'
+             'lib32-gnutls' 'lib32-libelf' 'lib32-libidn' 'lib32-pcre2'
+             'libxslt' 'meson')
+options=('strip')
+validpgpkeys=('63CDA1E5D3FC22B998D20DD6327F26951A015CC4'  # Lennart Poettering <lennart at poettering.net>
+              '5C251B5FC54EB2F80F407AAAC54CA336CFEB557E') # Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
+source=('git+https://github.com/systemd/systemd-stable'
+        'git+https://github.com/systemd/systemd'
+        'gnupg-keys.gpg')
+sha512sums=('SKIP'
+            'SKIP'
+            '42dcacfa0b0c68b04267446d2c360e508dab13f06c07506f46632b19fca0561c27bb5813cd916f7d28b53f853f7197f721c1a02aacd7a3cc8d8742bb6a393cff')
+
+_backports=(
+)
+
+_reverts=(
+)
+
+_validate_tag() (
+  local success fingerprint trusted status tag=v${pkgver%.*}
+
+  cd "$srcdir/$_pkgbasename-stable"
+  parse_gpg_statusfile /dev/stdin < <(git verify-tag --raw "$tag" 2>&1)
+
+  if (( ! success )); then
+    error 'failed to validate tag %s\n' "$tag"
+    return 1
+  fi
+
+  if ! in_array "$fingerprint" "${validpgpkeys[@]}" && (( ! trusted )); then
+    error 'unknown or untrusted public key: %s\n' "$fingerprint"
+    return 1
+  fi
+
+  case $status in
+    'expired')
+      warning 'the signature has expired'
+      ;;
+    'expiredkey')
+      warning 'the key has expired'
+      ;;
+  esac
+
+  return 0
+)
+
+prepare() {
+  cd "$_pkgbasename-stable"
+
+  # import gpg keys for verification
+  gpg --import ../gnupg-keys.gpg
+
+  git remote add -f upstream ../systemd
+  git checkout "$_commit"
+
+  local c
+  for c in "${_backports[@]}"; do
+    git cherry-pick -n "$c"
+  done
+  for c in "${_reverts[@]}"; do
+    git revert -n "$c"
+  done
+}
+
+pkgver() {
+  local version count
+
+  cd "$_pkgbasename-stable"
+
+  version="$(git describe --abbrev=0 --tags)"
+  count="$(git rev-list --count ${version}..)"
+  printf '%s.%s' "${version#v}" "${count}"
+}
+
+build() {
+  _validate_tag || return
+
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  local timeservers=({0..3}.arch.pool.ntp.org)
+
+  local meson_options=(
+    --libexecdir	/usr/lib32
+    --libdir		/usr/lib32
+
+    -Daudit=false
+    -Dgnuefi=false
+    -Dima=false
+    -Dlz4=false
+    -Dblkid=false
+    -Dkmod=false
+    -Dlibcryptsetup=false
+    -Dlibiptc=false
+    -Dmanpages=false
+    -Dnetworkd=false
+    -Dpam=false
+    -Dpython=false
+    -Dseccomp=false
+    -Dman=false
+    -Dhtml=false
+
+    -Ddbuspolicydir=/usr/share/dbus-1/system.d
+    -Ddefault-dnssec=no
+    # TODO(dreisner): consider changing this to unified
+    -Ddefault-hierarchy=hybrid
+    -Ddefault-kill-user-processes=false
+    -Dfallback-hostname='archlinux'
+    -Dntp-servers="${timeservers[*]}"
+    -Drpmmacrosdir=no
+    -Dsysvinit-path=
+    -Dsysvrcnd-path=
+  )
+
+  arch-meson "$_pkgbasename-stable" build "${meson_options[@]}"
+
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+
+  rm -rf "${pkgdir}"/{etc,var}
+  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+}

Copied: lib32-systemd/repos/multilib-testing-x86_64/gnupg-keys.gpg (from rev 335569, lib32-systemd/trunk/gnupg-keys.gpg)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list