Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2015 23:50:05 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383394 - head/net/axa
Message-ID:  <201504052350.t35No58H038040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: truckman
Date: Sun Apr  5 23:50:04 2015
New Revision: 383394
URL: https://svnweb.freebsd.org/changeset/ports/383394

Log:
  Adapt to new USE_GITHUB features.
  
  Add LICENSE_FILE.
  
  Add sie-nmsg to RUN_DEPENDS.
  
  Don't bother with install-strip because it was not stripping libaxa.so,
  and sratool and sratunnel are stripped even without it.  Use ${STRIP_CMD}
  for the library.
  
  Differential Revision:	https://reviews.freebsd.org/D2233
  Approved by:	mat (mentor)
  Sponsored by:	Farsight Security, Inc.

Modified:
  head/net/axa/Makefile
  head/net/axa/distinfo

Modified: head/net/axa/Makefile
==============================================================================
--- head/net/axa/Makefile	Sun Apr  5 23:32:05 2015	(r383393)
+++ head/net/axa/Makefile	Sun Apr  5 23:50:04 2015	(r383394)
@@ -2,28 +2,31 @@
 
 PORTNAME=	axa
 PORTVERSION=	1.0.0
+# Use GH_TAGNAME until USE_GITHUB can cope with / in DISTVERSIONPREFIX
+#DISTVERSIONPREFIX=	tags/v
+PORTREVISION=	1
 CATEGORIES=	net dns
 
 MAINTAINER=	truckman@FreeBSD.org
 COMMENT=	AXA library and tools
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/copyright
 
 BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
 		sie-nmsg>0:${PORTSDIR}/net/sie-nmsg
 LIB_DEPENDS=	libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c \
 		libnmsg.so:${PORTSDIR}/net/nmsg \
 		libwdns.so:${PORTSDIR}/dns/wdns
+RUN_DEPENDS=	sie-nmsg>0:${PORTSDIR}/net/sie-nmsg
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	farsightsec
-GH_COMMIT=	bf9c038
-GH_TAGNAME=	${GH_COMMIT}
+GH_TAGNAME=	tags/v${PORTVERSION}
 
 GNU_CONFIGURE=	yes
 USES=		autoreconf gmake libtool pathfix pkgconfig
 CONFIGURE_SHELL=	${LOCALBASE}/bin/bash
-INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
 PORTDOCS=	*
@@ -39,6 +42,8 @@ DOXYGEN_ALL_TARGET=	html-local
 
 .if ${PORT_OPTIONS:MDOXYGEN}
 post-install:
+	# install-strip does not strip libaxa.so
+	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libaxa.so.0.0.0
 	(cd ${WRKSRC}/doc/doxygen && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
 .endif
 

Modified: head/net/axa/distinfo
==============================================================================
--- head/net/axa/distinfo	Sun Apr  5 23:32:05 2015	(r383393)
+++ head/net/axa/distinfo	Sun Apr  5 23:50:04 2015	(r383394)
@@ -1,2 +1,2 @@
-SHA256 (axa-1.0.0.tar.gz) = fe118b1270a3d39c967070f57873911fc4369927848f8565368afea9e6ea4fde
-SIZE (axa-1.0.0.tar.gz) = 150904
+SHA256 (farsightsec-axa-1.0.0-tags-v1.0.0_GH0.tar.gz) = 61c67185983d38d648f903a5743f9adcc343c32264a870f92f4eff3e9855a3e3
+SIZE (farsightsec-axa-1.0.0-tags-v1.0.0_GH0.tar.gz) = 150853



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