cvsup alternative

Posted on 2006-07-04
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 17039132
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 yahoo.com 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

ID: 17041271
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

ID: 17041806
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.

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 17041844
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 2000 total points
ID: 17042456
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

ID: 17067300
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 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