Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 17:20:43 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332516 - head/security/p5-Authen-Radius
Message-ID:  <201311021720.rA2HKhKt068482@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov  2 17:20:43 2013
New Revision: 332516
URL: http://svnweb.freebsd.org/changeset/ports/332516

Log:
  - 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

Modified:
  head/security/p5-Authen-Radius/Makefile
  head/security/p5-Authen-Radius/distinfo   (contents, props changed)
  head/security/p5-Authen-Radius/pkg-descr   (contents, props changed)
  head/security/p5-Authen-Radius/pkg-plist   (contents, props changed)

Modified: head/security/p5-Authen-Radius/Makefile
==============================================================================
--- head/security/p5-Authen-Radius/Makefile	Sat Nov  2 17:20:36 2013	(r332515)
+++ head/security/p5-Authen-Radius/Makefile	Sat Nov  2 17:20:43 2013	(r332516)
@@ -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>

Modified: head/security/p5-Authen-Radius/distinfo
==============================================================================
--- head/security/p5-Authen-Radius/distinfo	Sat Nov  2 17:20:36 2013	(r332515)
+++ head/security/p5-Authen-Radius/distinfo	Sat Nov  2 17:20:43 2013	(r332516)
@@ -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

Modified: head/security/p5-Authen-Radius/pkg-descr
==============================================================================
--- head/security/p5-Authen-Radius/pkg-descr	Sat Nov  2 17:20:36 2013	(r332515)
+++ head/security/p5-Authen-Radius/pkg-descr	Sat Nov  2 17:20:43 2013	(r332516)
@@ -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/

Modified: head/security/p5-Authen-Radius/pkg-plist
==============================================================================
--- head/security/p5-Authen-Radius/pkg-plist	Sat Nov  2 17:20:36 2013	(r332515)
+++ head/security/p5-Authen-Radius/pkg-plist	Sat Nov  2 17:20:43 2013	(r332516)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311021720.rA2HKhKt068482>