1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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
This commit is contained in:
Carlos J. Puga Medina 2016-11-22 18:35:35 +00:00
parent b6b9bccb91
commit 0c283421d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426841
2 changed files with 12 additions and 16 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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