Re: [Update] security/p5-Authen-Radius : Update to 0.32
On Wednesday, December 23, 2020, wen heping wrote: > 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 > Looks ok to me, but I can't test right now. Thanks
[Update] security/p5-Authen-Radius : Update to 0.32
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
Re: UPDATE: security/p5-Authen-Radius
On 03/25/13 16:47, Giovanni Bechis wrote: Hi, update to latest version of this perl module, ok'ed by ${MAINTAINER}. There is a strange issue with regression tests. If you type make test under /usr/ports/security/p5-Authen-Radius directory, regression test starts but shortly hang without asking for additional user input; if you cd in ${WRKSRC} and that run `make test`, regression tests starts correctly. Any ideas ? I think it would be better to disable regression tests in this port. Comments ? Ok ? Cheers Giovanni Index: Makefile === RCS file: /cvs/ports/security/p5-Authen-Radius/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- Makefile 11 Mar 2013 11:41:26 - 1.17 +++ Makefile 4 Apr 2013 15:58:13 - @@ -3,9 +3,8 @@ COMMENT= Perl module to authenticate against a RADIUS server MODULES= cpan -DISTNAME= RadiusPerl-0.15 -REVISION= 0 -PKGNAME= p5-Authen-Radius-0.15 +DISTNAME= RadiusPerl-0.22 +PKGNAME= p5-Authen-Radius-0.22 CATEGORIES= security MAINTAINER= Abel Abraham Camarillo Ojeda acam...@the00z.org @@ -20,15 +19,12 @@ RUN_DEPENDS= security/p5-MD5=1.7 \ devel/p5-Data-HexDump=0.02 BUILD_DEPENDS= ${RUN_DEPENDS} -USE_GROFF = Yes -TEST_IS_INTERACTIVE= Yes +# Regression tests hangs if run from our pkg tools +NO_REGRESS= Yes pre-configure: perl -pi -e \ - s,/etc/raddb,${WRKINST}/${PREFIX}/share/examples/p5-Authen-Radius, \ + s,/etc/raddb,${WRKINST}${PREFIX}/share/examples/p5-Authen-Radius, \ ${WRKSRC}/install-radius-db.PL - -do-regress: - cd ${WRKSRC} ${MAKE} test .include bsd.port.mk Index: distinfo === RCS file: /cvs/ports/security/p5-Authen-Radius/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo 1 Jul 2010 09:18:54 - 1.4 +++ distinfo 4 Apr 2013 15:58:13 - @@ -1,5 +1,2 @@ -MD5 (RadiusPerl-0.15.tar.gz) = iEPqVp+ZVsKxyZISXbgfdQ== -RMD160 (RadiusPerl-0.15.tar.gz) = 8BZl/QrjIKeLJk7Bfxlvk3RHmmc= -SHA1 (RadiusPerl-0.15.tar.gz) = T10Lluz9xEJsDKlvDytu9l/oBSs= -SHA256 (RadiusPerl-0.15.tar.gz) = pM9a1iEAcEqvf+6QGj3JdBFaMgoY7wTO9rRetSb69IM= -SIZE (RadiusPerl-0.15.tar.gz) = 35049 +SHA256 (RadiusPerl-0.22.tar.gz) = OydlBphsyqSUnZKxPOBToAF60RViqZHMdTNkkj/oHKc= +SIZE (RadiusPerl-0.22.tar.gz) = 40980 Index: pkg/PLIST === RCS file: /cvs/ports/security/p5-Authen-Radius/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 1 Jul 2010 09:18:54 - 1.5 +++ pkg/PLIST 4 Apr 2013 15:58:13 - @@ -9,6 +9,7 @@ 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.rfc2869 share/examples/p5-Authen-Radius/dictionary.shiva share/examples/p5-Authen-Radius/dictionary.tunnel share/examples/p5-Authen-Radius/dictionary.usr
Re: UPDATE: security/p5-Authen-Radius
On Thu, Apr 04, 2013 at 05:24:57PM +0100, Stuart Henderson wrote: -do-regress: - cd ${WRKSRC} ${MAKE} test +do-test: + cd ${WRKSRC} (echo localhost; echo secret; echo username; \ + echo password) | perl test.pl ok for me but imho this way TEST_IS_INTERACTIVE should be zapped. Cheers Giovanni
Re: UPDATE: security/p5-Authen-Radius
On 2013/04/04 18:37, Giovanni Bechis wrote: On Thu, Apr 04, 2013 at 05:24:57PM +0100, Stuart Henderson wrote: -do-regress: - cd ${WRKSRC} ${MAKE} test +do-test: + cd ${WRKSRC} (echo localhost; echo secret; echo username; \ + echo password) | perl test.pl ok for me but imho this way TEST_IS_INTERACTIVE should be zapped. Cheers Giovanni You still need to configure and run a radius server in order to test this, so I think it makes sense to treat it the same way as many of the tests in ports/databases.
Re: UPDATE: security/p5-Authen-Radius
On 04/04/13 18:39, Stuart Henderson wrote: On 2013/04/04 18:37, Giovanni Bechis wrote: On Thu, Apr 04, 2013 at 05:24:57PM +0100, Stuart Henderson wrote: -do-regress: - cd ${WRKSRC} ${MAKE} test +do-test: + cd ${WRKSRC} (echo localhost; echo secret; echo username; \ + echo password) | perl test.pl ok for me but imho this way TEST_IS_INTERACTIVE should be zapped. Cheers Giovanni You still need to configure and run a radius server in order to test this, so I think it makes sense to treat it the same way as many of the tests in ports/databases. ok for me then. Cheers Giovanni
Re: UPDATE: security/p5-Authen-Radius
maintainer ok. On Thu, Apr 4, 2013 at 10:45 AM, Giovanni Bechis giova...@bigio.snb.it wrote: On 04/04/13 18:39, Stuart Henderson wrote: On 2013/04/04 18:37, Giovanni Bechis wrote: On Thu, Apr 04, 2013 at 05:24:57PM +0100, Stuart Henderson wrote: -do-regress: - cd ${WRKSRC} ${MAKE} test +do-test: + cd ${WRKSRC} (echo localhost; echo secret; echo username; \ + echo password) | perl test.pl ok for me but imho this way TEST_IS_INTERACTIVE should be zapped. Cheers Giovanni You still need to configure and run a radius server in order to test this, so I think it makes sense to treat it the same way as many of the tests in ports/databases. ok for me then. Cheers Giovanni
UPDATE: security/p5-Authen-Radius
Hi, update to latest version of this perl module, ok'ed by ${MAINTAINER}. There is a strange issue with regression tests. If you type make test under /usr/ports/security/p5-Authen-Radius directory, regression test starts but shortly hang without asking for additional user input; if you cd in ${WRKSRC} and that run `make test`, regression tests starts correctly. Any ideas ? Cheers Giovanni Index: Makefile === RCS file: /cvs/ports/security/p5-Authen-Radius/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- Makefile 11 Mar 2013 11:41:26 - 1.17 +++ Makefile 20 Mar 2013 14:12:37 - @@ -3,9 +3,8 @@ COMMENT= Perl module to authenticate against a RADIUS server MODULES= cpan -DISTNAME= RadiusPerl-0.15 -REVISION= 0 -PKGNAME= p5-Authen-Radius-0.15 +DISTNAME= RadiusPerl-0.22 +PKGNAME= p5-Authen-Radius-0.22 CATEGORIES= security MAINTAINER= Abel Abraham Camarillo Ojeda acam...@the00z.org @@ -20,15 +19,11 @@ RUN_DEPENDS= security/p5-MD5=1.7 \ devel/p5-Data-HexDump=0.02 BUILD_DEPENDS= ${RUN_DEPENDS} -USE_GROFF = Yes TEST_IS_INTERACTIVE= Yes pre-configure: perl -pi -e \ s,/etc/raddb,${WRKINST}/${PREFIX}/share/examples/p5-Authen-Radius, \ ${WRKSRC}/install-radius-db.PL - -do-regress: - cd ${WRKSRC} ${MAKE} test .include bsd.port.mk Index: distinfo === RCS file: /cvs/ports/security/p5-Authen-Radius/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo 1 Jul 2010 09:18:54 - 1.4 +++ distinfo 20 Mar 2013 14:12:37 - @@ -1,5 +1,2 @@ -MD5 (RadiusPerl-0.15.tar.gz) = iEPqVp+ZVsKxyZISXbgfdQ== -RMD160 (RadiusPerl-0.15.tar.gz) = 8BZl/QrjIKeLJk7Bfxlvk3RHmmc= -SHA1 (RadiusPerl-0.15.tar.gz) = T10Lluz9xEJsDKlvDytu9l/oBSs= -SHA256 (RadiusPerl-0.15.tar.gz) = pM9a1iEAcEqvf+6QGj3JdBFaMgoY7wTO9rRetSb69IM= -SIZE (RadiusPerl-0.15.tar.gz) = 35049 +SHA256 (RadiusPerl-0.22.tar.gz) = OydlBphsyqSUnZKxPOBToAF60RViqZHMdTNkkj/oHKc= +SIZE (RadiusPerl-0.22.tar.gz) = 40980 Index: pkg/PLIST === RCS file: /cvs/ports/security/p5-Authen-Radius/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 1 Jul 2010 09:18:54 - 1.5 +++ pkg/PLIST 20 Mar 2013 14:12:37 - @@ -9,6 +9,7 @@ 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.rfc2869 share/examples/p5-Authen-Radius/dictionary.shiva share/examples/p5-Authen-Radius/dictionary.tunnel share/examples/p5-Authen-Radius/dictionary.usr