aboutsummaryrefslogtreecommitdiff
path: root/security/p5-IO-Socket-SSL
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-09-21 23:22:21 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-09-21 23:22:21 +0000
commit94b64b934c1aac6406a39d9d89c9081e62bc2b79 (patch)
treecd79ec856da859998f62829bf654649c75cd3738 /security/p5-IO-Socket-SSL
parentc5ed4911be1508c001a46a904a3ad413451864fc (diff)
downloadports-94b64b934c1aac6406a39d9d89c9081e62bc2b79.tar.gz
ports-94b64b934c1aac6406a39d9d89c9081e62bc2b79.zip
Notes
Diffstat (limited to 'security/p5-IO-Socket-SSL')
-rw-r--r--security/p5-IO-Socket-SSL/Makefile22
-rw-r--r--security/p5-IO-Socket-SSL/distinfo6
-rw-r--r--security/p5-IO-Socket-SSL/pkg-plist9
3 files changed, 27 insertions, 10 deletions
diff --git a/security/p5-IO-Socket-SSL/Makefile b/security/p5-IO-Socket-SSL/Makefile
index a46ef3d3c3b3..770b36db907d 100644
--- a/security/p5-IO-Socket-SSL/Makefile
+++ b/security/p5-IO-Socket-SSL/Makefile
@@ -6,20 +6,32 @@
#
PORTNAME= IO-Socket-SSL
-PORTVERSION= 0.97
+PORTVERSION= 1.01
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IO
PKGNAMEPREFIX= p5-
-MAINTAINER= scrappy@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 interface to SSL sockets
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Net-SSLeay>=1.21:${PORTSDIR}/security/p5-Net-SSLeay
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= IO::Socket::SSL.3
-.include <bsd.port.mk>
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/example/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500702
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-IO-Socket-SSL/distinfo b/security/p5-IO-Socket-SSL/distinfo
index fa4f78a1666d..493aab4cc6e0 100644
--- a/security/p5-IO-Socket-SSL/distinfo
+++ b/security/p5-IO-Socket-SSL/distinfo
@@ -1,3 +1,3 @@
-MD5 (IO-Socket-SSL-0.97.tar.gz) = 34562e9475de132faa0f14ca2be053a5
-SHA256 (IO-Socket-SSL-0.97.tar.gz) = a491e815462f2ff698b123e161f259d5be84fb6b9c7d702dea907acfa059975d
-SIZE (IO-Socket-SSL-0.97.tar.gz) = 32741
+MD5 (IO-Socket-SSL-1.01.tar.gz) = f36829d24ee3b70fb9982c26ece064b7
+SHA256 (IO-Socket-SSL-1.01.tar.gz) = 2470de5f0dc934ef81d06ddbce791820a0621cd1d8d4cc50c74c2fee2f8319f5
+SIZE (IO-Socket-SSL-1.01.tar.gz) = 45136
diff --git a/security/p5-IO-Socket-SSL/pkg-plist b/security/p5-IO-Socket-SSL/pkg-plist
index 8344d611f70f..a5043628ff38 100644
--- a/security/p5-IO-Socket-SSL/pkg-plist
+++ b/security/p5-IO-Socket-SSL/pkg-plist
@@ -1,7 +1,12 @@
-%%SITE_PERL%%/IO/Socket/SSL.pm
+@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/SSL/.packlist
+%%SITE_PERL%%/IO/Socket/SSL.pm
+%%PORTDOCS%%%%EXAMPLESDIR%%/async_https_server.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ssl_client.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ssl_server.pl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/SSL
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket
-@dirrm %%SITE_PERL%%/IO/Socket
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO
+@dirrmtry %%SITE_PERL%%/IO/Socket
@dirrmtry %%SITE_PERL%%/IO