Commit bb9417c7 authored by krion's avatar krion
Browse files

Update to 1.1

PR:		237581
Submitted by:	olevole at olevole dot ru
parent c00ed285
......@@ -2,19 +2,22 @@
# $FreeBSD$
PORTNAME= fsc
PORTVERSION= 1.0.1
PORTREVISION= 4
PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= LOCAL/trhodes
MAINTAINER= ports@FreeBSD.org
COMMENT= The FreeBSD Services Control family of utilities
COMMENT= FreeBSD Services Control family of utilities
WRKSRC= ${WRKDIR}/fsc
LICENSE= BSD2CLAUSE
PLIST_FILES= bin/fscadm sbin/fscd etc/rc.d/fscd man/man5/fscd.conf.5.gz \
man/man8/fscadm.8.gz man/man8/fscd.8.gz
USE_GITHUB= yes
GH_ACCOUNT= bsdtrhodes
GH_PROJECT= freebsd-fscd
GH_TAGNAME= ac80298
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
${WRKSRC}/fscd/fscd.8 ${WRKSRC}/fscd/fscd.c \
......
SHA256 (fsc-1.0.1.tar.gz) = 41979af3f5ed2fd37e30839cacc22408ac65f2fd20df30de1e5114bc0d2e733b
SIZE (fsc-1.0.1.tar.gz) = 12435
TIMESTAMP = 1556283548
SHA256 (bsdtrhodes-freebsd-fscd-1.1-ac80298_GH0.tar.gz) = ab7e90c92aa5f86d91d1ea058ad5cb93614f95c710f5df3ceb23086519abea4e
SIZE (bsdtrhodes-freebsd-fscd-1.1-ac80298_GH0.tar.gz) = 13951
--- rc.d/fscd.orig 2014-03-11 14:19:18.576173326 +0900
+++ rc.d/fscd 2014-03-11 14:20:09.206171150 +0900
@@ -7,14 +7,25 @@
# PROVIDE: fscd
# REQUIRE: DAEMON syslogd
-# BEFORE: NETWORKING LOGIN
+# BEFORE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name="fscd"
-command="/usr/sbin/${name}"
+rcvar="fscd_enable"
+load_rc_config $name
+: ${fscd_enable="NO"}
+
+command="/usr/local/sbin/${name}"
pidfile="/var/run/${name}.pid"
+required_files="/usr/local/etc/$name.conf"
+
+start_cmd=fscd_start
+
+fscd_start()
+{
+ /usr/sbin/daemon -cf ${command}
+}
-load_rc_config $name
run_rc_command "$1"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment