Bug 108483 - net/cvsup-mirror: fails to start cvsupd after first update.
Summary: net/cvsup-mirror: fails to start cvsupd after first update.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: John Polstra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-28 17:50 UTC by Scot Hetzel
Modified: 2007-01-29 01:20 UTC (History)
0 users

See Also:


Attachments
file.diff (4.29 KB, patch)
2007-01-28 17:50 UTC, Scot Hetzel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scot Hetzel 2007-01-28 17:50:23 UTC
When the net/cvsup-mirror port is installed on a system with OSVERSION >= 600101, the update.sh script is unable to start PREFIX/etc/rc.d/cvsupd.sh script, as it doesn't exist.  Instead the cvsupd.sh script is named cvsupd on systems with OSVERSION >= 600101.

Fix: Apply the attached patch.

Patch attached with submission follows:
How-To-Repeat: Install the port, add cvsupd_enable="YES" to /etc/rc.conf, then run PREFIX/etc/cvsup/update.sh.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-01-28 17:50:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jdp

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-01-29 01:13:43 UTC
jdp         2007-01-29 01:13:35 UTC

  FreeBSD ports repository

  Modified files:
    net/cvsup-mirror     Makefile 
  Added files:
    net/cvsup-mirror/files update.sh.in 
  Removed files:
    net/cvsup-mirror/files update.sh 
  Log:
  Fix bug:  When the net/cvsup-mirror port is installed on a system
  with OSVERSION >= 600101, the update.sh script is unable to start
  PREFIX/etc/rc.d/cvsupd.sh script, as it doesn't exist. Instead the
  cvsupd.sh script is named cvsupd on systems with OSVERSION >=
  600101.
  
  PR:             ports/108483
  Submitted by:   Scot Hetzel
  
  Revision  Changes    Path
  1.24      +12 -3     ports/net/cvsup-mirror/Makefile
  1.19      +0 -59     ports/net/cvsup-mirror/files/update.sh (dead)
  1.1       +59 -0     ports/net/cvsup-mirror/files/update.sh.in (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 John Polstra freebsd_committer freebsd_triage 2007-01-29 01:14:19 UTC
State Changed
From-To: open->closed

Thanks for submitting this patch, Scot.  I have committed it.