Index: head/net/axa/Makefile =================================================================== --- head/net/axa/Makefile (revision 417910) +++ head/net/axa/Makefile (revision 417911) @@ -1,46 +1,62 @@ # $FreeBSD$ PORTNAME= axa -PORTVERSION= 1.2.1 +PORTVERSION= 1.3.0 CATEGORIES= net dns -MASTER_SITES= FARSIGHT/${PORTNAME}/${PORTVERSION} LOCAL/truckman/farsight -DISTNAME= ${PORTNAME}_${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} +MASTER_SITES= FARSIGHT/${PORTNAME} LOCAL/truckman/farsight MAINTAINER= truckman@FreeBSD.org COMMENT= AXA library and tools -LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/copyright +LICENSE= APACHE20 PD +LICENSE_COMB= multi +LICENSE_FILE_APACHE20= ${WRKSRC}/copyright +LICENSE_FILE_PD= ${WRKSRC}/license_pd BUILD_DEPENDS= bash:shells/bash \ sie-nmsg>0:net/sie-nmsg -LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c \ +LIB_DEPENDS= libcheck.so:devel/libcheck \ + libprotobuf-c.so:devel/protobuf-c \ libnmsg.so:net/nmsg \ - libwdns.so:dns/wdns + libwdns.so:dns/wdns \ + libyajl.so:devel/yajl RUN_DEPENDS= sie-nmsg>0:net/sie-nmsg -WRKSRC= ${WRKDIR}/axa-tools - GNU_CONFIGURE= yes -USES= autoreconf gmake libedit libtool pathfix pkgconfig +USES= autoreconf gmake libedit libtool pathfix pkgconfig ssl CONFIGURE_SHELL= ${LOCALBASE}/bin/bash USE_LDCONFIG= yes -USE_OPENSSL= yes -WITH_OPENSSL_PORT= yes PORTDOCS= * OPTIONS_DEFINE= DOXYGEN OPTIONS_DEFAULT=DOXYGEN ALL_TARGET= all INSTALL_TARGET= install-strip DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= html-local LDFLAGS+= -lm +.include + +.if ${SSL_DEFAULT} == base +. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 +IGNORE= base OpenSSL in FreeBSD 9 is too old, specify a ports version of SSL by adding DEFAULT_VERSIONS+=ssl=... to /etc/make.conf and rebuild everything that needs SSL +. else +CONFIGURE_ENV+= libcrypto_CFLAGS="-I${OPENSSLINC}" \ + libcrypto_LIBS="-L${OPENSSLLIB} -lcrypto" \ + libssl_CFLAGS="-I${OPENSSLINC}" \ + libssl_LIBS="-L${OPENSSLLIB} -lssl" +. endif +.endif + +post-extract: + (${ECHO} "For libmy/b64_encode.c:" ; \ + ${SED} -ne "1,/\*\//p" ${WRKSRC}/libmy/b64_encode.c ) > ${LICENSE_FILE_PD} + post-install-DOXYGEN-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) -.include +.include Index: head/net/axa/distinfo =================================================================== --- head/net/axa/distinfo (revision 417910) +++ head/net/axa/distinfo (revision 417911) @@ -1,2 +1,3 @@ -SHA256 (axa_1.2.1.tar.gz) = b4414f149fb1d6fb28453b388dc9aa12344a856176920efc7deff6032f0e9133 -SIZE (axa_1.2.1.tar.gz) = 775750 +TIMESTAMP = 1467236842 +SHA256 (axa-1.3.0.tar.gz) = dba2a2eafc1b44accc398e260cadcb756a43aada72e9865ac47bc1c74406d4d8 +SIZE (axa-1.3.0.tar.gz) = 539237 Index: head/net/axa/files/patch-Makefile.am =================================================================== --- head/net/axa/files/patch-Makefile.am (nonexistent) +++ head/net/axa/files/patch-Makefile.am (revision 417911) @@ -0,0 +1,12 @@ +--- Makefile.am.orig 2016-06-29 19:21:44 UTC ++++ Makefile.am +@@ -88,8 +88,7 @@ nobase_include_HEADERS = \ + axa/socket.h \ + axa/strbuf.h \ + axa/trie.h \ +- axa/wire.h \ +- libmy/b64_encode.h ++ axa/wire.h + lib_LTLIBRARIES = axa/libaxa.la + + axa_libaxa_la_SOURCES = \ Property changes on: head/net/axa/files/patch-Makefile.am ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/axa/files/patch-sratool_print.c =================================================================== --- head/net/axa/files/patch-sratool_print.c (nonexistent) +++ head/net/axa/files/patch-sratool_print.c (revision 417911) @@ -0,0 +1,11 @@ +--- sratool/print.c.orig 2016-06-29 19:21:44 UTC ++++ sratool/print.c +@@ -1202,7 +1202,7 @@ print_mgmt(axa_p_mgmt_t *mgmt, size_t mg + } + + if (axa_debug != 0) { +- printf(" mgmt_len : %zdb\n", AXA_P2H32(mgmt_len)); ++ printf(" mgmt_len : %"PRIu32"\n", AXA_P2H32(mgmt_len)); + } + + /* UINT32_MAX or UINT64_MAX == server error in gathering stat */ Property changes on: head/net/axa/files/patch-sratool_print.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/axa/pkg-plist =================================================================== --- head/net/axa/pkg-plist (revision 417910) +++ head/net/axa/pkg-plist (revision 417911) @@ -1,32 +1,34 @@ bin/axa_link_certs bin/axa_make_cert bin/axa_server_cert bin/radtool bin/radtunnel bin/sratool bin/sratunnel %%ETCDIR%%/fields include/axa/axa.h include/axa/axa_endian.h include/axa/bits.h include/axa/client.h include/axa/dns_walk.h include/axa/fields.h +include/axa/json.h +include/axa/strbuf.h include/axa/open_nmsg_out.h include/axa/protocol.h include/axa/rad_mod.h include/axa/socket.h include/axa/trie.h include/axa/wire.h lib/libaxa.a lib/libaxa.so lib/libaxa.so.0 lib/libaxa.so.0.0.0 libdata/pkgconfig/libaxa.pc man/man1/radtool.1.gz man/man1/radtunnel.1.gz man/man1/sratool.1.gz man/man1/sratunnel.1.gz man/man8/axa_link_certs.8.gz man/man8/axa_make_cert.8.gz man/man8/axa_server_cert.8.gz