Date: Thu, 18 May 2017 21:19:31 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441200 - in head/net: . radcli Message-ID: <201705182119.v4ILJVXZ034669@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Thu May 18 21:19:31 2017 New Revision: 441200 URL: https://svnweb.freebsd.org/changeset/ports/441200 Log: Add new port net/radcli radcli is a library for writing RADIUS clients. It aims to allow writing a RADIUS-aware application in less than 50 lines of code. It is based on the freeradius-client library, but legacy code has been removed; IPv6 support, pkg-config, TLS/DTLS, and API documentation have been added. It remains source compatible with radiusclient-ng and freeradius-client. WWW: https://radcli.github.io/radcli/ PR: 219088 Submitted by: Jov <amutu@amutu.com> Reviewed by: danfe Added: head/net/radcli/ head/net/radcli/Makefile (contents, props changed) head/net/radcli/distinfo (contents, props changed) head/net/radcli/pkg-descr (contents, props changed) head/net/radcli/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Thu May 18 20:58:59 2017 (r441199) +++ head/net/Makefile Thu May 18 21:19:31 2017 (r441200) @@ -1090,6 +1090,7 @@ SUBDIR += rabbitmq SUBDIR += rabbitmq-c SUBDIR += rabbitmq-c-devel + SUBDIR += radcli SUBDIR += raddump SUBDIR += radiator SUBDIR += radiusclient Added: head/net/radcli/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/radcli/Makefile Thu May 18 21:19:31 2017 (r441200) @@ -0,0 +1,37 @@ +# Created by: Jov <amutu@amutu.com> +# $FreeBSD$ + +PORTNAME= radcli +PORTVERSION= 1.2.7 +CATEGORIES= net + +MAINTAINER= amutu@amutu.com +COMMENT= Simple RADIUS client library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +LIB_DEPENDS= libgnutls.so:security/gnutls \ + libnettle.so:security/nettle + +USES= autoreconf libtool localbase pathfix pkgconfig +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +INSTALL_TARGET= install-strip + +USE_GITHUB= yes + +pre-configure: + @cd ${WRKSRC} && ./autogen.sh + +post-patch: + @${REINPLACE_CMD} -e 's|1000000000.0d|1000000000.0|g' \ + ${WRKSRC}/lib/util.c + +post-install: +.for f in radiusclient.conf radiusclient-tls.conf servers servers-tls + ${INSTALL_DATA} ${WRKSRC}/etc/${f} \ + ${STAGEDIR}${PREFIX}/etc/radcli/${f}.sample +.endfor + +.include <bsd.port.mk> Added: head/net/radcli/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/radcli/distinfo Thu May 18 21:19:31 2017 (r441200) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494076545 +SHA256 (radcli-radcli-1.2.7_GH0.tar.gz) = 7bc2a50b4fba8d2ff45fc65a2189cf54aa8b8060af729fa2612ed03986f1fbfd +SIZE (radcli-radcli-1.2.7_GH0.tar.gz) = 247237 Added: head/net/radcli/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/radcli/pkg-descr Thu May 18 21:19:31 2017 (r441200) @@ -0,0 +1,7 @@ +radcli is a library for writing RADIUS clients. It aims to allow writing +a RADIUS-aware application in less than 50 lines of code. It is based on the +freeradius-client library, but legacy code has been removed; IPv6 support, +pkg-config, TLS/DTLS, and API documentation have been added. It remains +source compatible with radiusclient-ng and freeradius-client. + +WWW: https://radcli.github.io/radcli/ Added: head/net/radcli/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/radcli/pkg-plist Thu May 18 21:19:31 2017 (r441200) @@ -0,0 +1,77 @@ +include/radcli/radcli.h +include/radcli/version.h +lib/libradcli.a +lib/libradcli.so +lib/libradcli.so.4 +lib/libradcli.so.4.1.2 +libdata/pkgconfig/radcli.pc +man/man3/radcli.h.3.gz +man/man3/rc_aaa.3.gz +man/man3/rc_aaa_ctx.3.gz +man/man3/rc_aaa_ctx_free.3.gz +man/man3/rc_aaa_ctx_get_secret.3.gz +man/man3/rc_aaa_ctx_get_vector.3.gz +man/man3/rc_aaa_ctx_server.3.gz +man/man3/rc_acct.3.gz +man/man3/rc_acct_proxy.3.gz +man/man3/rc_add_config.3.gz +man/man3/rc_auth.3.gz +man/man3/rc_auth_proxy.3.gz +man/man3/rc_avpair_add.3.gz +man/man3/rc_avpair_assign.3.gz +man/man3/rc_avpair_copy.3.gz +man/man3/rc_avpair_free.3.gz +man/man3/rc_avpair_gen.3.gz +man/man3/rc_avpair_get.3.gz +man/man3/rc_avpair_get_attr.3.gz +man/man3/rc_avpair_get_in6.3.gz +man/man3/rc_avpair_get_raw.3.gz +man/man3/rc_avpair_get_uint32.3.gz +man/man3/rc_avpair_insert.3.gz +man/man3/rc_avpair_log.3.gz +man/man3/rc_avpair_new.3.gz +man/man3/rc_avpair_next.3.gz +man/man3/rc_avpair_parse.3.gz +man/man3/rc_avpair_remove.3.gz +man/man3/rc_avpair_tostr.3.gz +man/man3/rc_buildreq.3.gz +man/man3/rc_check.3.gz +man/man3/rc_check_tls.3.gz +man/man3/rc_conf_int.3.gz +man/man3/rc_conf_srv.3.gz +man/man3/rc_conf_str.3.gz +man/man3/rc_config_free.3.gz +man/man3/rc_config_init.3.gz +man/man3/rc_destroy.3.gz +man/man3/rc_dict_findattr.3.gz +man/man3/rc_dict_findval.3.gz +man/man3/rc_dict_findvend.3.gz +man/man3/rc_dict_free.3.gz +man/man3/rc_dict_getattr.3.gz +man/man3/rc_dict_getval.3.gz +man/man3/rc_dict_getvend.3.gz +man/man3/rc_find_server_addr.3.gz +man/man3/rc_get_socket_type.3.gz +man/man3/rc_get_srcaddr.3.gz +man/man3/rc_getport.3.gz +man/man3/rc_mksid.3.gz +man/man3/rc_new.3.gz +man/man3/rc_openlog.3.gz +man/man3/rc_own_hostname.3.gz +man/man3/rc_read_config.3.gz +man/man3/rc_read_dictionary.3.gz +man/man3/rc_send_server.3.gz +man/man3/rc_setdebug.3.gz +man/man3/rc_test_config.3.gz +man/man3/rc_tls_fd.3.gz +%%DATADIR%%/dictionary +%%DATADIR%%/dictionary.ascend +%%DATADIR%%/dictionary.compat +%%DATADIR%%/dictionary.merit +%%DATADIR%%/dictionary.microsoft +%%DATADIR%%/dictionary.roaringpenguin +%%DATADIR%%/dictionary.sip +@sample %%ETCDIR%%/radiusclient-tls.conf.sample +@sample %%ETCDIR%%/radiusclient.conf.sample +@sample %%ETCDIR%%/servers.sample +@sample %%ETCDIR%%/servers-tls.sample
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705182119.v4ILJVXZ034669>