cvsup alternative

Posted on 2006-07-04
Last Modified: 2013-11-22
Hi All,

Access via port 5559 is not allowed from my LAN.

Is there an alternative way to upate my ports and source, other than cvsup?

Thank you.
Question by:m0nk3yza

Expert Comment

Comment Utility
There is no alternative way to update ports, however there are ways to work around blocked ports.

If you connected to the internet directly i.e. without proxy see if port 80 is open by doing something a kin to $telnet myhostname 80

Where hostname is or some other domain that's sure to run a web server.

If you manage to connect, then you need to find a friendly machine on the outside that would allow you to (ssh) tunnel.
You would have to run ssh server on port 80, if ssh port is closed, or if it's open only marrier swap 80 the above test with 22

If you have gotten this far, you can now point cvsup to use the tunnel and update your ports.

Expert Comment

Comment Utility
you can try portupgrade
  cd /usr/ports/sysutils/portupgrade/
  make install distclean

To update all ports:
  portupgrade -ra

I'm not sure if it's going to work. Please keep us informed.

Hope that helped ;)

Author Comment

Comment Utility
Thanks you for the replies.

When I try to install a couple of ports, some download and other don't.

I believe the port tree (on my server) is outdated and therefore it's unable to find the files needed for the installation.
(Probably due to this being FreeBSD 4.10..., I don't have a later version and am unable to download an ISO due to bandwidth constraints)

I'll keep on trying and let you know.

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails


Author Comment

Comment Utility
I ran portupgrade -ra

Got this output:

bsd:/usr/ports/sysutils/portupgrade# portupgrade -ra
[Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 5 packages found (-0 +5) ..... done]
cd: can't cd to /usr/ports/net/cvsup-devel
** The port directory for 'net/cvsup-devel' does not exist.
** Listing the failed packages (*:skipped / !:failed)
        ! net/cvsup-devel (cvsup-16.1e) (port directory error)
--->  Packages processed: 0 done, 4 ignored, 0 skipped and 1 failed

I suspect portupgrade may relate to installed ports (as I've installed 4 ports allready), and may not upgrade the port tree itself.

Thank you

Accepted Solution

Phreonx earned 500 total points
Comment Utility
try using portsnap to update your ports tree:
  portsnap fetch
which fetched a compressed snapshot of the entire ports tree. Then you need to extract the snapshot:

  portsnap extract

which extracts the ports tree under the ports tree /usr/ports/. In order to update the ports tree:

  portsnap fetch update

Hope that helped ;)


Expert Comment

Comment Utility
portsnap is more efficient than cvsup, is part of FreeBSD base from FreeBSD 6.

Also you can use freebsd-update to update binary files

freebsd-update fetch


Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now