Re: How to use subversion to keep source, system and doc files up to date?
On Wed, 26 Sep 2012 14:12-0700, Ed Flecko wrote: I see that CVS is being phased out in favor of subversion. I follow the documentation to keep my system up to date by doing: # cd /usr/src # make buildworld # make buildkernel # make installkernel # shutdown -r now and then... # mount -u / # mount -a -t ufs # adjkerntz -i # mergemaster -p # cd /usr/src # make installworld # mergemaster # reboot I've pre-populated my /usr/ports, /usr/src and /usr/src/sys directories when I installed my system. I've installed subversion from package, I want to follow the Stable (same as Patch, right?) branch, and I'm struggling how to best use subversion to update my kernel source, system files, documentation, etc., so I can keep my system up to date. Can someone tell me how to use subversion to keep my /usr/ports, /usr/src and /usr/src/sys directories up to date? This isn't really an answer to your question. I switched from CVSup to Subversion for tracking base/stable/9 and ports/head on one of my computers not long ago. I still use local CVS for tracking my local changes. It works quite well without interfering with each other. Also, CVS is very lightweight, in more than one sense, compared to Subversion. Make sure your /usr/src and /usr/ports directories does not contain files and directories served by Subversion, they will hinder extraction/updating when checking out a Subversion working copy on top of the existing hierarchy. Simply delete all non-local files, rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place. Depending on your needs, you might wanna set up a local Subversion repo mirror. Here's my writeup on the subject: http://ximalas.info/2012/09/09/making-your-own-freebsd-subversion-repository-mirror/ -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ 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: How to use subversion to keep source, system and doc files up to date?
from David J. Weller-Fahy dave-lists-freebsd-questi...@weller-fahy.com: svn update /usr/src/ When you use svn the first time, svn doesn't know where the repository is, and svn repository is not fully in sync with cvs or csup repository. So you might need, in a fresh directory, svn co svn://svn.freebsd.org/base/stable/9 /usr/src This is for 9-stable. To update, svn up /usr/src To find paths for other repositories, http://svnweb.freebsd.org/base Web site reference is http://mebsd.com/configure-freebsd-servers/update-freebsd-source-tree-using-subversion-svn.html Tom ___ 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: How to use subversion to keep source, system and doc files up to date?
On Thu, 27 Sep 2012 02:34:47 -0400, Thomas Mueller wrote: from David J. Weller-Fahy dave-lists-freebsd-questi...@weller-fahy.com: svn update /usr/src/ When you use svn the first time, svn doesn't know where the repository is, and svn repository is not fully in sync with cvs or csup repository. So you might need, in a fresh directory, svn co svn://svn.freebsd.org/base/stable/9 /usr/src This is for 9-stable. To update, svn up /usr/src To find paths for other repositories, http://svnweb.freebsd.org/base Web site reference is http://mebsd.com/configure-freebsd-servers/update-freebsd-source-tree-using-subversion-svn.html Does anyone know if there are already plans to make svn part of the base system and integrate it with make, so that one can use make update (in /usr/src and/or /usr/ports) with control files or options (e. g. in /etc/make.conf) to have influence on the updating behaviour (if to track RELEASE, RELEASE-plevel, STABLE or HEAD / CURRENT)? In the past, the additional package cvsup-without-gui had to be installed (like Subversion today) before csup was created and incorporated to the OS... I'm currently using csup with this approach and would be interested if Subversion can provide the same easy interface to that kind of functionality. -- Polytropon 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: trouble getting .shrc to take
On 09/26/12 23:22, Polytropon wrote: On Wed, 26 Sep 2012 23:08:27 -0600, Gary Aitken wrote: Having set my shell to either sh or bash, I can't seem to get .shrc to take. If I have a .shrc that looks like: PROMPT_DIRTRIM=3; export PROMPT_DIRTRIM PS1=\\w$ ; export PS1 PS1 is not defined when I log in, and the prompt is set to the default instead. If I do ./.shrc nothing seems to change; although executing the above commands from the shell itself works. What am I missing? As far as I see from man sh, the system's shell does not support PROMPT_DIRTRIM, so it's a bash feature. Didn't realize that, thanks. And apparently I lied; using sh does cause .shrc to be used, but not when bash is used. According to man bash, its initialisation file is called ~/.bashrc. For example, if I put export PS1=\u@\h:\w\$ into ~/.bashrc and execute bash, I get a standard prompt. So it should only be a matter of the correct file name. Note that bash has several files it can process at startup time, such as .bash_login, .profile and .bashrc. Their order is described in the manual, e. g. When bash is invoked as an interactive login shell, or as a non-inter- active shell with the --login option, it first reads and executes com- mands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. When an interactive shell that is not a login shell is started, bash reads and executes commands from ~/.bashrc, if that file exists. This may be inhibited by using the --norc option. The --rcfile file option will force bash to read and execute commands from file instead of ~/.bashrc. You can find more information in the INVOCATION section of the manual at man bash. There are files for per-user configuration as well as system-wide files. I thought .shrc was used by bash as well, but looking further I see it only uses .shrc, via ENV, that when it is invoked as sh; which it's not when it's the startup shell and /bin/sh isn't a link to it. Thanks. ___ 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: How to use subversion to keep source, system and doc files up to date?
On 27/09/2012 07:41, Polytropon wrote: Does anyone know if there are already plans to make svn part of the base system and integrate it with make, so that one can use make update (in /usr/src and/or /usr/ports) with control files or options (e. g. in /etc/make.conf) to have influence on the updating behaviour (if to track RELEASE, RELEASE-plevel, STABLE or HEAD / CURRENT)? In the past, the additional package cvsup-without-gui had to be installed (like Subversion today) before csup was created and incorporated to the OS... I'm currently using csup with this approach and would be interested if Subversion can provide the same easy interface to that kind of functionality. You can already use subversion with 'make update' -- unless you override it with settings in /etc/make.conf, the ports or src Makefiles will detect the presence of a .svn directory and from that automatically deduce it should use svn to update the respective trees. Whether svn will ever be incorporated in the base system is a different question. As far as I know, there aren't any plans to bring it in at the moment (BICBW). Maintaining vendor imports of software from actively developed projects like SVN in two or more release branches and head is quite a burden and the tendency recently is to prefer to use the ports instead. (Especially considering that SVN has a reasonably large dependency tree.) There has been talk of svnsup analogous to csup and I believe some work has been done, but no idea what state that project is in, nor if that would be added to base once it achieves sufficient maturity. Cheers, Matthew ___ 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: How to use subversion to keep source, system and doc files up to date?
On Thu, Sep 27, 2012 at 12:44 AM, Ed Flecko edfle...@gmail.com wrote: Thank you. I am using a custom kernel, but you're right - I should have said so. :-) Do you have any feedback using subversion? I know I can still use csup; I'm basically trying to figure out how to subversion to achieve the same result. Ed Hi Ed and Polytropon, Using freebsd-update tool does not mean you cannot use a custom kernel on this machine. These lines taken from the Handbook confirm this : [...] The default is to update the source code, the entire base system, and the kernel. [...] The freebsd-update utility can automatically update the GENERIC kernel only. If a custom kernel is in use, it will have to be rebuilt and reinstalled after freebsd-update finishes installing the rest of the updates. However,freebsd-update will detect and update the GENERIC kernel in /boot/GENERIC (if it exists), even if it is not the current (running) kernel of the system. [...] Sources : http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html freebsd-update tool works only with -RELEASE, you are right. Best Regards, Alexandre ___ 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: How to use subversion to keep source, system and doc files up to date?
If only subversion had some scripts similar to the *-supfile s with cvsup, including some first time scripts. -- 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
Re: FreeBSD 8.x sysisntall dists
On Wed, Sep 26, 2012 at 4:19 PM, Devin Teske devin.te...@fisglobal.com wrote: All patched. http://svn.freebsd.org/changeset/base/240972 Can you test? I'll close the PR upon success. Success! Thanks! -- Take care Rick Miller ___ 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
BSD on IOS hardware
Is it possible to load FreeBSD on an Apple Mobile device designed to run IOS? There are a lot of old iPads out there. If we could repurpose them to straight Unix pads that might be cool. From there shells and then maybe an open source alternative to IOS or Android. Maybe a way for people to get free of the info pirates.___ 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
Subversion output: Node remains in conflict ???
When I ran the following command using subversion, here's what I get: fbsd# svn up /usr/src Updating '.': Skipped 'lib' -- Node remains in conflict Skipped 'sys' -- Node remains in conflict At revision 240997. Summary of conflicts: Skipped paths: 2 fbsd# svn up /usr/ports Skipped '/usr/ports' Summary of conflicts: Skipped paths: 1 fbsd# cd /usr/ports fbsd# make fetchindex /usr/ports/INDEX-9.bz2100% of 1623 kB 4569 kBps fbsd# pkg_version -l '' subversion fbsd# Can someone tell me what Node remains in conflict means and how to I correct this...or do I need to worry about it at all??? Thank you! Ed ___ 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: LSI 9750-4i (tws based cards)
On 9/12/2012 3:30 PM, Mike Tancsa wrote: Does anyone have any experience with these cards ? We are looking for a controller that has a little more gas than the twa based cards which have been very reliable and stable for us on FreeBSD. I dont have any experience with 3ware/LSI's cards that use the tws driver. Has anyone used them yet ? For the archives... I ordered a 3ware 9750 4i card to test with and its quite fast! There is a small bug in the driver fixed now in HEAD as well as some cosmetic changes. But other than that it seems pretty solid. The same management interface as the twa and twe based cards. I ran a test box using a kernel with INVARIANTS and WITNESS with the card and 4 10k disks in raid 10. The card seems pretty zippy for the price. RW performance does seem to take advantage of the faster disk speeds 0{3w9750}# dd if=/dev/zero of=/mnt/test bs=1024k count=9000 9000+0 records in 9000+0 records out 9437184000 bytes transferred in 39.859600 secs (236760629 bytes/sec) 0{3w9750}# 0{3w9750}# umount /mnt 0{3w9750}# mount /dev/da0 /mnt 0{3w9750}# dd if=/mnt/test of=/dev/null bs=1024k 9000+0 records in 9000+0 records out 9437184000 bytes transferred in 27.887930 secs (338396720 bytes/sec) 0{3w9750}# For stress testing, I ran the disk.cfg component of http://people.freebsd.org/~pho/stress/index.html as well as random copies of dbench and bonnie as well as periodically accessing the disk while the stress scripts ran for 72hrs. The OS was netbooted, RELENG9 AMD64 0{3w9750}# tw_cli /c0 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy -- u0RAID-10 OK - - 256K931.303 RiW ON VPort Status Unit Size Type Phy Encl-SlotModel -- p0OK u0 465.76 GB SATA 0 -WDC WD5002AALX-00J3 p1OK u0 465.76 GB SATA 1 -WDC WD5002AALX-00J3 p2OK u0 465.76 GB SATA 2 -WDC WD5002AALX-00J3 p3OK u0 465.76 GB SATA 3 -WDC WD5002AALX-00J3 0{3w9750}# For some reason the card defaults legacy interrupts. Adding hw.tws.enable_msi=1 to /boot/loader.conf fixes that LSI 3ware device driver for SAS/SATA storage controllers, version: 10.80.00.003 tws0: LSI 3ware SAS/SATA Storage Controller port 0x4000-0x40ff mem 0xc246-0xc2463fff,0xc240-0xc243 irq 17 at device 0.0 on pci2 tws0: Using MSI tws0: Controller details: Model 9750-4i, 8 Phys, Firmware FH9X 5.12.00.007, BIOS BE9X 5.11.00.006 (probe65:tws0:0:65:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe65:tws0:0:65:0): CAM status: Invalid Target ID (probe65:tws0:0:65:0): Error 22, Unretryable error da0 at tws0 bus 0 scbus0 target 0 lun 0 da0: LSI 9750-4iDISK 5.12 Fixed Direct Access SCSI-5 device da0: 6000.000MB/s transfers da0: 953654MB (1953083392 512 byte sectors: 255H 63S/T 121573C) tws0@pci0:2:0:0:class=0x010400 card=0x000113c1 chip=0x101013c1 rev=0x05 hdr=0x00 vendor = '3ware Inc' device = '9750 SAS2/SATA-II RAID PCIe' class = mass storage subclass = RAID bar [10] = type I/O Port, range 32, base 0x4000, size 256, enabled bar [14] = type Memory, range 64, base 0xc246, size 16384, enabled bar [1c] = type Memory, range 64, base 0xc240, size 262144, enabled cap 01[50] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link x4(x8) cap 03[d0] = VPD cap 05[a8] = MSI supports 1 message, 64 bit enabled with 1 message ecap 0001[100] = AER 1 1 fatal 0 non-fatal 0 corrected ecap 0004[138] = unknown 1 In summary, we like the card on FreeBSD. We make heavy use of the older 3ware cards in our company on various platforms, so our staff are comfortable using the management tools to swap out dead drives. We will probably start to use these cards for customer builds in the future where they need faster IO. ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ 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: How to use subversion to keep source, system and doc files up to date?
Thank you all! I'm a little confused by Trond's reply, Make sure your /usr/src and /usr/ports directories does not contain files and directories served by Subversion, they will hinder extraction/updating when checking out a Subversion working copy on top of the existing hierarchy. Simply delete all non-local files, rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place. 1.) What is meant by deleting all non-local files? What files is he referring to? 2.) If I rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place, won't that be replacing new files with the older files? 3.) These steps are just meant for the initial check out, aren't they??? Once I've checked out (i.e., downloaded, right?) the current files, I'll only need to: svn update /usr/ports..., etc. from that point forward and not delete all non-local files, rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place...Is that right? Thank you again, Ed ___ 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: FreeBSD 8.x sysisntall dists
On Sep 27, 2012, at 5:52 AM, Rick Miller wrote: On Wed, Sep 26, 2012 at 4:19 PM, Devin Teske devin.te...@fisglobal.com wrote: All patched. http://svn.freebsd.org/changeset/base/240972 Can you test? I'll close the PR upon success. Success! Thanks! Excellent! Thank you for bringing this to my attention. -- Devin P.S. Closed PR (no releases to MFS) _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ 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: How to use subversion to keep source, system and doc files up to date?
On Thu, 27 Sep 2012 08:18-0700, Ed Flecko wrote: Thank you all! I'm a little confused by Trond's reply, Make sure your /usr/src and /usr/ports directories does not contain files and directories served by Subversion, they will hinder extraction/updating when checking out a Subversion working copy on top of the existing hierarchy. Simply delete all non-local files, rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place. 1.) What is meant by deleting all non-local files? What files is he referring to? First, I may have misread your question. Others have provided far better answers to your exact question. I use my local CVS repo to track changes I make to files I create or edit myself, like /etc/rc.conf, /usr/src/sys/amd64/conf/SOMECUSTOMKERNEL, etc. When I switched from CVSup to Subversion, I let the directory /usr/src/sys exist, but only with my own files stored within this hierarchy, e.g. my custom kernel configuration file, /usr/src/sys/amd64/conf/ENTERPRISE. The very existence of the directory /usr/src/sys prohibited Subversion from populating the directory /usr/src/sys with the desired contents. Thus, I had to delete all files and directories made during the intial svn co operation, including the special .svn directory, rename sys to sys0 as described in my previous email, redo the svn co operation, and finally move my own (custom) files back into place. Afterwards, it's simply a matter of running svn update to update source files from the chosen svn repo, and in my case, check in any local changes made to the local CVS repo I use for my configuration management. Maybe me adding CVS to the mix caused or still cause confusion. 2.) If I rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place, won't that be replacing new files with the older files? I was indirectly referring to local edited files, such as custom kernel configuration files. My bad for not making this clearer. 3.) These steps are just meant for the initial check out, aren't they??? Once I've checked out (i.e., downloaded, right?) the current files, I'll only need to: svn update /usr/ports..., etc. from that point forward and not delete all non-local files, rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place...Is that right? True. I had to do the rename and move files dance only once. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ 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 on IBM Power 560
Hi, does anyone knows if FreeBSD can be installed on this machine: http://www-03.ibm.com/systems/power/hardware/560/ It's an PPC (Power6) based machine. Currently it uses OpenSuse 10, but as it is a discontinued version, I would like to know if I can replace it with a newer version of FreeBSD. Leonardo M. Ramé http://leonardorame.blogspot.com ___ 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 on IBM Power 560
Hi, does anyone knows if FreeBSD can be installed on this machine: http://www-03.ibm.com/systems/power/hardware/560/ It's an PPC (Power6) based machine. Currently it uses OpenSuse 10, but as it is a discontinued version, I would like to know if I can replace it with a newer version of FreeBSD. Leonardo M. Ramé http://leonardorame.blogspot.com ___ 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
contributing to the ports collection
Hi everyone, After several years of using FreeBSD, I have decided it is time to start contributing my time to the project. I have read through the relevant page on freebsd.org and intend to look into contributing in a couple of the ways listed there. However, my main interest is contributing a port to the ports collection. Specifically, I want to add WordShell (http://wordshell.net/) to the FreeBSD ports collection. I want to install it for myself, and I generally don't like using software outside of some sort of software manager wherein I can keep everything neatly up-to-date. How would I get started in adding something to the ports collection? Thanks, Stu ___ 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: Subversion output: Node remains in conflict ???
On Thu, 27 Sep 2012, Ed Flecko wrote: When I ran the following command using subversion, here's what I get: fbsd# svn up /usr/src Updating '.': Skipped 'lib' -- Node remains in conflict Skipped 'sys' -- Node remains in conflict At revision 240997. Summary of conflicts: Skipped paths: 2 fbsd# svn up /usr/ports Skipped '/usr/ports' Summary of conflicts: Skipped paths: 1 fbsd# cd /usr/ports fbsd# make fetchindex /usr/ports/INDEX-9.bz2100% of 1623 kB 4569 kBps fbsd# pkg_version -l '' subversion fbsd# Can someone tell me what Node remains in conflict means and how to I correct this...or do I need to worry about it at all??? Usually it means you are trying to run svn on a directory that was not created by an svn checkout. These directories are called working copies. So, after having backed up /usr/src and /usr/ports (if you have local changes), remove them and check out from the repository: svn checkout svn://svn0.us-west.freebsd.org/base/stable/9 /usr/src svn checkout svn://svn0.us-west.freebsd.org/ports/head /usr/ports Edit the URL for the first to match whatever version of FreeBSD is desired. After that checkout, merge any local changes back to those directories. After that, update them when desired: svn up /usr/src svn up /usr/ports ___ 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: How to use subversion to keep source, system and doc files up to date?
On Thu, 27 Sep 2012, Ed Flecko wrote: Thank you all! I'm a little confused by Trond's reply, Make sure your /usr/src and /usr/ports directories does not contain files and directories served by Subversion, they will hinder extraction/updating when checking out a Subversion working copy on top of the existing hierarchy. Simply delete all non-local files, rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place. 1.) What is meant by deleting all non-local files? What files is he referring to? If you have made any local changes to files in /usr/src or /usr/ports, those changes will conflict with the versions svn will bring in. 2.) If I rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place, won't that be replacing new files with the older files? Yes, although svn will only care if those files differ from the files in the repository. Most people won't have any local changes anyway. 3.) These steps are just meant for the initial check out, aren't they??? Once I've checked out (i.e., downloaded, right?) the current files, I'll only need to: svn update /usr/ports..., etc. from that point forward and not delete all non-local files, rename /usr/src/sys to, say /usr/src/sys0, do the Subversion check out, and move your local files back into place...Is that right? Yes. If a new version of a file conflicts with your local changes, svn will complain and try to help resolve those conflicts. ___ 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: contributing to the ports collection
On Thu, Sep 27, 2012 at 9:59 PM, Stuart Matthews stu...@islogistics.com wrote: Hi everyone, After several years of using FreeBSD, I have decided it is time to start contributing my time to the project. I have read through the relevant page on freebsd.org and intend to look into contributing in a couple of the ways listed there. However, my main interest is contributing a port to the ports collection. Specifically, I want to add WordShell (http://wordshell.net/) to the FreeBSD ports collection. I want to install it for myself, and I generally don't like using software outside of some sort of software manager wherein I can keep everything neatly up-to-date. How would I get started in adding something to the ports collection? The porter's manual[1] is the place to start learning ;) [1] http://www.freebsd.org/doc/en/books/porters-handbook/book.html Cheers. Thanks, Stu ___ 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
svn checkout head or stable
My goal is to simply have a production server that's fully patched, but I will be running custom kernels (which is why I'm not using freebsd-update). I've seen a lot of subversion references to checking out the head branch and the stable branch. I understand the head branch is the most current, so that's the same as the current branch, right? If I understand correctly, most people will not follow the current branch for production servers. My goal is to have all of the files I need to rebuild my kernel and my system after security updates have been released, therefore I should do something like: svn co svn://svn.freebsd.org/base/stable/9 /usr/src svn co svn://svn.freebsd.org/ports/stable/9 /usr/ports svn co svn://svn.freebsd.org/doc/stable/9 /usr/doc This will give me everything I need to recompile and have a fully patched system, right? I do not make changes to the src, ports, or doc directories. From that point forward, as new security patches are released, I can simply: svn up /usr/src svn up /usr/ports svn up /usr/doc and once again rebuild my kernel and system. Does this sound correct? Ed ___ 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: svn checkout head or stable
On Thu, 27 Sep 2012 15:03-0700, Ed Flecko wrote: My goal is to simply have a production server that's fully patched, but I will be running custom kernels (which is why I'm not using freebsd-update). I've seen a lot of subversion references to checking out the head branch and the stable branch. I understand the head branch is the most current, so that's the same as the current branch, right? If I understand correctly, most people will not follow the current branch for production servers. My goal is to have all of the files I need to rebuild my kernel and my system after security updates have been released, therefore I should do something like: svn co svn://svn.freebsd.org/base/stable/9 /usr/src svn co svn://svn.freebsd.org/ports/stable/9 /usr/ports The ports tree resides in ports/head no matter what branch from the main source tree you check out, i.e.: svn co svn://svn.freebsd.org/ports/head /usr/ports svn co svn://svn.freebsd.org/doc/stable/9 /usr/doc This will give me everything I need to recompile and have a fully patched system, right? I do not make changes to the src, ports, or doc directories. From that point forward, as new security patches are released, I can simply: svn up /usr/src svn up /usr/ports svn up /usr/doc and once again rebuild my kernel and system. Does this sound correct? Yes. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++ ___ 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: svn checkout head or stable
Cool...thank you Trond. Is that true of the docs branch as well, in other words... svn co svn://svn.freebsd.org/doc/head /usr/doc works just fine? Ed ___ 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: svn checkout head or stable
On Thu, 27 Sep 2012 15:39-0700, Ed Flecko wrote: Cool...thank you Trond. NP. Is that true of the docs branch as well, in other words... svn co svn://svn.freebsd.org/doc/head /usr/doc works just fine? Browsing through http://svnweb.freebsd.org/doc/, indicates http://svnweb.freebsd.org/doc/head/ being the current branch of the documentation, with release branches located at http://svnweb.freebsd.org/doc/release/ and below. E.g. http://svnweb.freebsd.org/doc/release/9.1.0/, or svn://svn.freebsd.org/doc/release/9.1.0, for the upcoming 9.1-RELEASE. I've never CVSup'ed nor done any svn co/up ops on doc/head, but you seem to have got it right. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ 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
PC-BSD 9.0 in VirtualBox
I have been running PC-BSD 9.0 with the KDE interface in a VirtualBox VM, and notice that it uses CPU resources when idle, driving up my CPU temperature about 15 degrees on an otherwise idle machine. (It is an Intel i5 quad four). Is this to be expected? ___ 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