diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-11-03 01:20:43 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-11-03 01:20:43 +0800 |
commit | cce997307782c6b71ff8bf37ed23ee765e701bc5 (patch) | |
tree | d5ac0327ef66556a67bc1f96ca299015e1253452 /security/p5-Authen-Radius | |
parent | 90c1242778dc092c97b52d579fef764e78f1220b (diff) | |
download | freebsd-ports-gnome-cce997307782c6b71ff8bf37ed23ee765e701bc5.tar.gz freebsd-ports-gnome-cce997307782c6b71ff8bf37ed23ee765e701bc5.tar.zst freebsd-ports-gnome-cce997307782c6b71ff8bf37ed23ee765e701bc5.zip |
- Update to 0.24
- Add LICENSE
- Use REINPLACE_CMD instead of PERL
- Support STAGEDIR
- Fix WWW
Changes: http://search.cpan.org/dist/Authen-Radius/Changes
Diffstat (limited to 'security/p5-Authen-Radius')
-rw-r--r-- | security/p5-Authen-Radius/Makefile | 17 | ||||
-rw-r--r-- | security/p5-Authen-Radius/distinfo | 4 | ||||
-rw-r--r-- | security/p5-Authen-Radius/pkg-descr | 2 | ||||
-rw-r--r-- | security/p5-Authen-Radius/pkg-plist | 3 |
4 files changed, 14 insertions, 12 deletions
diff --git a/security/p5-Authen-Radius/Makefile b/security/p5-Authen-Radius/Makefile index 791c95921267..5782de18a10a 100644 --- a/security/p5-Authen-Radius/Makefile +++ b/security/p5-Authen-Radius/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= Authen-Radius -PORTVERSION= 0.23 +PORTVERSION= 0.24 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -10,13 +10,15 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module to provide simple Radius client facilities +LICENSE= ART20 + RUN_DEPENDS= p5-Data-HexDump>=0.02:${PORTSDIR}/devel/p5-Data-HexDump BUILD_DEPENDS:= ${RUN_DEPENDS} -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +#WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +REINPLACE_ARGS= -i '' USES= perl5 USE_PERL5= configure -MAN3= Authen::Radius.3 RADDBFILES= dictionary \ dictionary.ascend \ @@ -31,13 +33,12 @@ RADDBFILES= dictionary \ dictionary.versanet \ dictionary.xtradius -NO_STAGE= yes -pre-configure: +post-patch: + @${REINPLACE_CMD} -e 's|/etc/raddb|${DATADIR}|' ${WRKSRC}/Radius.pm @${RM} ${WRKSRC}/install-radius-db.PL - @${PERL} -pi -e 's|/etc/raddb|${DATADIR}|' ${WRKSRC}/Radius.pm post-install: - @${MKDIR} ${DATADIR} - cd ${WRKSRC}/raddb/ && ${INSTALL_DATA} ${RADDBFILES} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/raddb/ && ${INSTALL_DATA} ${RADDBFILES} ${STAGEDIR}${DATADIR} .include <bsd.port.mk> diff --git a/security/p5-Authen-Radius/distinfo b/security/p5-Authen-Radius/distinfo index f85155743b01..f287e4467c18 100644 --- a/security/p5-Authen-Radius/distinfo +++ b/security/p5-Authen-Radius/distinfo @@ -1,2 +1,2 @@ -SHA256 (Authen-Radius-0.23.tar.gz) = 43c0f3a5bee279156de78b7fbd99f22401994ae82e1adeda09c88b5c53dd50c3 -SIZE (Authen-Radius-0.23.tar.gz) = 40931 +SHA256 (Authen-Radius-0.24.tar.gz) = 1f3aea9d09c5be90b27284166109ee143315ee95306a937a79c232ec83c4d44f +SIZE (Authen-Radius-0.24.tar.gz) = 40342 diff --git a/security/p5-Authen-Radius/pkg-descr b/security/p5-Authen-Radius/pkg-descr index e87c4b801fe9..361235a4d767 100644 --- a/security/p5-Authen-Radius/pkg-descr +++ b/security/p5-Authen-Radius/pkg-descr @@ -1,4 +1,4 @@ The Authen::Radius module provides a simple class that allows you to send/receive Radius requests/responses to/from a Radius server. -WWW: http://search.cpan.org/dist/RadiusPerl/ +WWW: http://search.cpan.org/dist/Authen-Radius/ diff --git a/security/p5-Authen-Radius/pkg-plist b/security/p5-Authen-Radius/pkg-plist index d8bcf27da6a0..ffa2eeef9583 100644 --- a/security/p5-Authen-Radius/pkg-plist +++ b/security/p5-Authen-Radius/pkg-plist @@ -1,5 +1,6 @@ %%SITE_PERL%%/Authen/Radius.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Radius/.packlist +%%PERL5_MAN3%%/Authen::Radius.3.gz %%DATADIR%%/dictionary %%DATADIR%%/dictionary.ascend %%DATADIR%%/dictionary.cisco @@ -14,5 +15,5 @@ %%DATADIR%%/dictionary.xtradius @dirrm %%DATADIR%% @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen/Radius -@dirrmtry %%SITE_PERL%%/Authen @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Authen +@dirrmtry %%SITE_PERL%%/Authen |