aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-10-22 17:46:25 +0800
committerskv <skv@FreeBSD.org>2003-10-22 17:46:25 +0800
commit869a69394e2fb7489367a34619b0c36d9432a7e9 (patch)
tree694bbe445f01e34556e6ca6e4ad12a78b0f38edc /net
parent12392665946406be19fe5a666d797e2ae4715888 (diff)
downloadfreebsd-ports-gnome-869a69394e2fb7489367a34619b0c36d9432a7e9.tar.gz
freebsd-ports-gnome-869a69394e2fb7489367a34619b0c36d9432a7e9.tar.zst
freebsd-ports-gnome-869a69394e2fb7489367a34619b0c36d9432a7e9.zip
Add p5-X500-DN 0.28,
handle X.500 DNs (Distinguished Names), parse and format them.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-X500-DN/Makefile29
-rw-r--r--net/p5-X500-DN/distinfo1
-rw-r--r--net/p5-X500-DN/pkg-descr8
-rw-r--r--net/p5-X500-DN/pkg-plist8
5 files changed, 47 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 7441a90d62ee..60b41b0d4463 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -493,6 +493,7 @@
SUBDIR += p5-Tie-NetAddr-IP
SUBDIR += p5-URI
SUBDIR += p5-Validate-Net
+ SUBDIR += p5-X500-DN
SUBDIR += p5-XPC
SUBDIR += p5-perl-ldap
SUBDIR += packit
diff --git a/net/p5-X500-DN/Makefile b/net/p5-X500-DN/Makefile
new file mode 100644
index 000000000000..187a5bf1140d
--- /dev/null
+++ b/net/p5-X500-DN/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: X500-DN
+# Date created: 22 October 2003
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= X500-DN
+PORTVERSION= 0.28
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= X500
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Handle X.500 DNs (Distinguished Names), parse and format them
+
+BUILD_DEPENDS= ${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= X500::DN.3 X500::RDN.3
+
+post-patch:
+ @${PERL} -pi -e 's/5\.6\.1/vars qw(\$$VERSION)/; s/^our //;' \
+ ${WRKSRC}/DN.pm
+
+.include <bsd.port.mk>
diff --git a/net/p5-X500-DN/distinfo b/net/p5-X500-DN/distinfo
new file mode 100644
index 000000000000..6b1951089a01
--- /dev/null
+++ b/net/p5-X500-DN/distinfo
@@ -0,0 +1 @@
+MD5 (X500-DN-0.28.tar.gz) = a600373d73ab59eb6e28d26f14cb8df1
diff --git a/net/p5-X500-DN/pkg-descr b/net/p5-X500-DN/pkg-descr
new file mode 100644
index 000000000000..0c406cc97a76
--- /dev/null
+++ b/net/p5-X500-DN/pkg-descr
@@ -0,0 +1,8 @@
+These modules handle X.500 DNs (Distinguished Names) and X.500 RDNs
+(Relative Distinguished Names).
+
+RFC: 2253
+WWW: http://search.cpan.org/dist/X500-DN/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/net/p5-X500-DN/pkg-plist b/net/p5-X500-DN/pkg-plist
new file mode 100644
index 000000000000..eb8626490f13
--- /dev/null
+++ b/net/p5-X500-DN/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/X500/DN/.packlist
+%%SITE_PERL%%/X500/DN.pm
+%%SITE_PERL%%/X500/DN.pod
+%%SITE_PERL%%/X500/RDN.pm
+%%SITE_PERL%%/X500/RDN.pod
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/X500/DN
+@unexec rmdir %D/%%SITE_PERL%%/X500 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/X500 2>/dev/null || true