David Runge pushed to branch main at Arch Linux / Packaging / Packages / vde2


Commits:
651ca203 by David Runge at 2023-11-09T09:36:57+01:00
Use bash arrays with one entry per line for easier handling

Remove unneeded dependency on bash.
Extend depends with fully resolved package names (instead only sodepends)

Signed-off-by: David Runge <[email protected]>

- - - - -
ba309bc4 by David Runge at 2023-11-09T09:37:35+01:00
Switch to correct SPDX license identifier according to upstream info

Signed-off-by: David Runge <[email protected]>

- - - - -
3780f499 by David Runge at 2023-11-09T09:37:37+01:00
Add configure options to local bash array for easier handling

Signed-off-by: David Runge <[email protected]>

- - - - -
cac7bf97 by David Runge at 2023-11-09T09:37:37+01:00
Simplify source by reusing url

Signed-off-by: David Runge <[email protected]>

- - - - -
3f1a2078 by David Runge at 2023-11-09T09:40:06+01:00
upgpkg: 2.3.3-4

Rebuild against wolfssl 5.6.4 (soname change in patch-level release)

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,25 @@
+pkgbase = vde2
+       pkgdesc = Virtual Distributed Ethernet for emulators like qemu
+       pkgver = 2.3.3
+       pkgrel = 4
+       url = https://github.com/virtualsquare/vde-2
+       arch = x86_64
+       license = GPL-2.0-or-later
+       license = LGPL-2.1-or-later
+       makedepends = libpcap
+       makedepends = wolfssl
+       depends = glibc
+       provides = libvdehist.so
+       provides = libvdemgmt.so
+       provides = libvdeplug.so
+       provides = libvdesnmp.so
+       source = 
vde2-2.3.3.tar.gz::https://github.com/virtualsquare/vde-2/archive/refs/tags/v2.3.3.tar.gz
+       sha512sums = 
d0495aa700984dcc82f85cf7c8125cc10505a8a077fceec45b7fd2bec9c389966381682842e886469fa49239badd9442403d091c2ae5282685085e8262396387
+       b2sums = 
e3ed7423edc03a6af09967484613c0e2a701f74a4323eeab720cabe9a899120023425527054662ee1dbd207327b7e6dd375bceb4999fd708666df13c08acf348
+
+pkgname = vde2
+       depends = glibc
+       depends = libpcap
+       depends = libpcap.so
+       depends = wolfssl
+       depends = libwolfssl.so


=====================================
PKGBUILD
=====================================
@@ -5,15 +5,26 @@
 _name=vde-2
 pkgname=vde2
 pkgver=2.3.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
 arch=(x86_64)
 url="https://github.com/virtualsquare/vde-2";
-license=(GPL2 LGPL2.1)
-depends=(bash glibc)
-makedepends=(libpcap wolfssl)
-provides=(libvdehist.so libvdemgmt.so libvdeplug.so libvdesnmp.so)
-source=($pkgname-$pkgver.tar.gz::https://github.com/virtualsquare/$_name/archive/refs/tags/v$pkgver.tar.gz)
+license=(
+  GPL-2.0-or-later
+  LGPL-2.1-or-later
+)
+depends=(glibc)
+makedepends=(
+  libpcap
+  wolfssl
+)
+provides=(
+  libvdehist.so
+  libvdemgmt.so
+  libvdeplug.so
+  libvdesnmp.so
+)
+source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
 
sha512sums=('d0495aa700984dcc82f85cf7c8125cc10505a8a077fceec45b7fd2bec9c389966381682842e886469fa49239badd9442403d091c2ae5282685085e8262396387')
 
b2sums=('e3ed7423edc03a6af09967484613c0e2a701f74a4323eeab720cabe9a899120023425527054662ee1dbd207327b7e6dd375bceb4999fd708666df13c08acf348')
 
@@ -23,18 +34,24 @@ prepare() {
 }
 
 build() {
-  cd $_name-$pkgver
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/$pkgname \
+  local configure_options=(
     --enable-experimental
+    --libexecdir=/usr/lib/$pkgname
+    --prefix=/usr
+    --sbindir=/usr/bin
+    --sysconfdir=/etc
+  )
+
+  cd $_name-$pkgver
+  ./configure "${configure_options[@]}"
   make V=1
 }
 
 package() {
-  depends+=(libpcap.so libwolfssl.so)
+  depends+=(
+    libpcap libpcap.so
+    wolfssl libwolfssl.so
+  )
 
   make DESTDIR="$pkgdir" install -C $_name-$pkgver
   install -vDm 644 $_name-$pkgver/{README,Changelog,doc/{README.*,*-HOWTO}} -t 
"$pkgdir/usr/share/doc/$pkgname/"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/vde2/-/compare/14eba9f2e49e8ddb7e8856bccf8e8e8e5688f776...3f1a207836eb3439b143adb43a91c55ef0da51a4

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/vde2/-/compare/14eba9f2e49e8ddb7e8856bccf8e8e8e5688f776...3f1a207836eb3439b143adb43a91c55ef0da51a4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to