Bug 171681 - Patch ports Makefile to support rsync update
Summary: Patch ports Makefile to support rsync update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-16 11:30 UTC by cyberleo
Modified: 2014-06-15 22:47 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.11 KB, patch)
2012-09-16 11:30 UTC, cyberleo
no flags Details | Diff
Makefile-rsync-update.patch (1.00 KB, patch)
2013-06-01 06:20 UTC, cyberleo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cyberleo 2012-09-16 11:30:10 UTC
Since I maintain a ports tree overlay, I find it easier to update ports from a centralized patched copy instead of worrying about patching separately on each machine. None of the available ports tree update methods are useful for this.

The attached patch adds an rsync update mechanism, requiring only RSYNC_UPDATE and PORTS_RSYNC_SOURCE defined in /etc/make.conf.

Tested on 9.1-RC1 and 8.2-RELEASE.

Fix: Included patch.

Patch attached with submission follows:
Comment 1 Chris Rees freebsd_committer freebsd_triage 2012-09-16 11:52:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

For you.
Comment 2 cyberleo 2013-06-01 06:20:50 UTC
Patch updated to apply after csup removal.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://www.fur.com/peace/
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2014-06-02 01:44:55 UTC
Infrastructure PR.
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-06-15 22:47:23 UTC
A commit references this bug:

Author: bapt
Date: Sun Jun 15 22:47:11 UTC 2014
New revision: 357936
URL: http://svnweb.freebsd.org/changeset/ports/357936

Log:
  Add a mechanism to allow updating the ports tree with rsync

  PR:		171681
  Submitted by:	cyberleo@cyberleo.net

Changes:
  head/Makefile
Comment 5 Baptiste Daroussin freebsd_committer freebsd_triage 2014-06-15 22:47:48 UTC
Committed, thanks!