Tutorial by Examples

Portsnap portsnap fetch portsnap extract updating ports tree with portsnap portsnap update schedule cron job for daily updates 0 3 * * * root /usr/sbin/portsnap cron SVN head cd /usr/ports svnlite checkout https://svnweb.freebsd.org/ports/head . quaterly FreeBSD Ports team freeze...
keyword search cd /usr/ports make search key=apache name search cd /usr/ports make search name=apache24 Using fresports Official FreeBSD ports website (http://freshports.org/) give you a nice way to find ports and all information concerning it.
If you have found your software in the ports tree, now its the time to build it. Simple build and install with manual configuration cd /usr/ports/www/apache24 make make install Simple build and install with automatic configuration cd /usr/ports/www/apache24 make BATCH=yes make install ...
If you want custom configuration from ports, you can configure it before building it make config. All ports configuration are stored in /var/db/ports/${CATEGORY_NAME}/options as makefile. Configuring www/apache24 cd /usr/ports/www/apache24 make config make make install This configuration wil...
Manual packaging You can make your own package based on ports. cd /usr/ports/www/apache24 make package BATCH=yes This command will store your package in /usr/ports/packages/All. Using poudriere poudriere is currently the official package builder for FreeBSD. Installing poudriere pkg instal...

Page 1 of 1