* move -noduds one line up * reflect optionsfile generated by make config (not pkg2ng) * hint where a hook script scould be located or using a softlink (shared tinderbox database) (sample usecase: http://www.marcuscom.com/pipermail/tinderbox-list/2010-January/001799.html ) * I think MACHINE_ARCH can be removed since it is set in scripts/lib/portbuild (around line 287) * update sample by removing CSUP and using SVN (hope the command is right) --- README 2013-01-14 21:42:01.145104505 +0100 +++ README 2013-01-14 21:54:22.514581762 +0100 @@ -438,8 +440,8 @@ doing parallel runs with the same PortsTree) -skipmake skips the Makefile generation stage (NOTE: only use this option if a good Makefile already exists) - skips the duds file generation stage (NOTE: - -noduds packages which are forbidden or ignored will be + -noduds skips the duds file generation stage (NOTE: + packages which are forbidden or ignored will be built) -noclean does not clean up the Build hierarchy after the port build completes @@ -783,11 +785,11 @@ The contents of the wireshark/options file would be: _OPTIONS_READ=wireshark-0.99.4 + _FILE_COMPLETE_OPTIONS_LIST= RTP SNMP ADNS PCRE OPTIONS_FILE_SET+=RTP OPTIONS_FILE_SET+=SNMP OPTIONS_FILE_SET+=ADNS OPTIONS_FILE_UNSET+=PCRE - _FILE_COMPLETE_OPTIONS_LIST= RTP SNMP ADNS PCRE Once this structure is setup, then enable OPTIONS support in Tinderbox, and specify the path to the OPTIONS directory @@ -845,6 +847,11 @@ # ./tc updateHookCmd -h postJailExtract -c 'echo MAKE_JOBS_NUMBER=2 >> ${DESTDIR}/etc/make.conf' + HINT: + The hook script should be located in the scripts directory else the + full path to the script is required. A softlink to the hook script + will also do the job since the hook is executed with the realpath. + -------------------------------------------------------------- 8.9 Creating Users @@ -1000,14 +1007,14 @@ for example ${pb}/scripts/etc/env/jail.9-i386: ARCH=i386 - MACHINE_ARCH=i386 UNAME_m=i386 UNAME_p=i386 2. Create a Jail (Chapter 3) using the name in step 1: - # cd ${pb}/scripts && ./tc createJail -j 9-i386 -u CSUP \ - -t RELENG_9 -d "FreeBSD-9-STABLE i386" -a i386 + # cd ${pb}/scripts && ./tc createJail -j 9-i386 -u SVN \ + -D stable/9 -d "FreeBSD-9-STABLE i386" -a i386 \ + -H svn.FreeBSD.org -P http The Jail can then be used as though it were any other to create Builds.