Re: Client only supports checkout mode
this is my sup file: *default host=cvsup1.FreeBSD.org *default base=/var/db *default prefix=/home/ncvs *default release=cvs *default delete use-rel-suffix *default tag=. *default compress ports-all this is what i get: # cvsup supfile ( i did csup also ) Connected to cvsup1.FreeBSD.org (here i tried 1, 3, 5, 9, etc)... Updating collection ports-all/cvs Edit ports/editors/vim/Makefile Checkout ports/editors/vim/files/patch-src_vim.h Edit ports/math/rpy/Makefile Checkout ports/math/rpy/files/patch-setup.py Edit ports/math/rpy/pkg-plist Finished successfully # cd /usr/ports/lang/php5 # vi distinfo MD5 (php-5.2.5.tar.bz2) = 1fe14ca892460b09f06729941a1bb605 SHA256 (php-5.2.5.tar.bz2) = 5cac1e70df5019ebdfdab2e0b8b216f7fdf56b9895c9f68c993313918249bba3 SIZE (php-5.2.5.tar.bz2) = 7773024 MD5 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = a43f1a0ee9e7c41c4cb6890174f1f9d8 SHA256 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = fd77ccdeb90c83af7492876dda17518de95dd74a5b6feecc5a1bd2c8e322ab53 SIZE (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = 23157 MD5 (php-5.2.5-mail-header.patch) = a3ce79a6aff5f6607d524d81382a31ca SHA256 (php-5.2.5-mail-header.patch) = 9b8ab24505051c6edd66cf2c875d966638d18ec4d672599577b1b8d7d0115b8c SIZE (php-5.2.5-mail-header.patch) = 3420 ~ Paul Schmehl wrote: --On Monday, August 04, 2008 16:43:38 -0400 kalin m <[EMAIL PROTECTED]> wrote: thanks i tried both cvsup and csup to update my ports and i'm not sure it's working. they both run through but the ports don't seem to be updated. like i can see a new port here http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 (also on freshports) but using cvsup3.FreeBSD.org i don't get above 5.2.5 is there any other way? Something must be wrong with your cvsupfile. I downloaded ports.tar.gz from cvsup3/ports/ports-current: [EMAIL PROTECTED] less /usr/ports/lang/php5/distinfo MD5 (php-5.2.6.tar.bz2) = 7380ffecebd95c6edb317ef861229ebd SHA256 (php-5.2.6.tar.bz2) = 1892b2dd50b56ae2c9aec027fcd9035b76673f113555bc2bc1007bab8ae4db81 SIZE (php-5.2.6.tar.bz2) = 9571312 [EMAIL PROTECTED] tar -ztv -f ports.tar.gz | grep ports/lang/php5/distinfo -rw-rw-r-- 0 archive archive 646 May 12 20:04 ports/lang/php5/distinfo [EMAIL PROTECTED] ls -Flash /usr/ports/lang/php5/distinfo 2 -rw-r--r-- 1 root wheel 646B May 12 10:42 /usr/ports/lang/php5/distinfo As you can see, the distinfo file says php5.2.6, and its size and creation date match both in my ports tree and in the tarball I fetched from that server. If you want current ports, you need this: [EMAIL PROTECTED] grep ports /etc/cvsupfile ports-all tag=. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Client only supports checkout mode
kalin m wrote: thanks i tried both cvsup and csup to update my ports and i'm not sure it's working. they both run through but the ports don't seem to be updated. like i can see a new port here http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 (also on freshports) but using cvsup3.FreeBSD.org i don't get above 5.2.5 is there any other way? Well, just to make sure, use the ports-supfile from /usr/share/examples/cvsup/ports-supfile and change *only* the server to cvsup10.FreeBSD.org Just checked my tree, and I have php 5.2.6. Some cvsup servers seem to be more up to date than others. Then again, if it is just the ports tree you are after, I would suggest using portsnap: The first time just do: portsnap fetch extract And for all subsequent times: portsnap fetch update That's it! No settings, no supfiles, no worries on selecting servers. And it is faster too. The first time it will download a ~50MB file, but then updates will be a lot smaller. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Client only supports checkout mode
--On Monday, August 04, 2008 16:43:38 -0400 kalin m <[EMAIL PROTECTED]> wrote: thanks i tried both cvsup and csup to update my ports and i'm not sure it's working. they both run through but the ports don't seem to be updated. like i can see a new port here http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 (also on freshports) but using cvsup3.FreeBSD.org i don't get above 5.2.5 is there any other way? Something must be wrong with your cvsupfile. I downloaded ports.tar.gz from cvsup3/ports/ports-current: [EMAIL PROTECTED] less /usr/ports/lang/php5/distinfo MD5 (php-5.2.6.tar.bz2) = 7380ffecebd95c6edb317ef861229ebd SHA256 (php-5.2.6.tar.bz2) = 1892b2dd50b56ae2c9aec027fcd9035b76673f113555bc2bc1007bab8ae4db81 SIZE (php-5.2.6.tar.bz2) = 9571312 [EMAIL PROTECTED] tar -ztv -f ports.tar.gz | grep ports/lang/php5/distinfo -rw-rw-r-- 0 archive archive 646 May 12 20:04 ports/lang/php5/distinfo [EMAIL PROTECTED] ls -Flash /usr/ports/lang/php5/distinfo 2 -rw-r--r-- 1 root wheel 646B May 12 10:42 /usr/ports/lang/php5/distinfo As you can see, the distinfo file says php5.2.6, and its size and creation date match both in my ports tree and in the tarball I fetched from that server. If you want current ports, you need this: [EMAIL PROTECTED] grep ports /etc/cvsupfile ports-all tag=. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Client only supports checkout mode
thanks i tried both cvsup and csup to update my ports and i'm not sure it's working. they both run through but the ports don't seem to be updated. like i can see a new port here http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/ which is 5.2.6 (also on freshports) but using cvsup3.FreeBSD.org i don't get above 5.2.5 is there any other way? Manolis Kiagias wrote: kalin m wrote: hi all... why would i get : "Client only supports checkout mode" when i do; csup /cvsup_file on a new freebsd 7 install what does it mean?! thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" It means you are trying to use a supfile that works in cvs mode. In cvs mode, the client does not simply checkout the latest version of the files from the repository, instead it retrieves the ",v" files that make up the whole repository. Effectively this means you are creating a local copy of the repository, while in checkout mode you just get the latest revision of every file. CVS mode is mostly necessary if you wish to have quick access to all versions of a file (and the revision history) and mostly useful for developers. In other cases (for example, to update your ports tree) checkout mode is sufficient. And now, here is the catch: Many people need to use checkout mode often, so csup was created and added to the base system. Csup is a rewrite (in C) of the well know cvsup utility (that exists in ports). But csup *does not* support cvs mode. So if you are trying to use a supfile that operates in cvs mode, you will get the "Client only supports checkout mode" If you really need to use a cvs mode supfile, you will need to pkg_add -r cvsup-without-gui (or build it from ports) and then use the cvsup command instead of csup. A cvs mode supfile contains the line: default release = cvs while in a simple checkout supfile, this line also contains a tag, e.g. (my ports supfile): default release = cvs tag=. The tag simply requests a particular revision of the files (a checkout), and in the case of "." it simply means the latest revision (head) You can get a nice description of all options in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Client only supports checkout mode
kalin m wrote: hi all... why would i get : "Client only supports checkout mode" when i do; csup /cvsup_file on a new freebsd 7 install what does it mean?! thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" It means you are trying to use a supfile that works in cvs mode. In cvs mode, the client does not simply checkout the latest version of the files from the repository, instead it retrieves the ",v" files that make up the whole repository. Effectively this means you are creating a local copy of the repository, while in checkout mode you just get the latest revision of every file. CVS mode is mostly necessary if you wish to have quick access to all versions of a file (and the revision history) and mostly useful for developers. In other cases (for example, to update your ports tree) checkout mode is sufficient. And now, here is the catch: Many people need to use checkout mode often, so csup was created and added to the base system. Csup is a rewrite (in C) of the well know cvsup utility (that exists in ports). But csup *does not* support cvs mode. So if you are trying to use a supfile that operates in cvs mode, you will get the "Client only supports checkout mode" If you really need to use a cvs mode supfile, you will need to pkg_add -r cvsup-without-gui (or build it from ports) and then use the cvsup command instead of csup. A cvs mode supfile contains the line: default release = cvs while in a simple checkout supfile, this line also contains a tag, e.g. (my ports supfile): default release = cvs tag=. The tag simply requests a particular revision of the files (a checkout), and in the case of "." it simply means the latest revision (head) You can get a nice description of all options in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Client only supports checkout mode
hi all... why would i get : "Client only supports checkout mode" when i do; csup /cvsup_file on a new freebsd 7 install what does it mean?! thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"