aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-09-20 10:40:34 +0800
committerclsung <clsung@FreeBSD.org>2006-09-20 10:40:34 +0800
commit6ac3ce30da67ec6ea188da3c530c2d1989341538 (patch)
treefe2856ffd34490e5d2af981aa0621c5fad7892d1 /net
parentde571eb1d7dfebb0c5dde63bdfe2864956eb0b99 (diff)
downloadfreebsd-ports-gnome-6ac3ce30da67ec6ea188da3c530c2d1989341538.tar.gz
freebsd-ports-gnome-6ac3ce30da67ec6ea188da3c530c2d1989341538.tar.zst
freebsd-ports-gnome-6ac3ce30da67ec6ea188da3c530c2d1989341538.zip
Add p5-Net-NIS-Listgroup 1.0.0, lists hosts/users in a netgroup group.
PR: ports/102748 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-NIS-Listgroup/Makefile23
-rw-r--r--net/p5-Net-NIS-Listgroup/distinfo3
-rw-r--r--net/p5-Net-NIS-Listgroup/pkg-descr13
-rw-r--r--net/p5-Net-NIS-Listgroup/pkg-plist8
5 files changed, 48 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 3f7ff643cad3..739eefb1806e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -451,6 +451,7 @@
SUBDIR += p5-Net-MovableType
SUBDIR += p5-Net-NBName
SUBDIR += p5-Net-NIS
+ SUBDIR += p5-Net-NIS-Listgroup
SUBDIR += p5-Net-OpenDHT
SUBDIR += p5-Net-Packet
SUBDIR += p5-Net-ParseWhois
diff --git a/net/p5-Net-NIS-Listgroup/Makefile b/net/p5-Net-NIS-Listgroup/Makefile
new file mode 100644
index 000000000000..4e7b09fe5cb2
--- /dev/null
+++ b/net/p5-Net-NIS-Listgroup/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: p5-Net-NIS-Listgroup
+# Date created: 2006-09-01
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-NIS-Listgroup
+PORTVERSION= 1.0.0
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Lists hosts/users in a netgroup group
+
+PERL_CONFIGURE= yes
+
+MAN1= listgroup.1
+MAN3= Net::NIS::Listgroup.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-NIS-Listgroup/distinfo b/net/p5-Net-NIS-Listgroup/distinfo
new file mode 100644
index 000000000000..408d110b537a
--- /dev/null
+++ b/net/p5-Net-NIS-Listgroup/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-NIS-Listgroup-1.0.0.tar.gz) = a65cc9a029e5fe9d9b4771e18e5c25f5
+SHA256 (Net-NIS-Listgroup-1.0.0.tar.gz) = 68ae60cc0c5d69ec90d6adf812c712ea12dd28bb1cd3144788b004b35dcc08dc
+SIZE (Net-NIS-Listgroup-1.0.0.tar.gz) = 14538
diff --git a/net/p5-Net-NIS-Listgroup/pkg-descr b/net/p5-Net-NIS-Listgroup/pkg-descr
new file mode 100644
index 000000000000..417ea8df3298
--- /dev/null
+++ b/net/p5-Net-NIS-Listgroup/pkg-descr
@@ -0,0 +1,13 @@
+A library used to get groups or members of a netgroup NIS map.
+listgroup() without any parameters or listgroups() lists all the
+available netgroup groups.
+
+With groupname parameters listgroup, listgroup_user, listgroup_host
+will recusively list the members of the named groups. If the groupname
+is preceded with a - members of that group will be excluded from the
+returned list. Each member in a group is a triplet of
+(host,user,domain). The host portion or user portion of the members is
+returned by listgroup_host() and listgroup(), the user portion of the
+members is returned by listgroup_user().
+
+WWW: http://search.cpan.org/dist/Net-NIS-Listgroup/
diff --git a/net/p5-Net-NIS-Listgroup/pkg-plist b/net/p5-Net-NIS-Listgroup/pkg-plist
new file mode 100644
index 000000000000..4f29e2044282
--- /dev/null
+++ b/net/p5-Net-NIS-Listgroup/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/.packlist
+%%SITE_PERL%%/Net/NIS/Listgroup.pm
+bin/listgroup
+bin/make_cron
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net/NIS
+@dirrmtry %%SITE_PERL%%/Net