summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/radcli/Makefile18
-rw-r--r--net/radcli/distinfo6
-rw-r--r--net/radcli/pkg-descr18
-rw-r--r--net/radcli/pkg-plist8
4 files changed, 27 insertions, 23 deletions
diff --git a/net/radcli/Makefile b/net/radcli/Makefile
index 8606dd22f9fb..8eca39fe12d9 100644
--- a/net/radcli/Makefile
+++ b/net/radcli/Makefile
@@ -4,9 +4,10 @@
PORTNAME= radcli
PORTVERSION= 1.2.11
PORTREVISION= 1
+MASTER_SITES= https://github.com/radcli/radcli/releases/download/${PORTVERSION}/
CATEGORIES= net
-MAINTAINER= neel@neelc.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simple RADIUS client library
LICENSE= BSD2CLAUSE
@@ -15,20 +16,15 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libgnutls.so:security/gnutls \
libnettle.so:security/nettle
-USES= autoreconf libtool localbase pathfix pkgconfig
+USES= libtool pathfix pkgconfig
+
GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-
-USE_GITHUB= yes
-
-pre-configure:
- @${TOUCH} ${WRKSRC}/config.rpath
+USE_LDCONFIG= yes
post-install:
-.for f in radiusclient.conf radiusclient-tls.conf servers servers-tls
- ${INSTALL_DATA} ${WRKSRC}/etc/${f} \
- ${STAGEDIR}${PREFIX}/etc/radcli/${f}.sample
+.for file in radiusclient.conf radiusclient-tls.conf servers servers-tls
+ ${INSTALL_DATA} ${WRKSRC}/etc/${file} ${STAGEDIR}${PREFIX}/etc/radcli/${file}.sample
.endfor
.include <bsd.port.mk>
diff --git a/net/radcli/distinfo b/net/radcli/distinfo
index 8284d2a572e3..b08c232a3514 100644
--- a/net/radcli/distinfo
+++ b/net/radcli/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1537029843
-SHA256 (radcli-radcli-1.2.11_GH0.tar.gz) = 049ea17291d36e79d355e4e1a0719e787644178e294412fd173857524eba027b
-SIZE (radcli-radcli-1.2.11_GH0.tar.gz) = 278340
+TIMESTAMP = 1582811422
+SHA256 (radcli-1.2.11.tar.gz) = b6210e4c7deae235bb8c4e9df20c4f82c8bc2bda6d6214d50c5667660ab38548
+SIZE (radcli-1.2.11.tar.gz) = 549028
diff --git a/net/radcli/pkg-descr b/net/radcli/pkg-descr
index a16946202939..a03e6104768a 100644
--- a/net/radcli/pkg-descr
+++ b/net/radcli/pkg-descr
@@ -1,7 +1,15 @@
-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.
+The radcli library is a library for writing RADIUS Clients. The library's
+approach is to allow writing RADIUS-aware application in less than 50 lines of C
+code.
+
+The freeradius-client library was undocumented, had too much legacy code
+centered around radlogin, a tool which is of no significance today, was
+IPv4-only and had no releases for several years.
+
+This library addresses these shortcomings, adds package management via
+pkg-config, adds support for TCP, TLS and DTLS, provides documentation of the
+API, and will include any new features for the task. It is provided as a shared
+library in case it is useful to other projects as well, and is also made source
+compatible with radiusclient-ng and freeradius-client.
WWW: https://radcli.github.io/radcli/
diff --git a/net/radcli/pkg-plist b/net/radcli/pkg-plist
index 428bc1dbba7e..ec0a8d1f2820 100644
--- a/net/radcli/pkg-plist
+++ b/net/radcli/pkg-plist
@@ -1,7 +1,7 @@
-@sample %%ETCDIR%%/radiusclient-tls.conf.sample
-@sample %%ETCDIR%%/radiusclient.conf.sample
-@sample %%ETCDIR%%/servers-tls.sample
-@sample %%ETCDIR%%/servers.sample
+@sample etc/radcli/radiusclient-tls.conf.sample
+@sample etc/radcli/radiusclient.conf.sample
+@sample etc/radcli/servers-tls.sample
+@sample etc/radcli/servers.sample
include/radcli/radcli.h
include/radcli/version.h
lib/libradcli.a