Re: cvs vs. DVD
From: Lars Eighner luvbeas...@larseighner.com To: wayne mitchell wayne.mitchell...@gmail.com Cc: questi...@freebsd.org Sent: Sun, June 26, 2011 3:57:50 PM Subject: Re: cvs vs. DVD On Sun, 26 Jun 2011, wayne mitchell wrote: hey, be warned, you are dealing with a 'newbie' Be warned, I don't know the official best practices response. I'm just telling you what I would do^H^Htry in your circumstances. i have one machine that has internet access and another that does not both machines were installed with FreeBSD_RELEASE_8_1 with a DVD i am now using cvsup to upgrade the RELENG_8_1_RELEASE tree my second machine does not have working ethernet how do i transfer the updated ports tree to the other machine using only storage media (DVD, USB) This is assuming 1) You haven't crossed a major release number since you installed from disc on both. 2) you know how to make a dvd from a file system. Since you are going from BSD to BSD, you don't have to make ISOs, but it will do no harm if you do (and might even be good for you). In the updated machine go to /usr/src/ and make clean. The official right way, I think is to use backup to make the file you will write to DVD and restore on the netdead machine to recreate /usr/src/ from disc. tar + dd or cp might work. (backup and restore are commands, check them out) Then on the netdead machine do the make buildworld, make kernel, etc. to update the machine's system. The instructions are in /usr/src/UPDATING near the bottom. In /usr/ports/ (master machine) use portsclean -CDP. This should clean out all the working directories and the old versions of packages and distributions which are no longer necessary to recreate the ports you have installed. This is not strictly necessary, but there is no point in carrying over the deadwood. If you have a relatively young installation, on the other hand, this may not save much. Now you can do whatever you did (backup/restore), dd, etc. with the source tree to the ports tree. Then you can update ports on the slave machine, or hold off. The important thing is for the ports tree itself to be somewhat in sync with world. my guess (hack) is to find all relavent files/data trees and simply copy over, then run necessary updates (portsdb, make world...) Do not mess directly with the ports database (in /var/db/pkg) on either machine. Until you actually do some updates in ports, pkgdb, which deals with installed ports, will not change. if that is correct then can you tell where those files are ? The whole ports tree is in /usr/ports/. This should include the distfiles and packages you have installed since you installed from disc. The whole source tree is in /usr/src/. It is possible to install from disc without installing either of these, but if you have been cvsup'ing or cvs source and ports on the netlive machine, it certainly has them. If you did not install them on the netdead machine, you can install the copies from the netlive machine without further ado. You can even delete them from the netdead machine (if they are there) on the netdead machine, and you will still have an operable system -- nothing in them is necessary to run. But if you have the disc space, I suggest you rename (mv) them until you know your update is successful. I suggest you go through the mergemaster both times in rebuilding the system on the netdead machine. It is almost impossible to keep configuration files sufficiently in sync to make copying /etc and /usr/local/ect a viable plan (moreover, it would certainly be wrong to do so if both machines are on a net, local or internet). if not then how should i do this ? I think you are basically on the right track. This probably will work across major releases and with drastically different architectures between the machines, but caution on the target machine is in order. (Other than cleaning, this process should not involve anything remotely dangerous to the source machine.) -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Call me old-fashioned but with Ethernet cards only costing $5 these days, what's holding you back from installing a NIC in the other machine. This would simplify all your problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs vs. DVD
El día Sunday, June 26, 2011 a las 07:02:57PM +0100, wayne mitchell escribió: hey, be warned, you are dealing with a 'newbie' i have one machine that has internet access and another that does not both machines were installed with FreeBSD_RELEASE_8_1 with a DVD i am now using cvsup to upgrade the RELENG_8_1_RELEASE tree my second machine does not have working ethernet how do i transfer the updated ports tree to the other machine using only storage media (DVD, USB) my guess (hack) is to find all relavent files/data trees and simply copy over, then run necessary updates (portsdb, make world...) if that is correct then can you tell where those files are ? if not then how should i do this ? Hey, this is easy (because it is FreeBSD). # cd /var/db/pkg # ls /tmp/pkgs # cd (you need some Gbyte of space there) # mkdir PKGDIR # cd PKGDIR # sh # while read pkgname; do pkg_create -Rnb $pkgname; done /tmp/pkgs this will create a binary packages ready for installation of all your ports and other packages you have installed; move the result over with DVD/USB and install them with pkg_add(1M); HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs-ports = svn-ports
On Mon, 21 Dec 2009 12:45:51 +0100 Dominic Fandrey kamik...@bsdforen.de wrote: Is there an svn equivalent to the cvs-ports mailing list? ports are still stored in a cvs repository, unlike src. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re : cvs authentication
I haven't set authentification process to sync my sources with freebsd cvsup server. Have you try to sync your sources with another cvsup server ? You can find the list here : http://www.freebsd.org/doc/en/books/handbook/cvsup.html --- En date de : Jeu 26.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit : De: Dominic Fandrey kamik...@bsdforen.de Objet: cvs authentication À: freebsd-questions@freebsd.org Date: Jeudi 26 Novembre 2009, 15h39 Should the CVS/SVN mirrors really require authentication? -- Running /usr/bin/csup -- Parsing supfile /etc/csup/sources Connecting to cvsup8.de.freebsd.org Connected to 212.118.165.142 Server software version: SNAP_16_1h Authentication required by the server and not supported by client *** Error code 1 1 error *** Error code 2 Stop in /usr/src. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re : cvs authentication
Alexandre L. wrote: --- En date de : Jeu 26.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit : Should the CVS/SVN mirrors really require authentication? -- Running /usr/bin/csup -- Parsing supfile /etc/csup/sources Connecting to cvsup8.de.freebsd.org Connected to 212.118.165.142 Server software version: SNAP_16_1h Authentication required by the server and not supported by client *** Error code 1 I haven't set authentification process to sync my sources with freebsd cvsup server. Have you try to sync your sources with another cvsup server ? You can find the list here : http://www.freebsd.org/doc/en/books/handbook/cvsup.html Yes, all other servers work. Still, this one should, too. I do not choose the CVS servers I use: SUPHOST=`/usr/local/bin/fastest_cvsup -Qc de` -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re : cvs authentication
I don't know what is the problem but I thinking about this thing : Is this cvsup servup wasn't in synchronization (due to the release of 8.0-RELEASE) and this server was locked for this reason ? --- En date de : Ven 27.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit : De: Dominic Fandrey kamik...@bsdforen.de Objet: Re: Re : cvs authentication À: Alexandre L. axel...@ymail.com Cc: freebsd-questions@freebsd.org Date: Vendredi 27 Novembre 2009, 10h59 Alexandre L. wrote: --- En date de : Jeu 26.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit : Should the CVS/SVN mirrors really require authentication? -- Running /usr/bin/csup -- Parsing supfile /etc/csup/sources Connecting to cvsup8.de.freebsd.org Connected to 212.118.165.142 Server software version: SNAP_16_1h Authentication required by the server and not supported by client *** Error code 1 I haven't set authentification process to sync my sources with freebsd cvsup server. Have you try to sync your sources with another cvsup server ? You can find the list here : http://www.freebsd.org/doc/en/books/handbook/cvsup.html Yes, all other servers work. Still, this one should, too. I do not choose the CVS servers I use: SUPHOST= `/usr/local/bin/fastest_cvsup -Qc de` -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
free...@edvax.de wrote: If you are interested in the bleeding edge of FreeBSD's development, you follow RELENG_7. This will then deliver the -CURRENT branch to you with all modifications. It may happen that a -CURRENT of today doesn't compile, but tomorrow, it will do. It's considered to be the experimental branch where changes can appear and disappear. Hello, I think you are confusing RELENG_7 with . (as the CVS tag says) or HEAD. RELENG_7 will deliver 7-STABLE, not CURRENT. CURRENT is the bleeding edge. Also: You follow the -STABLE branch of FreeBSD 7.2 and will always get the latest *stable* 7.2 sources, but won't reach 7.3 with this setting. That's not quite right. 7.3 is just a point along the 7-STABLE path. For example, if you tracked STABLE via RELENG_7 starting with, say, FreeBSD 7.1, your system would have run 7.2 at some point, and then beyond it. Tracking STABLE isn't like using CVSup or Csup to reach RELENG_7_2_0 or RELENG_7_2, but you eventually get the 7.2 functionality by tracking RELENG_7. For example, start with 7.1 from CD: fbsd71toS# uname -a FreeBSD fbsd71toS.taosecurity.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 After Csup to RELENG_7, you get fbsd71toS# uname -a FreeBSD fbsd71toS.taosecurity.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Aug 22 23:02:30 EDT 2009 r...@fbsd71tos.taosecurity.com:/usr/obj/usr/src/sys/FREEBSD7 i386 As you can see, it's not theoretical -- I ran this test this weekend. :) Thank you, Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On Tue, Aug 4, 2009 at 5:32 PM, b. f.bf1...@googlemail.com wrote: He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. Well, neither actually. :) s/0_2/2_0/ . But I inferred from the context -- it seemed obvious, particularly from what he wrote later -- that he meant those choices as suffixes to RELENG, which he omitted for the sake of brevity. I assumed you also made this inference. Agreed, but IMHO, it's better to be precise and not assume too much. :-) OK guys this has now reached the point where I am again confudes -- here is my original posting amended to ensure there is no ambiguity I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: RELENG_7_BP RELENG_7_2_BP RELENG_7_2_0_RELEASE RELENG_7_2 But could not find anything that told me where -p2 fits into this!! # uname -a 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 To synchronize src and keep up to date do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? or do I need to use something like: *default release=cvs tag=RELENG_7_2-p2 or something else!! Where can I find some explanation on this? Maybe something from this discussion could be added to the handbook/synching.html page so the choice of suffix for configuring cvsup could be made easier for those who are not familiar with the meaning of undocumented suffixing such as -p2 !!. Another could there possibly be some consistency between the output from uname -a and the suffixing used for synching of the src be practicable. Please do not bite my head off if it is not practical -- I acknowledge it is a question born of ignorance and confusion chuckles david Thanks in advance David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On Tue, Aug 4, 2009 at 5:32 PM, b. f.bf1...@googlemail.com wrote: He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. Well, neither actually. :) s/0_2/2_0/ . But I inferred from the context -- it seemed obvious, particularly from what he wrote later -- that he meant those choices as suffixes to RELENG, which he omitted for the sake of brevity. I assumed you also made this inference. Glen You hit the sweet spot!! David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On Wed, 5 Aug 2009 10:00:09 +0100, David Southwell da...@vizion2000.net wrote: I took a look at the web pages and found the following choices: RELENG_7_BP RELENG_7_2_BP RELENG_7_2_0_RELEASE RELENG_7_2 But could not find anything that told me where -p2 fits into this!! The -p2 is appended when you follow RELENG_7_2, which is the security branch (release branch) of FreeBSD 7.2. You will get ONLY the patches. For example, when the second patch is applied and you download, compile and install the OS, uname will give 7.2-RELEASE-p2. If you follow RELENG_7, you get the stable branch. Here, more than just the patches are delivered to you when updating the sources. So you won't get -p2, but something like 7.0-STABLE together with your compile date. As far as I know, /etc/motd will be updated and then show 7.2-STABLE-20090101 (the proper date of course). The -STABLE branch is a bit experimental, allthough it includes those things that are considered to be running well. If you are interested in the bleeding edge of FreeBSD's development, you follow RELENG_7. This will then deliver the -CURRENT branch to you with all modifications. It may happen that a -CURRENT of today doesn't compile, but tomorrow, it will do. It's considered to be the experimental branch where changes can appear and disappear. To synchronize src and keep up to date do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? Exactly. You follow the -STABLE branch of FreeBSD 7.2 and will always get the latest *stable* 7.2 sources, but won't reach 7.3 with this setting. or do I need to use something like: *default release=cvs tag=RELENG_7_2-p2 No. As far as I know, you can't update to a specific patchlevel in this way. But using CVS correctly - don't ask me how to do this :-) - you can update your system to any point of time in development. or something else!! Or else. :-) Where can I find some explanation on this? The handbook mentions it in its comparison between RELEASE and STABLE. Maybe something from this discussion could be added to the handbook/synching.html page so the choice of suffix for configuring cvsup could be made easier for those who are not familiar with the meaning of undocumented suffixing such as -p2 !!. Good idea. Another could there possibly be some consistency between the output from uname -a and the suffixing used for synching of the src be practicable. The problem is that there are different naming conventions. Please do not bite my head off if it is not practical -- I acknowledge it is a question born of ignorance and confusion chuckles I already had horsehead goulash with sauerkraut, thanks. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
David Southwell wrote: I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP _7_2_0_RELEASE _7_2 But could not find anything that told me where -p2 fits into this!! # uname -a 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 To synchronize src do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? Yes. RELENG_7_2 is the security patched update of Release. The -p2 means there have been two security patches applied to the source code. The actual release (RELENG_7_2_0_RELEASE) is static and will never change. The only thing that changes with _7_2 is the addition/inclusion of the patches you see in the security announcements. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
David Southwell wrote: I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP _7_2_0_RELEASE _7_2 But could not find anything that told me where -p2 fits into this!! # uname -a 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 To synchronize src do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? Yes. RELENG_7_2 is the security patched update of Release. The -p2 means there have been two security patches applied to the source code. The actual release (RELENG_7_2_0_RELEASE) is static and will never change. The only thing that changes with _7_2 is the addition/inclusion of the patches you see in the security announcements. -Mike Thanks for being helpful.. it might be useful if these designations appeared somewhere in the documentation-- but I guess there is enough for people to do!!! From what you are saying using *default release=cvs tag=RELENG_7_2 will work for me Thanks again David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On Tue, Aug 4, 2009 at 1:43 PM, David Southwellda...@vizion2000.net wrote: I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP BP ? _7_2_0_RELEASE Should be RELENG. Don't blindly follow how-tos. _7_2 But could not find anything that told me where -p2 fits into this!! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html # uname -a 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 To synchronize src do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? or do I need to use something like: *default release=cvs tag=RELENG_7_2-p2 No. Read the link I posted above. Where can I find some explanation on this? Thanks in advance -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
Glen Barber glen.j.barber at gmail.com wrote: On Tue, Aug 4, 2009 at 1:43 PM, David Southwelldavid at vizion2000.net wrote: I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP BP ? It is the branchpoint tag, made when a release branch is first created: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-proc.html It is not documented in most places because it is primarily of interest to developers. _7_2_0_RELEASE Should be RELENG. Don't blindly follow how-tos. RELENG_7_2_0_RELEASE is a valid tag. Don't make pronouncements if you haven't verified them. _7_2 But could not find anything that told me where -p2 fits into this!! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html More to the point is the following page in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On Tue, Aug 4, 2009 at 3:54 PM, b. f.bf1...@googlemail.com wrote: Glen Barber glen.j.barber at gmail.com wrote: On Tue, Aug 4, 2009 at 1:43 PM, David Southwelldavid at vizion2000.net wrote: I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP BP ? It is the branchpoint tag, made when a release branch is first created: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-proc.html I see. Noted. It is not documented in most places because it is primarily of interest to developers. _7_2_0_RELEASE Should be RELENG. Don't blindly follow how-tos. RELENG_7_2_0_RELEASE is a valid tag. Don't make pronouncements if you haven't verified them. He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. _7_2 But could not find anything that told me where -p2 fits into this!! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html More to the point is the following page in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On Tue, Aug 04, 2009 at 03:07:20PM -0400, Glen Barber wrote: On Tue, Aug 4, 2009 at 1:43 PM, David Southwellda...@vizion2000.net wrote: I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP BP ? BP = Branch Point. It is a tag which marks the place where the corresponding branch was created. _7_2_0_RELEASE Should be RELENG. Don't blindly follow how-tos. _7_2 But could not find anything that told me where -p2 fits into this!! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html # uname -a 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 To synchronize src do I use: *default release=cvs tag=RELENG_7_2 will this automatically track the latest version in 7_2 and therefore keep track with 7.2-RELEASE-p2 or later?? or do I need to use something like: *default release=cvs tag=RELENG_7_2-p2 No. Read the link I posted above. Where can I find some explanation on this? Thanks in advance -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On Tuesday 04 August 2009 12:52:54 Erik Trulsson wrote: On Tue, Aug 04, 2009 at 03:07:20PM -0400, Glen Barber wrote: On Tue, Aug 4, 2009 at 1:43 PM, David Southwellda...@vizion2000.net wrote: I am confused about the usage of the tag for src. I took a look at the web pages and found the following choices: _7_BP _7_2_BP BP ? BP = Branch Point. It is a tag which marks the place where the corresponding branch was created. And for developers or interesting parties, one can create cvs diff using -rRELENG_7_2_BP -rRELENG_7_2_RELEASE to see how many fixes hit the tree during the final release stage. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On 8/4/09, Glen Barber glen.j.bar...@gmail.com wrote: _7_2_0_RELEASE Should be RELENG. Don't blindly follow how-tos. RELENG_7_2_0_RELEASE is a valid tag. Don't make pronouncements if you haven't verified them. He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. Well, neither actually. :) s/0_2/2_0/ . But I inferred from the context -- it seemed obvious, particularly from what he wrote later -- that he meant those choices as suffixes to RELENG, which he omitted for the sake of brevity. I assumed you also made this inference. ... Mel Flynn wrote: And for developers or interesting parties, one can create cvs diff using -rRELENG_7_2_BP -rRELENG_7_2_RELEASE to see how many fixes hit the tree during the final release stage. How many interesting parties have you been to, Mel, where such a listing came in handy? ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs tag usage
On Tue, Aug 4, 2009 at 5:32 PM, b. f.bf1...@googlemail.com wrote: He has _7_2_0_RELEASE, not RELENG_7_0_2_RELEASE. Well, neither actually. :) s/0_2/2_0/ . But I inferred from the context -- it seemed obvious, particularly from what he wrote later -- that he meant those choices as suffixes to RELENG, which he omitted for the sake of brevity. I assumed you also made this inference. Agreed, but IMHO, it's better to be precise and not assume too much. :-) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CVS history access?
On Saturday 25 April 2009 09:12:50 pm Giorgos Keramidas wrote: On Fri, 24 Apr 2009 05:35:34 -0400, John Nielsen li...@jnielsen.net wrote: I'm working on a machine learning project and I'd like to use the FreeBSD src CVS commit history as a datasource. Is there a resource-friendly way for me to download some or all of it? Format isn't too big an issue. I tried a few cvs history commands against the anoncvs servers but get this: cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: No such file or directory Do you really want just the `CVSROOT/history' file? We allow mirroring of the entire repository, which you can then use to extract any sort of historical commit data. (Well, _almost_ anything. Some things like repo-copies and renames of raw repository files have been done without any sort of record, so it may be impossible to recover *those* particular bits.) I'm basically looking for a list of all commits over the past N (2) years with committer, timestamp, affected file(s) and/or subsystems and possibly diff size information, etc. I don't know anything about the history file in particular other than that's what cvs complained about when I tried the cvs history commands against anoncvs. It looks like the /pub/FreeBSD/development/FreeBSD-CVS/src ftp path may have what I'm looking for (though it may be scattered through the individual files). I'll probably (try to) set up a local CVS repo and source it from there and see where that gets me. My CVS-fu is weak so I'm still open to pointers. We also have a Subversion repository now, that you can use to grab commit information. It takes slightly more disk space than the CVS repository, but subversion can export XML formatted commit logs, which may be slightly more useful if you plan to automate parts of the parsing and info-gathering. Yes, I'll definitely be automating the parsing, etc. Is it safe to assume that the cvs2svn migration went successfully? XML logs do sound appealing and aggregated (same time, multiple files) commits would be more useful than per-file. Can I just check everything out from svn://svn.freebsd.org/base/? Thanks! JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CVS history access?
On Mon, 27 Apr 2009 11:23:32 -0400, John Nielsen li...@jnielsen.net wrote: On Saturday 25 April 2009 09:12:50 pm Giorgos Keramidas wrote: On Fri, 24 Apr 2009 05:35:34 -0400, John Nielsen li...@jnielsen.net wrote: I'm working on a machine learning project and I'd like to use the FreeBSD src CVS commit history as a datasource. Is there a resource-friendly way for me to download some or all of it? Format isn't too big an issue. I tried a few cvs history commands against the anoncvs servers but get this: cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: No such file or directory Do you really want just the `CVSROOT/history' file? We allow mirroring of the entire repository, which you can then use to extract any sort of historical commit data. (Well, _almost_ anything. Some things like repo-copies and renames of raw repository files have been done without any sort of record, so it may be impossible to recover *those* particular bits.) I'm basically looking for a list of all commits over the past N (2) years with committer, timestamp, affected file(s) and/or subsystems and possibly diff size information, etc. I don't know anything about the history file in particular other than that's what cvs complained about when I tried the cvs history commands against anoncvs. It looks like the /pub/FreeBSD/development/FreeBSD-CVS/src ftp path may have what I'm looking for (though it may be scattered through the individual files). I'll probably (try to) set up a local CVS repo and source it from there and see where that gets me. My CVS-fu is weak so I'm still open to pointers. There are online instructions for mirroring a full CVS copy, so it should be relatively easy to do that. It mostly boils down to setting up the necessary disk space somewhere locally, installing one of the CVSup ports and configuring a `supfile' like this: *default host=CHANGE_THIS.freebsd.org *default base=/path/to/local/cvs/mirror *default prefix=/path/to/local/cvs/mirror *default release=cvs *default delete use-rel-suffix *default compress cvs-all Yo should change `CHANGE_THIS' with the hostname of a CVSup mirror (a full list can be found in the Handbook), and then point the local CVS mirror directory from `/path/to/local/cvs/mirror' to the place you will keep the mirror. To pull over the CVS mirror files, you can then run: # cvsup -g -L 2 supfile Note that this will take quite some time if you are starting from an empty mirror, and it may be a good idea to rerun cvsup 1-2 times after it's done, to make sure you have the latest changes -- including any changes that were committed between the time you started mirroring and the time the first run was done. FYI, my local copy of the repository uses around 4 GB today, so you should plan to keep the mirror on a disk with at least this amount of space (a few extra GB won't hurt either): # du -sh /home/ncvs 4.0G/home/ncvs # We also have a Subversion repository now, that you can use to grab commit information. It takes slightly more disk space than the CVS repository, but subversion can export XML formatted commit logs, which may be slightly more useful if you plan to automate parts of the parsing and info-gathering. Yes, I'll definitely be automating the parsing, etc. Is it safe to assume that the cvs2svn migration went successfully? XML logs do sound appealing and aggregated (same time, multiple files) commits would be more useful than per-file. Can I just check everything out from svn://svn.freebsd.org/base/? The conversion from CVS to Subversion was ``good enough'' from what I see in the svn commit logs. So it may be a good idea to use `svnsync' to mirror the /base/ repository locally and take it from there. The instructions for mirroring the Subversion repository are a bit more involved, but if you decide to go that way, let me know and I will write a short description of how to do it. pgpray5r6lHUa.pgp Description: PGP signature
Re: CVS history access?
On Monday 27 April 2009 12:39:53 pm Giorgos Keramidas wrote: On Mon, 27 Apr 2009 11:23:32 -0400, John Nielsen li...@jnielsen.net wrote: I'm basically looking for a list of all commits over the past N (2) years with committer, timestamp, affected file(s) and/or subsystems and possibly diff size information, etc. I don't know anything about the history file in particular other than that's what cvs complained about when I tried the cvs history commands against anoncvs. It looks like the /pub/FreeBSD/development/FreeBSD-CVS/src ftp path may have what I'm looking for (though it may be scattered through the individual files). I'll probably (try to) set up a local CVS repo and source it from there and see where that gets me. My CVS-fu is weak so I'm still open to pointers. There are online instructions for mirroring a full CVS copy, so it should be relatively easy to do that. It mostly boils down to setting up the necessary disk space somewhere locally, installing one of the CVSup ports and configuring a `supfile' like this: *default host=CHANGE_THIS.freebsd.org *default base=/path/to/local/cvs/mirror *default prefix=/path/to/local/cvs/mirror *default release=cvs *default delete use-rel-suffix *default compress cvs-all Thanks! I had forgotten about the cvs-all target. [additional helpful info snipped] We also have a Subversion repository now, that you can use to grab commit information. It takes slightly more disk space than the CVS repository, but subversion can export XML formatted commit logs, which may be slightly more useful if you plan to automate parts of the parsing and info-gathering. Yes, I'll definitely be automating the parsing, etc. Is it safe to assume that the cvs2svn migration went successfully? XML logs do sound appealing and aggregated (same time, multiple files) commits would be more useful than per-file. Can I just check everything out from svn://svn.freebsd.org/base/? The conversion from CVS to Subversion was ``good enough'' from what I see in the svn commit logs. So it may be a good idea to use `svnsync' to mirror the /base/ repository locally and take it from there. I installed the subversion-freebsd port and pulled in src from head. This lets me do e.g. svn log -g --xml locally and get an XML list of commits along the main (head/current) development line going back to 1993. For files changed with each revision I can do svn diff -c NUM --summarize. Is there a way to get this information integrated with the svn log output short of running the command for each revision in the log output? The instructions for mirroring the Subversion repository are a bit more involved, but if you decide to go that way, let me know and I will write a short description of how to do it. I checked out base/head and am in the process of checking out base/stable so I can get commit data from -STABLE branches as well. (I'll probably figure out when each branch (in CVS terms) was created and then use svn log to just get commits after that date for each branch). I don't know that I need to mirror the whole SVN repository but at this point I am planning on going the SVN route so if you have additional tips they would be appreciated. Thanks! JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CVS history access?
On Mon, 27 Apr 2009 15:03:30 -0400, John Nielsen li...@jnielsen.net wrote: I installed the subversion-freebsd port and pulled in src from head. This lets me do e.g. svn log -g --xml locally and get an XML list of commits along the main (head/current) development line going back to 1993. For files changed with each revision I can do svn diff -c NUM --summarize. Is there a way to get this information integrated with the svn log output short of running the command for each revision in the log output? It's already part of 'svn log --xml' output if you use the -v option. When you use -v *and* --xml at the same time, an additional element is inserted to each changeset listing all the path changes: $ svn log -v --xml -c 191585 file:///home/svn/base ?xml version=1.0? log logentry revision=191585 authorrpaulo/author date2009-04-27T18:59:40.453027Z/date % paths % path %kind= %action=M/projects/mesh11s/sys/net80211/ieee80211_output.c/path % /paths msgAppend Mesh Configuration IE on probe responses and beacons. Sponsored by: The FreeBSD Foundation /msg /logentry /log I think the paths list of path changes is what you are after :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CVS history access?
On Monday 27 April 2009 03:29:03 pm Giorgos Keramidas wrote: On Mon, 27 Apr 2009 15:03:30 -0400, John Nielsen li...@jnielsen.net wrote: I installed the subversion-freebsd port and pulled in src from head. This lets me do e.g. svn log -g --xml locally and get an XML list of commits along the main (head/current) development line going back to 1993. For files changed with each revision I can do svn diff -c NUM --summarize. Is there a way to get this information integrated with the svn log output short of running the command for each revision in the log output? It's already part of 'svn log --xml' output if you use the -v option. When you use -v *and* --xml at the same time, an additional element is inserted to each changeset listing all the path changes: $ svn log -v --xml -c 191585 file:///home/svn/base ?xml version=1.0? log logentry revision=191585 authorrpaulo/author date2009-04-27T18:59:40.453027Z/date % paths % path %kind= % action=M/projects/mesh11s/sys/net80211/ieee80211_output.c/path % /paths msgAppend Mesh Configuration IE on probe responses and beacons. Sponsored by: The FreeBSD Foundation /msg /logentry /log I think the paths list of path changes is what you are after :) Exactly right. Thanks much! JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CVS history access?
On Fri, 24 Apr 2009 05:35:34 -0400, John Nielsen li...@jnielsen.net wrote: I'm working on a machine learning project and I'd like to use the FreeBSD src CVS commit history as a datasource. Is there a resource-friendly way for me to download some or all of it? Format isn't too big an issue. I tried a few cvs history commands against the anoncvs servers but get this: cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: No such file or directory Do you really want just the `CVSROOT/history' file? We allow mirroring of the entire repository, which you can then use to extract any sort of historical commit data. (Well, _almost_ anything. Some things like repo-copies and renames of raw repository files have been done without any sort of record, so it may be impossible to recover *those* particular bits.) We also have a Subversion repository now, that you can use to grab commit information. It takes slightly more disk space than the CVS repository, but subversion can export XML formatted commit logs, which may be slightly more useful if you plan to automate parts of the parsing and info-gathering. pgpYDpC9NfRqa.pgp Description: PGP signature
Re: CVS history access?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Nielsen wrote: I'm working on a machine learning project and I'd like to use the FreeBSD src CVS commit history as a datasource. Is there a resource-friendly way for me to download some or all of it? Format isn't too big an issue. I tried a few cvs history commands against the anoncvs servers but get this: cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: No such file or directory I'm not too experienced with cvs so if I'm missing something let me know. The Mailman archives for freebsd-cvs are one option, but I was hoping for more of a direct approach if possible. cvs log filename works, but I don't think that history has even been available on any system I've ever had access to. There's pretty good info available from the cvs log command ... here's a few lines from cvs log Makefile from usr/src/Makefile: - revision 1.114 date: 2005/12/02 01:17:20; author: deraadt; state: Exp; lines: +2 -2 do not enter lkm - revision 1.113 date: 2005/09/16 12:28:34; author: jmc; state: Exp; lines: +3 -2 use shell-neutral language (in a comment); from ray lai; ok krw@ - revision 1.112 date: 2005/01/09 20:36:20; author: espie; state: Exp; lines: +12 -282 move cross-stuff into its own file. okay mickey@, niklas@ Thanks, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknyMz0ACgkQz62J6PPcoOlbBACeLN3fD31obO7yEVTDnql8qQ+v VnAAnAjt2yRDr1y+LHfErKgdUX/UcwtW =Nzdn -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CVS history access?
John Nielsen wrote: I'm working on a machine learning project and I'd like to use the FreeBSD src CVS commit history as a datasource. Is there a resource-friendly way for me to download some or all of it? Format isn't too big an issue. I tried a few cvs history commands against the anoncvs servers but get this: cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: No such file or directory I'm not too experienced with cvs so if I'm missing something let me know. The Mailman archives for freebsd-cvs are one option, but I was hoping for more of a direct approach if possible. Thanks, JN It seems history is optional in CVS, and it does not exist (at least anymore) in the FreeBSD CVS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvs stupid question
On Wed 2008-12-03 16:31:29 UTC+0100, Wojciech Puchar ([EMAIL PROTECTED]) wrote: export [EMAIL PROTECTED]:/home/ncvs cvs checkout -rRELENG_7 src waited over an hour, no files got fetched what i'm doing wrong? Looks like the server is down: $ export [EMAIL PROTECTED]:/home/ncvs $ cvs checkout -rRELENG_7 src ssh: connect to host anoncvs.FreeBSD.org port 22: Connection refused cvs [checkout aborted]: end of file from server (consult above messages if any) This works: $ export [EMAIL PROTECTED]:/home/ncvs $ cvs checkout -rRELENG_7 src The authenticity of host 'anoncvs1.freebsd.org (216.87.78.137)' can't be established. DSA key fingerprint is 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of known hosts. cvs checkout: Updating src U src/COPYRIGHT U src/LOCKS U src/MAINTAINERS U src/Makefile ^Ccvs [checkout aborted]: received interrupt signal $ Killed by signal 2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS log
In the last episode (Sep 14), Walker said: Is there a CVS log that is web accessible and allows me to search for all changes between two releases (for example, version 7.0 and the upcoming 7.1)? http://ftp.cz.freebsd.org/pub/FreeBSD-cvs/main/CVSROOT/commitlogs/ (and some of the other regional FreeBSD sites) has all the commit entries. 7.0 was released in late February, so if you look at all the files between then and now, only looking at things committed to the RELENG_7 branch, you'll have your changes. If you install the subversion port, the command svn log -v -r '{2008-2-27}:HEAD' svn://svn.freebsd.org/base/stable/7/ will print all commits to the RELENG_7 branch between then and now. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS setup
[EMAIL PROTECTED] wrote: Hello Everyone I am trying to get cvs(up ?) to run on Eclipse Webmin also. I have 6.2 stable running! How may I get the source for say 6.2 stable pre 6.3 prerelease ? I can do this the normal way on freebsd but I would like a copy to mess with on Eclipse localy! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] So in your supfile for cvsup, you can change the prefix from /usr to something else. That will check out the sources to the directory you mentioned there. Rg, Tino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS tags
Josef Grosch wrote: I have been spending a lot of time building machines at work. Our engineers want to have the machine in question to have a specific version of FreeBSD, ie. FreeBSD 4.11-RELEASE-p11 for example. I have noticed that there is not a CVS tag for this in the tree. Is there a specific reason why we do not tag the tree for the patch levels? Josef Wouldn't that be Releng_4_11 or Releng_4_11p11? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS tags
I have been spending a lot of time building machines at work. Our engineers want to have the machine in question to have a specific version of FreeBSD, ie. FreeBSD 4.11-RELEASE-p11 for example. I have noticed that there is not a CVS tag for this in the tree. Is there a specific reason why we do not tag the tree for the patch levels? Although it should never be necessary to use -p11 explicitely, you can get it if you use RELENG_4_11 and the date 2005/06/30 00:00:00 for example. The appropriate line in your supfile looks like this: *default release=cvs tag=RELENG_4_11 date=2005.06.30.00.00.00 The file src/sys/conf/newvers.sh contains the version number. You can determine the date in the CVS repository. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/newvers.sh?f=uonly_with_tag=RELENG_4_11logsort=date Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS release tag for current patched release
On Sun, May 06, 2007 at 01:40:32PM -0500, Jeffrey Goldberg wrote: The short version of my question is whether the cvs tag RELENG_6_2 refers to the latest on the 6.2 STABLE branch or the 6.2 RELEASE Branch. It refers to the latest on the 6.2-RELEASE branch. To get the latest from the 6-STABLE branch use the RELENG_6 tag. (There is not really any 6.2-STABLE branch, just a 6-STABLE branch from which all the 6.x releases get branched off. The term 6.2-STABLE just means: The 6-STABLE branch at any point in time after 6.2-RELEASE but before 6.3-RELEASE) The background (somewhat long winded) to the question and why I'm confused follows. [snip] Finally it might help me if I knew where the term RELENG came from. Things like RELEASE, CURRENT and STABLE all make sense, but RELENG doesn't seem to have some human meaning (well, not to this human at least). I believe RELENG is short for RELease ENGineering. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS release tag for current patched release
On Sun, May 06, 2007 at 08:50:16PM +0200, Erik Trulsson wrote: (There is not really any 6.2-STABLE branch, RELENG_6_2 is the name of the branch which is used to develop 6.2 on. It was branched from RELENG_6 (which in turn was branched from the main branch) just before the release of 6.2. It was used to transmogrify 6-STABLE into 6.2-RC1 into -RC2 into -RELEASE into -RELEASE-p1 and so on up to -RELEASE-p7. See http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/newvers.sh?only_with_tag=RELENG_6_2 for some commentry. I think that's what the OP was looking for. -- Shenanigans! Shenanigans!Best of 3! -- Flash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS release tag for current patched release
Jeffrey Goldberg wrote: The short version of my question is whether the cvs tag RELENG_6_2 refers to the latest on the 6.2 STABLE branch or the 6.2 RELEASE Branch. RELENG_6 - actual -STABLE RELENG_6_2 - actual -RELEASE-pX -RELEASE are taken off -STABLE at predefined times, and as such we can say, that -RELEASE is snapshot from -STABLE at the date of new release. Development is being done in -STABLE. So if you want to have current release with it's patchlevels as they are, use RELENG_6_2. I wish to make some minor local modifications to my system running 6.2 RELEASE p4. So far, I've been maintaining my system using csup with a sup file based on /usr/share/examples/cvsup/standard-supfile But my local changes get overwritten with each new update using csup. I was advised earlier on this list to use cvs instead (which I thought csup did, but now I see that csup (and cvsup) will use checkout mode instead of CVS mode unless I'm on the bleeding edge. Copy this file somewhere else, like /usr/local/etc and modify it as you need. Whole cvsup command would look like: # cvsup -L 2 /usr/local/etc/stable-supfile kind regards, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS tags
Josef Grosch wrote: I have been spending a lot of time building machines at work. Our engineers want to have the machine in question to have a specific version of FreeBSD, ie. FreeBSD 4.11-RELEASE-p11 for example. I have noticed that there is not a CVS tag for this in the tree. Is there a specific reason why we do not tag the tree for the patch levels? Yes; two reasons in fact: 1. Tagging the tree for every security update isn't feasible in CVS. 2. There is a branch available for RELEASE plus the all available security and critical errata fixes (RELENG_X_Y for X.Y-RELEASE), and you should never not install all available security and critical errata fixes. Colin Percival FreeBSD Security Officer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS server setup
Eduardo Morras [EMAIL PROTECTED] writes: I'm trying to setup a cvs server. I have a vps jail account so i can't make a jail in the jail to run the cvs server. Has cvs server a /chroot/ mode? Where can i find documentation to do so? All doc, man and howto i readed shows how to do creating a jail. Is there other way to do so? You should be able to use chroot(8) on it directly, as far as I can tell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS (freebsd /src) confusion
On Monday, 5 February, 2007 at 12:17:18 -0500, Dan Casey wrote: Using cvsup I am upgrading my boxes from RELENG_6_1, to RELENG_6_2. I've been noticing something strange, and I'm wondering if I'm thinking too much into it. I've modified mergemaster so that instead of using diff, it would just append to a text the files that need to be diffed. This way i can do it with vimdiff instead. I would think that the RELENG_6_2 would have more recent files then 6_1. Here are a few examples. I'm looking at cvsweb, which seems to confirm that that the versions of these files are correct. /etc/defaults/devfs.rules version in 6.1 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.12.1 2006/04/26 18:39:17 version in 6.2 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.8.1 2006/04/26 18:38:43 /etc/defaults/periodic.conf version in 6.1 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.1 2006/03/08 23:01:18 version in 6.2 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.2 2006/09/28 01:59:29 I just checked in the CVS repository using the web interface at http://www.freebsd.org/cgi/cvsweb.cgi and it appears you have the correct versions of the files. As to why the devfs.rules is (an apparently) earlier version, I don't know. You could try browsing the CVS repository if you really want to know. :-) Cheers, Nick. -- Please do not CC me on replies, I read the list and don't need the dupes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS (freebsd /src) confusion
Were it gets even more confusing is files like freebsd.submit.cf where there are multiple version numbers. The version in my temproot is $FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.12.2 2006/08/23 $Id: proto.m4,v 8.719 2006/03/30 20:50:13 And on my system I have: $FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.16.1 2006/04/13 $Id: proto.m4,v 8.718 2005/08/24 18:07:23 Now each file is newer and older then the other :) Basically I just want to make sure i'm merging in the right direction. I don't want to accidentally break something. N.J. Mann wrote: On Monday, 5 February, 2007 at 12:17:18 -0500, Dan Casey wrote: Using cvsup I am upgrading my boxes from RELENG_6_1, to RELENG_6_2. I've been noticing something strange, and I'm wondering if I'm thinking too much into it. I've modified mergemaster so that instead of using diff, it would just append to a text the files that need to be diffed. This way i can do it with vimdiff instead. I would think that the RELENG_6_2 would have more recent files then 6_1. Here are a few examples. I'm looking at cvsweb, which seems to confirm that that the versions of these files are correct. /etc/defaults/devfs.rules version in 6.1 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.12.1 2006/04/26 18:39:17 version in 6.2 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.8.1 2006/04/26 18:38:43 /etc/defaults/periodic.conf version in 6.1 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.1 2006/03/08 23:01:18 version in 6.2 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.2 2006/09/28 01:59:29 I just checked in the CVS repository using the web interface at http://www.freebsd.org/cgi/cvsweb.cgi and it appears you have the correct versions of the files. As to why the devfs.rules is (an apparently) earlier version, I don't know. You could try browsing the CVS repository if you really want to know. :-) Cheers, Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs
On Fri, Oct 20, 2006 at 06:12:54PM +0200, [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: You're wrong. It's the other way around: We are *forced* to use CVSup, because CVS is centralized, without any other good way to mirror changesets to a distributed network of mirrors, users and developer workspaces. On the other hand, SVN is centralized too :-) What I wanted to say is that FreeBSD will remain for the time being, on cvs - is that correct? Until we're happy with another tool and have reasons that make moving worth the effort, we'll stay with CVS. This is /not/ because of the CVSup infrastructue though, which is essentially good at throwing arbitrary filesets around and doesn't tie us to CVS. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere pgphKomI7I6gM.pgp Description: PGP signature
Re: cvs
On 2006-10-20 13:27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I do not want to start any discussion - it just occurred to me that it seems like cvsup/csup binds FreeBSD to cvs (comparing to svn), or am I wrong? You're wrong. It's the other way around: We are *forced* to use CVSup, because CVS is centralized, without any other good way to mirror changesets to a distributed network of mirrors, users and developer workspaces. On the other hand, SVN is centralized too :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs
Giorgos Keramidas wrote: You're wrong. It's the other way around: We are *forced* to use CVSup, because CVS is centralized, without any other good way to mirror changesets to a distributed network of mirrors, users and developer workspaces. On the other hand, SVN is centralized too :-) What I wanted to say is that FreeBSD will remain for the time being, on cvs - is that correct? May be it was a complicated way to ask. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
On 2006-09-14 19:11, Michael Grant [EMAIL PROTECTED] wrote: I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Someone sets CVSROOT, if you can just type cvs login and get a prompt for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''. Can you run, on both systems, the following? $ env | sort | grep CVS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
env | sort | grep CVS returns nothing. There are no CVS* variables set! Strange. Where is it getting the cvsroot from? Even if I remove the .cvspass file, it still uses the pserver line from before. It's definitely getting cached somewhere. greping the env for pserver shows nothing. Incidently, I also removed root's ~root/.cvspass but it didn't change anything. Still open for ideas. Michael Grant On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2006-09-14 19:11, Michael Grant [EMAIL PROTECTED] wrote: I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Someone sets CVSROOT, if you can just type cvs login and get a prompt for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''. Can you run, on both systems, the following? $ env | sort | grep CVS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
On 2006-09-15 13:56, Michael Grant [EMAIL PROTECTED] wrote: On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2006-09-14 19:11, Michael Grant [EMAIL PROTECTED] wrote: I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Someone sets CVSROOT, if you can just type cvs login and get a prompt for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''. Can you run, on both systems, the following? $ env | sort | grep CVS env | sort | grep CVS returns nothing. There are no CVS* variables set! Strange. Where is it getting the cvsroot from? Even if I remove the .cvspass file, it still uses the pserver line from before. It's definitely getting cached somewhere. greping the env for pserver shows nothing. Do you have a local CVS/ subdirectory when you try cvs login? If yes, what does it contain? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
[#786] ls -l CVS total 6 -rw-r--r-- 1 mgrant 1001 197 Oct 16 2005 Entries -rw-r--r-- 1 mgrant 10018 May 30 2005 Repository -rw-r--r-- 1 mgrant 1001 55 May 30 2005 Root [#787] cat CVS/Root :pserver:xgrant:[EMAIL PROTECTED]/home/ng/tools/cvsroot Ok, so that solve that mystery. However, I still cannot log in on one machine yet I can on the other: Except for the Entries file, Root and Repository are identical in the CVS directory. cvs login Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ng/tools/cvsroot cvs login: authorization failed: server grant.org rejected access to /home/ng/tools/cvsroot for user mgrant Michael Grant On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2006-09-15 13:56, Michael Grant [EMAIL PROTECTED] wrote: On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2006-09-14 19:11, Michael Grant [EMAIL PROTECTED] wrote: I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Someone sets CVSROOT, if you can just type cvs login and get a prompt for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''. Can you run, on both systems, the following? $ env | sort | grep CVS env | sort | grep CVS returns nothing. There are no CVS* variables set! Strange. Where is it getting the cvsroot from? Even if I remove the .cvspass file, it still uses the pserver line from before. It's definitely getting cached somewhere. greping the env for pserver shows nothing. Do you have a local CVS/ subdirectory when you try cvs login? If yes, what does it contain? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
On 2006-09-15 17:58, Michael Grant [EMAIL PROTECTED] wrote: [#786] ls -l CVS total 6 -rw-r--r-- 1 mgrant 1001 197 Oct 16 2005 Entries -rw-r--r-- 1 mgrant 10018 May 30 2005 Repository -rw-r--r-- 1 mgrant 1001 55 May 30 2005 Root [#787] cat CVS/Root :pserver:xgrant:[EMAIL PROTECTED]/home/ng/tools/cvsroot Ok, so that solve that mystery. However, I still cannot log in on one machine yet I can on the other: Except for the Entries file, Root and Repository are identical in the CVS directory. cvs login Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ng/tools/cvsroot cvs login: authorization failed: server grant.org rejected access to /home/ng/tools/cvsroot for user mgrant The CVS server seems to be using some sort of CVS access control, i.e. by a CVSROOT/readers or CVSROOT/writers file or something similar. I am not sure of all the gory details about your particular setup, but the message seems to imply that `mgrant' is blocked by the access controls of the server itself. Do you have a CVSROOT/readers or CVSROOT/writers in /home/ng/tools/cvsroot/CVSROOT/ on the CVS server? If yes, what do they contain? Please take care of masking any sensitive data (like user passwords), if you sent their contents!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote: The CVS server seems to be using some sort of CVS access control, i.e. by a CVSROOT/readers or CVSROOT/writers file or something similar. I didn't set anything like that up. I simply added this line to /etc/inetd.conf: cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/home/ng/tools/cvsroot --allow-root=/home/somewhere/else pserver I am not sure of all the gory details about your particular setup, but the message seems to imply that `mgrant' is blocked by the access controls of the server itself. It sure seems that way. Or it seems that somehow it's proposing the wrong password. Hmm, now, here's something funny, the password in CVSROOT/Root is all lower case and my password is mixed case. I tried editing this file and adding the mixed case, but no, that didn't help. Then, I tried changing my password on the server to match the all lower case password it insists on putting in the Root file and now I can get in, but only if I provide the -d :pserver: on the command line. I tried setting CVSROOT but again, the same auth error. Do you have a CVSROOT/readers or CVSROOT/writers in /home/ng/tools/cvsroot/CVSROOT/ on the CVS server? If yes, what do they contain? Please take care of masking any sensitive data (like user passwords), if you sent their contents!!! No, don't have any of these files on the server. At least I can now update my local copy from the cvs server using the long cmd line with the -d :pserver:... stuff. However, I'm still curious why setting CVSROOT isn't working. By the way, thanks for all your help. Michael Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
On 2006-09-15 20:05, Michael Grant [EMAIL PROTECTED] wrote: On 9/15/06, Giorgos Keramidas [EMAIL PROTECTED] wrote: The CVS server seems to be using some sort of CVS access control, i.e. by a CVSROOT/readers or CVSROOT/writers file or something similar. I didn't set anything like that up. I simply added this line to /etc/inetd.conf: cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/home/ng/tools/cvsroot --allow-root=/home/somewhere/else pserver I am not sure of all the gory details about your particular setup, but the message seems to imply that `mgrant' is blocked by the access controls of the server itself. It sure seems that way. Or it seems that somehow it's proposing the wrong password. Hmm, now, here's something funny, the password in CVSROOT/Root is all lower case and my password is mixed case. Try removing the relevant line from your ``~/.cvspass'', if there is one. I think what's happening is that a cached copy of the password is used from that file, and that copy is out of date. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
In response to Michael Grant [EMAIL PROTECTED]: I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Ideas? Suggestions? Are the UIDs synchronized across machines? Do id on each machine and see if the output is the same. Just a thought. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
Yes, I'm su'ed on both machines: uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator) -Mike On 9/14/06, Bill Moran [EMAIL PROTECTED] wrote: In response to Michael Grant [EMAIL PROTECTED]: I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Ideas? Suggestions? Are the UIDs synchronized across machines? Do id on each machine and see if the output is the same. Just a thought. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS
In response to Martin Schweizer [EMAIL PROTECTED]: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. CVS is included in the base FreeBSD system. The ports you see are various addons. -- Bill Moran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS
Martin Schweizer wrote: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. Hi, cvs is part of the base system. You can just start using it, no need to install everything. See cvs(1) for the details how you can init a repository. -- Cheers, Gabor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS
Martin Schweizer wrote: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. cvs is already in the base system. //Niclas -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS
Hello Bill Thank you for the hint. Am Wed, Aug 30, 2006 at 10:35:28AM -0400 Bill Moran schrieb: In response to Martin Schweizer [EMAIL PROTECTED]: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. CVS is included in the base FreeBSD system. The ports you see are various addons. -- Bill Moran -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgpxVfUeb6ecA.pgp Description: PGP signature
Re: CVS
On 2006-08-30 16:32, Martin Schweizer [EMAIL PROTECTED] wrote: Hello Which ports does I need for a cvs system (client and server)? I searched against cvs in ports but it gets a lot of links. Any hints are welcome. You don't need any ports. CVS is part of the base system, and it can work both as a client and server. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Export truncate files ?
On Wednesday 05 July 2006 19:37, Ian Lord wrote: Hi, we use cvs for in house developpement of a php web site... We use cvs update to sync files, cvs checkout when a new employee need to work on the files, and cvs export when we push the changes to the production web site... For some reason, we found that cvs export truncated a couple of files which caused parsing errors... I don't see any error message While it's doing it, I see the following extract: cvs export: Updating pub/class U pub/class/class.session.cmd cvs export: Updating pub/class/html2pdf cvs export: Updating pub/class/html2pdf/cache cvs export: Updating pub/class/html2pdf/classes Is it normal that the class.session only has a U in front of the line instead of cvs export: Updating Am I doing something wrong or is it some sort of bug/limitation with the cvs export function ? From cvs man: export [-flNnQq] -r rev|-D date [-d dir] [-k kflag] module... Requires: repository. Changes: current directory. I guess what you search for is cvs commit commit [-lnR] [-m 'log_message' | -F file] [-r revision] [files...] Requires: working directory, repository. Changes: repository. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs
On 2006-05-05 10:45, Doug Hardie [EMAIL PROTECTED] wrote: I have been building a cvs structure for a bunch of code and have a couple questions I have not been able to find answers to in the archives/documentation. When you run ident on many FreeBSD modules you see the identifier FreeBSD used frequently. It appears that cvs is properly updating the information in those entries, but I don't see how cvs is configured to make that happen. FreeBSD is not one of the cvs recognized keywords. I would like to use a unique keyword for my stuff. ident finds it fine in the files, but cvs does not update the version information. I suspect that somehow I need to tell cvs about the keyword. See this article for details of the FreeBSD CVS setup: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/ Part of this explains how our `cfg_local.pm' works and you can use a similar trick for any custom $FreeBSD$-like keyword you want. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs
On May 5, 2006, at 11:04, Giorgos Keramidas wrote: On 2006-05-05 10:45, Doug Hardie [EMAIL PROTECTED] wrote: I have been building a cvs structure for a bunch of code and have a couple questions I have not been able to find answers to in the archives/documentation. When you run ident on many FreeBSD modules you see the identifier FreeBSD used frequently. It appears that cvs is properly updating the information in those entries, but I don't see how cvs is configured to make that happen. FreeBSD is not one of the cvs recognized keywords. I would like to use a unique keyword for my stuff. ident finds it fine in the files, but cvs does not update the version information. I suspect that somehow I need to tell cvs about the keyword. See this article for details of the FreeBSD CVS setup: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/ Part of this explains how our `cfg_local.pm' works and you can use a similar trick for any custom $FreeBSD$-like keyword you want. Thanks. I did figure it out. For anyone else who wants the simple way: To have XXX and Id work as a keywords edit the config file in CVSROOT in the repository. Add the following two lines: tag=XXX=CVSHeader tagexpand=iXXX,Id Only the XXX and Id keywords will then expand. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: cvs over SSH using nonstandard port
change it in /etc/services -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Troy Sent: Saturday, April 01, 2006 9:00 AM To: freebsd-questions@freebsd.org Subject: cvs over SSH using nonstandard port Recently I changed the port that SSH was listening on to a non-standard port. I access my cvs repository using SSH but need to point it to the non-standard port. In my .cshrc file I have these settings which work fine when SSH is using port 22. setenv CVSROOT :ext:[EMAIL PROTECTED]:/foo/bar/cvsroot setenv CVS_RSH ssh I tried to add :ext:[EMAIL PROTECTED]:xxx:/foot/far/cvsroot where the xxx was the nonstandard port but it didn't seem to like it. How do I get my cvsclients to use this nonstandard port? -Troy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs over SSH using nonstandard port - SOLVED
Actually I just figured it out after posting. I just had to edit ~/.ssh/config and put a few lines in like: host foo.bar.com user foobar port On Sat, Apr 01, 2006 at 09:06:29AM -0500, fbsd_user wrote: change it in /etc/services -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Troy Sent: Saturday, April 01, 2006 9:00 AM To: freebsd-questions@freebsd.org Subject: cvs over SSH using nonstandard port Recently I changed the port that SSH was listening on to a non-standard port. I access my cvs repository using SSH but need to point it to the non-standard port. In my .cshrc file I have these settings which work fine when SSH is using port 22. setenv CVSROOT :ext:[EMAIL PROTECTED]:/foo/bar/cvsroot setenv CVS_RSH ssh I tried to add :ext:[EMAIL PROTECTED]:xxx:/foot/far/cvsroot where the xxx was the nonstandard port but it didn't seem to like it. How do I get my cvsclients to use this nonstandard port? -Troy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Syslog-NG at Boot (WAS: Re: cvs commit: ports/sysutils/syslog-ng Makefile distinfo pkg-plist)
might expect to talk to it. I assume you put syslogng_enable=YES into /etc/rc.conf? as well as syslogd_enable=NO. (Or, it might work just to change syslogd_program=/path/to/syslogngd and not bother with changing anything else). --Alex Just to clarify, even the latest src/etc/rc.d/syslogd at: http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/syslogd?rev=1.11content-type=text/x-cvsweb-markup Specially hard-codes /usr/sbin/$program as the executable, thus setting: syslogd_program=/usr/local/sbin/syslog-ng syslogd_flags=-p /var/run/syslog.pid syslogd_enable=YES Has no effect at startup. It starts the system syslogd(8). *HOWEVER*, after the boot process is complete, /etc/rc.d/syslogd begins to honor syslogd_program= (start, stop, status). It's very strange. Perhaps a more rc(8) compliant syslog-ng.sh.example should be packaged up? ~lava On Thu, 7 Jul 2005, Roman Bogorodskiy wrote: novel 2005-07-07 18:57:24 UTC FreeBSD ports repository Modified files: sysutils/syslog-ng Makefile distinfo pkg-plist Log: - Update to 1.6.8 that fixes some bugs - Fix potential broke as authors move old versions to old/ directory - Make NOPORTDOCS work PR: 83102 Submitted by: Vsevolod Stakhov [EMAIL PROTECTED] Approved by:Vince Valenti (maintainer) Revision ChangesPath 1.27 +3 -2 ports/sysutils/syslog-ng/Makefile 1.19 +2 -2 ports/sysutils/syslog-ng/distinfo 1.3 +14 -14ports/sysutils/syslog-ng/pkg-plist ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-ports To unsubscribe, send any mail to [EMAIL PROTECTED] l8* -lava x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Import Permissions
On 2006-01-30 15:52, david bryce [EMAIL PROTECTED] wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? That depends on what your `umask' currently is. Do I have to use chmod to grant write access to the group every time I do an import? No. The correct way to fix this is to set CVSUMASK in your shell environment, and then import the files :) Of course, now that the import is done, you can still use a bit of ``repository hackery'' to set the g+w bit for the checked in sources. Or is my CVS not configured correctly? Your cvs is fine. The default umask is 022, which strips off g+w permissions from all newly created files; including the ones CVS creates in the repository. If I don't grant write access to the group on that directory, every check in fails with a could not open lock file `/usr/local/cvs/test_proj/,test.txt,': Permission denied. I tried setting the LockDir in the config file to a world-writable directory, but this doesn't seem to solve the problem when trying to check-in. The RCS files inside `/usr/local/cvs/test_proj' have no group-write permission. You can fix this by something like this: $ cd $CVSROOT $ find . -print0 | xargs -0 chmod g+w This is the sort of ``repository hackery'' I mentioned above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Import Permissions
Giorgos Keramidas wrote: On 2006-01-30 15:52, david bryce [EMAIL PROTECTED] wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? That depends on what your `umask' currently is. Do I have to use chmod to grant write access to the group every time I do an import? No. The correct way to fix this is to set CVSUMASK in your shell environment, and then import the files :) Of course, now that the import is done, you can still use a bit of ``repository hackery'' to set the g+w bit for the checked in sources. Or is my CVS not configured correctly? Your cvs is fine. The default umask is 022, which strips off g+w permissions from all newly created files; including the ones CVS creates in the repository. If I don't grant write access to the group on that directory, every check in fails with a could not open lock file `/usr/local/cvs/test_proj/,test.txt,': Permission denied. I tried setting the LockDir in the config file to a world-writable directory, but this doesn't seem to solve the problem when trying to check-in. The RCS files inside `/usr/local/cvs/test_proj' have no group-write permission. You can fix this by something like this: $ cd $CVSROOT $ find . -print0 | xargs -0 chmod g+w This is the sort of ``repository hackery'' I mentioned above. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi everyone, I'm new to taking into consideration the wider security issues of system administration. I apologize for this long post but maybe the answer can save me and others from future pain. What I'm not sure I understand is why would we not want to grant write access to the cvs group? According to the instructions I've read that is CVS's basic requirement, i.e. having write access to the repository. When I set up a repository without this write access the import failed for me as well. One assumption I am making is that it is better to have one group with write permission than explicit write permission given to many different users. So here is how I set up my repository, starting as root #cd /usr/local #mkdir cvsrep #chgrp cvs cvsrep #chmod g+w cvsrep #cvs -d /usr/local/cvsrep init #ll drwxrwxr_x 2 root cvs 512Jan 30 10:25 cvsrep #ll cvsrep drwxrwxr-x 3 root cvs 1024 Jan 30 10:26 CVSROOT duane$ cvs -d /usr/local/cvsrep import -m blah blah blah testproj duane start duane$ ll /usr/local/cvsrep drwxrwxr-x 3 root cvs 1024 Jan 30 10:26 CVSROOT drwxrwxr-x 5duane cvs 512 Jan 30 10:32 testproj john$cvs -d /usr/local/cvsrep co testproj {typical checkout stuff: alls good} john$ll -rw-rw-r-- 1 john john 62 Jan 30 10:40 proj.c john: /usr/home/john/testproj$ cvs -d /usr/local/cvsrep update {typical update stuff, no conflicts, all's good} john$ ll /usr/local/cvsrep drwxrwxr_x 5 duane cvs 512 Jan 30 10:26 testproj john$ ll /usr/local/cvsrep/testproj ... ... . . . -r--r--r-- 1 duane cvs 482 Jan 30 10:55 proj.c,v Now I don't want to make any assumptions about whether this infrastructure is safe or not. That's why I'm asking the question. Everything seems to work but am I leaving myself open to any known security problems? Sorry for the length of this long post. If I should have posted this differently please let me know. Sincere Thanks --Duane Whitty [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Import Permissions
david bryce wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? Do I have to use chmod to grant write access to the group every time I do an import? Or is my CVS not configured correctly? If I don't grant write access to the group on that directory, every check in fails with a could not open lock file `/usr/local/cvs/test_proj/,test.txt,': Permission denied. I tried setting the LockDir in the config file to a world-writable directory, but this doesn't seem to solve the problem when trying to check-in. Thank you! Regards, DB Hi, I highly recommend the following book. It is available for viewing online or as a downloadble PDF http://cvsbook.red-bean.com/ Best Regards, --Duane Whitty --- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Server with freebsd
Ian Lord wrote: Hi, I'm trying to setup a cvs server for our internal development... I may be blind, but I didn't find any ports for this in the ports tree... Do I need to compile it from the source or is there an easier way (port) I saw a pserver wrapper for cvs ( port = cvsd) in the port but not the actual cvs server You don't need to install a CVS server, or port for that matter. I advise you to go to cvshome.org to read the documentation on how to set up a source code repository with CVS. I also recommend not to use pserver if you can avoid it. You can authenticate all CVS users via local accounts and SSH. With two environmant variables CVS_ROOT=... CVS_RSH=... the users then make their local CVS clients use SSH to authenticate with the CVS server and transmit their commits enrypted. In this way you don't need a CVS daemon running on the server. Kind regards Lars ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Server with freebsd
thanks ! I'll check into this (ssh) Thanks a lot for your help At 12:17 2005-12-03, lars wrote: Ian Lord wrote: Hi, I'm trying to setup a cvs server for our internal development... I may be blind, but I didn't find any ports for this in the ports tree... Do I need to compile it from the source or is there an easier way (port) I saw a pserver wrapper for cvs ( port = cvsd) in the port but not the actual cvs server You don't need to install a CVS server, or port for that matter. I advise you to go to cvshome.org to read the documentation on how to set up a source code repository with CVS. I also recommend not to use pserver if you can avoid it. You can authenticate all CVS users via local accounts and SSH. With two environmant variables CVS_ROOT=... CVS_RSH=... the users then make their local CVS clients use SSH to authenticate with the CVS server and transmit their commits enrypted. In this way you don't need a CVS daemon running on the server. Kind regards Lars ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Server with freebsd
Ian Lord wrote: thanks ! I'll check into this (ssh) Thanks a lot for your help There's also a good book, Essential CVS by Jenn Vesperman that can be a lot of help setting up and, especially, maintaining a CVS repository. Btw, if you don't have company or departemental constraints forcing you to use CVS, go for Subversion instead. AFAIK the KDE source is in Subversion: http://developer.kde.org/source/anonsvn.html And the KDE source is quite big. It has all the functionality of CVS and is far less of a hassle to use. E.g. you can't move files or directories in CVS, you have to copy, cvs add, delete, cvs remove files and then the directories, making this simple operation a real nuisance. In Subversion you can move files and directories. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS files in src
On 8/19/05, Andrey V. Elsukov [EMAIL PROTECTED] wrote: Hi All! Why doTARBALL target in src/release/Makefile create src tarballs without CVS directories? -- WBR, Andrey V. Elsukov Hi Usually an individual would download the tarball to build the stuff and not necessarily to sync up with the tree. If you need a specific release version then just pull off the sources using the specific release tag. -- thanks Dev. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS files in src
Dev FreeBSD wrote: Usually an individual would download the tarball to build the stuff and not necessarily to sync up with the tree. If the CVS-files would be included into src tarballs on FreeBSD ISO, this would be another easy way to update sources.. If you need a specific release version then just pull off the sources using the specific release tag. I have own CVS-repository.. :) -- WBR, Andrey V. Elsukov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS files in src
On 2005-08-19 11:04, Andrey V. Elsukov [EMAIL PROTECTED] wrote: Dev FreeBSD wrote: Usually an individual would download the tarball to build the stuff and not necessarily to sync up with the tree. If the CVS-files would be included into src tarballs on FreeBSD ISO, this would be another easy way to update sources.. It's a bad idea to penalize all the users with files that are only of interest to developers. The CVS subdirectories will increase the size of the source tree by a significant amount for no obvious or good reason, IMHO. If you need a specific release version then just pull off the sources using the specific release tag. I have own CVS-repository.. :) See? You don't need the CVS information in the install CD-ROM then, since you can easily extract it from the repository :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Problems
On 2005-06-25 14:51, Robert Slade [EMAIL PROTECTED] wrote: Hiya, I'm trying to update to 6.0-CURRENT and I am having some problems with this. I have read the handbook etc, but when I run cvsup, it deletes the /usr/src tree rather than updating it. I have src-all uncommented. I am using a uk mirror so that maybe the problem. Show us your supfile, so we can see what differences it has from: /usr/share/examples/cvsup/standard-supfile Basically, can someone give me some guidance as what I should have in the supfile, particularly the tag= and what host I should use. Yes. Use the example supfiles provided in /usr/share/examples/cvsup: # cvs up -g -L 2 -h CVSUPX.FREEBSD.ORG /usr/share/examples/cvsup/standard-supfile ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Problems
On Sat, 2005-06-25 at 15:21, Giorgos Keramidas wrote: On 2005-06-25 14:51, Robert Slade [EMAIL PROTECTED] wrote: Hiya, I'm trying to update to 6.0-CURRENT and I am having some problems with this. I have read the handbook etc, but when I run cvsup, it deletes the /usr/src tree rather than updating it. I have src-all uncommented. I am using a uk mirror so that maybe the problem. Show us your supfile, so we can see what differences it has from: /usr/share/examples/cvsup/standard-supfile Basically, can someone give me some guidance as what I should have in the supfile, particularly the tag= and what host I should use. Yes. Use the example supfiles provided in /usr/share/examples/cvsup: # cvs up -g -L 2 -h CVSUPX.FREEBSD.ORG /usr/share/examples/cvsup/standard-supfile Giorgos, Thanks, It looks like the problem was with using a uk host. Moving to the to the main sites seems to have worked at least it's running now. I'm trying it with tag=. Hopefully this will give me what I need. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs
On 6/20/05, Alex Zbyslaw [EMAIL PROTECTED] wrote: Alistair Sutton wrote: On 20/06/05, Muhammad Kashif Yaqoob [EMAIL PROTECTED] wrote: snip parsing supfile /usr/share/examples/cvsup/ports-supfile connecting to cvsup.uk.freebsd.org cannot connect to cvsup.uk.freebsd.org: connection refused will retry at 23:15:30 I don't think that particular server is functioning anymore. It used to take you to a web page when viewed in a browser but it now directs you straight to a plig.org mirror. I suggest you read the handbook and find a different mirror. I used to use the cvsup.ie.freebsd.org one which was quite reliable. # cvsup -g Supfile-ports Connected to cvsup.uk.FreeBSD.org Updating collection ports-all/cvs Edit ports/archivers/p5-Compress-Zlib/Makefile Edit ports/archivers/p5-Compress-Zlib/distinfo [...] Sometimes I find the server unavailable, but rarely. Muhammad, please try the server again, and also try another one somewhere else. If you still have problems then it may be that there is a firewall of some kind between you the the cvsup server. I use the uk cvsup server and it works fine. The message you recieve means that there is a firewall blocking your connection. Check your firewall and enable outgoing traffic to port 5999. -- Kind regards Abu Khaled ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs
On 20/06/05, Muhammad Kashif Yaqoob [EMAIL PROTECTED] wrote: snip parsing supfile /usr/share/examples/cvsup/ports-supfile connecting to cvsup.uk.freebsd.org cannot connect to cvsup.uk.freebsd.org: connection refused will retry at 23:15:30 I don't think that particular server is functioning anymore. It used to take you to a web page when viewed in a browser but it now directs you straight to a plig.org mirror. I suggest you read the handbook and find a different mirror. I used to use the cvsup.ie.freebsd.org one which was quite reliable. Al -- LJ: http://www.livejournal.com/users/everlone GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs
Alistair Sutton wrote: On 20/06/05, Muhammad Kashif Yaqoob [EMAIL PROTECTED] wrote: snip parsing supfile /usr/share/examples/cvsup/ports-supfile connecting to cvsup.uk.freebsd.org cannot connect to cvsup.uk.freebsd.org: connection refused will retry at 23:15:30 I don't think that particular server is functioning anymore. It used to take you to a web page when viewed in a browser but it now directs you straight to a plig.org mirror. I suggest you read the handbook and find a different mirror. I used to use the cvsup.ie.freebsd.org one which was quite reliable. # cvsup -g Supfile-ports Connected to cvsup.uk.FreeBSD.org Updating collection ports-all/cvs Edit ports/archivers/p5-Compress-Zlib/Makefile Edit ports/archivers/p5-Compress-Zlib/distinfo [...] Sometimes I find the server unavailable, but rarely. Muhammad, please try the server again, and also try another one somewhere else. If you still have problems then it may be that there is a firewall of some kind between you the the cvsup server. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
On 2005-06-09 19:26, Denny White [EMAIL PROTECTED] wrote: On Fri, 10 Jun 2005, Giorgos Keramidas wrote: Is there any particular reason why you are trying to build the web site? More importantly, why do you have to build the web site as root? The files are installed in ${DESTDIR}, which defaults to the ${HOME}/public_html/ directory of the user running the build. % orion:/d/www/share/mk$ grep DESTDIR * % web.site.mk:DESTDIR?= ${HOME}/public_html % web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} % web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} % web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} % web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. % orion:/d/www/share/mk$ Okay, I appreciate that. I'm not a gambler, but I would've given odds it wasn't cvs's fault. :-) Right. Sorry for not replying earlier, but I didn't quite understand what exactly you were trying to do and what the problem was. The /doc and /www areas of the FreeBSD CVS repository are a responsibility of the FreeBSD documentation guys. In the future, it may be a good idea to ask questions about these specific parts of the CVS tree by posting to the [EMAIL PROTECTED] mailing list :-) I knew I wasn't understanding how to do it. I want it here local for me the others here. To have a complete /www mirror you need other stuff too and you may have to tweak a bit the build process to avoid redirecting everyone to the central www.FreeBSD.org every time they hit, for instance, a manpage link. I didn't think about not having to be root to install it. That helps a lot, since there's a lot more room on /home. Also, I read somewhere that I could create a group, ncvs, add a user to it, then I guess I could do like you said. I.E., logon as that user, have a directory below /usr/local/ncvs, do the make install in that directory, as there is even more room on /usr. Adding an 'ncvs' user/group is only required if you like checking out of the repository without the -R flag of cvs(1). Note, however, that it's not something mandatory. Redirecting the installed files somewhere where you have a lot of free disk space is ok and it doesn't require the 'ncvs' user or group. Just set DESTDIR (and possibly other environment variables that affect web.site.mk) to point to the right place: % cd /tmp % cvs -q co -P -l www # Note -l here... % cvs -q up -Pd www/en www/share www/tools % cd www/en % make DESTDIR=/usr/web/freebsd all install Correct me on that last assumption if I'm wrong. If not, no need for reply. I've bugged everyone enough already with this. :) Nah, no problem. This is what the list is for, anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 From [EMAIL PROTECTED] Fri Jun 10 13:54:17 2005 Date: Fri, 10 Jun 2005 08:46:39 +0400 From: Alexey Chuprinin [EMAIL PROTECTED] To: Denny White [EMAIL PROTECTED] Subject: Re[2]: cvs question Hello, Thursday, June 9, 2005, 8:32:35 AM, you wrote: DW Looks like I'm back to where I started when I first DW did the cvsup www-cvsupfile tried to install the DW files. I followed what you said. I did the command DW cvs -d /usr/local/ncvs co www it did create the DW dir www with all the files. When I did a make install, DW from www, it failed really quickly. I didn't get the DW error code, but something it was looking for wasn't DW there, apparently. I figured for right now, I could DW try just the english translation, so I cd to www/en DW did make install. This time , it made it further, DW but still failed. I captured the output this time to DW a file. Here's the tail end of it where it fails: DW install -C -o root -g www -m 664 x86-64.html /root/public_html/data/platforms === platforms/amd64 DW /usr/bin/sed -e 's/!ENTITY date[ \t]*$Free[B]SD. .* \(.* .*\) .* .* $/!ENTITY date Last modified: \1/' motherboards.sgml | /usr/bin/env SGML_CATALOG_FILES= /usr/local/bin/sgmlnorm -d DW -ifreebsd.urls.absolute -c /usr/local/share/sgml/html/catalog -D /usr/www/en/platforms/amd64 motherboards.html || (/bin/rm -f motherboards.html false) DW *** Error code 1 DW Stop in /usr/www/en/platforms/amd64. DW *** Error code 1 DW Stop in /usr/www/en/platforms. DW *** Error code 1 DW Stop in /usr/www/en. DW I haven't had any problems with cvsup on ports or docs, DW but the www problem continues. Maybe at this point I'm DW being anal/hard headed, whatever, but I'd really like DW to find out why it won't install. Thanks for any help. Don't slander youself. I think 'hard-headed' person will never admit that he doesn't know something. You are trying to do something so you are self motivated person. As to the www problem, I'll check it on my box and write you any suggestion if i'll be able to. -- Alexey Chuprinin System administrator Internet Securities, Inc., Russia Internet Securities, Inc. (trading as ISI Emerging Markets) is a Euromoney Institutional Investor company. This communication contains information which is confidential. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note any distribution, copying or use of this communication or the information in it is strictly prohibited. If you have received this communication in error please notify us by e-mail or bytelephone (as above) and then delete the e-mail and all attachments and any copies thereof. On Fri, 10 Jun 2005, Giorgos Keramidas wrote: On 2005-06-09 19:26, Denny White [EMAIL PROTECTED] wrote: On Fri, 10 Jun 2005, Giorgos Keramidas wrote: Is there any particular reason why you are trying to build the web site? More importantly, why do you have to build the web site as root? The files are installed in ${DESTDIR}, which defaults to the ${HOME}/public_html/ directory of the user running the build. % orion:/d/www/share/mk$ grep DESTDIR * % web.site.mk:DESTDIR?= ${HOME}/public_html % web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} % web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} % web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} % web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. % orion:/d/www/share/mk$ Okay, I appreciate that. I'm not a gambler, but I would've given odds it wasn't cvs's fault. :-) Right. Sorry for not replying earlier, but I didn't quite understand what exactly you were trying to do and what the problem was. The /doc and /www areas of the FreeBSD CVS repository are a responsibility of the FreeBSD documentation guys. In the future, it may be a good idea to ask questions about these specific parts of the CVS tree by posting to the [EMAIL PROTECTED] mailing list :-) I knew I wasn't understanding how to do it. I want it here local for me the others here. To have a complete /www mirror you need other stuff too and you may have to tweak a bit the build process to avoid redirecting everyone to the central www.FreeBSD.org every time they hit, for instance, a manpage link. I didn't think about not having to be root to install it. That helps a lot, since there's a lot more room on /home. Also, I read somewhere that I could create a group, ncvs, add a user to it, then I guess I could do like you said. I.E., logon as that user, have a directory below /usr/local/ncvs, do the make install in that directory, as there is even more room on /usr. Adding an 'ncvs' user/group is only
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 From [EMAIL PROTECTED] Wed Jun 8 23:33:11 2005 Date: Wed, 8 Jun 2005 21:31:30 -0500 (CDT) From: Denny White [EMAIL PROTECTED] To: Bob Bomar [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: cvs question On Wed, 8 Jun 2005, Bob Bomar wrote: Denny White wrote: | | | I appreciate the answer. I'm kind of up | against the wall with this thing. Can't | seem to get it. I created /usr/local/ncvs, | setenv CVSROOT /usr/local/ncvs tried to | do what I thought would be simpler a good | trial run on something simpler than the | whole source tree. I did a cvsup on www | got it okay. Then I went into /usr/local/www | did a make install. It started filling up | /root with public_html finally stopped on | an error, saying the CVSROOT environment | setting was invalid. What am I doing wrong? | | | | On Tue, 7 Jun 2005, Bob Bomar wrote: | | Denny White wrote: | | | | | | I know before asking this has been | | covered profusely, and I have read | | a lot in the handbook, man pages, | | fbsd web site mailing list archives. | | But, there are some things I just do | | not understand. My main question is, | | is it okay to change | | /home/ncvs | | to | | /usr/ncvs | | I ask because of the repository size | | compared to what I have on this box | | on /home /usr. | | | | Filesystem SizeUsed Avail Capacity Mounted on | | /dev/amrd0s1e1.9G277M1.5G15%/home | | | | Filesystem SizeUsed Avail Capacity Mounted on | | /dev/amrd0s1g 11G2.3G7.7G23%/usr | | | | So you can see why I want to use /usr/ncvs | | instead of /home/ncvs. I guess I'm a lousy | | googler, but I just couldn't seem to phrase | | my question to find the answer I wanted. | | You can change it to what ever you want. | I have /usr/local/cvs/ and then various repositories | for different projects. | | | | | My 2nd question is, when you cvsup an individual | | release, it says not to include ports-all and | | doc-all, as you will wipe out what you already | | have. But, when you don't specify an individual | | release, just *default release=cvs and src-all, | | if you specify ports-all doc-all, you won't | | wipe out what you already have. Am I understanding | | it correctly? | | Thanks in advance for your patience any help | | explanations I receive. | | | | | | You want to cvsup ports-all with tag=. since | the ports dont change with each relase, just the src. | | I think I may be a little confused. Are you trying to setup a cvsup mirror? If so, then look at net/cvsup-mirror. That will setup a mirror for you, and it will ask where you want to store the data. If you are just wanting to pull the src tree, then you can use anon cvs and something like: % cd /usr/local/ncvs % setenv CVSROOT :pserver:[EMAIL PROTECTED]:/home/ncvs % cvs login % cvs co -rRELENG_5 src ... wait for everything to transfer ... % cvs logout CVSROOT is where the repository resides. I.E. in the example above, the repository is located at anoncvs.FreeBSD.org in /home/ncvs. -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob Thanks so much for the help. I really wasn't considering a mirror. Getting ready to do an install on an old laptop an extra PIII my son left here. Since I've already got NFS working, thought I'd use that for the other boxes to pull from. Really still way too much of a greenhorn for mirrors. Maybe eventually I'll try it. Thanks again for the help. Hi Bob, I have no idea how that happened. I think there was a glitch or operator error in pine's gpg filters. Thanks for replying again. I got to thinking, after reading some of the stuff in the cvs stable mailing list, that there could be just a messup in the make code. I pulled the entire src tree along with docs, ports, www again. This time, it all makes fine. But, regardless of where I put the files as in cd /usr cvs -d /usr/local/ncvs co www and the subdir www is created all the files for www are put there, when I do a make install, it still insists on putting the files in root's dir, I just don't have enough room on that partition. I even did a cd into /usr/www/en did make install. It still insisted on installing all the translations, not just english, of course, all of it into /root. Basically, I just want to keep a fresh copy of the english stuff on this box for me my kids, who are becoming interested in windows alternatives, esp fbsd, since I've gotten involved again with it. If you can maybe point me in the right direction as to a switch, argument, option, etc., that I can use with the make install command, I'd appreciate it. Otherwise, I'll probably have to abandon the idea for now. More important stuff for me to learn, like choosing the right branch/release, upgrading my system, merging /etc, so forth. Thanks again for the help you've given. Denny White -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCqM0vy0Ty5RZE55oRAs/HAJ4ogGFO14udY9k
Re: cvs question
On 2005-06-09 18:13, Denny White [EMAIL PROTECTED] wrote: Hi Bob, I have no idea how that happened. I think there was a glitch or operator error in pine's gpg filters. Thanks for replying again. I got to thinking, after reading some of the stuff in the cvs stable mailing list, that there could be just a messup in the make code. I pulled the entire src tree along with docs, ports, www again. This time, it all makes fine. But, regardless of where I put the files as in cd /usr cvs -d /usr/local/ncvs co www and the subdir www is created all the files for www are put there, when I do a make install, it still insists on putting the files in root's dir, I just don't have enough room on that partition. I even did a cd into /usr/www/en did make install. It still insisted on installing all the translations, not just english, of course, all of it into /root. Is there any particular reason why you are trying to build the web site? More importantly, why do you have to build the web site as root? The files are installed in ${DESTDIR}, which defaults to the ${HOME}/public_html/ directory of the user running the build. % orion:/d/www/share/mk$ grep DESTDIR * % web.site.mk:DESTDIR?= ${HOME}/public_html % web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} % web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} % web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} % web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. % orion:/d/www/share/mk$ This is not a CVS problem ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 10 Jun 2005, Giorgos Keramidas wrote: On 2005-06-09 18:13, Denny White [EMAIL PROTECTED] wrote: Hi Bob, I have no idea how that happened. I think there was a glitch or operator error in pine's gpg filters. Thanks for replying again. I got to thinking, after reading some of the stuff in the cvs stable mailing list, that there could be just a messup in the make code. I pulled the entire src tree along with docs, ports, www again. This time, it all makes fine. But, regardless of where I put the files as in cd /usr cvs -d /usr/local/ncvs co www and the subdir www is created all the files for www are put there, when I do a make install, it still insists on putting the files in root's dir, I just don't have enough room on that partition. I even did a cd into /usr/www/en did make install. It still insisted on installing all the translations, not just english, of course, all of it into /root. Is there any particular reason why you are trying to build the web site? More importantly, why do you have to build the web site as root? The files are installed in ${DESTDIR}, which defaults to the ${HOME}/public_html/ directory of the user running the build. % orion:/d/www/share/mk$ grep DESTDIR * % web.site.mk:DESTDIR?= ${HOME}/public_html % web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} % web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} % web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} % web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. % orion:/d/www/share/mk$ This is not a CVS problem ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Okay, I appreciate that. I'm not a gambler, but I would've given odds it wasn't cvs's fault. :-) I knew I wasn't understanding how to do it. I want it here local for me the others here. I didn't think about not having to be root to install it. That helps a lot, since there's a lot more room on /home. Also, I read somewhere that I could create a group, ncvs, add a user to it, then I guess I could do like you said. I.E., logon as that user, have a directory below /usr/local/ncvs, do the make install in that directory, as there is even more room on /usr. Correct me on that last assumption if I'm wrong. If not, no need for reply. I've bugged everyone enough already with this. :) Thanks again. Denny White -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCqN42y0Ty5RZE55oRAms0AKDSWJaPwLru52EUOyGMGORWzvfHGQCgmjco XKGwB3A9oz/jItBBBzKByeM= =9Pp/ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
-BEGIN PGP MESSAGE- Version: GnuPG v1.4.1 (FreeBSD) hQEOA13Nf9GR12D1EAP9E4M++kCyACmeSHZc8ErLk7FoC1yhHer9B5hW2jy9rAyx fPDWCMaVYka+YgrTqVWfVqY30YFjMFkt4jkmcnfigEOEKxmFxPVcKIIiHsNdQ+6z 7+KCZZ9LxEi/Mst1hhVJZqtQe4csfZMDOst4y/+ENFkdLIaMEXjNfr3kqHd5Zj0D /2UMUk6nm25VZ9+JF3WC8M380r+7adufppiaE8XBFOtEiBbv3Rk9qajDckHau13O pW1yRp72jMSrLfN2ncCxDhyluHrNyAW0K23u8I83tJ80DBACuxM5d9K83e4tDKKF 7qZJUkyhY8cwX+2/mGFusSOC8NxqyXMGkOPQJv1xqBF60uoBmVAnb/mL3TOHIU0J vHWt1hD/1YIVCXd6XKu9F2Ydxxv4+nTovr+dt/aDgkt/Zn7hcfKYAkS1IXfUw8FO gxzubz3dcSF+VocT7Crmr9KerzJpk4OmDmcRC+Lh4ynCd70UOEHuEyA7XKoaYdYx 20CJ1lJsIU9gHt5tWz5LfaEFXSaDtd1lsT9Ih6Wx4WWyXIb2fR2rIL+JmfLVzo8y cvWGV/ELVxTXPfmTouquiRHLNmP7SCBW3eufshsLbNYC/5e3Y7qQE13PSLXWEiFN /AFELWgegOuy+hEwwRxig5q+gy/sGCESOUi0kOfPbrdgpciD0HCrvqHyBShfAfb3 TAMo/Z3j4EiwloloOmcqP8bGcmS30R2dKXkPr0f8+YvCcF5n6SmVy+/ch61M14fB pmR7zhpvZr34DeTRnCZHHf2dHHT6Q67MdjmcqqX7KUb39E7JQyAR16NUwRhITs65 j9rv2sPijkhKHvC8o7lqlwP20rQV5WEeUpTivJBTqBs0p7Rlmq3yFDPSl/PGBMd+ kX9xLBYCUOC86KyJrbKktdsOblLhbbVQfhgFfQQFE2ORWEJgE4qfTGLxvOI7+38N A4eMU60L6bOz7qV4Q9NEYU3YBxabynmh6VPWgztrtFmZ6iIrUHqWuu4A3pkb67OQ uiOn2VKhES/gCZpgc+NeA2MHsq/9qQfqDUOd0xkhcoH0o0nkGkWXTirpwKtS1qdC Sk0eosgzKA3RPxCS3Wh92q7KO7a7p0+X9tEPJYaOhzQANqcEbQ1LKu/omopsWGzE mS/zoOXhOF5zEi30UDvNbuS+3l48rYGkHElJyxZIW54+pqpPTn3Y6GxLLv4eGsjG zcWdN7DzLfwQ3PqUD+6D17EOq5zOztwFSrL3cGevhULXcNMprc0irr3VaI2cJIsO ApP4HR+utxuYyLi2S4eNLOOx2+a4BSyUc/OsTGdmDIoZJe3eIThzha/h/aXgeVmm MHZbEvV9LhMi/GGtqmTHQg1OdQmBDEINsH9ozkg8+tcVV+E49oVdAbUx8d1NZWzh yQhF5SIkLVB2cRIA4vTFTNBYzZ6nRHHxyBNpUuZai6Y6ptSO7+H+nreWFMr+mABV BXzZriScuy3NjBiVQfPvzpdvhcFjnJ9sLMJl0CcqOHv7pkadTvT/U+9FisqUueI5 jFlc+JdlfNknmQ8rrXYO8G1HCN+oMK6h7N3hs7qj8z3IbhNKT1crl59abkZq2y2W Y62MKSvsioWjbRmU1LSPpGdDZxoEKTKx7y4z+d7OZMNUYlADIkw52/ZLfxwgiBl2 tJPFh3T1ktStEkLL+0TINT5hqQMLGN8LovVVj+qZjnxyI4NB1USqGK3XvS2oYZbo jTou6YCFtfQzX+IHsGKxv91c/kBaNz8/+7/qcjIxyF08gqyUTBk5G3+iAsL1hYcx 7G6EweBvhSvq6U+hijj/Cecl8i6pNjhjaY5FSB6TfsWb7anD5y4AYpCuu1nQhNDg 7o6upeDaNmX2OfgdoCtIOOpZ9iRRiAcdf/KGSPTy95FhvKzRKakUjzFrb+CnjXE8 +Gfj0g4hCvnK9LZDr/PFJc9e96w2CdY2iH4nURrzZ4PAmI2ck0fRgGyVmCkAX4r0 IS1VEN5lA+aSHp521fuc//CDUjtAR8pHiZUitqs9NrGpfUZYrUMx5NemkqRMIGuY dL6UDD86mmCywArCaLydCVky8rfmGBhDWlwKRv74VC/f/ZgYmxmwRcpQjiFbAsRr eGXnwIS6NTS9IcSk9z6QXMu0OHln9C5EI4rlrZkvmLoshx5wSUZR04+rJak6mOye VRioGmCQuI0fEXBI70rRa9nKN3VsHyTbf9P3SujRrUrUjvnIxGaYH9UYlHBD/5hJ g+A+CnGybugmOT3k91iWfbaS7yWdri4N5GNmInHVXFP8WUyTJ0fZaDdu6UWnoy6a QBBkXuG4wXRYJI95JYma3ziEGca54ey2K0pZJIEoywzi82QsKU8H5ZZLaACeiciD 2mGVomGmCIBP7OgcViDFZX19yhvOgvp2bg/z+tkg6S/sV5+xwFTAzhh8ff2QCtdX Sdqv4JnITbhvSmX0j+I1APfU4nq0Mpy5cfVXbT2fpE+06xTj2CnwVqYGmo1rYEed v3A0CbaOPjKJhpZ5meQt6OqYZIF1UpG/9Vvk2O9rwGFh6LJ1GhFWJNNMud7UzTJ1 7khO/vF+AHvfnZFq8fFnCKiADsMPh2gYzoFIj3+5TpApCGV0QE8/i/ikiqI2Psx8 HB74yaJYg/pned2ByuEgOJLHN220AC/5FMzAMg/Dm4Z2/esaW2yn0sDUYjmuGCEB TF2GyORxqJyj/5bB68UwRAgkFOCunLbcIxwN2G4rEMu/sXWZAyG+dRbhwFQPlRLX dB9w+woWpJkQwS38f9jtrHdTn4nk25YEYJo= =IYTJ -END PGP MESSAGE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denny White wrote: | | | I appreciate the answer. I'm kind of up | against the wall with this thing. Can't | seem to get it. I created /usr/local/ncvs, | setenv CVSROOT /usr/local/ncvs tried to | do what I thought would be simpler a good | trial run on something simpler than the | whole source tree. I did a cvsup on www | got it okay. Then I went into /usr/local/www | did a make install. It started filling up | /root with public_html finally stopped on | an error, saying the CVSROOT environment | setting was invalid. What am I doing wrong? | | | | On Tue, 7 Jun 2005, Bob Bomar wrote: | | Denny White wrote: | | | | | | I know before asking this has been | | covered profusely, and I have read | | a lot in the handbook, man pages, | | fbsd web site mailing list archives. | | But, there are some things I just do | | not understand. My main question is, | | is it okay to change | | /home/ncvs | | to | | /usr/ncvs | | I ask because of the repository size | | compared to what I have on this box | | on /home /usr. | | | | Filesystem SizeUsed Avail Capacity Mounted on | | /dev/amrd0s1e1.9G277M1.5G15%/home | | | | Filesystem SizeUsed Avail Capacity Mounted on | | /dev/amrd0s1g 11G2.3G7.7G23%/usr | | | | So you can see why I want to use /usr/ncvs | | instead of /home/ncvs. I guess I'm a lousy | | googler, but I just couldn't seem to phrase | | my question to find the answer I wanted. | | You can change it to what ever you want. | I have /usr/local/cvs/ and then various repositories | for different projects. | | | | | My 2nd question is, when you cvsup an individual | | release, it says not to include ports-all and | | doc-all, as you will wipe out what you already | | have. But, when you don't specify an individual | | release, just *default release=cvs and src-all, | | if you specify ports-all doc-all, you won't | | wipe out what you already have. Am I understanding | | it correctly? | | Thanks in advance for your patience any help | | explanations I receive. | | | | | | You want to cvsup ports-all with tag=. since | the ports dont change with each relase, just the src. | | I think I may be a little confused. Are you trying to setup a cvsup mirror? If so, then look at net/cvsup-mirror. That will setup a mirror for you, and it will ask where you want to store the data. If you are just wanting to pull the src tree, then you can use anon cvs and something like: % cd /usr/local/ncvs % setenv CVSROOT :pserver:[EMAIL PROTECTED]:/home/ncvs % cvs login % cvs co -rRELENG_5 src ... wait for everything to transfer ... % cvs logout CVSROOT is where the repository resides. I.E. in the example above, the repository is located at anoncvs.FreeBSD.org in /home/ncvs. - -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCpt+K9Jm/aTrtdKoRAkDNAJ97NeuceQsk3ORWI8La719LuvRknQCeOpGp YdiKr3dhdZ14SaSAKzc93SU= =SS6u -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denny White wrote: | | | I know before asking this has been | covered profusely, and I have read | a lot in the handbook, man pages, | fbsd web site mailing list archives. | But, there are some things I just do | not understand. My main question is, | is it okay to change | /home/ncvs | to | /usr/ncvs | I ask because of the repository size | compared to what I have on this box | on /home /usr. | | Filesystem SizeUsed Avail Capacity Mounted on | /dev/amrd0s1e1.9G277M1.5G15%/home | | Filesystem SizeUsed Avail Capacity Mounted on | /dev/amrd0s1g 11G2.3G7.7G23%/usr | | So you can see why I want to use /usr/ncvs | instead of /home/ncvs. I guess I'm a lousy | googler, but I just couldn't seem to phrase | my question to find the answer I wanted. You can change it to what ever you want. I have /usr/local/cvs/ and then various repositories for different projects. | | My 2nd question is, when you cvsup an individual | release, it says not to include ports-all and | doc-all, as you will wipe out what you already | have. But, when you don't specify an individual | release, just *default release=cvs and src-all, | if you specify ports-all doc-all, you won't | wipe out what you already have. Am I understanding | it correctly? | Thanks in advance for your patience any help | explanations I receive. | | You want to cvsup ports-all with tag=. since the ports dont change with each relase, just the src. - -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCpiKD9Jm/aTrtdKoRAqNxAJ9SXVeyV7F1VZFZRqpSCJkVGyejxgCfeglr bL79FsBUGJq9KfNNLqC+G68= =VAYJ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
I appreciate the answer. I'm kind of up against the wall with this thing. Can't seem to get it. I created /usr/local/ncvs, setenv CVSROOT /usr/local/ncvs tried to do what I thought would be simpler a good trial run on something simpler than the whole source tree. I did a cvsup on www got it okay. Then I went into /usr/local/www did a make install. It started filling up /root with public_html finally stopped on an error, saying the CVSROOT environment setting was invalid. What am I doing wrong? On Tue, 7 Jun 2005, Bob Bomar wrote: Denny White wrote: | | | I know before asking this has been | covered profusely, and I have read | a lot in the handbook, man pages, | fbsd web site mailing list archives. | But, there are some things I just do | not understand. My main question is, | is it okay to change | /home/ncvs | to | /usr/ncvs | I ask because of the repository size | compared to what I have on this box | on /home /usr. | | Filesystem SizeUsed Avail Capacity Mounted on | /dev/amrd0s1e1.9G277M1.5G15%/home | | Filesystem SizeUsed Avail Capacity Mounted on | /dev/amrd0s1g 11G2.3G7.7G23%/usr | | So you can see why I want to use /usr/ncvs | instead of /home/ncvs. I guess I'm a lousy | googler, but I just couldn't seem to phrase | my question to find the answer I wanted. You can change it to what ever you want. I have /usr/local/cvs/ and then various repositories for different projects. | | My 2nd question is, when you cvsup an individual | release, it says not to include ports-all and | doc-all, as you will wipe out what you already | have. But, when you don't specify an individual | release, just *default release=cvs and src-all, | if you specify ports-all doc-all, you won't | wipe out what you already have. Am I understanding | it correctly? | Thanks in advance for your patience any help | explanations I receive. | | You want to cvsup ports-all with tag=. since the ports dont change with each relase, just the src. -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS tag for specific release candidate
On Fri, 6 May 2005, Kris Kennaway wrote: On Fri, May 06, 2005 at 08:55:56PM -0700, Luke Dean wrote: I was using 5.4-RC1 until today. Today I attempted to update to 5.4, but I can't get into single-user mode without a panic. I'm just about certain that this is because of the work in progress in that ata-raid driver right now. I'm using a Promise FastTrack S150 TX2Plus, and it's not happy with the recent changes. I'd be glad to help test the changes, but right now I'm more concerned with getting my system in a stable shape. I want to go back to 5.4-RC1, but I can't seem to get the CVS tag right. Release candidates are not tagged. You can use a specific date with the -D option to roll back to before they were committed. This is also more helpful because you can isolate the specific change that caused you problems. Unfortunately by now it might be too late to get this fixed for 5.4-RELEASE, but at least it can be fixed soon afterwards if there is a problem. It's not a problem with the ata stuff after all. It's definitely something else. I've managed to get 5.4-RELEASE installed, but I absolutely cannot get into single-user mode. I've tried selecting option 4 from the boot menu and just running a shutdown now from multiuser mode. When it gets to the point of asking what shell I want to run, usually the system just freezes. I can hit scroll lock to go back and read the dmesg, but there's no way I'm going to get a shell prompt. I can't type. Alternately, sometimes I'll get a page fault panic as soon as I hit a key - this is what usually happens if I'm trying to get into single-user mode via shutdown. If it doesn't panic, I can press ctrl-alt-delete (this is on i386 by the way) and I'll get a message about how it can't write to /var/db/mixer0-state or write other things to /var... which isn't surprising since I couldn't get to a shell prompt to mount anything in the first place. I don't understand why it's trying to mess with /var at all. I think something about my configuration must be fouled up. I don't think it's 5.4. Sorry for the confusion. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS tag for specific release candidate
On Sat, 2005-05-07 at 00:05 -0700, Luke Dean wrote: I've managed to get 5.4-RELEASE installed, but I absolutely cannot get into single-user mode. I've tried selecting option 4 from the boot menu and just running a shutdown now from multiuser mode. I think something about my configuration must be fouled up. I don't think it's 5.4. Sorry for the confusion. It's a known problem and will be fixed as soon as possible. Check the freebsd-stable list: Subject: HEADS-UP: Problem with RELENG_5{_4} Date: Fri, 06 May 2005 11:37:19 -0400 (17:37 CEST) Andreas -- GnuPG key : 0xD25FCC81 | http://cyb.websimplex.de/pubkey.asc Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B 0372 D25F CC81 signature.asc Description: This is a digitally signed message part
Re: CVS tag for specific release candidate
On Fri, 6 May 2005, Luke Dean wrote: I was using 5.4-RC1 until today. Today I attempted to update to 5.4, but I can't get into single-user mode without a panic. I'm just about certain that this is because of the work in progress in that ata-raid driver right now. I'm using a Promise FastTrack S150 TX2Plus, and it's not happy with the recent changes. I'd be glad to help test the changes, but right now I'm more concerned with getting my system in a stable shape. I want to go back to 5.4-RC1, but I can't seem to get the CVS tag right. Ah, nevermind. I just found out I can combine a tag and a date together, like: *default release=cvs tag=RELENG_5_4 date=2005.03.28.00.00.00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS tag for specific release candidate
On Fri, May 06, 2005 at 08:55:56PM -0700, Luke Dean wrote: I was using 5.4-RC1 until today. Today I attempted to update to 5.4, but I can't get into single-user mode without a panic. I'm just about certain that this is because of the work in progress in that ata-raid driver right now. I'm using a Promise FastTrack S150 TX2Plus, and it's not happy with the recent changes. I'd be glad to help test the changes, but right now I'm more concerned with getting my system in a stable shape. I want to go back to 5.4-RC1, but I can't seem to get the CVS tag right. Release candidates are not tagged. You can use a specific date with the -D option to roll back to before they were committed. This is also more helpful because you can isolate the specific change that caused you problems. Unfortunately by now it might be too late to get this fixed for 5.4-RELEASE, but at least it can be fixed soon afterwards if there is a problem. Kris pgpWn3SSWtX3H.pgp Description: PGP signature
Re: cvs question?
Hi again The option -R does not work :-( i do this #setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs #cvs -R co -rRELENG_5 src and get this cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied and if i do #socksify cvs -R co src WORKS PERFECTLY What can i do? Osmany Giorgos Keramidas wrote: On 2005-03-24 17:00, Osmany Guirola Cruz [EMAIL PROTECTED] wrote: Hi people I am learning in the use of cvs for sync my src and ports i use this command line and works perfectly # cvs -d [EMAIL PROTECTED]:/home/ncvs co src but this line update my source tree with the current version 6.0 True. but i don't want this version then i do this # cvs -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src and get this error cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied Use the -R option of cvs (read-only repository): # CVSROOT='[EMAIL PROTECTED]:/home/ncvs' # export CVSROOT # cvs -R co -rRELENG_5 src ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question?
On 2005-03-25 09:07, Osmany Guirola Cruz [EMAIL PROTECTED] wrote: Hi again The option -R does not work :-( i do this #setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs #cvs -R co -rRELENG_5 src and get this cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied and if i do #socksify cvs -R co src WORKS PERFECTLY What can i do? % Not sure. I tried using a tag too and it fails to work :-( % % $ cvs -d [EMAIL PROTECTED]:/home/ncvs co -l -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -d [EMAIL PROTECTED]:/home/ncvs co -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs co -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs co src/bin/cat % U src/bin/cat/Makefile % U src/bin/cat/cat.1 % U src/bin/cat/cat.c % % $ cd src/bin/cat % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs up -APd -r RELENG_5 % cvs [update aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied I vaguely remember a problem report about val-tags, so I checked the history of the CVS version we have in the tree. Dag-Erling Smorgrav has fixed a bug related to this in revision 1.2 of the file: src/contrib/cvs/src/tag.c. This seems to be a server issue. If the server running at anoncvs.freebsd.org doesn't have the fix of DES, you can try a different server I guess. I'll let DES know about this and see if the fix has been backported to non-CURRENT FreeBSD versions. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question?
Ok i probed this %setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs % cvs -R co -r RELENG_5 src cvs server: warning: cannot open /home/ncvs/CVSROOT/val-tags read/write: Read-only file system cvs server: Updating src etc etc etc ... WORKS perfectly with this server now i have the src-tree from 5-stable :-) and i tested(paranoia :-) ) with RELENG_4 and works :-) ..the problem is with anoncvs.FreeBSD.org server Thanks for your help Osmany Giorgos Keramidas wrote: On 2005-03-25 09:07, Osmany Guirola Cruz [EMAIL PROTECTED] wrote: Hi again The option -R does not work :-( i do this #setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs #cvs -R co -rRELENG_5 src and get this cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied and if i do #socksify cvs -R co src WORKS PERFECTLY What can i do? % Not sure. I tried using a tag too and it fails to work :-( % % $ cvs -d [EMAIL PROTECTED]:/home/ncvs co -l -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -d [EMAIL PROTECTED]:/home/ncvs co -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs co -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs co src/bin/cat % U src/bin/cat/Makefile % U src/bin/cat/cat.1 % U src/bin/cat/cat.c % % $ cd src/bin/cat % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs up -APd -r RELENG_5 % cvs [update aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied I vaguely remember a problem report about val-tags, so I checked the history of the CVS version we have in the tree. Dag-Erling Smorgrav has fixed a bug related to this in revision 1.2 of the file: src/contrib/cvs/src/tag.c. This seems to be a server issue. If the server running at anoncvs.freebsd.org doesn't have the fix of DES, you can try a different server I guess. I'll let DES know about this and see if the fix has been backported to non-CURRENT FreeBSD versions. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs tag for 5.4-BETA1 ?
Hello, tag=RELENG_5 ? This is the correct tag for Beta 1. --Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question?
At 5:00 PM + 3/24/05, Osmany Guirola Cruz wrote: Hi people I am learning in the use of cvs for sync my src and ports i use this command line and works perfectly #cvs -d [EMAIL PROTECTED]:/home/ncvs co src but this line update my source tree with the current version 6.0. But i don't want this version so then i do this #cvs -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src and get this error cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied What can i do? I do not know for sure, but try: #cvs -R -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question?
On 2005-03-24 17:00, Osmany Guirola Cruz [EMAIL PROTECTED] wrote: Hi people I am learning in the use of cvs for sync my src and ports i use this command line and works perfectly # cvs -d [EMAIL PROTECTED]:/home/ncvs co src but this line update my source tree with the current version 6.0 True. but i don't want this version then i do this # cvs -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src and get this error cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied Use the -R option of cvs (read-only repository): # CVSROOT='[EMAIL PROTECTED]:/home/ncvs' # export CVSROOT # cvs -R co -rRELENG_5 src ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Repository
On 2005-03-03 21:36, cizuriet [EMAIL PROTECTED] wrote: Hi Guys, I have tried setting up my own CVS tree with the /src tree in my local machine, but after setting the CVSROOT to any of the suggestions on the web site, when I try to log on with the anoncvs passwd, I get the following response. Any help? Updating the entire /usr/src tree over CVS and the network can be *VERY* slow. If you don't mind the extra disk space, I'd suggest the following: - Use CVSup to mirror the entire src repository to /home/ncvs. - Check out from /home/ncvs a working copy in /usr/src. The entire CVS repository, mirrored locally here, takes about 2.6 GB of disk space: # du -sk /home/ncvs 2671488 /home/ncvs This is, in my opinion, a small price to pay for being able to update back and forth, from one version to any other. But YMMV. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs broke? fresh install can't cvsup and buildworld
On Mon, 21 Feb 2005, bsdnooby wrote: 2 machines installed and updated fine, #3 has errors on cvsup -g -L 2 stable-supfile. the error messages say something about head file, but it seems to finish then when i do make buildworld it blows up with errors i realise this isn't much to go on, but I wanted to post a headsup in case somebody just changed someething and maybe needs to change it back, so it doesnt effect too many people if no one else reports a problem, i will assume it's something i'm doing wrong cvsup12.freebsd.org seems to have a problem. cvsup9 is okay. I don't know if it's only /usr/src/bin or other directories, or if other cvsup servers are having trouble. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Blues
On 2005-01-25 17:04, Chris Knipe [EMAIL PROTECTED] wrote: I'm trying to get a CVS Repositry running via pserver. After allot of googling, I managed to get the server up and authentication working via the internal passwd file. However, as soon as I log in to the repositry (via wincvs), the cvs process on the server core dumps with sig 11 Jan 25 17:00:12 netsphere xinetd[87286]: Started working: 1 available service Jan 25 17:00:21 netsphere /kernel: pid 87296 (cvs), uid 89: exited on signal 11 You should probably try building a debug version of cvs and obtain a crash dump of the server: # cd /usr/src/gnu/usr.bin/cvs # make cleandir # make cleandir # env CFLAGS='-O -ggdb' make obj all install Then, start a CVS server as a non-root user (if it starts as root, it will not dump a core file when it crashes) and try again. Once you have a cvs.core file mail me and I'll help you use gdb to find out why it crashes. Knowing what version of FreeBSD and CVS you have may help a bit too. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs-supfile?
On Tue, Dec 21, 2004 at 11:11:35PM -0600, Adam wrote: My cvs-supifle look like *default host=cvsup1.us.freebsd.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default tag=RELENG_5_3 *default release=cvs delete use-rel-suffix compress I just want core security updates to FreeBSD and no new ports. Will this just update the FreeBSD operating systems? Yes, as long as you don't have ports selected, like if you had ports-all in the same file with that tag, you'd end up deleting your ports tree, because the ports collection doesn't use the same tag. BTW, if you update ports with cvsup, it will just update the Makefiles and patches, not the actual ports installed as packages on your system. You might have known that, but thought it would be worth mentioning. - jt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs-supfile?
On Tue, Dec 21, 2004 at 11:11:35PM -0600, Adam wrote: My cvs-supifle look like *default host=cvsup1.us.freebsd.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default tag=RELENG_5_3 *default release=cvs delete use-rel-suffix compress I just want core security updates to FreeBSD and no new ports. Will this just update the FreeBSD operating systems? Yes, as long as you don't have ports selected, like if you had ports-all in the same file with that tag, you'd end up deleting your ports tree, because the ports collection doesn't use the same tag. BTW, if you update ports with cvsup, it will just update the Makefiles and patches, not the actual ports installed as packages on your system. You might have known that, but thought it would be worth mentioning. - jt I didn't know, how would I change it so it would also update with patches and makefiles? *default host=cvsup1.us.freebsd.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default tag=RELENG_5_3 *default release=cvs delete use-rel-suffix compress Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]