View | Details | Raw Unified | Return to bug 223594 | Differences between
and this patch

Collapse All | Expand All

(-)net/parpd/Makefile (+27 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	parpd
4
DISTVERSION=	1.1
5
CATEGORIES=	net
6
MASTER_SITES=	ftp://ftp.iks-jena.de/pub/mitarb/lutz/parpd/
7
8
MAINTAINER=	lutz@donnerhacke.de
9
COMMENT=	Proxy-ARP daemon
10
11
LICENSE=	ART20
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
USES=		tar:tgz
15
USE_RC_SUBR=	parpd
16
NO_TEST=	yes
17
18
PLIST_FILES=	sbin/parpd man/man8/parpd.8.gz
19
20
do-install:
21
	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/parpd ${STAGEDIR}${PREFIX}/sbin
22
	${INSTALL_MAN} ${INSTALL_WRKSRC}/parpd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
23
24
.include <bsd.port.mk>
25
native
26
FreeBSD=%H
27
text/plain
(-)net/parpd/distinfo (+6 lines)
Line 0 Link Here
1
TIMESTAMP = 1510322377
2
SHA256 (parpd-1.1.tgz) = 95318905767c1123eab87efa4fa664a57e5ed8f697802c6b7d5d0799ad8ea6e6
3
SIZE (parpd-1.1.tgz) = 17197
4
yes
5
native
6
text/plain
(-)net/parpd/files/parpd.in (+44 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# $FreeBSD$
4
#
5
# PROVIDE: parpd
6
# REQUIRE: NETWORKING
7
# KEYWORD: shutdown
8
#
9
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#  parpd_enable = yes  (default: no)
12
#  parpd_flags  = full_path_of_the_configuration_file
13
#                 (default: %%PREFIX%%/etc/parpd.conf)
14
#
15
# If multiple daemons (with different configs) needs to be running:
16
#  - make a (symbolic) link for this file to a different name (i.e. parpdXX)
17
#  - set the approbriate rc.conf variables (i.e.
18
#      parpdXX_enable = yes (default: no)
19
#      parpdXX_flags  = %%PREFIX%%/etc/parpdXX.conf
20
#    )
21
22
. /etc/rc.subr
23
24
name=${0##*/}
25
eval "rcvar=${name}_enable"
26
27
load_rc_config $name
28
29
command=%%PREFIX%%/sbin/parpd
30
extra_commands="reload"
31
eval ": \${${name}_enable:='NO'}"
32
eval ": \${${name}_flags:=%%PREFIX%%/etc/${name}.conf}"
33
eval "config_file=\$${name}_flags"
34
35
[ -s "$config_file" ] ||  err 1 "Missing configuration file '$config_file'"
36
37
if get_pidfile_from_conf pidfile "$config_file"; then
38
  pidfile="$_pidfile_from_conf"
39
else
40
  err 1 "$config_file does not specify an pidfile"
41
fi
42
run_rc_command "$1"
43
native
44
text/plain
(-)net/parpd/pkg-descr (+7 lines)
Line 0 Link Here
1
The parpd daemon provide the missing ARP packets in non-broadcast
2
multiple-access networks with overly strict first-hop security filters.
3
4
WWW: https://lutz.donnerhacke.de/Projekte/parpd
5
yes
6
native
7
text/plain

Return to bug 223594