From 56846e347cee3793efa674cabe804ce734b44cab Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 9 Oct 2008 00:24:28 +0000 Subject: Import Roy Marples' Proxy ARP daemon. --- net/parpd/DESCR | 2 ++ net/parpd/Makefile | 27 +++++++++++++++++++++++++++ net/parpd/PLIST | 5 +++++ net/parpd/distinfo | 5 +++++ net/parpd/files/parpd.sh | 17 +++++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 net/parpd/DESCR create mode 100644 net/parpd/Makefile create mode 100644 net/parpd/PLIST create mode 100644 net/parpd/distinfo create mode 100755 net/parpd/files/parpd.sh (limited to 'net/parpd') diff --git a/net/parpd/DESCR b/net/parpd/DESCR new file mode 100644 index 00000000000..6a8c5b2adc7 --- /dev/null +++ b/net/parpd/DESCR @@ -0,0 +1,2 @@ +A small and flexible implementation of the Proxy ARP Daemon sepcified in +RFC1027. diff --git a/net/parpd/Makefile b/net/parpd/Makefile new file mode 100644 index 00000000000..63819c6384c --- /dev/null +++ b/net/parpd/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/10/09 00:24:28 joerg Exp $ +# + +DISTNAME= parpd-1.0 +CATEGORIES= net +MASTER_SITES= ftp://roy.marples.name/pub/parpd/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= roy@marples.name +HOMEPAGE= http://roy.marples.name/projects/parpd/ +COMMENT= RFC1027 compliant Proxy ARP Daemon + +PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES= c99 + +EGDIR= ${PREFIX}/share/examples +MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man +INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR} + +SUBST_CLASSES+= paths +SUBST_FILES.paths= parpd.c parpd.8 +SUBST_SED.paths= -e 's,/etc,${PKG_SYSCONFDIR},' +SUBST_STAGE.paths= pre-configure + +RCD_SCRIPTS+= parpd + +.include "../../mk/bsd.pkg.mk" diff --git a/net/parpd/PLIST b/net/parpd/PLIST new file mode 100644 index 00000000000..3bac47f825c --- /dev/null +++ b/net/parpd/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/09 00:24:28 joerg Exp $ +man/man5/parpd.conf.5 +man/man8/parpd.8 +sbin/parpd +share/examples/rc.d/parpd diff --git a/net/parpd/distinfo b/net/parpd/distinfo new file mode 100644 index 00000000000..4b45d4a546f --- /dev/null +++ b/net/parpd/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/10/09 00:24:28 joerg Exp $ + +SHA1 (parpd-1.0.tar.bz2) = 2ee3b72538183075f95c00fb378548e8b4f7008e +RMD160 (parpd-1.0.tar.bz2) = 9cb6e273a938ee423aa161630b0143c22f3390d6 +Size (parpd-1.0.tar.bz2) = 11567 bytes diff --git a/net/parpd/files/parpd.sh b/net/parpd/files/parpd.sh new file mode 100755 index 00000000000..48bcf63c2e1 --- /dev/null +++ b/net/parpd/files/parpd.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $NetBSD: parpd.sh,v 1.1.1.1 2008/10/09 00:24:28 joerg Exp $ +# + +# PROVIDE: parpd +# REQUIRE: DAEMON + +$_rc_subr_loaded . /etc/rc.subr + +name="parpd" +rcvar=$name +command="@PREFIX@/sbin/${name}" +required_files="@PKG_SYSCONFDIR@/${name}.conf" + +load_rc_config $name +run_rc_command "$1" -- cgit v1.2.3