summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-03-27 20:09:44 +0000
committerwiz <wiz@pkgsrc.org>2012-03-27 20:09:44 +0000
commit2589ee30f952961c6f3aa4f7cfa387a481a5dacf (patch)
treef3d1de06e45d9aa9fcb0f14674187c2b9044908d /net
parent6bb64a9b6106be8978ce2f300d47593e6368a22d (diff)
downloadpkgsrc-2589ee30f952961c6f3aa4f7cfa387a481a5dacf.tar.gz
Initial import of p5-Net-DHCP-0.67. Packaged by Edgar Fuß in PR 45723.
Represents a DHCP packet as specified in RFC 1533, RFC 2132.
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-DHCP/DESCR1
-rw-r--r--net/p5-Net-DHCP/Makefile32
-rw-r--r--net/p5-Net-DHCP/PLIST6
-rw-r--r--net/p5-Net-DHCP/distinfo5
4 files changed, 44 insertions, 0 deletions
diff --git a/net/p5-Net-DHCP/DESCR b/net/p5-Net-DHCP/DESCR
new file mode 100644
index 00000000000..f81640e3138
--- /dev/null
+++ b/net/p5-Net-DHCP/DESCR
@@ -0,0 +1 @@
+Represents a DHCP packet as specified in RFC 1533, RFC 2132.
diff --git a/net/p5-Net-DHCP/Makefile b/net/p5-Net-DHCP/Makefile
new file mode 100644
index 00000000000..d853148bc95
--- /dev/null
+++ b/net/p5-Net-DHCP/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/03/27 20:09:44 wiz Exp $
+#
+
+DISTNAME= Net-DHCP-0.67
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Net-DHCP/
+COMMENT= Object methods to create a DHCP packet
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+EGSUBDIR= share/examples/p5-Net-DHCP
+INSTALLATION_DIRS+= ${EGSUBDIR}
+
+EGFILES= examples/dhcp_sniffer.pl examples/dhcpd.pl examples/dhcpd_test.pl
+EGFILES+= examples/lease_query.pl examples/send_packet.pl
+
+REPLACE_PERL+= ${EGFILES}
+
+post-install:
+.for i in ${EGFILES}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DESTDIR:Q}${PREFIX:Q}/${EGSUBDIR}
+.endfor
+
+PERL5_PACKLIST= auto/Net/DHCP/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-Net-DHCP/PLIST b/net/p5-Net-DHCP/PLIST
new file mode 100644
index 00000000000..7f68bffca1c
--- /dev/null
+++ b/net/p5-Net-DHCP/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/27 20:09:44 wiz Exp $
+share/examples/p5-Net-DHCP/dhcp_sniffer.pl
+share/examples/p5-Net-DHCP/dhcpd.pl
+share/examples/p5-Net-DHCP/dhcpd_test.pl
+share/examples/p5-Net-DHCP/lease_query.pl
+share/examples/p5-Net-DHCP/send_packet.pl
diff --git a/net/p5-Net-DHCP/distinfo b/net/p5-Net-DHCP/distinfo
new file mode 100644
index 00000000000..4af36843207
--- /dev/null
+++ b/net/p5-Net-DHCP/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/03/27 20:09:44 wiz Exp $
+
+SHA1 (Net-DHCP-0.67.tar.gz) = 1513e3a336d7a15ea135a63b6df4984980e84fbc
+RMD160 (Net-DHCP-0.67.tar.gz) = 96581cbbdb06ce747cc193d7d26054a2c9c3e3da
+Size (Net-DHCP-0.67.tar.gz) = 21692 bytes