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


Commits:
d39985bf by David Runge at 2024-08-31T12:58:28+02:00
upgpkg: 1.10.5-2

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,23 +1,21 @@
 pkgbase = libpcap
        pkgdesc = A system-independent interface for user-level packet capture
        pkgver = 1.10.5
-       pkgrel = 1
+       pkgrel = 2
        url = https://www.tcpdump.org/
        arch = x86_64
        license = BSD-3-Clause
        makedepends = bluez-libs
        makedepends = dbus
+       makedepends = git
        depends = glibc
        depends = libnl
        depends = sh
        provides = libpcap.so
-       source = https://www.tcpdump.org/release/libpcap-1.10.5.tar.gz
-       source = https://www.tcpdump.org/release/libpcap-1.10.5.tar.gz.sig
+       source = 
git+https://github.com/the-tcpdump-group/libpcap?signed#tag=libpcap-1.10.5
        validpgpkeys = 1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D
-       sha512sums = 
e599a31f2f1c03bdf386defa613ea9f08f80459c87068c2dd36c55c1bd678e2622cdce6333f0a776f16812df7bd4d6747820d1c35c7a2f1d7ad4a2ffb45dbe24
-       sha512sums = SKIP
-       b2sums = 
c0bb29c5c308cb21244a9c63d3daa19033eb21fbd721607c057f04b2ae6b2527fb1cfeeb2b29b7c3535d5d6256aa5fdf5aa22ce48aa4f88a3cc8a81029a98116
-       b2sums = SKIP
+       sha512sums = 
b07d570933ccfc671c66e9355fb84b087dfc144f41e4088c253f544bfbecc71f38aac33ac66b2c0510422381e4c53f2499214e046146a781af050e76b3f774e8
+       b2sums = 
41a719c1eb22f411c133973d8971ff8c4de6d940ceb83acc5bfd9942bf337f12db55315a808caa907cdc7c14d20a7fae9d554aca945f97a0bbeee0b6c0d2f23c
 
 pkgname = libpcap
        depends = glibc


=====================================
PKGBUILD
=====================================
@@ -4,10 +4,11 @@
 
 pkgname=libpcap
 pkgver=1.10.5
-pkgrel=1
+pkgrel=2
 pkgdesc='A system-independent interface for user-level packet capture'
 arch=(x86_64)
 url='https://www.tcpdump.org/'
+_url=https://github.com/the-tcpdump-group/libpcap
 license=(BSD-3-Clause)
 depends=(
   glibc
@@ -17,18 +18,16 @@ depends=(
 makedepends=(
   bluez-libs
   dbus
+  git
 )
 provides=(libpcap.so)
-# NOTE: Switch to (signed) git tags for next release: 
https://github.com/the-tcpdump-group/libpcap/issues/1344
-source=(https://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz{,.sig})
-sha512sums=('e599a31f2f1c03bdf386defa613ea9f08f80459c87068c2dd36c55c1bd678e2622cdce6333f0a776f16812df7bd4d6747820d1c35c7a2f1d7ad4a2ffb45dbe24'
-            'SKIP')
-b2sums=('c0bb29c5c308cb21244a9c63d3daa19033eb21fbd721607c057f04b2ae6b2527fb1cfeeb2b29b7c3535d5d6256aa5fdf5aa22ce48aa4f88a3cc8a81029a98116'
-        'SKIP')
+source=(git+$_url?signed#tag=$pkgname-$pkgver)
+sha512sums=('b07d570933ccfc671c66e9355fb84b087dfc144f41e4088c253f544bfbecc71f38aac33ac66b2c0510422381e4c53f2499214e046146a781af050e76b3f774e8')
+b2sums=('41a719c1eb22f411c133973d8971ff8c4de6d940ceb83acc5bfd9942bf337f12db55315a808caa907cdc7c14d20a7fae9d554aca945f97a0bbeee0b6c0d2f23c')
 validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   autoreconf -fiv
 }
 
@@ -41,7 +40,7 @@ build() {
     --with-libnl
   )
 
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure "${configure_options[@]}"
   make
 }
@@ -49,7 +48,7 @@ build() {
 package() {
   depends+=(libdbus-1.so)
 
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
   install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
   install -vDm 644 {CHANGES,{CONTRIBUTING,README}.md} -t 
"$pkgdir/usr/share/doc/$pkgname/"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libpcap/-/commit/d39985bf462cbdb25e655bc7a878292438afd8ec

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libpcap/-/commit/d39985bf462cbdb25e655bc7a878292438afd8ec
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to