Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages /
ngrep
Commits:
ecff9cce by Jelle van der Waa at 2023-09-03T18:07:33+02:00
Switch to glibc regex as pcre is deprecated
Fixes: FS#71299
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -5,12 +5,12 @@
pkgname=ngrep
pkgver=1.47
_pkgver="${pkgver/./_}"
-pkgrel=3
+pkgrel=4
pkgdesc='A grep-like utility that allows you to search for network packets on
an interface.'
arch=('x86_64')
url='https://github.com/jpr5/ngrep/'
license=('custom')
-depends=('libpcap>=1.0.0' 'pcre')
+depends=('libpcap>=1.0.0')
source=("https://github.com/jpr5/ngrep/archive/V${_pkgver}.tar.gz")
md5sums=('03cb1229ad586495852ea316262e8f38')
sha256sums=('dc4dbe20991cc36bac5e97e99475e2a1522fd88c59ee2e08f813432c04c5fff3')
@@ -18,13 +18,9 @@
sha256sums=('dc4dbe20991cc36bac5e97e99475e2a1522fd88c59ee2e08f813432c04c5fff3')
build() {
cd "${srcdir}/${pkgname}-${_pkgver}"
- export EXTRA_INCLUDES=$(pcre-config --cflags)
- export EXTRA_LIBS=$(pcre-config --libs)
-
./configure --prefix=/usr \
--with-pcap-includes=/usr/include/pcap\
--enable-ipv6 \
- --enable-pcre \
--disable-pcap-restart
make
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ngrep/-/commit/ecff9cce29f51c44c44f67f5e723d98b3d5a94b8
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ngrep/-/commit/ecff9cce29f51c44c44f67f5e723d98b3d5a94b8
You're receiving this email because of your account on gitlab.archlinux.org.