Solved

cvsup alternative

Posted on 2006-07-04
6
476 Views
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.
Jo
0
Comment
Question by:m0nk3yza
6 Comments
 
LVL 1

Expert Comment

by:shmukler
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.
0
 
LVL 4

Expert Comment

by:Phreonx
ID: 17041271
Hello,
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 ;)
0
 
LVL 1

Author Comment

by:m0nk3yza
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.

Regards,
Jo
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:m0nk3yza
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
bsd:/usr/ports/sysutils/portupgrade#

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
Jo
0
 
LVL 4

Accepted Solution

by:
Phreonx earned 500 total points
ID: 17042456
Hello,
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 ;)

 
0
 
LVL 5

Expert Comment

by:flashwebhost
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

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

863 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

26 Experts available now in Live!

Get 1:1 Help Now