diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-02-11 22:37:24 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2012-02-11 22:37:24 +0000 |
commit | 84d971b5e167bcd1bf5e505e5e5fc91af8d90f3e (patch) | |
tree | 6ec3a957e904b16167783f5b244f447d19d9036c /sysutils | |
parent | c7d9b33ea1c938a6b99d5cf36759d095445b35b8 (diff) | |
download | ports-84d971b5e167bcd1bf5e505e5e5fc91af8d90f3e.tar.gz ports-84d971b5e167bcd1bf5e505e5e5fc91af8d90f3e.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/p5-MogileFS-Server/Makefile | 2 | ||||
-rw-r--r-- | sysutils/p5-MogileFS-Server/files/mogilefsd.in | 19 | ||||
-rw-r--r-- | sysutils/p5-MogileFS-Server/files/mogstored.in | 19 |
3 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/p5-MogileFS-Server/Makefile b/sysutils/p5-MogileFS-Server/Makefile index 23cce0d2a1de..59073b8c9fef 100644 --- a/sysutils/p5-MogileFS-Server/Makefile +++ b/sysutils/p5-MogileFS-Server/Makefile @@ -7,6 +7,7 @@ PORTNAME= MogileFS-Server PORTVERSION= 2.57 +PORTREVISION= 1 CATEGORIES= sysutils perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:DORMANDO @@ -27,6 +28,7 @@ BUILD_DEPENDS= p5-Danga-Socket>=1.56:${PORTSDIR}/devel/p5-Danga-Socket \ RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes +USE_RC_SUBR= mogilefsd mogstored MAN1= mogautomount.1 \ mogilefsd.1 \ diff --git a/sysutils/p5-MogileFS-Server/files/mogilefsd.in b/sysutils/p5-MogileFS-Server/files/mogilefsd.in new file mode 100644 index 000000000000..1db6fa36e7eb --- /dev/null +++ b/sysutils/p5-MogileFS-Server/files/mogilefsd.in @@ -0,0 +1,19 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: mogilefsd +# REQUIRE: LOGIN cleanvar +# KEYWORD: shutdown + +. /etc/rc.subr + +name="mogilefsd" +rcvar=mogilefsd_enable +required_files=%%PREFIX%%/etc/mogtracker.conf + +[ -z "$mogilefsd_enable" ] && mogilefsd_enable="NO" +[ -z "$mogilefsd_flags" ] && mogilefsd_flags="--config=%%PREFIX%%/etc/mogtracker.conf" + +run_rc_command "$1" diff --git a/sysutils/p5-MogileFS-Server/files/mogstored.in b/sysutils/p5-MogileFS-Server/files/mogstored.in new file mode 100644 index 000000000000..cea82c080fcb --- /dev/null +++ b/sysutils/p5-MogileFS-Server/files/mogstored.in @@ -0,0 +1,19 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: mogstored +# REQUIRE: LOGIN cleanvar +# KEYWORD: shutdown + +. /etc/rc.subr + +name="mogstored" +rcvar=mogstored_enable +required_files=%%PREFIX%%/etc/mogstored.conf + +[ -z "$mogstored_enable" ] && mogstored_enable="NO" +[ -z "$mogstored_flags" ] && mogstored_flags="-d --config=/usr/local/etc/mogstored.conf" + +run_rc_command "$1" |