View | Details | Raw Unified | Return to bug 249432
Collapse All | Expand All

(-)Makefile (+3 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	minirsyslogd
4
PORTNAME=	minirsyslogd
5
PORTVERSION=	1.02
5
PORTVERSION=	1.02
6
PORTREVISION=	1
6
CATEGORIES=	sysutils net
7
CATEGORIES=	sysutils net
7
MASTER_SITES=	http://redundancy.redundancy.org/mirror/
8
MASTER_SITES=	http://redundancy.redundancy.org/mirror/
8
9
Lines 9-14 Link Here
9
MAINTAINER=	lx@FreeBSD.org
10
MAINTAINER=	lx@FreeBSD.org
10
COMMENT=	Minimal, fast and secure syslog receiver
11
COMMENT=	Minimal, fast and secure syslog receiver
11
12
13
USE_RC_SUBR=	minirsyslogd
14
12
do-build:
15
do-build:
13
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
16
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
14
17
(-)files/minirsyslogd.in (+24 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: minirsyslogd
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
9
. /etc/rc.subr
10
11
name="minirsyslogd"
12
desc="Mini RSyslog Daemon"
13
rcvar="minirsyslogd_enable"
14
15
load_rc_config "$name"
16
17
: ${minirsyslogd_enable:="NO"}
18
: ${minirsyslogd_basedir:="/var/log/remote"}
19
: ${minirsyslogd_pidfile:="/var/run/minirsyslogd.pid"}
20
command="%%PREFIX%%/sbin/minirsyslogd"
21
pidfile="${minirsyslogd_pidfile}"
22
command_args="--daemon --rootdir ${minirsyslogd_basedir}"
23
24
run_rc_command "$1"

Return to bug 249432