[arch-commits] Commit in libguestfs/repos/community-x86_64 (PKGBUILD PKGBUILD)

Robin Broda coderobe at archlinux.org
Thu May 27 21:00:16 UTC 2021


    Date: Thursday, May 27, 2021 @ 21:00:15
  Author: coderobe
Revision: 949156

archrelease: copy trunk to community-x86_64

Added:
  libguestfs/repos/community-x86_64/PKGBUILD
    (from rev 949155, libguestfs/trunk/PKGBUILD)
Deleted:
  libguestfs/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  161 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 81 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 20:59:44 UTC (rev 949155)
+++ PKGBUILD	2021-05-27 21:00:15 UTC (rev 949156)
@@ -1,80 +0,0 @@
-# Maintainer: Robin Broda <coderobe @ archlinux.org>
-# Contributor: Peter Wu <peter at lekensteyn.nl>
-# Contributor: Evaggelos Balaskas <eblaskas _AT_ ebalaskas _DOT_ gr>
-# Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
-# Contributor: Nikos Skalkotos <skalkoto (at) Gmail.com>
-
-pkgname=libguestfs
-pkgver=1.44.1
-_pkgver_short=${pkgver%.*}
-pkgrel=2
-pkgdesc="Access and modify virtual machine disk images"
-arch=('x86_64')
-url="http://libguestfs.org/"
-license=('GPL2' 'LGPL2.1')
-_appliancedeps=('iproute2' 'mdadm' 'lvm2' 'libldm' 'btrfs-progs' 'dosfstools' 'gdisk' 'procps' 'psmisc'
-                'rsync' 'xfsprogs' 'dhcpcd' 'iputils' 'ntfs-3g' 'vim' 'systemd-sysvcompat' 'openssh'
-                'f2fs-tools' 'jfsutils' 'lsscsi' 'lsof' 'lzop' 'pciutils' 'squashfs-tools'
-                'strace' 'syslinux' 'debootstrap' 'exfat-utils' 'grub' 'lrzip' 'mtools'
-                'multipath-tools' 'nilfs-utils' 'reiserfsprogs' 'yara')
-#               'scrub' 'zerofree' 'hfsprogs')
-depends=('augeas' 'libvirt' 'jansson' 'fuse' 'hivex' 'sleuthkit' 'supermin' 'qemu-headless' 'libconfig'
-         'perl-libintl-perl' "${_appliancedeps[@]}")
-makedepends=('ocaml' 'ocaml-findlib' 'gperf' 'cdrtools' 'perl-module-build' 'python'
-             'gobject-introspection' 'vala' 'bash-completion' 'cpio' 'java-environment'
-             'php' 'erlang-nox' 'lua' 'rust')
-# 'go' 'ghc' 'ruby')
-checkdepends=('linux')
-optdepends=('ocaml: OCaml Bindings'
-            'python: Python Bindings'
-            'gobject-introspection: GObject-Introspection Bindings')
-provides=('libguestfs.so' 'libguestfs-gobject-1.0.so')
-backup=('etc/libguestfs-tools.conf'
-        'etc/xdg/virt-builder/repos.d/libguestfs.conf'
-        'etc/xdg/virt-builder/repos.d/libguestfs.gpg'
-        'etc/xdg/virt-builder/repos.d/opensuse.conf'
-        'etc/xdg/virt-builder/repos.d/opensuse.gpg')
-source=("http://download.libguestfs.org/$_pkgver_short-stable/$pkgname-$pkgver.tar.gz"{,.sig})
-sha256sums=('72b7dcdd32da1c17c932cf5a0a70b3bd68bc93e94828ad66a539f2e616adb025'
-            'SKIP')
-validpgpkeys=('F7774FB1AD074A7E8C8767EA91738F73E1B768A0') # Richard W.M. Jones <rjones at redhat.com>
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  sed -i 's/ Sys::Virt / /g' m4/guestfs-perl.m4
-  autoreconf -vi
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --sbindir=/usr/bin \
-    --disable-static \
-    --disable-haskell \
-    --disable-ruby \
-    --with-extra-packages="libldm systemd-sysvcompat openssh qemu-headless"
-  # ^ haskell & ruby bindings do not build
-  make
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  #tests require /dev/kvm to be available
-#  make quickcheck
-#  make -k check ||: takes ages
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
-  find "$pkgdir/usr/lib/perl5" -name '*.so' -exec chmod 644 {} +
-  find "$pkgdir/usr/lib/perl5" -name '*.bs' -exec rm -f {} +
-
-  # Remove obsolete binaries (RHBZ#1213298).
-  rm -f "$pkgdir"/usr/bin/virt-list-{filesystems,partitions}
-  rm -f "$pkgdir"/usr/bin/virt-tar
-  rm -f "$pkgdir"/usr/share/man/man1/virt-list-{filesystems,partitions}.1*
-  rm -f "$pkgdir"/usr/share/man/man1/virt-tar.1*
-}

Copied: libguestfs/repos/community-x86_64/PKGBUILD (from rev 949155, libguestfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-27 21:00:15 UTC (rev 949156)
@@ -0,0 +1,81 @@
+# Maintainer: Robin Broda <coderobe @ archlinux.org>
+# Contributor: Peter Wu <peter at lekensteyn.nl>
+# Contributor: Evaggelos Balaskas <eblaskas _AT_ ebalaskas _DOT_ gr>
+# Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
+# Contributor: Nikos Skalkotos <skalkoto (at) Gmail.com>
+
+pkgname=libguestfs
+pkgver=1.44.1
+_pkgver_short=${pkgver%.*}
+pkgrel=3
+pkgdesc="Access and modify virtual machine disk images"
+arch=('x86_64')
+url="http://libguestfs.org/"
+license=('GPL2' 'LGPL2.1')
+_appliancedeps=('iproute2' 'mdadm' 'lvm2' 'libldm' 'btrfs-progs' 'dosfstools' 'gdisk' 'procps' 'psmisc'
+                'rsync' 'xfsprogs' 'dhcpcd' 'iputils' 'ntfs-3g' 'vim' 'systemd-sysvcompat' 'openssh'
+                'f2fs-tools' 'jfsutils' 'lsscsi' 'lsof' 'lzop' 'pciutils' 'squashfs-tools'
+                'strace' 'syslinux' 'debootstrap' 'exfat-utils' 'grub' 'lrzip' 'mtools'
+                'multipath-tools' 'nilfs-utils' 'reiserfsprogs' 'yara')
+#               'scrub' 'zerofree' 'hfsprogs')
+depends=('augeas' 'libvirt' 'jansson' 'fuse' 'hivex' 'sleuthkit' 'supermin' 'qemu-headless' 'libconfig'
+         'perl-libintl-perl' "${_appliancedeps[@]}")
+makedepends=('ocaml' 'ocaml-findlib' 'gperf' 'cdrtools' 'perl-module-build' 'python'
+             'gobject-introspection' 'vala' 'bash-completion' 'cpio' 'java-environment'
+             'php' 'erlang-nox' 'lua' 'rust')
+# 'go' 'ghc' 'ruby')
+checkdepends=('linux')
+optdepends=('ocaml: OCaml Bindings'
+            'python: Python Bindings'
+            'gobject-introspection: GObject-Introspection Bindings')
+provides=('libguestfs.so' 'libguestfs-gobject-1.0.so')
+backup=('etc/libguestfs-tools.conf'
+        'etc/xdg/virt-builder/repos.d/libguestfs.conf'
+        'etc/xdg/virt-builder/repos.d/libguestfs.gpg'
+        'etc/xdg/virt-builder/repos.d/opensuse.conf'
+        'etc/xdg/virt-builder/repos.d/opensuse.gpg')
+source=("http://download.libguestfs.org/$_pkgver_short-stable/$pkgname-$pkgver.tar.gz"{,.sig})
+sha256sums=('72b7dcdd32da1c17c932cf5a0a70b3bd68bc93e94828ad66a539f2e616adb025'
+            'SKIP')
+validpgpkeys=('F7774FB1AD074A7E8C8767EA91738F73E1B768A0') # Richard W.M. Jones <rjones at redhat.com>
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  sed -i 's/ Sys::Virt / /g' m4/guestfs-perl.m4
+  autoreconf -vi
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --sbindir=/usr/bin \
+    --disable-static \
+    --disable-haskell \
+    --disable-ruby \
+    --with-extra-packages="libldm systemd-sysvcompat openssh qemu-headless" \
+    --with-guestfs-path=/usr/lib/guestfs
+  # ^ haskell & ruby bindings do not build
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  #tests require /dev/kvm to be available
+#  make quickcheck
+#  make -k check ||: takes ages
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
+  find "$pkgdir/usr/lib/perl5" -name '*.so' -exec chmod 644 {} +
+  find "$pkgdir/usr/lib/perl5" -name '*.bs' -exec rm -f {} +
+
+  # Remove obsolete binaries (RHBZ#1213298).
+  rm -f "$pkgdir"/usr/bin/virt-list-{filesystems,partitions}
+  rm -f "$pkgdir"/usr/bin/virt-tar
+  rm -f "$pkgdir"/usr/share/man/man1/virt-list-{filesystems,partitions}.1*
+  rm -f "$pkgdir"/usr/share/man/man1/virt-tar.1*
+}



More information about the arch-commits mailing list