]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
tcpdump: Switch to patchelf to remove the RPATH
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Mar 2023 19:09:35 +0000 (20:09 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Mar 2023 19:09:35 +0000 (20:09 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
tcpdump/tcpdump.nm

index 226744143fe7771dcf71bb5662c90761227ac117..9c4d3382262392149645a16f67e64be3b99cbc9f 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = tcpdump
 version    = 4.99.1
-release    = 1
+release    = 2
 
 groups     = Networking/Sniffer
 url        = https://www.tcpdump.org/
@@ -23,9 +23,9 @@ source_dl  = https://www.tcpdump.org/release/
 
 build
        requires
-               chrpath
                libpcap-devel
                openssl-devel
+               patchelf
        end
 
        configure_options += \
@@ -37,7 +37,7 @@ build
                rm -vf %{BUILDROOT}%{sbindir}/tcpdump.%{version}
 
                # Remove RPATH.
-               chrpath --delete %{BUILDROOT}%{bindir}/tcpdump
+               patchelf --remove-rpath %{BUILDROOT}%{bindir}/tcpdump
        end
 end