| 1 | $DragonFly: src/UPDATING,v 1.5 2003/09/09 16:49:25 dillon Exp $ |
| 2 | |
| 3 | Updating Information for DragonFly users. |
| 4 | |
| 5 | This file should warn you of any pitfalls which you might need to work around |
| 6 | when trying to update your DragonFly system. |
| 7 | |
| 8 | If you discover any problem, please contact the bugs@lists.dragonflybsd.org |
| 9 | mailing list with the details. |
| 10 | |
| 11 | ------------------------------------------------------------------------------ |
| 12 | |
| 13 | > Compiling DragonFly |
| 14 | --------------------- |
| 15 | |
| 16 | Compiling DragonFly requires an ISO C90 or higher compliant compiler. |
| 17 | Compilers which support this are, amongst others: The GNU C Compiler, The |
| 18 | Intel C++ Compiler, and The TenDRA Compiler. |
| 19 | |
| 20 | > Include files |
| 21 | --------------- |
| 22 | |
| 23 | Due to the source tree reorganization header files have moved to different |
| 24 | locations. The ufs/ufs directory, for example, now can be found at vfs/ufs. |
| 25 | ufs/ffs can be found in vfs/ufs as well. |
| 26 | |
| 27 | Best thing to do would be to rm -rf /usr/include and from /usr/src do a 'make |
| 28 | includes'. This should repopulate your entire tree. |
| 29 | |
| 30 | > Kerberos IV |
| 31 | ------------- |
| 32 | |
| 33 | Kerberos IV (eBones) was removed from the tree, please consider moving to |
| 34 | Kerberos 5 (Heimdal). |
| 35 | |
| 36 | > FreeBSD and DragonFly ports |
| 37 | ----------------------------- |
| 38 | |
| 39 | DragonFly will eventually have its own package management system but at the |
| 40 | moment we leverage off of the FreeBSD ports system. You should maintain |
| 41 | /usr/ports from the FreeBSD cvs repository via cvsup just like you do now. |
| 42 | |
| 43 | DragonFly has its own 'port overrides' hierarchy in /usr/dfports. You can |
| 44 | check this out of the DragonFly cvs repository using: |
| 45 | |
| 46 | cd /usr |
| 47 | cvs -R -d /cvs checkout dfports |
| 48 | |
| 49 | You may wish to use a consolidated distfiles directory, in which case you |
| 50 | should make /usr/dfports/distfiles a softlink to your existing distfiles |
| 51 | directory (typically /usr/ports/distfiles). |
| 52 | |
| 53 | Be sure that you have installed 'relpath' from the DragonFly sources |
| 54 | (/usr/src/usr.bin/relpath) as well as the updated /usr/share/mk files from |
| 55 | /usr/src/share/mk. As a test you can cd into /usr/ports/sysutils/cpdup and |
| 56 | build the port. Dragonfly should contain an override and you should see a |
| 57 | warning message that the DragonFly override is being build instead when you |
| 58 | build it from the FreeBSD ports. |
| 59 | |