| | 1 | [[PageOutline]] |
| | 2 | = Setup Poudriere = |
| | 3 | == Installing required packages == |
| | 4 | |
| | 5 | {{{ |
| | 6 | pkg install poudriere dialog4ports |
| | 7 | }}} |
| | 8 | |
| | 9 | == Innitiate jail == |
| | 10 | Creating build envirionment: |
| | 11 | |
| | 12 | {{{ |
| | 13 | poudriere jail -c -j wlpkgbuild10_2 -v 10.2-RELEASE -a i386 |
| | 14 | }}} |
| | 15 | |
| | 16 | |
| | 17 | = Ports tree = |
| | 18 | We do development using the subversion checkout of ports easier our work. We also use ports from our own ports tree. This requires them to be merged. |
| | 19 | |
| | 20 | == The quick and dirty way == |
| | 21 | {{{ |
| | 22 | poudriere ports -c -m svn -p default |
| | 23 | cp -R ~/nanobsd/ports/* /usr/local/poudriere/ports/default |
| | 24 | }}} |
| | 25 | |
| | 26 | == Using portshaker == |
| | 27 | {{{ |
| | 28 | pkg install portshaker |
| | 29 | cp portshaker.conf /usr/local/etc/ |
| | 30 | cp portshaker.d/* /usr/local/etc/portshaker.d/ |
| | 31 | portshaker -U |
| | 32 | portshaker -M |
| | 33 | poudriere ports -c -F -f none -p default -M /usr/local/poudriere/ports/default |
| | 34 | }}} |
| | 35 | |
| | 36 | |
| | 37 | = Configure ports = |
| | 38 | |
| | 39 | Strip X11 and other bulky dependencies. Follow the dialogs: |
| | 40 | |
| | 41 | {{{ |
| | 42 | poudriere options -j wlpkgbuild10_2 -p default -z node -f wlpkgbuild10_2-default-node-pkglist |
| | 43 | }}} |
| | 44 | |
| | 45 | |
| | 46 | = (Re)build package = |
| | 47 | {{{ |
| | 48 | poudriere bulk -j wlpkgbuild10_2 -p default -z node -f wlpkgbuild10_2-default-node-pkglist |
| | 49 | }}} |
| | 50 | |
| | 51 | |
| | 52 | |
| | 53 | |