From owner-svn-ports-head@freebsd.org Wed Jan 11 19:42:50 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88ED1CAB72E; Wed, 11 Jan 2017 19:42:50 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49D741FB8; Wed, 11 Jan 2017 19:42:50 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0BJgnYu038712; Wed, 11 Jan 2017 19:42:49 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0BJgnci038710; Wed, 11 Jan 2017 19:42:49 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201701111942.v0BJgnci038710@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Wed, 11 Jan 2017 19:42:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431204 - head/net-mgmt/net-snmp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 19:42:50 -0000 Author: garga Date: Wed Jan 11 19:42:49 2017 New Revision: 431204 URL: https://svnweb.freebsd.org/changeset/ports/431204 Log: - Add TLS OPTION to net-mgmt/net-snmp - While here replace USE_OPENSSL by USES=ssl Approved by: maintainer (zi@) Obtained from: pfSense Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D9140 Modified: head/net-mgmt/net-snmp/Makefile head/net-mgmt/net-snmp/pkg-plist Modified: head/net-mgmt/net-snmp/Makefile ============================================================================== --- head/net-mgmt/net-snmp/Makefile Wed Jan 11 19:35:39 2017 (r431203) +++ head/net-mgmt/net-snmp/Makefile Wed Jan 11 19:42:49 2017 (r431204) @@ -16,8 +16,10 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= IPV6 MFD_REWRITES PERL PERL_EMBEDDED PYTHON DUMMY TKMIB \ - MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS JAIL AX_DISABLE_TRAP + MYSQL AX_SOCKONLY UNPRIVILEGED SMUX DOCS JAIL AX_DISABLE_TRAP \ + TLS OPTIONS_DEFAULT=PERL PERL_EMBEDDED DUMMY SMUX +OPTIONS_SUB= yes MFD_REWRITES_DESC= Build with 64-bit Interface Counters PERL_EMBEDDED_DESC= Build embedded perl @@ -36,9 +38,8 @@ PORTSCOUT= skipv:5.7.2.1 GNU_CONFIGURE= yes USE_RC_SUBR= snmpd snmptrapd -USE_OPENSSL= yes USE_LDCONFIG= yes -USES= cpe libtool perl5 +USES= cpe libtool perl5 ssl CPE_VENDOR= net-snmp USE_PERL5= build run USE_CSTD= c99 @@ -64,6 +65,8 @@ CONFIGURE_ARGS+=--with-libs="-lssp_nonsh CONFIGURE_ARGS+=--with-defaults .endif +TLS_CONFIGURE_ON= --with-security-modules=tsm --with-transports=TLSTCP,DTLSUDP + .include .if ${PORT_OPTIONS:MPYTHON} Modified: head/net-mgmt/net-snmp/pkg-plist ============================================================================== --- head/net-mgmt/net-snmp/pkg-plist Wed Jan 11 19:35:39 2017 (r431203) +++ head/net-mgmt/net-snmp/pkg-plist Wed Jan 11 19:42:49 2017 (r431204) @@ -22,6 +22,7 @@ bin/snmpset bin/snmpstatus bin/snmptable bin/snmptest +%%TLS%%bin/snmptls bin/snmptranslate bin/snmptrap bin/snmpusm @@ -117,8 +118,11 @@ include/net-snmp/library/snmp-tc.h include/net-snmp/library/snmp.h include/net-snmp/library/snmpAliasDomain.h include/net-snmp/library/snmpCallbackDomain.h +%%TLS%%include/net-snmp/library/snmpDTLSUDPDomain.h include/net-snmp/library/snmpTCPDomain.h %%WITH_IPV6%%include/net-snmp/library/snmpTCPIPv6Domain.h +%%TLS%%include/net-snmp/library/snmpTLSBaseDomain.h +%%TLS%%include/net-snmp/library/snmpTLSTCPDomain.h include/net-snmp/library/snmpUDPDomain.h %%WITH_IPV6%%include/net-snmp/library/snmpUDPIPv6Domain.h include/net-snmp/library/snmpUnixDomain.h @@ -134,6 +138,7 @@ include/net-snmp/library/snmp_parse_args include/net-snmp/library/snmp_secmod.h include/net-snmp/library/snmp_service.h include/net-snmp/library/snmp_transport.h +%%TLS%%include/net-snmp/library/snmptsm.h include/net-snmp/library/snmpusm.h include/net-snmp/library/snmpv3-security-includes.h include/net-snmp/library/snmpv3.h