mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
sysutils/pcapfix: update to 1.1.5
Changelog https://github.com/Rup0rt/pcapfix/blob/v1.1.5/Changelog PR: 254818 Approved by: Vidar Karlsen <vidar@karlsen.tech> (maintainer)
This commit is contained in:
parent
cd96c9df96
commit
a302d29cbe
3 changed files with 20 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= pcapfix
|
PORTNAME= pcapfix
|
||||||
PORTVERSION= 1.1.4
|
PORTVERSION= 1.1.5
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1548274664
|
TIMESTAMP = 1617716795
|
||||||
SHA256 (Rup0rt-pcapfix-v1.1.4_GH0.tar.gz) = 73c2e316937792f6b9265ab2e12b9bb0e6d6a46626e311412c4903ace3e3a9f6
|
SHA256 (Rup0rt-pcapfix-v1.1.5_GH0.tar.gz) = 60c25e2410db5b161a3c16f6d097dc4a62fdb815df2a9f3abc6f22a085ed90cb
|
||||||
SIZE (Rup0rt-pcapfix-v1.1.4_GH0.tar.gz) = 51659
|
SIZE (Rup0rt-pcapfix-v1.1.5_GH0.tar.gz) = 52670
|
||||||
|
|
|
@ -1,15 +1,22 @@
|
||||||
--- Makefile.orig 2018-07-16 12:17:05 UTC
|
--- Makefile.orig 2021-04-06 13:54:58 UTC
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -8,9 +8,9 @@ WARNFLAGS = -Wall -Wextra -std=gnu99 -pe
|
@@ -7,18 +7,7 @@ OPTFLAGS = $(shell getconf LFS_CFLAGS) -D_FORTIFY_SOUR
|
||||||
|
WARNFLAGS = -Wall -Wextra -std=gnu99 -pedantic -Wformat -Werror=format-security
|
||||||
DEBUGFLAGS = -g
|
DEBUGFLAGS = -g
|
||||||
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)
|
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)
|
||||||
OS := $(shell uname)
|
-
|
||||||
-ifneq ($(OS), Darwin)
|
-# Determine extra LDFLAGS
|
||||||
|
-OS := $(shell uname)
|
||||||
|
-ifeq ($(findstring Darwin,$(OS)),Darwin)
|
||||||
|
- skip_ldflags = yes
|
||||||
|
-endif
|
||||||
|
-ifeq ($(findstring CYGWIN,$(OS)),CYGWIN)
|
||||||
|
- skip_ldflags = yes
|
||||||
|
-endif
|
||||||
|
-ifndef skip_ldflags
|
||||||
- LDFLAGS += -Wl,-z,relro
|
- LDFLAGS += -Wl,-z,relro
|
||||||
-endif
|
-endif
|
||||||
+.if ${OS} != Darwin
|
|
||||||
+LDFLAGS += -Wl,-z,relro
|
+LDFLAGS += -Wl,-z,relro
|
||||||
+.endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
all: pcap pcap_kuznet pcapng
|
||||||
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) pcapfix.c pcap.o pcap_kuznet.o pcapng.o -o pcapfix
|
||||||
|
|
Loading…
Add table
Reference in a new issue