From 0c283421d8ebcf5c8a0a5c48b0028b2bbb041da9 Mon Sep 17 00:00:00 2001 From: "Carlos J. Puga Medina" Date: Tue, 22 Nov 2016 18:35:35 +0000 Subject: [PATCH] net/ocserv: Update to 0.11.6 - Update PORTVERSION and distinfo checksum (0.11.6) - Add LICENSE_FILE - Cosmetic fixes - Remove STRIP_CMD target since all binaries are installed with --strip (-s) option by default - Silence two explicitly called commands Changelog: http://lists.infradead.org/pipermail/openconnect-devel/2016-November/004066.html Reviewed by: amdmi3 (mentor) Approved by: amdmi3 (mentor) Differential Revision: D8538 --- net/ocserv/Makefile | 22 +++++++++------------- net/ocserv/distinfo | 6 +++--- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile index 1bb2ccc405b4..016caa131f7c 100644 --- a/net/ocserv/Makefile +++ b/net/ocserv/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ocserv -PORTVERSION= 0.11.5 +PORTVERSION= 0.11.6 CATEGORIES= net security MASTER_SITES= ftp://ftp.infradead.org/pub/ocserv/ @@ -10,6 +10,7 @@ MAINTAINER= cpm@FreeBSD.org COMMENT= Server implementing the AnyConnect SSL VPN protocol LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= autogen:devel/autogen \ gsed:textproc/gsed \ @@ -44,7 +45,7 @@ MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS EXAMPLES GSSAPI -PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO +PORTDOCS= AUTHORS ChangeLog NEWS README TODO PORTEXAMPLES= profile.xml sample.config sample.passwd GSSAPI_USES= gssapi:mit @@ -52,24 +53,19 @@ GSSAPI_LIB_DEPENDS= libkrb5support.so:security/krb5 GSSAPI_CONFIGURE_OFF= --without-gssapi post-patch: - ${RM} ${WRKSRC}/doc/occtl.8 - ${RM} ${WRKSRC}/doc/ocpasswd.8 - ${RM} ${WRKSRC}/doc/ocserv.8 + @${RM} ${WRKSRC}/doc/*.8 post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/occtl - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocpasswd - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ocserv - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/ocserv/ - ${MKDIR} ${STAGEDIR}/var/run/ocserv/ - ${CP} ${FILESDIR}/ocserv.conf ${STAGEDIR}${PREFIX}/etc/ocserv/conf.sample + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/ocserv/ + @${MKDIR} ${STAGEDIR}/var/run/ocserv/ + ${INSTALL_DATA} ${FILESDIR}/ocserv.conf ${STAGEDIR}${PREFIX}/etc/ocserv/conf.sample post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/net/ocserv/distinfo b/net/ocserv/distinfo index b1ac2a091511..e6d34b953749 100644 --- a/net/ocserv/distinfo +++ b/net/ocserv/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1474711445 -SHA256 (ocserv-0.11.5.tar.xz) = 2a80e32e538044fba7745fd2a0cfaa27a398097fb8d4d684c1142118b69219cb -SIZE (ocserv-0.11.5.tar.xz) = 758252 +TIMESTAMP = 1479252096 +SHA256 (ocserv-0.11.6.tar.xz) = 937c7ad401983a9183cec5976afd79ce1af5b2793dc71885d2a4ecdb043bd48c +SIZE (ocserv-0.11.6.tar.xz) = 762492