Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2016 21:03:31 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428324 - in head/net-mgmt/send: . files
Message-ID:  <201612102103.uBAL3VEK051844@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brnrd
Date: Sat Dec 10 21:03:31 2016
New Revision: 428324
URL: https://svnweb.freebsd.org/changeset/ports/428324

Log:
  net-mgmt/send: Fix LibreSSL build
  
    - Add patch to fix building with LibreSSL
    - Register SSL dependency via USES= ssl
  
  Approved by:	SSL blanket

Modified:
  head/net-mgmt/send/Makefile
  head/net-mgmt/send/files/patch-include-pkixip_ext_asn.h

Modified: head/net-mgmt/send/Makefile
==============================================================================
--- head/net-mgmt/send/Makefile	Sat Dec 10 20:39:32 2016	(r428323)
+++ head/net-mgmt/send/Makefile	Sat Dec 10 21:03:31 2016	(r428324)
@@ -16,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libdnet.so:net/libdnet
 
-USES=		gmake readline
+USES=		gmake readline ssl
 USE_RC_SUBR=	sendd
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message

Modified: head/net-mgmt/send/files/patch-include-pkixip_ext_asn.h
==============================================================================
--- head/net-mgmt/send/files/patch-include-pkixip_ext_asn.h	Sat Dec 10 20:39:32 2016	(r428323)
+++ head/net-mgmt/send/files/patch-include-pkixip_ext_asn.h	Sat Dec 10 21:03:31 2016	(r428324)
@@ -1,6 +1,6 @@
---- include/pkixip_ext_asn.h.orig	2010-08-28 17:58:02.000000000 +0900
-+++ include/pkixip_ext_asn.h	2014-08-30 01:54:23.000000000 +0900
-@@ -33,6 +33,10 @@
+--- include/pkixip_ext_asn.h.orig	2010-08-28 08:58:02 UTC
++++ include/pkixip_ext_asn.h
+@@ -33,7 +33,12 @@
  #ifndef	_PKIXIP_EXT_ASN_H
  #define	_PKIXIP_EXT_ASN_H
  
@@ -9,5 +9,26 @@
 +#define	STACK	_STACK
 +#endif
  #include <openssl/asn1t.h>
++#include <openssl/asn1.h>
  #include <openssl/err.h>
  #include <openssl/x509v3.h>
+ 
+@@ -45,7 +50,7 @@
+ #define	IANA_SAFI_BOTH		3
+ #define	IANA_SAFI_MPLS		4
+ 
+-/*
++#ifdef LIBRESSL_VERSION_NUMBER
+ typedef struct IPAddressRange_st {
+ 	ASN1_BIT_STRING		*min;
+ 	ASN1_BIT_STRING		*max;
+@@ -79,7 +84,7 @@ typedef struct IPAddressFamily_st {
+ 	ASN1_OCTET_STRING	*addressFamily;
+ 	IPAddressChoice		*ipAddressChoice;
+ } IPAddressFamily;
+-*/
++#endif
+ 
+ #define IP_AOR_PREFIX		0
+ #define IP_AOR_RANGE		1
+



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