No Differences
Additions:
~If you need to update your repository URLs after they have moved, you can run
cd /home/pfsense/tools/ && git remote set-url origin git://github.com/pfsense/pfsense-tools.git && git fetch && git rebase origin && cd /home/pfsense/tools/builder_scripts && ./fixup_git_repo_urls.sh && ./update_git_repos.sh
If that fails, you may need to run:
cd /home/pfsense/tools/
git reset --hard origin
cd /home/pfsense/tools/builder_scripts/ && ./update_git_repos.sh && ./fixup_git_repo_urls.sh && ./update_git_repos.sh
cd /home/pfsense/tools/ && git remote set-url origin git://github.com/pfsense/pfsense-tools.git && git fetch && git rebase origin && cd /home/pfsense/tools/builder_scripts && ./fixup_git_repo_urls.sh && ./update_git_repos.sh
If that fails, you may need to run:
cd /home/pfsense/tools/
git reset --hard origin
cd /home/pfsense/tools/builder_scripts/ && ./update_git_repos.sh && ./fixup_git_repo_urls.sh && ./update_git_repos.sh
Additions:
=== These instructions are unsupported. Developers use the dev mailing list. ===
cd /home/pfsense && git clone git://github.com/pfsense/pfsense-tools.git tools
cd /home/pfsense && git clone https://github.com/pfsense/freesbie2.git freesbie2
cd /home/pfsense && git clone git://github.com/pfsense/pfsense-tools.git tools
cd /home/pfsense && git clone https://github.com/pfsense/freesbie2.git freesbie2
Deletions:
cd /home/pfsense && git clone git://github.com/bsdperimeter/pfsense-tools.git tools
cd /home/pfsense && git clone https://github.com/sullrich/pfSense-freesbie2.git freesbie2
Additions:
echo "OPTIONS_UNSET=X11" >> /etc/make.conf
Additions:
==9. Updating pfPorts==
~ Occasionally when updating the tools repo you might find that there have been updates to ports included therein:
# find files in pfPorts modified in the last day
find /home/pfsense/tools/pfPorts/ -mtime 1
# List of files will be output, from there, find a port to update (if relevant), and then run:
./build_pfPorts.sh <portname>
~For example, to update lighttpd, run:
./build_pfPorts.sh lighttpd
~Should the ports become very far out of date, to the point where some fail to (re)build, run:
portsnap fetch extract
pkg_delete \*
~And then do step 2 again to rebuild git and such, then
rm /tmp/pfSense_do_not_build_pfPorts
./build_pfPorts.sh
~...
~ Occasionally when updating the tools repo you might find that there have been updates to ports included therein:
# find files in pfPorts modified in the last day
find /home/pfsense/tools/pfPorts/ -mtime 1
# List of files will be output, from there, find a port to update (if relevant), and then run:
./build_pfPorts.sh <portname>
~For example, to update lighttpd, run:
./build_pfPorts.sh lighttpd
~Should the ports become very far out of date, to the point where some fail to (re)build, run:
portsnap fetch extract
pkg_delete \*
~And then do step 2 again to rebuild git and such, then
rm /tmp/pfSense_do_not_build_pfPorts
./build_pfPorts.sh
~...
Additions:
./get_bsdinstaller.sh ; ./rebuild_bsdinstaller.sh
Deletions:
Additions:
0. Install FreeBSD 8.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) for pfSense 2.0.x images ... or FreeBSD 8.3 if you want to build pfSense 2.1.
Deletions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX, ESXi or VirtualBOX and it will setup the necessary builder items that are done below in the "pfSense developer building bootstrapping - building a custom pfSense image" stage.
VMWare ESX users simply do a File -> Deploy (from vClient) and feed the url.
VirtualBox users download the file and double click to import.
The fully automated OVA - OpenVirtualArchive file is here (NOTE! Do not rename the file. It will break!): %%http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder/pfSense.ova%%
Not running VirtualBox ESXi or ESX? Proceed below for help on how to create a ISO!
0. Install FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) for pfSense 1.2.3 images ... or FreeBSD 8.1 if you want to build pfSense 2.0.
0a. (OPTIONAL and most likely broken on recent freebsd upgrades) Create a Jail or chroot environment to build pfSense in. Building pfSense can intrude in a lot of areas of your FreeBSD box and some folks prefer to keep the builder process seperate (pfSense developers included).
~ 2a. Install the jail using this guide: http://www.freebsd.org/doc/en/books/handbook/jails.html
~ 2b. Read and apply these settings: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ 2c. Apply this patch to the host: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
~ 2d. Build and install a new kernel containing the above jail fixes (refer to FreeBSD handbook if you need help with this)
Please note that only GeekGod has write privileges to this page. Please coordinate changes with him.
Additions:
The fully automated OVA - OpenVirtualArchive file is here (NOTE! Do not rename the file. It will break!): %%http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder/pfSense.ova%%
Deletions:
Additions:
Not running VirtualBox ESXi or ESX? Proceed below for help on how to create a ISO!
Deletions:
Additions:
Not running VirtualBox ESXi or ESX? Proceed below for help on how to create an ISO!
Deletions:
Additions:
The fully automated OVA file is here (NOTE! Do not rename the file. It will break!): %%http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder/pfSense.ova%%
Deletions:
NOTE! Do not rename the file. It will break!
Additions:
NOTE! Do not rename the file. It will break!
Additions:
The fully automated OVA file is here: %%http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder/pfSense.ova%%
Deletions:
Additions:
=== These instructions are unsupported unless you have a BSDPerimeter support contract https://portal.pfsense.org/. Developers use the dev mailing list. ===
Deletions:
No Differences
Additions:
Not running VirtualBox ESXi or ESX? Proceed on below with help on how to create an ISO!
Deletions:
Additions:
Not running VirtualBox ESXi or ESX? Proceed on below!
Deletions:
Additions:
=== These instructions are unsupported unless you have a BSDPerimeter support contract. Developers use the dev mailing list. ===
Deletions:
No Differences
Additions:
=== These instructions are unsupported unless you have a BSDPerimeter support contract ===
Additions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX, ESXi or VirtualBOX and it will setup the necessary builder items that are done below in the "pfSense developer building bootstrapping - building a custom pfSense image" stage.
Deletions:
Additions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX, ESXi or VirtualBOX and it will setup the necessary builder items that are done below.
Deletions:
Additions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX, ESXi or VirtualBOX and out of the box it will setup the necessary builder items that are done below.
Deletions:
Additions:
Not running VirtualBox or ESX? Proceed on below!
Additions:
The fully automated OVA file is here: %%http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova%%
Deletions:
Additions:
The fully automated OVA file is here: %%http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova%% (172MB)
Deletions:
Additions:
The fully automated OVA file is here: http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova (172MB)
Deletions:
Additions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX or VirtualBOX and out of the box it will setup the necessary builder items that are done below.
VMWare ESX users simply do a File -> Deploy (from vClient) and feed the url.
VirtualBox users download the file and double click to import.
The fully automated OVA file is here: http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova
VMWare ESX users simply do a File -> Deploy (from vClient) and feed the url.
VirtualBox users download the file and double click to import.
The fully automated OVA file is here: http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova
Deletions:
Additions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX or VirtualBOX and out of the box it will setup the necessary builder items that are done below. VMWare ESX users simply do a File -> Deploy (from vClient) and feed the url. VirtualBox users download the file and double click to import. The fully automated OVA file is here: http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova
Deletions:
Additions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX or VirtualBOX and out of the box it will setup the necessary builder items that are done below. VMWare ESX users simply do a File -> Deploy (from vCenter) and feed the url. VirtualBox users download the file and double click to import. The fully automated OVA file is here: http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova
Deletions:
Additions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX or VirtualBOX and out of the box it will setup the necessary builder items that are done below. VMWare ESX users simply do a file -> deploy and feed the url. VirtualBox users download the file and double click to import. The fully automated OVA file is here: http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova
Deletions:
Additions:
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX or VirtualBOX and out of the box it will setup the necessary builder items that are done below. That file is located here: http://cvs.pfsense.org/~sullrich/pfSenseDevBuilder.ova
Deletions:
No Differences
Additions:
=== Pre-built environment===
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX or VirtualBOX and out of the box it will setup the necessary builder items that are done below. That file will be available very shortly.
We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX or VirtualBOX and out of the box it will setup the necessary builder items that are done below. That file will be available very shortly.
Deletions:
Additions:
=== We now offer a pre-built pfSense development builder OVA file. You can import this right into ESX or VirtualBOX and out of the box it will setup the necessary builder items that are done below. That file will be available very shortly.
Additions:
==5.2a Ensure BSDInstaller is sound==
rm -rf /home/pfsense/installer
/cvsup_bsdinstaller ; ./rebuild_bsdinstaller.sh
rm -rf /home/pfsense/installer
/cvsup_bsdinstaller ; ./rebuild_bsdinstaller.sh
Additions:
mkdir -p /home/pfsense/pfSenseGITREPO /usr/pfSensesrc
Deletions:
Additions:
cd /home/pfsense && git clone https://github.com/sullrich/pfSense-freesbie2.git freesbie2
Deletions:
Additions:
cd /home/pfsense && git clone https://sullrich@github.com/sullrich/pfSense-freesbie2.git freesbie2
Deletions:
Additions:
This document will go over the steps necessary in order to produce an environment where pfSense images can be built. Note that this used to include a "developer" ISO but that no longer works and is not officially supported. Following this guide will get you a bootable ISO and memstick image, and potentially NanoBSD images.
0. Install FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) for pfSense 1.2.3 images ... or FreeBSD 8.1 if you want to build pfSense 2.0.
cd /home/pfsense && git clone git://github.com/bsdperimeter/pfsense-tools.git tools
Note: You can use the following command if you do not wish to use the menu:
./set_version.sh
To run this outside of the menu system, use:
./apply_kernel_patches.sh
To run this outside of the menu system, use:
./build_iso.sh
==5.4 Plan for failure==
~It is expected that the first try to build the ports, and the first try to build an ISO will fail, but subsequent attempts work. This is because certain parts expect files or binaries to be present that get built on the first run but not fully used until the second. This may get fixed eventually, but because the workaround is easy (just run the build again), it's not a priority.
==7. Keeping in sync with pfSense Repo's==
==8. Other images available for building==
~Once you have a working ISO you can build pretty much any pfSense image listed in the menu system.
~If for some reason the build goes wrong you can wipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by invoking the Clean option of menu system.
0. Install FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) for pfSense 1.2.3 images ... or FreeBSD 8.1 if you want to build pfSense 2.0.
cd /home/pfsense && git clone git://github.com/bsdperimeter/pfsense-tools.git tools
Note: You can use the following command if you do not wish to use the menu:
./set_version.sh
To run this outside of the menu system, use:
./apply_kernel_patches.sh
To run this outside of the menu system, use:
./build_iso.sh
==5.4 Plan for failure==
~It is expected that the first try to build the ports, and the first try to build an ISO will fail, but subsequent attempts work. This is because certain parts expect files or binaries to be present that get built on the first run but not fully used until the second. This may get fixed eventually, but because the workaround is easy (just run the build again), it's not a priority.
==7. Keeping in sync with pfSense Repo's==
==8. Other images available for building==
~Once you have a working ISO you can build pretty much any pfSense image listed in the menu system.
~If for some reason the build goes wrong you can wipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by invoking the Clean option of menu system.
Deletions:
0. Install FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) ... or 8.1 if you want to build 2.0 related builds.
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense-tools/mainline.git tools
==7. After testing final DevISO test==
~ Does everything work (installer, too)? If so you can move on to building a deviso by invoking the Build DevIso menu option.
==8. Keeping in sync with pfSense Repo's==
==9. Other images available for building==
~Once you have a working DevISO you can build pretty much any pfSense image listed in the menu system.
~If for some reason the build goes wrong you can whipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by invoking the Clean option of menu system.
Additions:
0a. (OPTIONAL and most likely broken on recent freebsd upgrades) Create a Jail or chroot environment to build pfSense in. Building pfSense can intrude in a lot of areas of your FreeBSD box and some folks prefer to keep the builder process seperate (pfSense developers included).
Deletions:
Additions:
0. Install FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) ... or 8.1 if you want to build 2.0 related builds.
Deletions:
Additions:
== Recommended .tcshrc aliases==
Deletions:
Additions:
==Recommended tcshrc aliases==
alias builder_scripts 'cd /home/pfsense/tools/builder_scripts'
alias builder_profiles 'cd /home/pfsense/tools/builder_scripts/builder_profiles'
alias build_iso.sh 'cd /home/pfsense/tools/builder_scripts && ./build_iso.sh'
alias update_git_repos.sh 'cd /home/pfsense/tools/builder_scripts && ./update_git_repos.sh'
alias clean_build.sh 'cd /home/pfsense/tools/builder_scripts && ./clean_build.sh'
alias build_nano.sh 'cd /home/pfsense/tools/builder_scripts && ./build_nano.sh'
alias apply_kernel_patches.sh 'cd /home/pfsense/tools/builder_scripts && ./apply_kernel_patches.sh'
alias builder_scripts 'cd /home/pfsense/tools/builder_scripts'
alias builder_profiles 'cd /home/pfsense/tools/builder_scripts/builder_profiles'
alias build_iso.sh 'cd /home/pfsense/tools/builder_scripts && ./build_iso.sh'
alias update_git_repos.sh 'cd /home/pfsense/tools/builder_scripts && ./update_git_repos.sh'
alias clean_build.sh 'cd /home/pfsense/tools/builder_scripts && ./clean_build.sh'
alias build_nano.sh 'cd /home/pfsense/tools/builder_scripts && ./build_nano.sh'
alias apply_kernel_patches.sh 'cd /home/pfsense/tools/builder_scripts && ./apply_kernel_patches.sh'
Additions:
echo "BATCH=yo" >> /etc/make.conf
Additions:
~Notes available on MIPS builds [[MIPSNotes]]
Additions:
0. Install FreeBSD 7.0 or FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) ... or 8.0 if you want to build 2.0 related builds.
Deletions:
Additions:
~{{table columns="2" cellpadding="1" cells="RELENG_1_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; RELENG_2_0 ; pfSense HEAD (2.0) + FreeBSD RELENG_7_2 ;RELENG_7_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; RELENG_8_0 ; pfSense HEAD + FreeBSD 8-CURRENT ;"}}
Deletions:
Deletions:
Additions:
cd /usr/ports/sysutils/fastest_cvsup/ && make depends install
Additions:
NOTE: The pfSense developers ISO currently cannot build pfSense entirely due to header file issues. We are looking into this. In the meantime please use a stock FreeBSD installation.
0. Install FreeBSD 7.0 or FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html )
0. Install FreeBSD 7.0 or FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html )
Deletions:
NOTE: If you are using a recent pfSense developers edition disk steps 1, 2 and 3 should have already been completed for you by the builder system.
Additions:
NOTE: If you are using a recent pfSense developers edition disk steps 1, 2 and 3 should have already been completed for you by the builder system.
Deletions:
Additions:
==3. Continue on with the GIT repo checkouts:==
==4. Ensure FreeBSD sources are present==
==4. Ensure FreeBSD sources are present==
Deletions:
==4. Continue on with the GIT repo checkouts:==
Additions:
==3. Ensure FreeBSD sources are present==
Deletions:
Additions:
NOTE: If you are using a recent pfSense developers edition disk steps 1-2 should have already been completed for you by the builder system.
==3Ensure FreeBSD sources are present==
==3Ensure FreeBSD sources are present==
Deletions:
==4.1 Ensure FreeBSD sources are present==
No Differences
No Differences
Additions:
Some ports require sources in /usr/src to build correctly.
Additions:
csup -h `fastest_cvsup -c tld -q` /usr/share/examples/cvsup/standard-supfile
Deletions:
No Differences
Additions:
==4.1 Ensure FreeBSD sources are present==
csup `fastest_cvsup -c tld -q` /usr/share/examples/cvsup/standard-supfile
csup `fastest_cvsup -c tld -q` /usr/share/examples/cvsup/standard-supfile
Additions:
mkdir -p /home/pfsense/pfSenseGITREPO /home/pfsense/installer /usr/pfSensesrc
Deletions:
No Differences
Additions:
# tcsh requires reloading available binaries - if you run this command and it fails -- don't worry.
Deletions:
Additions:
# tcsh requires reloading available binaries - if you run this command it fails -- don't worry.
rehash
rehash
Additions:
cd /usr/ports/textproc/expat2 && make depends install
Additions:
cd /usr/ports/devel/git && make depends install
Deletions:
Additions:
cd /home/pfsense/tools/builder_scripts
Additions:
NOTE: If you are using a recent pfSense developers edition disk steps 1-4 should have already been completed for you by the builder system.
Additions:
~ If all goes well you should have a pfSense.iso in /usr/obj.pfSense ... Test it.
~ Does everything work (installer, too)? If so you can move on to building a deviso by invoking the Build DevIso menu option.
~ Does everything work (installer, too)? If so you can move on to building a deviso by invoking the Build DevIso menu option.
Deletions:
~5. Does everything work (installer, too)? If so you can move on to building a deviso by invoking the Build DevIso menu option.
Additions:
~Versions available are in the radio box or select custom and enter one of:
~{{table columns="2" cellpadding="1" cells="RELENG_1_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; HEAD ; pfSense HEAD (2.0) + FreeBSD RELENG_7_2 ;RELENG_7_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; RELENG_8_0 ; pfSense HEAD + FreeBSD 8-CURRENT ;"}}
~This will fetch the version of FreeBSD required and apply our patches. You should not see any errors during this step.
~pfSense will now build an iso. Sit back and wait while the operation proceeds.
~4. If all goes well you should have a pfSense.iso in /usr/obj.pfSense ... Test it.
~5. Does everything work (installer, too)? If so you can move on to building a deviso by invoking the Build DevIso menu option.
~Invoke the Sync command to update tools and freesbie sources with rcs.pfsense.org.
~Once you have a working DevISO you can build pretty much any pfSense image listed in the menu system.
~If for some reason the build goes wrong you can whipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by invoking the Clean option of menu system.
~Also see http://devwiki.pfsense.org/CreatingAnAppliance
~{{table columns="2" cellpadding="1" cells="RELENG_1_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; HEAD ; pfSense HEAD (2.0) + FreeBSD RELENG_7_2 ;RELENG_7_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; RELENG_8_0 ; pfSense HEAD + FreeBSD 8-CURRENT ;"}}
~This will fetch the version of FreeBSD required and apply our patches. You should not see any errors during this step.
~pfSense will now build an iso. Sit back and wait while the operation proceeds.
~4. If all goes well you should have a pfSense.iso in /usr/obj.pfSense ... Test it.
~5. Does everything work (installer, too)? If so you can move on to building a deviso by invoking the Build DevIso menu option.
~Invoke the Sync command to update tools and freesbie sources with rcs.pfsense.org.
~Once you have a working DevISO you can build pretty much any pfSense image listed in the menu system.
~If for some reason the build goes wrong you can whipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by invoking the Clean option of menu system.
~Also see http://devwiki.pfsense.org/CreatingAnAppliance
Deletions:
{{table columns="2" cellpadding="1" cells="RELENG_1_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; HEAD ; pfSense HEAD (2.0) + FreeBSD RELENG_7_2 ;RELENG_7_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; RELENG_8_0 ; pfSense HEAD + FreeBSD 8-CURRENT ;"}}
This will fetch the version of FreeBSD required and apply our patches. You should not see any errors during this step.
pfSense will now build an iso. Sit back and wait while the operation proceeds.
4. If all goes well you should have a pfSense.iso in /usr/obj.pfSense ... Test it.
5. Does everything work (installer, too)? If so you can move on to building a deviso by invoking the Build DevIso menu option.
Invoke the Sync command to update tools and freesbie sources with rcs.pfsense.org.
Once you have a working DevISO you can build pretty much any pfSense image listed in the menu system.
If for some reason the build goes wrong you can whipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by invoking the Clean option of menu system.
Also see http://devwiki.pfsense.org/CreatingAnAppliance
Additions:
{{table columns="2" cellpadding="1" cells="RELENG_1_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; HEAD ; pfSense HEAD (2.0) + FreeBSD RELENG_7_2 ;RELENG_7_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; RELENG_8_0 ; pfSense HEAD + FreeBSD 8-CURRENT ;"}}
Deletions:
Additions:
{{table columns="2" cellpadding="1" cells="RELENG_1_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_1 ;HEAD ; pfSense HEAD (2.0) + FreeBSD RELENG_7_1 ;RELENG_7_2 ; pfSense RELENG_1_2 + FreeBSD RELENG_7_2 ; RELENG_8_0 ; pfSense HEAD + FreeBSD 8-CURRENT ;"}}
Deletions:
HEAD = pfSense HEAD (2.0) + FreeBSD RELENG_7_1
RELENG_7_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_2
RELENG_8_0 = pfSense HEAD + FreeBSD 8-CURRENT
Additions:
portsnap fetch extract
cd /usr/ports/devel/git && make install
Please note that only GeekGod has write privileges to this page. Please coordinate changes with him.
cd /usr/ports/devel/git && make install
Please note that only GeekGod has write privileges to this page. Please coordinate changes with him.
Deletions:
Please note that only GeekGod has write privileges to this page. Please coordinate changes with him or you will assume all responsibility for the builder system!
Additions:
==5.1. After invoking the menu system set the version you would like to build==
==5.2. Invoke the Apply patches option==
This will fetch the version of FreeBSD required and apply our patches. You should not see any errors during this step.
==5.3 Invoke the Build ISO option==
pfSense will now build an iso. Sit back and wait while the operation proceeds.
==5.2. Invoke the Apply patches option==
This will fetch the version of FreeBSD required and apply our patches. You should not see any errors during this step.
==5.3 Invoke the Build ISO option==
pfSense will now build an iso. Sit back and wait while the operation proceeds.
Deletions:
Additions:
Please note that only GeekGod has write privileges to this page. Please coordinate changes with him or you will assume all responsibility for the builder system!
Deletions:
Deletions:
Deletions:
Additions:
==5.1. After invoking the menu system set the version you would like to build and launch an ISO build.==
Versions available are in the radio box or select custom and enter one of:
==5.2. Build a ISO==
Versions available are in the radio box or select custom and enter one of:
==5.2. Build a ISO==
Deletions:
==Versions available are in the radio box or select custom and enter one of:==
==5.1. Build a ISO==
Additions:
==5. Invoke our new menu system by running:==
Deletions:
Additions:
==5.1. Build a ISO==
No Differences
Additions:
==1. Begin pfSense bootstrap by running these shell commands:==
==2. Grab ports and build GIT==
==4. Continue on with the GIT repo checkouts:==
==5. Invoke our new menu system by running and set which version of pfSense you would like to build.==
==6. Testing==
==7. After testing final DevISO test==
==8. Keeping in sync with pfSense Repo's==
==9. Other images available for building==
==2. Grab ports and build GIT==
==4. Continue on with the GIT repo checkouts:==
==5. Invoke our new menu system by running and set which version of pfSense you would like to build.==
==6. Testing==
==7. After testing final DevISO test==
==8. Keeping in sync with pfSense Repo's==
==9. Other images available for building==
Deletions:
==2 Grab ports and build GIT==
==4 Continue on with the GIT repo checkouts:==
==5 Invoke our new menu system by running and set which version of pfSense you would like to build.==
==6 Testing==
==7 After testing final DevISO test==
==8 Keeping in sync with pfSense Repo's==
==9 Other images available for building==
Additions:
0. Install FreeBSD 7.0 or FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) or install a pfSense developers ISO build.
0a. (OPTIONAL) Create a Jail or chroot environment to build pfSense in. Building pfSense can intrude in a lot of areas of your FreeBSD box and some folks prefer to keep the builder process seperate (pfSense developers included).
===1. Begin pfSense bootstrap by running these shell commands:===
==2 Grab ports and build GIT==
==4 Continue on with the GIT repo checkouts:==
==5 Invoke our new menu system by running and set which version of pfSense you would like to build.==
==6 Testing==
==7 After testing final DevISO test==
==8 Keeping in sync with pfSense Repo's==
==9 Other images available for building==
0a. (OPTIONAL) Create a Jail or chroot environment to build pfSense in. Building pfSense can intrude in a lot of areas of your FreeBSD box and some folks prefer to keep the builder process seperate (pfSense developers included).
===1. Begin pfSense bootstrap by running these shell commands:===
==2 Grab ports and build GIT==
==4 Continue on with the GIT repo checkouts:==
==5 Invoke our new menu system by running and set which version of pfSense you would like to build.==
==6 Testing==
==7 After testing final DevISO test==
==8 Keeping in sync with pfSense Repo's==
==9 Other images available for building==
Deletions:
2. (OPTIONAL) Create a Jail or chroot environment to build pfSense in. Building pfSense can intrude in a lot of areas of your FreeBSD box and some folks prefer to keep the builder process seperate (pfSense developers included).
===3. Begin pfSense bootstrap by running these shell commands:===
==3.1 Grab ports and build GIT==
==3.2 Continue on with the GIT repo checkouts:==
==3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.==
==Testing==
==After testing final DevISO test==
==Keeping in sync with pfSense Repo's==
==Other images available for building==
Additions:
===3. Begin pfSense bootstrap by running these shell commands:===
==3.1 Grab ports and build GIT==
==3.2 Continue on with the GIT repo checkouts:==
==3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.==
==Versions available are in the radio box or select custom and enter one of:==
==3.1 Grab ports and build GIT==
==3.2 Continue on with the GIT repo checkouts:==
==3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.==
==Versions available are in the radio box or select custom and enter one of:==
Deletions:
=3.1 Grab ports and build GIT=
=3.2 Continue on with the GIT repo checkouts:=
=3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.=
=Versions available are in the radio box or select custom and enter one of:=
Additions:
=3.1 Grab ports and build GIT=
=3.2 Continue on with the GIT repo checkouts:=
=3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.=
=Versions available are in the radio box or select custom and enter one of:=
=3.2 Continue on with the GIT repo checkouts:=
=3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.=
=Versions available are in the radio box or select custom and enter one of:=
Deletions:
===3.2 Continue on with the GIT repo checkouts:===
===3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.===
===Versions available are in the radio box or select custom and enter one of:===
Additions:
===3.1 Grab ports and build GIT===
===3.2 Continue on with the GIT repo checkouts:===
===3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.===
===Versions available are in the radio box or select custom and enter one of:===
===3.2 Continue on with the GIT repo checkouts:===
===3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.===
===Versions available are in the radio box or select custom and enter one of:===
Deletions:
3.2 Continue on with the GIT repo checkouts:
==3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.==
==Versions available are in the radio box or select custom and enter one of:==
Additions:
==3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.==
==Versions available are in the radio box or select custom and enter one of:==
==Versions available are in the radio box or select custom and enter one of:==
Deletions:
Versions available are in the radio box or select custom and enter one of:
Additions:
3.3 Invoke our new menu system by running and set which version of pfSense you would like to build.
Versions available are in the radio box or select custom and enter one of:
Versions available are in the radio box or select custom and enter one of:
Deletions:
Additions:
3.3 Invoke our new menu system by running and set which version of pfSense you would like to build. Versions available are in the radio box or select custom and enter one of:
RELENG_1_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_1
HEAD = pfSense HEAD (2.0) + FreeBSD RELENG_7_1
RELENG_7_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_2
RELENG_8_0 = pfSense HEAD + FreeBSD 8-CURRENT
RELENG_1_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_1
HEAD = pfSense HEAD (2.0) + FreeBSD RELENG_7_1
RELENG_7_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_2
RELENG_8_0 = pfSense HEAD + FreeBSD 8-CURRENT
Deletions:
## RELENG_1_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_1
## HEAD = pfSense HEAD (2.0) + FreeBSD RELENG_7_1
## RELENG_7_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_2
## RELENG_8_0 = pfSense HEAD + FreeBSD 8-CURRENT
No Differences
Additions:
5. Does everything work (installer, too)? If so you can move on to building a deviso by invoking the Build DevIso menu option.
Invoke the Sync command to update tools and freesbie sources with rcs.pfsense.org.
Once you have a working DevISO you can build pretty much any pfSense image listed in the menu system.
If for some reason the build goes wrong you can whipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by invoking the Clean option of menu system.
Invoke the Sync command to update tools and freesbie sources with rcs.pfsense.org.
Once you have a working DevISO you can build pretty much any pfSense image listed in the menu system.
If for some reason the build goes wrong you can whipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by invoking the Clean option of menu system.
Deletions:
cd /home/pfsense/tools/builder_scripts/
./clean_build.sh
./build_deviso.sh
These two commands will cleanup after any previous build and update tools, freesbie2 and get ready for a new build:
./update_git_repos.sh
./clean_build.sh
Once you have a working DevISO you can build pretty much any pfSense image. Here's a few of them available (or skip on to CreatingAnAppliance if you wish):
./build_nano
./build_embedded.sh
./build_iso.sh
./build_updates.sh
./build_updates_embedded.sh
./build_freebsdisoonly.sh
If for some reason the build goes wrong you can whipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by doing:
./clean_build.sh
./build_deviso.sh
Additions:
./menu.sh
After invoking the menu system set the version you would like to build and launch an ISO build.
After invoking the menu system set the version you would like to build and launch an ISO build.
Deletions:
No Differences
No Differences
No Differences
Revision [906]
Edited on 2009-07-25 16:48:45 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
./set_version.sh RELENG_1_2
Deletions:
Revision [905]
Edited on 2009-07-25 16:47:29 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
3.1 Grab ports and build GIT
portsnap fetch extract ; cd /usr/ports/devel/git && make install
3.2 Continue on with the GIT repo checkouts:
portsnap fetch extract ; cd /usr/ports/devel/git && make install
3.2 Continue on with the GIT repo checkouts:
Deletions:
Revision [904]
Edited on 2009-07-25 16:46:37 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
mkdir -p /home/pfsense/pfSenseGITREPO /home/pfsense/installer
Deletions:
Revision [903]
Edited on 2009-07-25 16:46:19 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]No Differences
Revision [902]
Edited on 2009-07-25 16:46:05 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
3.1 Continue on with the GIT repo checkouts:
Deletions:
rehash
3.2 Continue on with the GIT repo checkouts:
Revision [901]
Edited on 2009-07-25 16:41:56 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Deletions:
cd /usr/ports/devel/git && make BATCH=yo && make install BATCH=yo && make clean
cd /usr/ports/sysutils/grub && make BATCH=yo && make install BATCH=yo && make clean
cd /usr/ports/sysutils/screen && make BATCH=yo && make install BATCH=yo && make clean
./cvsup_bsdinstaller.sh
./rebuild_bsdinstaller.sh
Revision [900]
Edited on 2009-07-25 16:23:45 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Deletions:
Revision [899]
Edited on 2009-07-25 16:23:31 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
./build_iso.sh # it uses git now, don't let the filename fool you. have some beer now, this takes a while.
Deletions:
Revision [880]
Edited on 2009-06-06 15:26:49 by ChrisBuechler [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
# run ./set_version.sh {RELENG_1_2|HEAD|RELENG_7_2|RELENG_8_0}
## RELENG_1_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_1
## HEAD = pfSense HEAD (2.0) + FreeBSD RELENG_7_1
## RELENG_7_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_2
## RELENG_8_0 = pfSense HEAD + FreeBSD 8-CURRENT
Please note that only GeekGod, BillM, and ChrisBuechler have write privileges to this page.
## RELENG_1_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_1
## HEAD = pfSense HEAD (2.0) + FreeBSD RELENG_7_1
## RELENG_7_2 = pfSense RELENG_1_2 + FreeBSD RELENG_7_2
## RELENG_8_0 = pfSense HEAD + FreeBSD 8-CURRENT
Please note that only GeekGod, BillM, and ChrisBuechler have write privileges to this page.
Deletions:
Please note that only GeekGod and BillM have write privileges to this page.
Revision [879]
Edited on 2009-06-06 04:21:52 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
./cvsup_bsdinstaller.sh
./rebuild_bsdinstaller.sh
./rebuild_bsdinstaller.sh
Deletions:
Revision [874]
Edited on 2009-06-01 03:46:14 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
Please note that only GeekGod and BillM have write privileges to this page.
Revision [873]
Edited on 2009-06-01 03:44:59 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
Once you have a working DevISO you can build pretty much any pfSense image. Here's a few of them available (or skip on to CreatingAnAppliance if you wish):
Deletions:
Revision [872]
Edited on 2009-06-01 03:39:33 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
==After testing final DevISO test==
Revision [871]
Edited on 2009-06-01 03:38:57 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Deletions:
Revision [870]
Edited on 2009-06-01 03:38:39 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
These two commands will cleanup after any previous build and update tools, freesbie2 and get ready for a new build:
Revision [869]
Edited on 2009-06-01 03:38:07 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]No Differences
Revision [868]
Edited on 2009-06-01 03:37:37 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
==Keeping in sync with pfSense Repo's==
Revision [867]
Edited on 2009-06-01 03:37:18 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
==Testing==
Revision [866]
Edited on 2009-06-01 03:36:42 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
Once you have a working DevISO you can build pretty much any pfSense image. Here's a few of them available:
Revision [865]
Edited on 2009-06-01 03:36:12 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
==Other images available for building==
./build_nano
./build_embedded.sh
./build_iso.sh
./build_updates.sh
./build_updates_embedded.sh
./build_freebsdisoonly.sh
./build_nano
./build_embedded.sh
./build_iso.sh
./build_updates.sh
./build_updates_embedded.sh
./build_freebsdisoonly.sh
Revision [864]
Edited on 2009-06-01 03:34:27 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]No Differences
Revision [863]
Edited on 2009-06-01 03:32:21 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
6. Periodically you will need to sync the checked out git trees:
Deletions:
Revision [862]
Edited on 2009-06-01 03:31:54 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
6. Periodically you will need to sync the checked out git trees (be careful, this can whipe out local changes/customizations of a stock pfSense checkout):
Deletions:
Revision [861]
Edited on 2009-06-01 03:29:39 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
==Troubleshooting==
==Further Reading==
==Further Reading==
Revision [860]
Edited on 2009-06-01 03:29:05 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
If for some reason the build goes wrong you can whipe out *ALL* of /usr/local/ and restore back to a after installation state and start over completely by doing:
Deletions:
Then start your operation over:
Revision [859]
Edited on 2009-06-01 03:27:58 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
3.1 If you are using the default shell you must instruct it to reload the available binaries in the $PATH:
3.2 Continue on with the GIT repo checkouts:
3.2 Continue on with the GIT repo checkouts:
Deletions:
Continue on with the GIT repo checkouts:
Revision [858]
Edited on 2009-06-01 03:26:46 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
If you are using the default shell you must instruct it to reload the available binaries in the $PATH:
Continue on with the GIT repo checkouts:
Continue on with the GIT repo checkouts:
Deletions:
Revision [857]
Edited on 2009-06-01 03:26:20 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
If you are using the default shell you must instruct it to reload the available binaries in the $PATH
Revision [856]
Edited on 2009-06-01 03:26:01 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]No Differences
Revision [855]
Edited on 2009-06-01 03:25:28 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
rehash
Deletions:
Revision [854]
Edited on 2009-06-01 03:25:18 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Deletions:
Revision [848]
Edited on 2009-05-25 03:06:11 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
./update_git_repos.sh
Deletions:
cd /home/pfsense/tools && git fetch && git rebase origin
cd /home/pfsense/freesbie2/ && git fetch && git rebase origin
cd /home/pfsense/installer/installer && git fetch && git rebase origin
Revision [839]
Edited on 2009-04-30 20:53:50 by ChrisBuechler [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
./set_version.sh RELENG_1_2 cvsupX.freebsd.org # replace cvsupX.freebsd.org with a cvsup mirror of your choosing
Deletions:
Revision [836]
Edited on 2009-04-26 03:41:37 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
Also see http://devwiki.pfsense.org/CreatingAnAppliance
Revision [822]
Edited on 2009-03-23 22:38:50 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
~ 2d. Build and install a new kernel containing the above jail fixes (refer to FreeBSD handbook if you need help with this)
Deletions:
Revision [821]
Edited on 2009-03-23 22:36:54 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
~ 2c. Apply this patch to the host: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
~ 2d. Build and install a new kernel containing the above jail fixes
~ 2d. Build and install a new kernel containing the above jail fixes
Deletions:
Revision [820]
Edited on 2009-03-23 22:35:43 by GeekGod [Remove cvsupX bit, we use fastest_cvsup by default]Additions:
./clean_build.sh
Deletions:
Additions:
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense/mainline.git pfSenseGITREPO/pfSenseGITREPO
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense-tools/mainline.git tools
cd /home/pfsense && git clone http://gitweb.pfsense.org/freesbie2/mainline.git freesbie2
cd /home/pfsense && git clone http://gitweb.pfsense.org/bsdinstaller/mainline.git installer/installer
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense-tools/mainline.git tools
cd /home/pfsense && git clone http://gitweb.pfsense.org/freesbie2/mainline.git freesbie2
cd /home/pfsense && git clone http://gitweb.pfsense.org/bsdinstaller/mainline.git installer/installer
Deletions:
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense-tools/mainline.git && mv mainline tools
cd /home/pfsense && git clone http://gitweb.pfsense.org/freesbie2/mainline.git && mv mainline freesbie2
cd /home/pfsense && git clone http://gitweb.pfsense.org/bsdinstaller/mainline.git && mv mainline installer/installer
Additions:
If for some reason the build goes wrong you can do the following:
rm -rf /usr/obj*
Then start your operation over:
./build_deviso.sh
rm -rf /usr/obj*
Then start your operation over:
./build_deviso.sh
Additions:
portsnap fetch extract
Deletions:
Additions:
echo "WITHOUT_X11=yo" >> /etc/make.conf
Deletions:
Additions:
~ 2a. Install the jail using this guide: http://www.freebsd.org/doc/en/books/handbook/jails.html
Deletions:
Additions:
cd /home/pfsense/pfSenseGITREPO/pfSenseGITREPO/ && git reset --hard && git fetch && git rebase origin
Deletions:
Additions:
~ 2a. Install the jail using this guide http://www.freebsd.org/doc/en/books/handbook/jails.html
Deletions:
Additions:
2. (OPTIONAL) Create a Jail or chroot environment to build pfSense in. Building pfSense can intrude in a lot of areas of your FreeBSD box and some folks prefer to keep the builder process seperate (pfSense developers included).
Deletions:
Additions:
2. (OPTIONAL) Create a Jail or chroot environment to build pfSense in. pfSense can intrude in a lot of areas of your FreeBSD box and some folks prefer to keep the builder process seperate (pfSense developers included).
Deletions:
Additions:
cd /home/pfsense/pfSenseGITREPO/pfSenseGITREPO/ && git reset --hard && git fetch && git rebase origin
cd /home/pfsense/tools && git fetch && git rebase origin
cd /home/pfsense/freesbie2/ && git fetch && git rebase origin
cd /home/pfsense/installer/installer && git fetch && git rebase origin
cd /home/pfsense/tools && git fetch && git rebase origin
cd /home/pfsense/freesbie2/ && git fetch && git rebase origin
cd /home/pfsense/installer/installer && git fetch && git rebase origin
Deletions:
cd /home/pfsense/tools && git pull && git rebase origin
cd /home/pfsense/freesbie2/ && git pull && git rebase origin
cd /home/pfsense/installer/installer && git pull && git rebase origin
Additions:
2. (OPTIONAL) Create a Jail or chroot environment to build pfSense in. pfSense can step on a lot of areas of a FreeBSD box and some folks prefer to keep the builder process seperate (pfSense developers included).
Deletions:
Additions:
~ 2a. Install the jail using this guide http://www.freebsd.org/doc/en/books/handbook/jails.html ).
~ 2b. Read and apply these settings: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ 2c. Apply this patch to the host: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
~ 2b. Read and apply these settings: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ 2c. Apply this patch to the host: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
Deletions:
~ 2b. http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ 2c. Needed patch for jail building: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
Additions:
~ 2a. http://www.freebsd.org/doc/en/books/handbook/jails.html ).
~ 2b. http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ 2c. Needed patch for jail building: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
~ 2b. http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ 2c. Needed patch for jail building: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
Deletions:
~ http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ Needed patch for jail building: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
Additions:
2. (OPTIONAL) Create a Jail or chroot environment to build pfSense in
~ http://www.freebsd.org/doc/en/books/handbook/jails.html ).
~ http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ Needed patch for jail building: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
~ http://www.freebsd.org/doc/en/books/handbook/jails.html ).
~ http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
~ Needed patch for jail building: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff
Deletions:
Additions:
cd /home/pfsense/tools/builder_scripts && chmod a+rx *.sh
Deletions:
No Differences
Additions:
cd /home/pfsense/pfSenseGITREPO/pfSenseGITREPO/ && git reset --hard && git pull && git rebase origin
Deletions:
Additions:
# run ./set_version.sh {RELENG_1_2|HEAD}
Deletions:
Additions:
# run ./set_version.sh {RELENG_1_2|HEAD} # ./set_version.sh RELENG_1_2 LIVE # if you have access to cvsup.livebsd.com
./set_version.sh RELENG_1_2
./set_version.sh RELENG_1_2
Deletions:
./set_version.sh RELENG_1_2 # ./set_version.sh RELENG_1_2 LIVE # if you have access to cvsup.livebsd.com
Additions:
./set_version.sh RELENG_1_2 # ./set_version.sh RELENG_1_2 LIVE # if you have access to cvsup.livebsd.com
Deletions:
Additions:
mkdir -p /home/pfsense/pfSenseGITREPO /home/pfsense/installer /usr/pfSensesrc/src
Deletions:
mkdir -p /home/pfsense/installer
mkdir -p /usr/pfSensesrc/src
Additions:
cd /usr/ports/devel/git && make BATCH=yo && make install BATCH=yo && make clean
cd /usr/ports/sysutils/grub && make BATCH=yo && make install BATCH=yo && make clean
cd /usr/ports/sysutils/screen && make BATCH=yo && make install BATCH=yo && make clean
cd /usr/ports/sysutils/grub && make BATCH=yo && make install BATCH=yo && make clean
cd /usr/ports/sysutils/screen && make BATCH=yo && make install BATCH=yo && make clean
Deletions:
make install BATCH=yo && make clean
cd /usr/ports/sysutils/grub && make BATCH=yo
make install BATCH=yo && make clean
cd /usr/ports/sysutils/screen && make BATCH=yo
make install BATCH=yo && make clean
Additions:
make install BATCH=yo && make clean
make install BATCH=yo && make clean
make install BATCH=yo && make clean
make install BATCH=yo && make clean
make install BATCH=yo && make clean
Deletions:
make clean
make install BATCH=yo
make clean
make install BATCH=yo
Additions:
echo "WITHOUT_X11=yo" >> /etc/make.conf # No need to build X11 bits for a firewall
Deletions:
Additions:
4. If all goes well you should have a pfSense.iso in /usr/obj.pfSense ... Test it.
5. Does everything work (installer, too)? If so you can move on to building a deviso:
6. Periodically you will need to sync the checked out git trees:
5. Does everything work (installer, too)? If so you can move on to building a deviso:
6. Periodically you will need to sync the checked out git trees:
Deletions:
Does everything work (installer, too)? If so you can move on to building a deviso:
Periodically you will need to sync the checked out git trees:
Additions:
2. (OPTIONAL) Create a Jail or chroot environment to build pfSense in ( http://www.freebsd.org/doc/en/books/handbook/jails.html ). Needed patch for jail building: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
Deletions:
No Differences
No Differences
Additions:
===pfSense developer building bootstrapping - building a custom pfSense image===
Deletions:
Additions:
===pfSense developer building bootstrapping===
Deletions:
Additions:
1. Install FreeBSD 7.0 or FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) or install a pfSense developers ISO build.
Deletions:
Additions:
2. (OPTIONAL) Create a chroot environment to build pfSense in ( http://www.freebsd.org/doc/en/books/handbook/jails.html ). Needed patch: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
3. Begin pfSense bootstrap by running these shell commands:
3. Begin pfSense bootstrap by running these shell commands:
Deletions:
3. run these shell commands:
No Differences
Additions:
1. install FreeBSD 7.0 or FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) or install a pfSense developers ISO build.
2. (optional) Create a chroot environment to build pfSense in ( http://www.freebsd.org/doc/en/books/handbook/jails.html ). Needed patch: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
3. run these shell commands:
2. (optional) Create a chroot environment to build pfSense in ( http://www.freebsd.org/doc/en/books/handbook/jails.html ). Needed patch: http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.diff http://cvs.pfsense.org/~billm/pfsense_jail_builder_7_0.txt
3. run these shell commands:
Deletions:
2nd run these shell commands:
Additions:
1st install FreeBSD 7.0 or FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html ) or install a pfSense developers ISO build.
Deletions:
Additions:
# Get ready to GIT ready
Deletions:
Additions:
Periodically you will need to sync the checked out git trees:
cd /home/pfsense/pfSenseGITREPO/pfSenseGITREPO/ && git pull && git rebase origin
cd /home/pfsense/tools && git pull && git rebase origin
cd /home/pfsense/freesbie2/ && git pull && git rebase origin
cd /home/pfsense/installer/installer && git pull && git rebase origin
cd /home/pfsense/pfSenseGITREPO/pfSenseGITREPO/ && git pull && git rebase origin
cd /home/pfsense/tools && git pull && git rebase origin
cd /home/pfsense/freesbie2/ && git pull && git rebase origin
cd /home/pfsense/installer/installer && git pull && git rebase origin
Additions:
cd /usr/ports/devel/git && make BATCH=yo
Deletions:
Additions:
echo "WITHOUT_X11=yo" >> /etc/make.conf # No need to build X11 bits
Deletions:
Additions:
echo "WITHOUT_X11=yo" >> /etc/make.conf
cd /usr/ports/devel/git && make WITHOUT_X11=yo BATCH=yo
cd /usr/ports/devel/git && make WITHOUT_X11=yo BATCH=yo
Deletions:
Additions:
1st install FreeBSD 7.0 or FreeBSD 7.1 ( http://www.freebsd.org/doc/en/books/handbook/install.html )
Deletions:
Additions:
1st install FreeBSD 7.0 or FreeBSD 7.1 http://www.freebsd.org/doc/en/books/handbook/install.html
Deletions:
Additions:
Does everything work (installer, too)? If so you can move on to building a deviso:
Deletions:
Additions:
2nd run these shell commands:
Deletions:
Additions:
This document will go over the steps necessary in order to produce an environment where pfSense images can be built.
Additions:
mkdir -p /usr/pfSensesrc/src
Additions:
mkdir -p /home/pfsense/pfSenseGITREPO
mkdir -p /home/pfsense/installer
mkdir -p /home/pfsense/installer
Deletions:
mkdir /home/pfsense/installer
Additions:
cd /usr/ports/devel/git && make NO_X11=yo BATCH=yo
Deletions:
No Differences
No Differences
No Differences
Additions:
cd /usr/ports/devel/git && make BATCH=yo
Deletions:
Additions:
# Git ready to get GIT ready
Deletions:
Additions:
portsnap fetch ; portsnap extract # sit back and have some tea, this takes a bit.
./cvsup_current # it uses git now, don't let the filename fool you. have some beer now, this takes a while.
./cvsup_current # it uses git now, don't let the filename fool you. have some beer now, this takes a while.
Deletions:
./cvsup_current # it uses git now, don't let the filename fool you.
Additions:
./cvsup_current # it uses git now, don't let the filename fool you.
Deletions:
Deletions:
Additions:
mkdir /home/pfsense/pfSenseGITREPO
Deletions:
Additions:
# run ./set_version.sh {RELENG_1_2|HEAD}
./set_version.sh RELENG_1_2
./cvsup_current # it uses git now, don't let the filename name fool you.
./set_version.sh RELENG_1_2
./cvsup_current # it uses git now, don't let the filename name fool you.
Deletions:
cd /home/pfsense/ && cvs -d /home/pfsense/cvsroot co tools
# At this point you might want to edit builder_scripts/pfsense-build.sh which overrides pfsense_local.sh if you do not wish to build the default branch (at time of writing is RELENG_1_2) and many other tunables availble (see pfsense_local.sh)
cvsup /home/pfsense/tools/builder_scripts/freesbie2-supfile
cd /home/pfsense/ && cvs -d /home/pfsense/cvsroot co freesbie2
./set_version.sh RELENG_1_2 # or you can substitute RELENG_1_2 for RELENG_1 which is 1.3/2.0
./cvsup_current
Deletions:
fetch -o /tmp/pfSense-supfile "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/pfSense-supfile?rev=1.5;content-type=text%2Fplain"
Additions:
cd /usr/ports/devel/git && make BATCH=yo
mkdir /home/pfsense/pfSenseGITREPO/
mkdir /home/pfsense/installer
# Git ready to get GIT
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense/mainline.git && mv mainline pfSenseGITREPO/pfSenseGITREPO
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense-tools/mainline.git && mv mainline tools
cd /home/pfsense && git clone http://gitweb.pfsense.org/freesbie2/mainline.git && mv mainline freesbie2
cd /home/pfsense && git clone http://gitweb.pfsense.org/bsdinstaller/mainline.git && mv mainline installer/installer
mkdir /home/pfsense/pfSenseGITREPO/
mkdir /home/pfsense/installer
# Git ready to get GIT
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense/mainline.git && mv mainline pfSenseGITREPO/pfSenseGITREPO
cd /home/pfsense && git clone http://gitweb.pfsense.org/pfsense-tools/mainline.git && mv mainline tools
cd /home/pfsense && git clone http://gitweb.pfsense.org/freesbie2/mainline.git && mv mainline freesbie2
cd /home/pfsense && git clone http://gitweb.pfsense.org/bsdinstaller/mainline.git && mv mainline installer/installer
Deletions:
Additions:
/usr/ports/devel/git && make BATCH=yo
Additions:
1st install FreeBSD 7.0 or FreeBSD 7.1
Deletions:
Additions:
./set_version.sh RELENG_1_2 # or you can substitute RELENG_1_2 for RELENG_1 which is 1.3/2.0
Deletions:
Additions:
./set_version RELENG_1_2
Additions:
# At this point you might want to edit builder_scripts/pfsense-build.sh which overrides pfsense_local.sh if you do not wish to build the default branch (at time of writing is RELENG_1_2) and many other tunables availble (see pfsense_local.sh)
Deletions:
Additions:
1st install FreeBSD 7.0
Deletions:
Revision [426]
Edited on 2008-10-25 23:48:36 by GeekGod [Replacing bogus text. Please leave this file alone if you do not know what your doing!!!!!!!!!!!!!!]Additions:
portsnap fetch ; portsnap extract
Deletions:
Revision [425]
Edited on 2008-10-25 11:54:04 by BertBrecht [portsnap extract seems not to be needed any longer]Additions:
portsnap fetch
Deletions:
Revision [377]
Edited on 2008-07-17 17:04:01 by GeekGod [portsnap extract seems not to be needed any longer]Additions:
# At this point you might want to edit builder_scripts/pfsense_local.sh if you do not wish to build the default branch (at time of writing is RELENG_1_2)
Deletions:
Revision [376]
Edited on 2008-07-17 17:03:40 by GeekGod [portsnap extract seems not to be needed any longer]Additions:
# At this point you might want to edit pfsense_local.sh if you do not wish to build the default branch (at time of writing is RELENG_1_2)
Revision [344]
Edited on 2008-06-25 21:30:02 by GeekGod [portsnap extract seems not to be needed any longer]Additions:
cvsup /home/pfsense/tools/builder_scripts/freesbie2-supfile
Revision [343]
Edited on 2008-06-22 22:51:32 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
cd /home/pfsense/ && cvs -d /home/pfsense/cvsroot co freesbie2
Deletions:
Revision [342]
Edited on 2008-06-22 16:10:29 by AzizThraya [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
cd /home/pfsense/ && cvs -d /home/pfsense/cvsroot co freesbie2 # added by AzizTHRAYA, I need it for compiling
Revision [341]
Edited on 2008-06-17 04:41:00 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]No Differences
Revision [340]
Edited on 2008-06-17 04:40:44 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
cd /usr/ports/sysutils/screen && make BATCH=yo
Revision [339]
Edited on 2008-06-17 04:38:18 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
rehash # if using the default shell (we do not recommend using bash)
Deletions:
Revision [338]
Edited on 2008-06-17 03:49:56 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
rehash
Revision [337]
Edited on 2008-06-07 05:45:24 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
cd /usr/ports/net/cvsup-without-gui && make BATCH=yo
Deletions:
Revision [334]
Edited on 2008-06-07 02:43:48 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
cd /usr/ports/sysutils/grub && make BATCH=yo
make install BATCH=yo
make install BATCH=yo
Deletions:
Revision [333]
Edited on 2008-06-07 02:43:27 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
cd /usr/ports/sysutils/grub && make install BATCH=yo
make clean
make clean
Deletions:
Revision [332]
Edited on 2008-06-05 03:38:03 by BillM [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
pkg_add -rv cvsup-without-gui
Revision [331]
Edited on 2008-06-02 02:21:44 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
cd /usr/ports/sysutils/grub && make install clean
Revision [330]
Edited on 2008-06-01 21:51:01 by ChrisBuechler [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
mkdir -p /home/pfsense/cvsroot
Deletions:
Revision [329]
Edited on 2008-06-01 21:44:56 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Deletions:
Revision [328]
Edited on 2008-06-01 21:44:42 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
If all goes well you should have a pfSense.iso in /usr/obj.pfSense ... Test it.
Does everything work (installer, too)? If so you can move on to building a deviso.
cd /home/pfsense/tools/builder_scripts/
./build_deviso.sh
%
Does everything work (installer, too)? If so you can move on to building a deviso.
cd /home/pfsense/tools/builder_scripts/
./build_deviso.sh
%
Revision [327]
Edited on 2008-06-01 21:41:23 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
==pfSense developer building bootstrapping==
Deletions:
Revision [326]
Edited on 2008-06-01 21:40:52 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
cd tools/builder_scripts && chmod a+rx *.sh
Deletions:
Revision [325]
Edited on 2008-06-01 21:35:54 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
2nd run these shell commands
Revision [324]
Edited on 2008-06-01 21:35:36 by GeekGod [Removed comment, this line really does not need to be in there (bug fixed) but no harm in doing so.]Additions:
==Builder bootstrapping==
1st install FreeBSD 6.3 or 7.0
%%
portsnap fetch ; portsnap extract
mkdir /home/pfsense
fetch -o /tmp/pfSense-supfile "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/pfSense-supfile?rev=1.5;content-type=text%2Fplain"
cvsup /tmp/pfSense-supfile
cd /home/pfsense/ && cvs -d /home/pfsense/cvsroot co tools
cd tools && chmod a+rx *.sh
./cvsup_current
%%
1st install FreeBSD 6.3 or 7.0
%%
portsnap fetch ; portsnap extract
mkdir /home/pfsense
fetch -o /tmp/pfSense-supfile "http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/pfSense-supfile?rev=1.5;content-type=text%2Fplain"
cvsup /tmp/pfSense-supfile
cd /home/pfsense/ && cvs -d /home/pfsense/cvsroot co tools
cd tools && chmod a+rx *.sh
./cvsup_current
%%