Diff below updates radcli to 1.3.0. From
https://github.com/radcli/radcli/releases/tag/1.3.0:
- Removed duplicate function definition from util.h (#53)
- Increased size of dictionary vendor and values to 32-bits from 16;
this breaks the ABI from the previous release.
- Corrected a string termination issue in rc_avpair_tostr()
- Added functions to create dictionary without a file: rc_dict_addattr,
rc_dict_addval, rc_dict_addvend
Changes to port:
- Bump major of SHARED_LIB accordingly
- While here move HOMEPAGE to https and sync WANTLIB
Comments/OK?
diff --git Makefile Makefile
index c1920f28e76..e83a148e1fe 100644
--- Makefile
+++ Makefile
@@ -2,29 +2,31 @@
COMMENT= simple RADIUS client library
-SHARED_LIBS += radcli 0.3 # 6.0
+SHARED_LIBS += radcli 1.0 # 8.0
-V= 1.2.11
-DISTNAME= radcli-$V
-REVISION= 0
+GH_ACCOUNT= radcli
+GH_PROJECT= radcli
+GH_TAGNAME= 1.3.0
CATEGORIES= net
-HOMEPAGE= http://radcli.github.io/radcli/
+HOMEPAGE= https://radcli.github.io/radcli/
# recent code BSD, some old MERIT/Livingston
PERMIT_PACKAGE= Yes
-WANTLIB = ffi gmp gnutls hogweed iconv idn2 intl nettle p11-kit pthread
-WANTLIB += tasn1 unistring z
-
-MASTER_SITES= https://github.com/radcli/radcli/releases/download/$V/
+WANTLIB += ffi gmp gnutls hogweed iconv idn2 intl nettle p11-kit
+WANTLIB += pthread tasn1 unistring
LIB_DEPENDS= security/gnutls
FAKE_FLAGS= pkgsysconfdir=${PREFIX}/share/examples/radcli
-CONFIGURE_STYLE= gnu
+CONFIGURE_STYLE= autoreconf
+
+AUTOCONF_VERSION= 2.69
+AUTOMAKE_VERSION= 1.15
+AUTORECONF= ./autogen.sh
# most tests need a running local RADIUS server; they talk about a
# run-server.sh script to run this but it's not actually included.
diff --git distinfo distinfo
index 5837cc1dab5..8e123c863b5 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (radcli-1.2.11.tar.gz) = tiEOTH3q4jW7jE6d8gxPgsi8K9ptYhTVDFZnZgqzhUg=
-SIZE (radcli-1.2.11.tar.gz) = 549028
+SHA256 (radcli-1.3.0.tar.gz) = HX/6+feMGL9cY0iySRvh7hc5AXJjb6h713GdZpy0b68=
+SIZE (radcli-1.3.0.tar.gz) = 246802
diff --git patches/patch-lib_util_h patches/patch-lib_util_h
index 0e99775baed..38765e05272 100644
--- patches/patch-lib_util_h
+++ patches/patch-lib_util_h
@@ -1,7 +1,8 @@
$OpenBSD: patch-lib_util_h,v 1.2 2016/03/19 19:59:35 sthen Exp $
---- lib/util.h.orig Thu Nov 26 21:12:12 2015
-+++ lib/util.h Sat Mar 19 19:57:09 2016
-@@ -23,7 +23,9 @@ size_t rc_strlcpy(char *dst, char const *src, size_t s
+Index: lib/util.h
+--- lib/util.h.orig
++++ lib/util.h
+@@ -25,7 +25,9 @@ size_t rc_strlcpy(char *dst, char const *src, size_t s
#define SA_LEN(sa) \
(((sa)->sa_family == AF_INET) ? \
sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6))
diff --git pkg/PLIST pkg/PLIST
index 1e5f675d66b..e16bdca6b9c 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -2,7 +2,7 @@
include/radcli/
include/radcli/radcli.h
include/radcli/version.h
-lib/libradcli.a
+@static-lib lib/libradcli.a
lib/libradcli.la
@lib lib/libradcli.so.${LIBradcli_VERSION}
lib/pkgconfig/radcli.pc
No comments:
Post a Comment