[MacPorts] #52842: tcptrace install issue
MacPorts
noreply at macports.org
Fri Apr 21 12:17:30 UTC 2017
#52842: tcptrace install issue
-----------------------+--------------------------------
Reporter: schnide | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: tcptrace |
-----------------------+--------------------------------
Comment (by alangebner):
As axxelk outlines this is a known problem.
It is actually addressed by community patch tcptrace_6.6.7-3.diff.gz
I'm attaching a patch to the Portfile that applies this patch from debian
ca (see attachment fix-tcptrace-52842.diff).
diff -u
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/tcptrace/Portfile
./Portfile
---
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/tcptrace/Portfile
2017-01-02 01:55:19.000000000 +0100
+++ ./Portfile 2017-04-21 13:45:13.000000000 +0200
@@ -23,11 +23,19 @@
homepage http://tcptrace.org
master_sites http://tcptrace.org/download.html
-checksums rmd160 1dd0f373f766322343ffad59d0655eba4c6682e0 \
- sha256
63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd
+checksums tcptrace-6.6.7.tar.gz \
+ rmd160 1dd0f373f766322343ffad59d0655eba4c6682e0
\
+ sha256
63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd \
+ tcptrace_6.6.7-3.diff.gz \
+ rmd160 bde0be924b6789189a4a14c6c5adb5b5a7041054
\
+ sha256
9a5212155f5cd4bc9bfefaa73da8d3b4084a96865bcc1e96232a1e1b265bb54a
depends_lib lib:libpcap:libpcap
+patch_sites ftp://ftp.ca.debian.org/debian-
archive/debian/pool/main/t/tcptrace/
+patchfiles tcptrace_6.6.7-3.diff.gz
+patch.pre_args -p1
+
post-configure {
set path "${worksrcpath}"
reinplace "s|PCAP_INCS = -I/usr/local/include -I. -I../pcap
-I/usr/include/pcap|PCAP_INCS = -I${prefix}/include|"
"${path}/Makefile"
--
Ticket URL: <https://trac.macports.org/ticket/52842#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list