mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
- 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
This commit is contained in:
parent
bbd265877d
commit
fa8672cd46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332516
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user