Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2006 14:25:43 +1000 (YAKST)
From:      Alexander Logvinov <user@blg.akavia.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100141: [update port] net/cvsup
Message-ID:  <200607120425.k6C4Phiq082854@blg.akavia.ru>
Resent-Message-ID: <200607120430.k6C4UGVM038421@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100141
>Category:       ports
>Synopsis:       [update port] net/cvsup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 12 04:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 6.1-RELEASE-p3 i386
>Organization:
>Environment:

>Description:
 
  Provide rc_subr script for cvsupd
  
>How-To-Repeat:

>Fix:

# diff -ur Makefile.old Makefile
--- Makefile.old	Wed Jul 12 14:02:57 2006
+++ Makefile	Wed Jul 12 14:03:55 2006
@@ -16,6 +16,8 @@
 MAINTAINER=	jdp@FreeBSD.org
 COMMENT?=	General network file distribution system optimized for CVS (GUI version)
 
+USE_RC_SUBR=    cvsupd
+
 CONFLICTS?=	cvsup-without-gui-[0-9]*
 ONLY_FOR_ARCHS=	alpha amd64 i386 sparc64

# cat files/cvsupd.in
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: cvsupd
# REQUIRE: NETWORKING
#
# Add the following line to /etc/rc.conf[.local] to enable cvsupd
#
# cvsupd_enable (bool):		Set to "NO" by default.
#				Set it to "YES" to enable cvsupd.
# cvsupd_flags (str):		Custom additional arguments to be passed
#				to cvsupd.
#

. %%RC_SUBR%%

name="cvsupd"
rcvar=${name}_enable

load_rc_config $name

: ${cvsupd_enable="NO"}
: ${cvsupd_flags="-Z 9"}
: ${cvsupd_user="daemon"}

command="%%PREFIX%%/sbin/cvsupd"

run_rc_command "$1"
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607120425.k6C4Phiq082854>