[arch-commits] Commit in lxd/repos/community-x86_64 (8 files)

Morten Linderud foxboron at gemini.archlinux.org
Fri Nov 5 21:04:04 UTC 2021


    Date: Friday, November 5, 2021 @ 21:04:04
  Author: foxboron
Revision: 1037293

archrelease: copy trunk to community-x86_64

Added:
  lxd/repos/community-x86_64/PKGBUILD
    (from rev 1037292, lxd/trunk/PKGBUILD)
  lxd/repos/community-x86_64/lxd.service
    (from rev 1037292, lxd/trunk/lxd.service)
  lxd/repos/community-x86_64/lxd.socket
    (from rev 1037292, lxd/trunk/lxd.socket)
  lxd/repos/community-x86_64/lxd.sysusers
    (from rev 1037292, lxd/trunk/lxd.sysusers)
Deleted:
  lxd/repos/community-x86_64/PKGBUILD
  lxd/repos/community-x86_64/lxd.service
  lxd/repos/community-x86_64/lxd.socket
  lxd/repos/community-x86_64/lxd.sysusers

--------------+
 PKGBUILD     |  174 ++++++++++++++++++++++++++++-----------------------------
 lxd.service  |   46 +++++++--------
 lxd.socket   |   22 +++----
 lxd.sysusers |    2 
 4 files changed, 122 insertions(+), 122 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-05 21:03:55 UTC (rev 1037292)
+++ PKGBUILD	2021-11-05 21:04:04 UTC (rev 1037293)
@@ -1,87 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Maikel Wever <maikelwever at gmail.com>
-# Contributor: Asterios Dimitriou <asterios at pci.gr>
-# Contributor: Benjamin Asbach <archlinux-aur.lxd at impl.it>
-# Contributer: nightuser <nightuser.android at gmail.com>
-
-pkgname=lxd
-pkgver=4.19
-pkgrel=1
-pkgdesc="Daemon based on liblxc offering a REST API to manage containers"
-arch=('x86_64')
-url="https://linuxcontainers.org/lxd"
-license=('APACHE')
-depends=('lxc' 'lxcfs' 'squashfs-tools' 'dnsmasq' 'dqlite' 'libuv' 'ebtables')
-makedepends=('go' 'git' 'tcl' 'apparmor' 'libseccomp' 'systemd')
-optdepends=(
-    'lvm2: for lvm2 support'
-    'thin-provisioning-tools: for thin provisioning support'
-    'btrfs-progs: for btrfs storage driver support'
-    'ceph: for ceph storage driver support'
-    'cdrtools: VM support'
-    'qemu: VM support'
-    'ovmf: VM support'
-    'systemd-libs: unix device hotplug support'
-    'apparmor: apparmor support'
-)
-source=("https://linuxcontainers.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
-        "lxd.socket"
-        "lxd.service"
-        "lxd.sysusers")
-validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67')
-sha256sums=('6e4cf6cb1549e1b56802d64ad24d812914e0c0102bfcf146bb18a8dcd1fbab57'
-            'SKIP'
-            '3a14638f8d0f9082c7214502421350e3b028db1e7f22e8c3fd35a2b1d9153ef4'
-            '102d1d54186e0fc606a58f030231d76df6bd662b16dfd8f946e1f48e2b473b54'
-            'd0184d9c4bb485e3aad0d4ac25ea7e85ac0f7ed6ddc96333e74fcd393a5b5ec4')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # create directory for build output
-  mkdir bin
-
-  # verify modules
-  go mod verify
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  export GOFLAGS="-buildmode=pie -trimpath"
-  export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
-
-	go build -v -tags "netgo" -o bin/ ./lxd-p2c/...
-	CGO_LDFLAGS="$CGO_LDFLAGS -static" go build -v -tags "agent" -o bin/ ./lxd-agent/...
-  for tool in fuidshift lxc lxc-to-lxd lxd lxd-benchmark; do
-    go build -v -tags "libsqlite3" -o bin/ ./$tool/...
-  done
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  for tool in fuidshift lxc lxc-to-lxd lxd lxd-agent lxd-benchmark lxd-p2c; do
-    install -p -Dm755 "bin/$tool" "${pkgdir}/usr/bin/$tool"
-  done
-
-  # Package license
-  install -Dm644 "COPYING"  "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
-
-  # systemd files
-  install -Dm644 "${srcdir}/"lxd.{service,socket} -t "${pkgdir}/usr/lib/systemd/system"
-  install -Dm644 "${srcdir}/$pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
-
-  # logs
-  install -dm700 "${pkgdir}/var/log/lxd"
-
-  # documentation
-  install -d "${pkgdir}/usr/share/doc/lxd"
-  install -p -Dm644 "doc/"* "${pkgdir}/usr/share/doc/lxd/"
-
-  # Bash completions
-  install -p -Dm644 "scripts/bash/lxd-client" "${pkgdir}/usr/share/bash-completion/completions/lxd"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: lxd/repos/community-x86_64/PKGBUILD (from rev 1037292, lxd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-05 21:04:04 UTC (rev 1037293)
@@ -0,0 +1,87 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Maikel Wever <maikelwever at gmail.com>
+# Contributor: Asterios Dimitriou <asterios at pci.gr>
+# Contributor: Benjamin Asbach <archlinux-aur.lxd at impl.it>
+# Contributer: nightuser <nightuser.android at gmail.com>
+
+pkgname=lxd
+pkgver=4.20
+pkgrel=1
+pkgdesc="Daemon based on liblxc offering a REST API to manage containers"
+arch=('x86_64')
+url="https://linuxcontainers.org/lxd"
+license=('APACHE')
+depends=('lxc' 'lxcfs' 'squashfs-tools' 'dnsmasq' 'dqlite' 'libuv' 'ebtables')
+makedepends=('go' 'git' 'tcl' 'apparmor' 'libseccomp' 'systemd')
+optdepends=(
+    'lvm2: for lvm2 support'
+    'thin-provisioning-tools: for thin provisioning support'
+    'btrfs-progs: for btrfs storage driver support'
+    'ceph: for ceph storage driver support'
+    'cdrtools: VM support'
+    'qemu: VM support'
+    'ovmf: VM support'
+    'systemd-libs: unix device hotplug support'
+    'apparmor: apparmor support'
+)
+source=("https://linuxcontainers.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
+        "lxd.socket"
+        "lxd.service"
+        "lxd.sysusers")
+validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67')
+sha256sums=('35504ef2e2dc7024b7088010987657969b1e2dea5581b24b4294f8f449248ed5'
+            'SKIP'
+            '3a14638f8d0f9082c7214502421350e3b028db1e7f22e8c3fd35a2b1d9153ef4'
+            '102d1d54186e0fc606a58f030231d76df6bd662b16dfd8f946e1f48e2b473b54'
+            'd0184d9c4bb485e3aad0d4ac25ea7e85ac0f7ed6ddc96333e74fcd393a5b5ec4')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # create directory for build output
+  mkdir bin
+
+  # verify modules
+  go mod verify
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  export GOFLAGS="-buildmode=pie -trimpath"
+  export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
+
+	go build -v -tags "netgo" -o bin/ ./lxd-p2c/...
+	CGO_LDFLAGS="$CGO_LDFLAGS -static" go build -v -tags "agent" -o bin/ ./lxd-agent/...
+  for tool in fuidshift lxc lxc-to-lxd lxd lxd-benchmark; do
+    go build -v -tags "libsqlite3" -o bin/ ./$tool/...
+  done
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  for tool in fuidshift lxc lxc-to-lxd lxd lxd-agent lxd-benchmark lxd-p2c; do
+    install -p -Dm755 "bin/$tool" "${pkgdir}/usr/bin/$tool"
+  done
+
+  # Package license
+  install -Dm644 "COPYING"  "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+
+  # systemd files
+  install -Dm644 "${srcdir}/"lxd.{service,socket} -t "${pkgdir}/usr/lib/systemd/system"
+  install -Dm644 "${srcdir}/$pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
+
+  # logs
+  install -dm700 "${pkgdir}/var/log/lxd"
+
+  # documentation
+  install -d "${pkgdir}/usr/share/doc/lxd"
+  install -p -Dm644 "doc/"* "${pkgdir}/usr/share/doc/lxd/"
+
+  # Bash completions
+  install -p -Dm644 "scripts/bash/lxd-client" "${pkgdir}/usr/share/bash-completion/completions/lxd"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: lxd.service
===================================================================
--- lxd.service	2021-11-05 21:03:55 UTC (rev 1037292)
+++ lxd.service	2021-11-05 21:04:04 UTC (rev 1037293)
@@ -1,23 +0,0 @@
-[Unit]
-Description=LXD Container Hypervisor
-After=network-online.target lxcfs.service
-Requires=network-online.target lxcfs.service lxd.socket
-Documentation=man:lxd(1)
-
-[Service]
-Environment=LXD_OVMF_PATH=/usr/share/ovmf/x64
-ExecStart=/usr/bin/lxd --group=lxd --logfile=/var/log/lxd/lxd.log
-ExecStartPost=/usr/bin/lxd waitready --timeout=600
-ExecStop=/usr/bin/lxd shutdown
-TimeoutStartSec=600s
-TimeoutStopSec=30s
-Restart=on-failure
-LimitNOFILE=1048576
-LimitNPROC=infinity
-LimitCORE=infinity
-TasksMax=infinity
-Delegate=yes
-KillMode=process
-
-[Install]
-WantedBy=multi-user.target

Copied: lxd/repos/community-x86_64/lxd.service (from rev 1037292, lxd/trunk/lxd.service)
===================================================================
--- lxd.service	                        (rev 0)
+++ lxd.service	2021-11-05 21:04:04 UTC (rev 1037293)
@@ -0,0 +1,23 @@
+[Unit]
+Description=LXD Container Hypervisor
+After=network-online.target lxcfs.service
+Requires=network-online.target lxcfs.service lxd.socket
+Documentation=man:lxd(1)
+
+[Service]
+Environment=LXD_OVMF_PATH=/usr/share/ovmf/x64
+ExecStart=/usr/bin/lxd --group=lxd --logfile=/var/log/lxd/lxd.log
+ExecStartPost=/usr/bin/lxd waitready --timeout=600
+ExecStop=/usr/bin/lxd shutdown
+TimeoutStartSec=600s
+TimeoutStopSec=30s
+Restart=on-failure
+LimitNOFILE=1048576
+LimitNPROC=infinity
+LimitCORE=infinity
+TasksMax=infinity
+Delegate=yes
+KillMode=process
+
+[Install]
+WantedBy=multi-user.target

Deleted: lxd.socket
===================================================================
--- lxd.socket	2021-11-05 21:03:55 UTC (rev 1037292)
+++ lxd.socket	2021-11-05 21:04:04 UTC (rev 1037293)
@@ -1,11 +0,0 @@
-[Unit]
-Description=LXD - unix socket
-
-[Socket]
-ListenStream=/var/lib/lxd/unix.socket
-SocketMode=0660
-SocketGroup=lxd
-Service=lxd.service
-
-[Install]
-WantedBy=sockets.target

Copied: lxd/repos/community-x86_64/lxd.socket (from rev 1037292, lxd/trunk/lxd.socket)
===================================================================
--- lxd.socket	                        (rev 0)
+++ lxd.socket	2021-11-05 21:04:04 UTC (rev 1037293)
@@ -0,0 +1,11 @@
+[Unit]
+Description=LXD - unix socket
+
+[Socket]
+ListenStream=/var/lib/lxd/unix.socket
+SocketMode=0660
+SocketGroup=lxd
+Service=lxd.service
+
+[Install]
+WantedBy=sockets.target

Deleted: lxd.sysusers
===================================================================
--- lxd.sysusers	2021-11-05 21:03:55 UTC (rev 1037292)
+++ lxd.sysusers	2021-11-05 21:04:04 UTC (rev 1037293)
@@ -1 +0,0 @@
-g lxd - -

Copied: lxd/repos/community-x86_64/lxd.sysusers (from rev 1037292, lxd/trunk/lxd.sysusers)
===================================================================
--- lxd.sysusers	                        (rev 0)
+++ lxd.sysusers	2021-11-05 21:04:04 UTC (rev 1037293)
@@ -0,0 +1 @@
+g lxd - -



More information about the arch-commits mailing list