Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2018 19:00:04 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482107 - in head/net/ipdecap: . files
Message-ID:  <201810141900.w9EJ04xP089450@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Oct 14 19:00:04 2018
New Revision: 482107
URL: https://svnweb.freebsd.org/changeset/ports/482107

Log:
  net/ipdecap: update to 0.7.2
  
  While here, fix OpenSSL build
  
  PR:		232223
  Submitted by:	loic-freebsd@loicp.eu (maintainer)

Added:
  head/net/ipdecap/files/
  head/net/ipdecap/files/patch-src_esp.c   (contents, props changed)
  head/net/ipdecap/files/patch-src_esp.h   (contents, props changed)
  head/net/ipdecap/files/patch-src_ipdecap.c   (contents, props changed)
  head/net/ipdecap/files/patch-src_utils.c   (contents, props changed)
Modified:
  head/net/ipdecap/Makefile   (contents, props changed)
  head/net/ipdecap/distinfo   (contents, props changed)

Modified: head/net/ipdecap/Makefile
==============================================================================
--- head/net/ipdecap/Makefile	Sun Oct 14 18:46:09 2018	(r482106)
+++ head/net/ipdecap/Makefile	Sun Oct 14 19:00:04 2018	(r482107)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	ipdecap
-PORTVERSION=	0.7.1
+PORTVERSION=	0.7.2
 DISTVERSIONPREFIX=	v
 PORTREVISION=	1
 CATEGORIES=	net
@@ -13,12 +13,13 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/include/pcap/vlan.h:net/libpcap
-LIB_DEPENDS=	libpcap.so.1:net/libpcap	# require ports libpcap
+LIB_DEPENDS=	libpcap.so:net/libpcap	# require ports libpcap
 
+USES=		autoreconf gmake ssl
 USE_GITHUB=	yes
+
 GH_ACCOUNT=	lpefferkorn
 
-USES=		autoreconf gmake ssl
 GNU_CONFIGURE=	yes
 CFLAGS+=	-I${OPENSSLINC}
 LDFLAGS+=	-L${OPENSSLLIB}

Modified: head/net/ipdecap/distinfo
==============================================================================
--- head/net/ipdecap/distinfo	Sun Oct 14 18:46:09 2018	(r482106)
+++ head/net/ipdecap/distinfo	Sun Oct 14 19:00:04 2018	(r482107)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1464781704
-SHA256 (lpefferkorn-ipdecap-v0.7.1_GH0.tar.gz) = a1a18a799867ea9931fac5d9b54f1ed79d15f1b12989758584ee48187847bd6b
-SIZE (lpefferkorn-ipdecap-v0.7.1_GH0.tar.gz) = 818778
+TIMESTAMP = 1539426959
+SHA256 (lpefferkorn-ipdecap-v0.7.2_GH0.tar.gz) = 39e24c0ee343be485feb5d03114510c96eda24092c4908968e50fe7c50165bde
+SIZE (lpefferkorn-ipdecap-v0.7.2_GH0.tar.gz) = 825828

Added: head/net/ipdecap/files/patch-src_esp.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ipdecap/files/patch-src_esp.c	Sun Oct 14 19:00:04 2018	(r482107)
@@ -0,0 +1,10 @@
+--- src/esp.c.orig	2018-07-19 13:30:02 UTC
++++ src/esp.c
+@@ -21,6 +21,7 @@
+ #include <arpa/inet.h>     // for inet_ntop, inet_pton
+ #include <err.h>           // for err
+ #include <errno.h>         // for __errno_location, errno, ERANGE
++#include <sys/types.h>     // for u_char
+ #include <net/ethernet.h>  // for ether_header
+ #include <netinet/ip.h>    // for ip
+ #include <stdio.h>         // for printf, fclose, fgets, fopen, FILE

Added: head/net/ipdecap/files/patch-src_esp.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ipdecap/files/patch-src_esp.h	Sun Oct 14 19:00:04 2018	(r482107)
@@ -0,0 +1,11 @@
+--- src/esp.h.orig	2018-07-19 13:30:02 UTC
++++ src/esp.h
+@@ -19,6 +19,8 @@
+ */
+ 
+ #include <stdint.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+ #include <openssl/evp.h>
+ #include "utils.h"
+ #pragma once

Added: head/net/ipdecap/files/patch-src_ipdecap.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ipdecap/files/patch-src_ipdecap.c	Sun Oct 14 19:00:04 2018	(r482107)
@@ -0,0 +1,18 @@
+--- src/ipdecap.c.orig	2018-07-19 13:30:02 UTC
++++ src/ipdecap.c
+@@ -20,6 +20,7 @@
+ 
+ #include <err.h>           // for warnx
+ #include <getopt.h>        // for getopt_long, optarg, required_argument
++#include <sys/types.h>     // for u_char, u_int16_t
+ #include <net/ethernet.h>  // for ether_header, ether_addr, ETHERTYPE_IP
+ #include <netinet/in.h>    // for ntohs, htons, IPPROTO_ESP, IPPROTO_GRE
+ #include <netinet/ip.h>    // for ip
+@@ -31,7 +32,6 @@
+ #include <stdio.h>         // for NULL, printf
+ #include <stdlib.h>        // for free, exit, EXIT_FAILURE, EXIT_SUCCESS
+ #include <string.h>        // for memcpy, memset, strcmp
+-#include <sys/types.h>     // for u_char, u_int16_t
+ #include "esp.h"           // for flows_cleanup, parse_esp_conf, print_algor...
+ #include "gre.h"           // for grehdr, GRE_CHECKSUM, GRE_KEY, GRE_ROUTING
+ #include "config.h"

Added: head/net/ipdecap/files/patch-src_utils.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ipdecap/files/patch-src_utils.c	Sun Oct 14 19:00:04 2018	(r482107)
@@ -0,0 +1,10 @@
+--- src/utils.c.orig	2018-07-19 13:30:02 UTC
++++ src/utils.c
+@@ -19,6 +19,7 @@
+ */
+ 
+ #include "utils.h"
++#include <sys/types.h>
+ #include <net/ethernet.h>  // for ETHER_ADDR_LEN
+ #include <stdarg.h>        // for va_list
+ #include <stdio.h>         // for printf, NULL, vfprintf, stdout



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810141900.w9EJ04xP089450>