Index: head/www/ot-recorder/Makefile =================================================================== --- head/www/ot-recorder/Makefile (revision 507689) +++ head/www/ot-recorder/Makefile (revision 507690) @@ -1,51 +1,52 @@ # Created by: tundra # $FreeBSD$ PORTNAME= ot-recorder PORTVERSION= 0.8.4 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= dvl@FreeBSD.org COMMENT= Store and access data published by OwnTracks apps LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake SUB_FILES= ot-recorder LIB_DEPENDS+= libcurl.so:ftp/curl LIB_DEPENDS+= libconfig.so:devel/libconfig LIB_DEPENDS+= liblmdb.so:databases/lmdb LIB_DEPENDS+= libmosquitto.so:net/mosquitto USE_GITHUB= yes GH_ACCOUNT= owntracks GH_PROJECT= recorder USERS= ot-recorder GROUPS= ot-recorder pre-patch: ${CP} ${WRKSRC}/config.mk.in ${WRKSRC}/config.mk .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ocat ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/ot-recorder ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}/docroot && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/) ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/etc/ot-recorder.default ${STAGEDIR}${ETCDIR}/ot-recorder.conf.sample ${MKDIR} ${STAGEDIR}/var/log/ot-recorder ${MKDIR} ${STAGEDIR}/var/spool/owntracks ${MKDIR} ${STAGEDIR}/var/spool/owntracks/recorder ${INSTALL_SCRIPT} ${WRKDIR}/ot-recorder ${STAGEDIR}$/${PREFIX}/etc/rc.d/ .include Index: head/www/ot-recorder/files/ot-recorder =================================================================== --- head/www/ot-recorder/files/ot-recorder (revision 507689) +++ head/www/ot-recorder/files/ot-recorder (nonexistent) @@ -1,30 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -# -# PROVIDE: otrecorder -# REQUIRE: LOGIN mosquitto hass -# KEYWORD: shutdown -# -# -# Add the following lines to /etc/rc.conf to configure ot-recorder: -# otrecorder_enable (bool): Set it to "YES" to enable ot-recorder. -# Default is "NO". -# otrecorder_args (str): Arguments passed to ot-recorder on startup. -# Default is "". - -. /etc/rc.subr - -name=otrecorder -rcvar=${name}_enable -pidfile="/var/run/otrecorder/${name}.pid" -otrecorder_command="stdbuf -o0 %%PREFIX%%/sbin/ot-recorder" -command="/usr/sbin/daemon" - -load_rc_config $name -: ${otrecorder_enable:=NO} -: ${otrecorder_args:=""} -: ${otrecorder_user:="ot-recorder"} - -command_args="-P ${pidfile} -r -f -o /var/log/ot-recorder/ot-recorder.log ${otrecorder_command} ${otrecorder_args}" - -run_rc_command "$1" Property changes on: head/www/ot-recorder/files/ot-recorder ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/ot-recorder/files/ot-recorder.in =================================================================== --- head/www/ot-recorder/files/ot-recorder.in (revision 507689) +++ head/www/ot-recorder/files/ot-recorder.in (revision 507690) @@ -1,30 +1,30 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: otrecorder # REQUIRE: LOGIN mosquitto hass # KEYWORD: shutdown # # # Add the following lines to /etc/rc.conf to configure ot-recorder: # otrecorder_enable (bool): Set it to "YES" to enable ot-recorder. # Default is "NO". # otrecorder_args (str): Arguments passed to ot-recorder on startup. # Default is "". . /etc/rc.subr name=otrecorder rcvar=${name}_enable pidfile="/var/run/otrecorder/${name}.pid" -otrecorder_command="stdbuf -o0 /usr/local/sbin/ot-recorder" +otrecorder_command="stdbuf -o0 %%PREFIX%%/sbin/ot-recorder" command="/usr/sbin/daemon" load_rc_config $name : ${otrecorder_enable:=NO} : ${otrecorder_args:=""} : ${otrecorder_user:="ot-recorder"} command_args="-P ${pidfile} -r -f -o /var/log/ot-recorder/ot-recorder.log ${otrecorder_command} ${otrecorder_args}" run_rc_command "$1"