diff options
author | joerg <joerg@pkgsrc.org> | 2008-10-09 00:24:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-10-09 00:24:28 +0000 |
commit | bc74f555906c912168c614ea2f6bac6df8d613fb (patch) | |
tree | 1ae6be0c1ad11e1c6f43e387f867782c04820c26 /net/parpd | |
parent | f3bb24f33fb311af920e8d4ccf42a618a3cc478d (diff) | |
download | pkgsrc-bc74f555906c912168c614ea2f6bac6df8d613fb.tar.gz |
Import Roy Marples' Proxy ARP daemon.
Diffstat (limited to 'net/parpd')
-rw-r--r-- | net/parpd/DESCR | 2 | ||||
-rw-r--r-- | net/parpd/Makefile | 27 | ||||
-rw-r--r-- | net/parpd/PLIST | 5 | ||||
-rw-r--r-- | net/parpd/distinfo | 5 | ||||
-rwxr-xr-x | net/parpd/files/parpd.sh | 17 |
5 files changed, 56 insertions, 0 deletions
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" |