svn commit: r491134 - in head/net: . parpd parpd/files
Tobias Kortkamp
tobik at FreeBSD.org
Fri Jan 25 08:22:49 UTC 2019
Author: tobik
Date: Fri Jan 25 08:22:47 2019
New Revision: 491134
URL: https://svnweb.freebsd.org/changeset/ports/491134
Log:
New port: net/parpd
The parpd daemon provide the missing ARP packets in non-broadcast
multiple-access networks with overly strict first-hop security
filters.
WWW: https://lutz.donnerhacke.de/Projekte/parpd
PR: 223594
Submitted by: lutz at donnerhacke.de
Added:
head/net/parpd/
head/net/parpd/Makefile (contents, props changed)
head/net/parpd/distinfo (contents, props changed)
head/net/parpd/files/
head/net/parpd/files/parpd.in (contents, props changed)
head/net/parpd/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Fri Jan 25 08:08:14 2019 (r491133)
+++ head/net/Makefile Fri Jan 25 08:22:47 2019 (r491134)
@@ -905,6 +905,7 @@
SUBDIR += packetdrill
SUBDIR += packter-agent
SUBDIR += panoptis
+ SUBDIR += parpd
SUBDIR += passlogd
SUBDIR += pathneck
SUBDIR += pbnc
Added: head/net/parpd/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/parpd/Makefile Fri Jan 25 08:22:47 2019 (r491134)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= parpd
+DISTVERSION= 1.1
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.iks-jena.de/pub/mitarb/lutz/parpd/
+
+MAINTAINER= lutz at donnerhacke.de
+COMMENT= Proxy-ARP daemon
+
+LICENSE= ART20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= tar:tgz
+USE_RC_SUBR= parpd
+NO_TEST= yes
+
+PLIST_FILES= sbin/parpd man/man8/parpd.8.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/parpd ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${INSTALL_WRKSRC}/parpd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
+
+.include <bsd.port.mk>
Added: head/net/parpd/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/parpd/distinfo Fri Jan 25 08:22:47 2019 (r491134)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1510322377
+SHA256 (parpd-1.1.tgz) = 95318905767c1123eab87efa4fa664a57e5ed8f697802c6b7d5d0799ad8ea6e6
+SIZE (parpd-1.1.tgz) = 17197
Added: head/net/parpd/files/parpd.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/parpd/files/parpd.in Fri Jan 25 08:22:47 2019 (r491134)
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# PROVIDE: parpd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add these lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+# parpd_enable = yes (default: no)
+# parpd_flags = full_path_of_the_configuration_file
+# (default: %%PREFIX%%/etc/parpd.conf)
+#
+# If multiple daemons (with different configs) needs to be running:
+# - copy this file to a different name (i.e. parpdXX)
+# - change the "name" and "rcvar" values to the new name
+# - set the approbriate rc.conf variables (i.e.
+# parpdXX_enable = yes (default: no)
+# parpdXX_flags = %%PREFIX%%/etc/parpdXX.conf
+# )
+
+. /etc/rc.subr
+
+name=parpd
+rcvar=parpd_enable
+
+load_rc_config $name
+
+command=%%PREFIX%%/sbin/parpd
+extra_commands="reload"
+eval ": \${${name}_enable:='NO'}"
+eval ": \${${name}_flags:=%%PREFIX%%/etc/${name}.conf}"
+eval "config_file=\$${name}_flags"
+
+[ -s "$config_file" ] || err 1 "Missing configuration file '$config_file'"
+
+if get_pidfile_from_conf pidfile "$config_file"; then
+ pidfile="$_pidfile_from_conf"
+else
+ err 1 "$config_file does not specify an pidfile"
+fi
+
+eval "unset ${name}_flags"
+command_args="$config_file"
+
+run_rc_command "$1"
Added: head/net/parpd/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/parpd/pkg-descr Fri Jan 25 08:22:47 2019 (r491134)
@@ -0,0 +1,5 @@
+The parpd daemon provide the missing ARP packets in non-broadcast
+multiple-access networks with overly strict first-hop security
+filters.
+
+WWW: https://lutz.donnerhacke.de/Projekte/parpd
More information about the svn-ports-head
mailing list