summaryrefslogtreecommitdiff
path: root/security/honeyd-arpd
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-04-20 09:15:52 +0000
committerxtraeme <xtraeme>2004-04-20 09:15:52 +0000
commit55a38ac5e0d12d3f180bc85a3913861c6c52f99d (patch)
tree3c08c153a48803c467d2634a2a27adf5d3bf26d6 /security/honeyd-arpd
parent5ac91a58f106da80b6b27f81eaa4ad6ef4315ae7 (diff)
downloadpkgsrc-55a38ac5e0d12d3f180bc85a3913861c6c52f99d.tar.gz
Initial import of honeyd-arpd-2.0, from pkgsrc-wip packaged by Adrian
Portelli. This is the ARP daemon for honeyd.
Diffstat (limited to 'security/honeyd-arpd')
-rw-r--r--security/honeyd-arpd/DESCR1
-rw-r--r--security/honeyd-arpd/Makefile33
-rw-r--r--security/honeyd-arpd/PLIST4
-rw-r--r--security/honeyd-arpd/distinfo6
-rwxr-xr-xsecurity/honeyd-arpd/files/honeydarpd.sh18
-rw-r--r--security/honeyd-arpd/patches/patch-aa31
-rw-r--r--security/honeyd-arpd/patches/patch-ab13
7 files changed, 106 insertions, 0 deletions
diff --git a/security/honeyd-arpd/DESCR b/security/honeyd-arpd/DESCR
new file mode 100644
index 00000000000..81444b2d1a7
--- /dev/null
+++ b/security/honeyd-arpd/DESCR
@@ -0,0 +1 @@
+arpd daemon for honeyd
diff --git a/security/honeyd-arpd/Makefile b/security/honeyd-arpd/Makefile
new file mode 100644
index 00000000000..fa27a69400e
--- /dev/null
+++ b/security/honeyd-arpd/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/20 09:15:52 xtraeme Exp $
+#
+
+DISTNAME= arpd-0.2
+PKGNAME= honeyd-arpd-0.2
+WRKSRC= ${WRKDIR}/arpd
+CATEGORIES= security net
+MASTER_SITES= http://niels.xtdnet.nl/honeyd/
+
+MAINTAINER= adrianp@stindustries.net
+HOMEPAGE= http://niels.xtdnet.nl/honeyd/index.php
+COMMENT= ARP daemon for honeyd
+
+USE_PKGINSTALL= yes
+RCD_SCRIPTS= honeydarpd
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+
+CONFIGURE_ARGS+= --with-libevent=${BUILDLINK_PREFIX.libevent}
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${PREFIX}/sbin
+ ${INSTALL_MAN_DIR} ${PREFIX}/man/man8
+ ${CP} ${WRKSRC}/arpd ${WRKSRC}/honeyd-arpd
+ ${CP} ${WRKSRC}/arpd.8 ${WRKSRC}/honeyd-arpd.8
+ ${INSTALL_PROGRAM} ${WRKSRC}/honeyd-arpd ${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/honeyd-arpd.8 ${PREFIX}/man/man8
+
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../net/libdnet/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/security/honeyd-arpd/PLIST b/security/honeyd-arpd/PLIST
new file mode 100644
index 00000000000..cc4042c8fac
--- /dev/null
+++ b/security/honeyd-arpd/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/20 09:15:52 xtraeme Exp $
+etc/rc.d/honeydarpd
+man/man8/honeyd-arpd.8
+sbin/honeyd-arpd
diff --git a/security/honeyd-arpd/distinfo b/security/honeyd-arpd/distinfo
new file mode 100644
index 00000000000..a862489c006
--- /dev/null
+++ b/security/honeyd-arpd/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/20 09:15:52 xtraeme Exp $
+
+SHA1 (arpd-0.2.tar.gz) = e827ada394aff91f9c539cee35e946e81152426c
+Size (arpd-0.2.tar.gz) = 49437 bytes
+SHA1 (patch-aa) = 5f89c08d7d93a6f47cde95b6a139695c6ad1e694
+SHA1 (patch-ab) = 28347af42b90d4f422c1c7be407d2579ae2e33ef
diff --git a/security/honeyd-arpd/files/honeydarpd.sh b/security/honeyd-arpd/files/honeydarpd.sh
new file mode 100755
index 00000000000..782ce18190c
--- /dev/null
+++ b/security/honeyd-arpd/files/honeydarpd.sh
@@ -0,0 +1,18 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: honeydarpd.sh,v 1.1.1.1 2004/04/20 09:15:52 xtraeme Exp $
+#
+
+# PROVIDE: honeydarpd
+# REQUIRE: DAEMON
+# BEFORE: honeyd
+
+. /etc/rc.subr
+
+name="honeydarpd"
+rcvar=$name
+command="@PREFIX@/sbin/honeyd-arpd"
+pidfile="/var/run/honeyd-arpd.pid"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/security/honeyd-arpd/patches/patch-aa b/security/honeyd-arpd/patches/patch-aa
new file mode 100644
index 00000000000..9269678e962
--- /dev/null
+++ b/security/honeyd-arpd/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/20 09:15:53 xtraeme Exp $
+
+--- arpd.8.orig Fri Jun 6 21:38:58 2003
++++ arpd.8 Fri Jun 6 21:40:47 2003
+@@ -2,12 +2,12 @@
+ .\" Copyright (c) 2001 Dug Song <dugsong@monkey.org>
+ .\"
+ .Dd August 4, 2001
+-.Dt ARPD 8
++.Dt HONEYD-ARPD 8
+ .Sh NAME
+-.Nm arpd
++.Nm honeyd-arpd
+ .Nd ARP reply daemon
+ .Sh SYNOPSIS
+-.Nm arpd
++.Nm honeyd-arpd
+ .Op Fl d
+ .Op Fl i Ar interface
+ .Op Ar net ...
+@@ -51,8 +51,8 @@
+ Mutiple addresses may be specified.
+ .El
+ .Sh FILES
+-.Bl -tag -width /var/run/arpd.pid
+-.It Pa /var/run/arpd.pid
++.Bl -tag -width /var/run/honeyd-arpd.pid
++.It Pa /var/run/honeyd-arpd.pid
+ .El
+ .Sh SEE ALSO
+ .Xr pcapd 8 ,
diff --git a/security/honeyd-arpd/patches/patch-ab b/security/honeyd-arpd/patches/patch-ab
new file mode 100644
index 00000000000..61d62ba5dcf
--- /dev/null
+++ b/security/honeyd-arpd/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/04/20 09:15:53 xtraeme Exp $
+
+--- arpd.c.orig Fri Jun 6 21:47:35 2003
++++ arpd.c Fri Jun 6 21:48:13 2003
+@@ -33,7 +33,7 @@
+ #define ARPD_MAX_ACTIVE 600
+ #define ARPD_MAX_INACTIVE 300
+
+-#define PIDFILE "/var/run/arpd.pid"
++#define PIDFILE "/var/run/honeyd-arpd.pid"
+
+ struct arp_req {
+ struct addr pa;