View | Details | Raw Unified | Return to bug 232223
Collapse All | Expand All

(-)ipdecap/Makefile (-3 / +4 lines)
Lines 1-7 Link Here
1
# $FreeBSD: head/net/ipdecap/Makefile 465337 2018-03-23 08:33:20Z amdmi3 $
1
# $FreeBSD: head/net/ipdecap/Makefile 465337 2018-03-23 08:33:20Z amdmi3 $
2
2
3
PORTNAME=	ipdecap
3
PORTNAME=	ipdecap
4
PORTVERSION=	0.7.1
4
PORTVERSION=	0.7.2
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
PORTREVISION=	1
6
PORTREVISION=	1
7
CATEGORIES=	net
7
CATEGORIES=	net
Lines 13-24 Link Here
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
BUILD_DEPENDS=	${LOCALBASE}/include/pcap/vlan.h:net/libpcap
15
BUILD_DEPENDS=	${LOCALBASE}/include/pcap/vlan.h:net/libpcap
16
LIB_DEPENDS=	libpcap.so.1:net/libpcap	# require ports libpcap
16
LIB_DEPENDS=	libpcap.so:net/libpcap	# require ports libpcap
17
17
18
USES=		autoreconf gmake ssl
18
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
19
GH_ACCOUNT=	lpefferkorn
21
GH_ACCOUNT=	lpefferkorn
20
22
21
USES=		autoreconf gmake ssl
22
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
23
CFLAGS+=	-I${OPENSSLINC}
24
CFLAGS+=	-I${OPENSSLINC}
24
LDFLAGS+=	-L${OPENSSLLIB}
25
LDFLAGS+=	-L${OPENSSLLIB}
(-)ipdecap/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1464781704
1
TIMESTAMP = 1539426959
2
SHA256 (lpefferkorn-ipdecap-v0.7.1_GH0.tar.gz) = a1a18a799867ea9931fac5d9b54f1ed79d15f1b12989758584ee48187847bd6b
2
SHA256 (lpefferkorn-ipdecap-v0.7.2_GH0.tar.gz) = 39e24c0ee343be485feb5d03114510c96eda24092c4908968e50fe7c50165bde
3
SIZE (lpefferkorn-ipdecap-v0.7.1_GH0.tar.gz) = 818778
3
SIZE (lpefferkorn-ipdecap-v0.7.2_GH0.tar.gz) = 825828
(-)ipdecap/files/patch-src_esp.c (+10 lines)
Line 0 Link Here
1
--- src/esp.c.orig	2018-07-19 13:30:02 UTC
2
+++ src/esp.c
3
@@ -21,6 +21,7 @@
4
 #include <arpa/inet.h>     // for inet_ntop, inet_pton
5
 #include <err.h>           // for err
6
 #include <errno.h>         // for __errno_location, errno, ERANGE
7
+#include <sys/types.h>     // for u_char
8
 #include <net/ethernet.h>  // for ether_header
9
 #include <netinet/ip.h>    // for ip
10
 #include <stdio.h>         // for printf, fclose, fgets, fopen, FILE
(-)ipdecap/files/patch-src_esp.h (+11 lines)
Line 0 Link Here
1
--- src/esp.h.orig	2018-07-19 13:30:02 UTC
2
+++ src/esp.h
3
@@ -19,6 +19,8 @@
4
 */
5
 
6
 #include <stdint.h>
7
+#include <sys/socket.h>
8
+#include <netinet/in.h>
9
 #include <openssl/evp.h>
10
 #include "utils.h"
11
 #pragma once
(-)ipdecap/files/patch-src_ipdecap.c (+18 lines)
Line 0 Link Here
1
--- src/ipdecap.c.orig	2018-07-19 13:30:02 UTC
2
+++ src/ipdecap.c
3
@@ -20,6 +20,7 @@
4
 
5
 #include <err.h>           // for warnx
6
 #include <getopt.h>        // for getopt_long, optarg, required_argument
7
+#include <sys/types.h>     // for u_char, u_int16_t
8
 #include <net/ethernet.h>  // for ether_header, ether_addr, ETHERTYPE_IP
9
 #include <netinet/in.h>    // for ntohs, htons, IPPROTO_ESP, IPPROTO_GRE
10
 #include <netinet/ip.h>    // for ip
11
@@ -31,7 +32,6 @@
12
 #include <stdio.h>         // for NULL, printf
13
 #include <stdlib.h>        // for free, exit, EXIT_FAILURE, EXIT_SUCCESS
14
 #include <string.h>        // for memcpy, memset, strcmp
15
-#include <sys/types.h>     // for u_char, u_int16_t
16
 #include "esp.h"           // for flows_cleanup, parse_esp_conf, print_algor...
17
 #include "gre.h"           // for grehdr, GRE_CHECKSUM, GRE_KEY, GRE_ROUTING
18
 #include "config.h"
(-)ipdecap/files/patch-src_utils.c (+10 lines)
Line 0 Link Here
1
--- src/utils.c.orig	2018-07-19 13:30:02 UTC
2
+++ src/utils.c
3
@@ -19,6 +19,7 @@
4
 */
5
 
6
 #include "utils.h"
7
+#include <sys/types.h>
8
 #include <net/ethernet.h>  // for ETHER_ADDR_LEN
9
 #include <stdarg.h>        // for va_list
10
 #include <stdio.h>         // for printf, NULL, vfprintf, stdout

Return to bug 232223