ports/100141: [update port] net/cvsup

Alexander Logvinov user at blg.akavia.ru
Wed Jul 12 04:30:17 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list