Hi,
Here is a patch for security/p5-Authen-Radius:
i) update to 0.32.
ii) update DEPENDS
ii) Some minor changes
It build well and pass all tests on amd64-6.8 system.
No other ports depends on it.
wen
Index: Makefile
===
RCS file: /cvs/ports/security/p5-Authen-Radius/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile3 Jul 2020 21:45:39 - 1.22
+++ Makefile24 Dec 2020 00:54:06 -
@@ -1,27 +1,22 @@
# $OpenBSD: Makefile,v 1.22 2020/07/03 21:45:39 sthen Exp $
COMMENT= Perl module to authenticate against a RADIUS server
-
-MODULES= cpan
-PKG_ARCH= *
-V= 0.22
-DISTNAME= RadiusPerl-$V
+DISTNAME= Authen-Radius-$V
PKGNAME= p5-Authen-Radius-$V
CATEGORIES=security
-REVISION= 1
-
MAINTAINER=Abel Abraham Camarillo Ojeda
# Perl
PERMIT_PACKAGE=Yes
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Authen/}
-WRKDIST= ${WRKDIR}/Authen-Radius-$V
+MODULES= cpan
+PKG_ARCH= *
+V= 0.32
-RUN_DEPENDS= security/p5-MD5>=1.7 \
- devel/p5-Data-HexDump>=0.02
-BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= devel/p5-Data-HexDump>=0.02 \
+ net/p5-Net-IP>=1.26
+TEST_DEPENDS= devel/p5-Test-NoWarnings
TEST_IS_INTERACTIVE= Yes
@@ -29,9 +24,5 @@ pre-configure:
perl -pi -e \
s,/etc/raddb,${WRKINST}/${PREFIX}/share/examples/p5-Authen-Radius, \
${WRKSRC}/install-radius-db.PL
-
-do-test:
- cd ${WRKSRC} && (echo localhost; echo secret; echo username; \
- echo password) | perl test.pl
.include
Index: distinfo
===
RCS file: /cvs/ports/security/p5-Authen-Radius/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo4 Apr 2013 17:05:16 - 1.5
+++ distinfo24 Dec 2020 00:54:06 -
@@ -1,2 +1,2 @@
-SHA256 (RadiusPerl-0.22.tar.gz) = OydlBphsyqSUnZKxPOBToAF60RViqZHMdTNkkj/oHKc=
-SIZE (RadiusPerl-0.22.tar.gz) = 40980
+SHA256 (Authen-Radius-0.32.tar.gz) =
eyCPmDfIOhhCZyVIklNlh+7Qvd5J577euj1ypmUjF0A=
+SIZE (Authen-Radius-0.32.tar.gz) = 51366
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/p5-Authen-Radius/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST 4 Apr 2013 17:05:16 - 1.6
+++ pkg/PLIST 24 Dec 2020 00:54:06 -
@@ -9,9 +9,13 @@ share/examples/p5-Authen-Radius/dictiona
share/examples/p5-Authen-Radius/dictionary.compat
share/examples/p5-Authen-Radius/dictionary.livingston
share/examples/p5-Authen-Radius/dictionary.quintum
+share/examples/p5-Authen-Radius/dictionary.rfc2865
+share/examples/p5-Authen-Radius/dictionary.rfc2866
share/examples/p5-Authen-Radius/dictionary.rfc2869
+share/examples/p5-Authen-Radius/dictionary.rfc3162
share/examples/p5-Authen-Radius/dictionary.shiva
share/examples/p5-Authen-Radius/dictionary.tunnel
share/examples/p5-Authen-Radius/dictionary.usr
share/examples/p5-Authen-Radius/dictionary.versanet
+share/examples/p5-Authen-Radius/dictionary.wimax
share/examples/p5-Authen-Radius/dictionary.xtradius