Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Adding files

  • Loading branch information...
commit 167ed2680c7c5b22fe52eb0c6fd25818da9cee89 1 parent 51390f0
authored June 20, 2011

Showing 70 changed files with 4,890 additions and 0 deletions. Show diff stats Hide diff stats

  1. 28  COPYING
  2. 121  Makefile
  3. 307  conf/amd64/FREESBIE
  4. 132  conf/freesbie.defaults.conf
  5. 321  conf/i386/FREESBIE
  6. 5  conf/make.conf
  7. 52  conf/make.conf.minimal
  8. 142  conf/powerpc/FREESBIE
  9. 40  conf/rc.d/unionfs
  10. 42  conf/rc.d/uzip
  11. 59  extra/README
  12. 69  extra/adduser.sh
  13. 62  extra/adduser/homemfs.rc
  14. 20  extra/autologin.sh
  15. 26  extra/backup.sh
  16. 35  extra/backup/restorebackup.rc
  17. 166  extra/backup/restorebackup.sh
  18. 143  extra/backup/savebackup.sh
  19. 35  extra/buildmodules.sh
  20. 47  extra/comconsole.sh
  21. 53  extra/customroot.sh
  22. 9  extra/customroot/README
  23. 28  extra/customscripts.sh
  24. 4  extra/customscripts/README
  25. 29  extra/etcmfs.sh
  26. 80  extra/etcmfs/etcmfs.rc
  27. 75  extra/installports.sh
  28. 19  extra/l10n.sh
  29. 229  extra/l10n/l10n.rc
  30. 31  extra/mountdisks.sh
  31. 160  extra/mountdisks/mountdisks.sh
  32. 27  extra/mountdisks/mountdisksrc.sh
  33. 22  extra/pf.sh
  34. 45  extra/pf/pf_rules.sh
  35. 24  extra/rootmfs.sh
  36. 62  extra/rootmfs/rootmfs.rc
  37. 23  extra/sound.sh
  38. 16  extra/sound/snd_card_ids.txt
  39. 37  extra/sound/sound_detect.sh
  40. 24  extra/suid.sh
  41. 20  extra/swapfind.sh
  42. 44  extra/swapfind/swapfind.sh
  43. 26  extra/varmfs.sh
  44. 66  extra/varmfs/varmfs.rc
  45. 22  extra/xautostart.sh
  46. 57  extra/xautostart/xautostart.rc
  47. 25  extra/xconfig-probe.sh
  48. 35  extra/xconfig-probe/xconfig-probe.sh
  49. 75  extra/xconfig-probe/xkbdlayout.sh
  50. 26  extra/xconfig.sh
  51. 73  extra/xconfig/xconfig.sh
  52. 75  extra/xconfig/xkbdlayout.sh
  53. 1  pfSense-freesbie2
  54. 0  pfSense_version
  55. 113  scripts/buildkernel.sh
  56. 59  scripts/buildworld.sh
  57. 36  scripts/cleandir.sh
  58. 219  scripts/clonefs.sh
  59. 123  scripts/compressfs.sh
  60. 5  scripts/custom/README
  61. 36  scripts/extra.sh
  62. 56  scripts/flash.sh
  63. 71  scripts/img.sh
  64. 64  scripts/installkernel.sh
  65. 57  scripts/installworld.sh
  66. 67  scripts/iso.sh
  67. 108  scripts/launch.sh
  68. 201  scripts/pkginstall.sh
  69. 219  scripts/pkgselect.sh
  70. 62  scripts/powerpc/iso.sh
28  COPYING
... ...
@@ -0,0 +1,28 @@
  1
+/*-
  2
+ * Copyright (c) 2005-2008 FreeSBIE Project
  3
+ * All rights reserved.
  4
+ *
  5
+ * Redistribution and use in source and binary forms, with or without
  6
+ * modification, are permitted provided that the following conditions
  7
+ * are met:
  8
+ * 1. Redistributions of source code must retain the above copyright
  9
+ *    notice, this list of conditions and the following disclaimer.
  10
+ * 2. Redistributions in binary form must reproduce the above copyright
  11
+ *    notice, this list of conditions and the following disclaimer in the
  12
+ *    documentation and/or other materials provided with the distribution.
  13
+ *
  14
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  15
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  16
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  17
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  18
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  19
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  20
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  21
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  22
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  23
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  24
+ * SUCH DAMAGE.
  25
+ *
  26
+ * $FreeBSD$
  27
+ * $Id: COPYING,v 1.1.1.1 2008/03/25 19:58:15 sullrich Exp $
  28
+ */
121  Makefile
... ...
@@ -0,0 +1,121 @@
  1
+#
  2
+# Copyright (c) 2005 Dario Freni
  3
+#
  4
+# See COPYING for licence terms.
  5
+#
  6
+# $FreeBSD$
  7
+# $Id: Makefile,v 1.3 2008/05/05 20:51:04 sullrich Exp $
  8
+#
  9
+# FreeSBIE makefile. Main targets are:
  10
+#
  11
+# iso:		build an iso image
  12
+# img:		build a loopback image 
  13
+# flash:	copy the built system on a device (interactive)
  14
+# freesbie:	same of `iso'
  15
+#
  16
+# pkgselect:	choose packages to include in the built system (interactive)
  17
+
  18
+.if defined(MAKEOBJDIRPREFIX)
  19
+CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR}
  20
+.else
  21
+CANONICALOBJDIR:=/usr/obj${.CURDIR}
  22
+.endif
  23
+
  24
+all: freesbie
  25
+
  26
+freesbie: iso
  27
+
  28
+pkgselect: obj
  29
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} pkgselect
  30
+
  31
+obj: .done_objdir
  32
+.done_objdir:
  33
+	@if ! test -d ${CANONICALOBJDIR}/; then \
  34
+		mkdir -p ${CANONICALOBJDIR}; \
  35
+		if ! test -d ${CANONICALOBJDIR}/; then \
  36
+			${ECHO} "Unable to create ${CANONICALOBJDIR}."; \
  37
+			exit 1; \
  38
+		fi; \
  39
+	fi
  40
+	@if ! test -f .done_objdir; then \
  41
+		touch ${CANONICALOBJDIR}/.done_objdir; \
  42
+	fi
  43
+
  44
+buildworld: .done_buildworld
  45
+.done_buildworld: .done_objdir
  46
+	@-rm -f ${CANONICALOBJDIR}/.tmp_buildworld
  47
+	@touch ${CANONICALOBJDIR}/.tmp_buildworld
  48
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} buildworld ${CANONICALOBJDIR}/.tmp_buildworld
  49
+	@mv ${CANONICALOBJDIR}/.tmp_buildworld ${CANONICALOBJDIR}/.done_buildworld
  50
+
  51
+installworld: .done_installworld
  52
+.done_installworld: .done_buildworld
  53
+	@-rm -f ${CANONICALOBJDIR}/.tmp_installworld
  54
+	@touch ${CANONICALOBJDIR}/.tmp_installworld
  55
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} installworld ${CANONICALOBJDIR}/.tmp_installworld
  56
+	@mv ${CANONICALOBJDIR}/.tmp_installworld ${CANONICALOBJDIR}/.done_installworld
  57
+
  58
+buildkernel: .done_buildkernel
  59
+.done_buildkernel: .done_buildworld
  60
+	@-rm -f ${CANONICALOBJDIR}/.tmp_buildkernel
  61
+	@touch ${CANONICALOBJDIR}/.tmp_buildkernel
  62
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} buildkernel ${CANONICALOBJDIR}/.tmp_buildkernel
  63
+	@mv ${CANONICALOBJDIR}/.tmp_buildkernel ${CANONICALOBJDIR}/.done_buildkernel
  64
+
  65
+installkernel: .done_installkernel
  66
+.done_installkernel: .done_buildkernel .done_installworld
  67
+	@-rm -f ${CANONICALOBJDIR}/.tmp_installkernel
  68
+	@touch ${CANONICALOBJDIR}/.tmp_installkernel
  69
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} installkernel ${CANONICALOBJDIR}/.tmp_installkernel
  70
+	@mv ${CANONICALOBJDIR}/.tmp_installkernel ${CANONICALOBJDIR}/.done_installkernel
  71
+
  72
+pkginstall: .done_pkginstall
  73
+.done_pkginstall: .done_installworld
  74
+	@-rm -f ${CANONICALOBJDIR}/.tmp_pkginstall
  75
+	@touch ${CANONICALOBJDIR}/.tmp_pkginstall
  76
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} pkginstall ${CANONICALOBJDIR}/.tmp_pkginstall
  77
+	@mv ${CANONICALOBJDIR}/.tmp_pkginstall ${CANONICALOBJDIR}/.done_pkginstall
  78
+
  79
+extra:	.done_extra
  80
+.done_extra: .done_installworld
  81
+	@-rm -f ${CANONICALOBJDIR}/.tmp_extra
  82
+	@touch ${CANONICALOBJDIR}/.tmp_extra
  83
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} extra ${CANONICALOBJDIR}/.tmp_extra
  84
+	@mv ${CANONICALOBJDIR}/.tmp_extra ${CANONICALOBJDIR}/.done_extra
  85
+
  86
+clonefs: .done_clonefs
  87
+.done_clonefs: .done_installkernel .done_pkginstall .done_extra
  88
+	@-rm -f ${CANONICALOBJDIR}/.tmp_clonefs
  89
+	@touch ${CANONICALOBJDIR}/.tmp_clonefs
  90
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} clonefs ${CANONICALOBJDIR}/.tmp_clonefs
  91
+	@mv ${CANONICALOBJDIR}/.tmp_clonefs ${CANONICALOBJDIR}/.done_clonefs
  92
+
  93
+compressfs:
  94
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} compressfs ${CANONICALOBJDIR}/.tmp_extra
  95
+
  96
+iso: .done_iso
  97
+.done_iso: .done_clonefs
  98
+	@-rm -f ${CANONICALOBJDIR}/.tmp_iso
  99
+	@touch ${CANONICALOBJDIR}/.tmp_iso
  100
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} iso ${CANONICALOBJDIR}/.tmp_iso
  101
+	@mv ${CANONICALOBJDIR}/.tmp_iso ${CANONICALOBJDIR}/.done_iso
  102
+
  103
+img: .done_img
  104
+.done_img: .done_clonefs
  105
+	@-rm -f ${CANONICALOBJDIR}/.tmp_img
  106
+	@touch ${CANONICALOBJDIR}/.tmp_img
  107
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} img ${CANONICALOBJDIR}/.tmp_img
  108
+	@mv ${CANONICALOBJDIR}/.tmp_img ${CANONICALOBJDIR}/.done_img
  109
+
  110
+flash: .done_flash
  111
+.done_flash: .done_clonefs
  112
+	@-rm -f ${CANONICALOBJDIR}/.tmp_flash
  113
+	@touch ${CANONICALOBJDIR}/.tmp_flash
  114
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} flash ${CANONICALOBJDIR}/.tmp_flash
  115
+	@mv ${CANONICALOBJDIR}/.tmp_flash ${CANONICALOBJDIR}/.done_flash
  116
+
  117
+clean:
  118
+	@-rm -f .tmp* .done* > /dev/null 2>&1
  119
+
  120
+cleandir: clean
  121
+	@sh ${.CURDIR}/scripts/launch.sh ${.CURDIR} cleandir
307  conf/amd64/FREESBIE
... ...
@@ -0,0 +1,307 @@
  1
+ # $FreeBSD$
  2
+# $Id: FREESBIE,v 1.1.1.1 2008/03/25 19:58:15 sullrich Exp $
  3
+
  4
+machine		amd64
  5
+cpu 		HAMMER
  6
+ident		FREESBIE
  7
+
  8
+# To statically compile in device wiring instead of /boot/device.hints
  9
+#hints		"GENERIC.hints"		# Default places to look for devices.
  10
+
  11
+options 	SCHED_ULE		# ULE scheduler
  12
+#options 	SCHED_4BSD		# 4BSD scheduler
  13
+options 	PREEMPTION		# Enable kernel thread preemption
  14
+options 	INET			# InterNETworking
  15
+options 	INET6			# IPv6 communications protocols
  16
+options 	SCTP			# Stream Control Transmission Protocol 
  17
+options 	FFS			# Berkeley Fast Filesystem
  18
+options 	SOFTUPDATES		# Enable FFS soft updates support
  19
+options 	UFS_ACL			# Support for access control lists
  20
+options 	UFS_DIRHASH		# Improve performance on big directories
  21
+options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
  22
+options 	MD_ROOT			# MD is a potential root device
  23
+options 	NFSCLIENT		# Network Filesystem Client
  24
+options 	NFSSERVER		# Network Filesystem Server
  25
+options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
  26
+options 	NTFS 			# NT Filesystem
  27
+options 	MSDOSFS			# MSDOS Filesystem
  28
+options 	CD9660			# ISO 9660 Filesystem
  29
+options 	PROCFS			# Process filesystem (requires PSEUDOFS)
  30
+options 	PSEUDOFS		# Pseudo-filesystem framework
  31
+options 	GEOM_PART_GPT		# GUID Partition Tables.
  32
+options 	GEOM_LABEL		# Provides labelization
  33
+options 	COMPAT_43TTY		# Needed by COMPAT_LINUX32
  34
+options 	COMPAT_IA32		# Compatible with i386 binaries
  35
+options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
  36
+options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
  37
+options 	KTRACE			# ktrace(1) support
  38
+options 	STACK			# stack(9) support
  39
+options 	SYSVSHM			# SYSV-style shared memory
  40
+options 	SYSVMSG			# SYSV-style message queues
  41
+options 	SYSVSEM			# SYSV-style semaphores
  42
+options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  43
+options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
  44
+options 	STOP_NMI		# Stop CPUS using NMI instead of IPI
  45
+options 	UNIONFS			# Union filesystem
  46
+options 	TMPFS			# efficient memory filesystem
  47
+
  48
+# Workarounds for some known-to-be-broken chipsets (nVidia nForce3-Pro150)
  49
+device		atpic			# 8259A compatability
  50
+
  51
+# Enabling NO_MIXED_MODE gives a performance improvement on some motherboards
  52
+# but does not work with some boards (mostly nVidia chipset based).
  53
+#options 	NO_MIXED_MODE	# Don't penalize working chipsets
  54
+
  55
+# SMP kernel
  56
+options 	SMP			# Symmetric MultiProcessor Kernel
  57
+
  58
+# CPU frequency control
  59
+device		cpufreq
  60
+
  61
+# Bus supports
  62
+device		acpi
  63
+device		pci
  64
+
  65
+# Floppy drives
  66
+device		fdc
  67
+
  68
+# ATA and ATAPI devices
  69
+device		ata
  70
+device		atadisk		# ATA disk drives
  71
+device		ataraid		# ATA RAID drives
  72
+device		atapicd		# ATAPI CDROM drives
  73
+device		atapifd		# ATAPI floppy drives
  74
+device		atapist		# ATAPI tape drives
  75
+options 	ATA_STATIC_ID	# Static device numbering
  76
+
  77
+# SCSI Controllers
  78
+device		ahc		# AHA2940 and onboard AIC7xxx devices
  79
+options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
  80
+					# output.  Adds ~128k to driver.
  81
+device		ahd		# AHA39320/29320 and onboard AIC79xx devices
  82
+options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
  83
+					# output.  Adds ~215k to driver.
  84
+device		amd		# AMD 53C974 (Tekram DC-390(T))
  85
+device		hptiop		# Highpoint RocketRaid 3xxx series
  86
+device		isp		# Qlogic family
  87
+#device 	ispfw		# Firmware for QLogic HBAs- normally a module
  88
+device		mpt		# LSI-Logic MPT-Fusion
  89
+#device		ncr		# NCR/Symbios Logic
  90
+device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
  91
+device		trm		# Tekram DC395U/UW/F DC315U adapters
  92
+
  93
+device		adv		# Advansys SCSI adapters
  94
+device		adw		# Advansys wide SCSI adapters
  95
+device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
  96
+device		bt		# Buslogic/Mylex MultiMaster SCSI adapters
  97
+
  98
+
  99
+# SCSI peripherals
  100
+device		scbus		# SCSI bus (required for SCSI)
  101
+device		ch		# SCSI media changers
  102
+device		da		# Direct Access (disks)
  103
+device		sa		# Sequential Access (tape etc)
  104
+device		cd		# CD
  105
+device		pass		# Passthrough device (direct SCSI access)
  106
+device		ses		# SCSI Environmental Services (and SAF-TE)
  107
+
  108
+# RAID controllers interfaced to the SCSI subsystem
  109
+device		amr		# AMI MegaRAID
  110
+device		arcmsr		# Areca SATA II RAID
  111
+device		ciss		# Compaq Smart RAID 5*
  112
+device		dpt		# DPT Smartcache III, IV - See NOTES for options
  113
+device		hptmv		# Highpoint RocketRAID 182x
  114
+device		hptrr		# Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
  115
+device		rr232x		# Highpoint RocketRAID 232x
  116
+device		iir		# Intel Integrated RAID
  117
+device		ips		# IBM (Adaptec) ServeRAID
  118
+device		mly		# Mylex AcceleRAID/eXtremeRAID
  119
+device		twa		# 3ware 9000 series PATA/SATA RAID
  120
+
  121
+# RAID controllers
  122
+device		aac		# Adaptec FSA RAID
  123
+device		aacp		# SCSI passthrough for aac (requires CAM)
  124
+device		ida		# Compaq Smart RAID
  125
+device 		mfi 		# LSI MegaRAID SAS
  126
+device		mlx		# Mylex DAC960 family
  127
+#XXX pointer/int warnings
  128
+#device		pst		# Promise Supertrak SX6000
  129
+device		twe		# 3ware ATA RAID
  130
+
  131
+# atkbdc0 controls both the keyboard and the PS/2 mouse
  132
+device		atkbdc		# AT keyboard controller
  133
+device		atkbd		# AT keyboard
  134
+device		psm		# PS/2 mouse
  135
+
  136
+device		kbdmux		# keyboard multiplexer
  137
+
  138
+device		vga		# VGA video card driver
  139
+
  140
+device		splash		# Splash screen and screen saver support
  141
+
  142
+# syscons is the default console driver, resembling an SCO console
  143
+device		sc
  144
+
  145
+device		agp		# support several AGP chipsets
  146
+
  147
+# PCCARD (PCMCIA) support
  148
+# PCMCIA and cardbus bridge support
  149
+device		cbb		# cardbus (yenta) bridge
  150
+device		pccard		# PC Card (16-bit) bus
  151
+device		cardbus		# CardBus (32-bit) bus
  152
+
  153
+# Serial (COM) ports
  154
+device		sio		# 8250, 16[45]50 based serial ports
  155
+device		uart		# Generic UART driver
  156
+
  157
+# Parallel port
  158
+device		ppc
  159
+device		ppbus		# Parallel port bus (required)
  160
+device		lpt		# Printer
  161
+device		plip		# TCP/IP over parallel
  162
+device		ppi		# Parallel port interface device
  163
+#device		vpo		# Requires scbus and da
  164
+
  165
+# If you've got a "dumb" serial or parallel PCI card that is
  166
+# supported by the puc(4) glue driver, uncomment the following
  167
+# line to enable it (connects to the sio and/or ppc drivers):
  168
+#device 	puc
  169
+
  170
+# PCI Ethernet NICs.
  171
+device		de		# DEC/Intel DC21x4x (``Tulip'')
  172
+device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
  173
+device		ixgb		# Intel PRO/10GbE Ethernet Card
  174
+device		txp		# 3Com 3cR990 (``Typhoon'')
  175
+device		vx		# 3Com 3c590, 3c595 (``Vortex'')
  176
+
  177
+# PCI Ethernet NICs that use the common MII bus controller code.
  178
+# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
  179
+device		miibus		# MII bus support
  180
+device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
  181
+device		bfe		# Broadcom BCM440x 10/100 Ethernet
  182
+device		bge		# Broadcom BCM570xx Gigabit Ethernet
  183
+device		dc		# DEC/Intel 21143 and various workalikes
  184
+device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
  185
+device		lge		# Level 1 LXT1001 gigabit Ethernet
  186
+device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
  187
+device		nfe		# nVidia nForce MCP on-board Ethernet
  188
+device		nge		# NatSemi DP83820 gigabit Ethernet
  189
+#device		nve		# nVidia nForce MCP on-board Ethernet Networking
  190
+device		pcn		# AMD Am79C97x PCI 10/100(precedence over 'lnc')
  191
+device		re		# RealTek 8139C+/8169/8169S/8110S
  192
+device		rl		# RealTek 8129/8139
  193
+device		sf		# Adaptec AIC-6915 (``Starfire'')
  194
+device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
  195
+device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
  196
+device		ste		# Sundance ST201 (D-Link DFE-550TX)
  197
+device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
  198
+device		tl		# Texas Instruments ThunderLAN
  199
+device		tx		# SMC EtherPower II (83c170 ``EPIC'')
  200
+device		vge		# VIA VT612x gigabit Ethernet
  201
+device		vr		# VIA Rhine, Rhine II
  202
+device		wb		# Winbond W89C840F
  203
+device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
  204
+
  205
+# ISA Ethernet NICs.  pccard NICs included.
  206
+device		cs		# Crystal Semiconductor CS89x0 NIC
  207
+# 'device ed' requires 'device miibus'
  208
+device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
  209
+device		ex		# Intel EtherExpress Pro/10 and Pro/10+
  210
+device		ep		# Etherlink III based cards
  211
+device		fe		# Fujitsu MB8696x based cards
  212
+device		sn		# SMC's 9000 series of Ethernet chips
  213
+device		xe		# Xircom pccard Ethernet
  214
+
  215
+# Wireless NIC cards
  216
+device		wlan		# 802.11 support
  217
+device		wlan_wep	# 802.11 WEP support
  218
+device		wlan_ccmp	# 802.11 CCMP support
  219
+device		wlan_tkip	# 802.11 TKIP support
  220
+device		wlan_amrr	# 802.11 AMRR support
  221
+device		wlan_amrr	# AMRR transmit rate control algorithm
  222
+device		wlan_scan_ap	# 802.11 AP mode scanning
  223
+device		an		# Aironet 4500/4800 802.11 wireless NICs.
  224
+device		ath		# Atheros pci/cardbus NIC's
  225
+device		ath_hal		# Atheros HAL (Hardware Access Layer)
  226
+device		ath_rate_sample	# SampleRate tx rate control for ath
  227
+device		awi		# BayStack 660 and others
  228
+device		ral		# Ralink Technology RT2500 wireless NICs.
  229
+device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
  230
+
  231
+# Pseudo devices.
  232
+device		loop		# Network loopback
  233
+device		random		# Entropy device
  234
+device		ether		# Ethernet support
  235
+device		sl		# Kernel SLIP
  236
+device		ppp		# Kernel PPP
  237
+device		tun		# Packet tunnel.
  238
+device		pty		# Pseudo-ttys (telnet etc)
  239
+device		md		# Memory "disks"
  240
+device		gif		# IPv6 and IPv4 tunneling
  241
+device		faith		# IPv6-to-IPv4 relaying (translation)
  242
+device		firmware	# firmware assist module
  243
+
  244
+# The `bpf' device enables the Berkeley Packet Filter.
  245
+# Be aware of the administrative consequences of enabling this!
  246
+# Note that 'bpf' is required for DHCP.
  247
+device		bpf		# Berkeley packet filter
  248
+
  249
+# USB support
  250
+device		uhci		# UHCI PCI->USB interface
  251
+device		ohci		# OHCI PCI->USB interface
  252
+device		ehci		# EHCI PCI->USB interface (USB 2.0)
  253
+device		usb		# USB Bus (required)
  254
+#device		udbp		# USB Double Bulk Pipe devices
  255
+device		ugen		# Generic
  256
+device		uhid		# "Human Interface Devices"
  257
+device		ukbd		# Keyboard
  258
+device		ulpt		# Printer
  259
+device		umass		# Disks/Mass storage - Requires scbus and da
  260
+device		ums		# Mouse
  261
+device		ural		# Ralink Technology RT2500USB wireless NICs
  262
+device		rum		# Ralink Technology RT2501USB wireless NICs
  263
+device		urio		# Diamond Rio 500 MP3 player
  264
+device		uscanner	# Scanners
  265
+# USB Serial devices
  266
+device		ucom		# Generic com ttys
  267
+device		uark		# Technologies ARK3116 based serial adapters
  268
+device		ubsa		# Belkin F5U103 and compatible serial adapters
  269
+device		ubser		# BWCT console serial adapters
  270
+device		uftdi		# For FTDI usb serial adapters
  271
+device		uipaq		# Some WinCE based devices
  272
+device		uplcom		# Prolific PL-2303 serial adapters
  273
+device		uvisor		# Visor and Palm devices
  274
+device		uvscom		# USB serial support for DDI pocket's PHS
  275
+# USB Ethernet, requires miibus
  276
+device		aue		# ADMtek USB Ethernet
  277
+device		axe		# ASIX Electronics USB Ethernet
  278
+device		cdce		# Generic USB over Ethernet
  279
+device		cue		# CATC USB Ethernet
  280
+device		kue		# Kawasaki LSI USB Ethernet
  281
+device		rue		# RealTek RTL8150 USB Ethernet
  282
+device		udav		# Davicom DM9601E USB
  283
+
  284
+# FireWire support
  285
+device		firewire	# FireWire bus code
  286
+device		sbp		# SCSI over FireWire (Requires scbus and da)
  287
+device		fwe		# Ethernet over FireWire (non-standard!)
  288
+device		fwip		# IP over FireWire (rfc2734 and rfc3146)
  289
+device		dcons		# Dumb console driver
  290
+device		dcons_crom	# Configuration ROM for dcons
  291
+
  292
+device		bktr
  293
+
  294
+options		IPFIREWALL			#firewall
  295
+options		IPFIREWALL_VERBOSE		#print information about
  296
+options		IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
  297
+
  298
+device		pf				#PF OpenBSD packet-filter firewall
  299
+device		pflog				#logging support interface for PF
  300
+device		pfsync				#synchronization interface for PF
  301
+
  302
+options		IPSTEALTH
  303
+options		IPDIVERT
  304
+
  305
+options		GEOM_UZIP		# Read-only compressed disks
  306
+
  307
+options		SC_PIXEL_MODE			# add support for the raster text mode
132  conf/freesbie.defaults.conf
... ...
@@ -0,0 +1,132 @@
  1
+#!/bin/sh
  2
+#
  3
+# Default configuration file. 
  4
+#
  5
+# Copyright (c) 2005 Dario Freni
  6
+#
  7
+# See COPYING for license terms.
  8
+#
  9
+# $FreeBSD$
  10
+# $Id: freesbie.defaults.conf,v 1.1.1.1 2008/03/25 19:58:15 sullrich Exp $
  11
+#
  12
+# Don't modify this file, create your own conf/freesbie.conf instead,
  13
+# or set an environment variable called FREESBIE_CONF to the absolute
  14
+# path of your configuration file. Alternatively, you can set the
  15
+# variables you want to override as environment variables.
  16
+#
  17
+# Hint: when creating your own file, do not copy freesbie.defaults.conf,
  18
+# create it anew and override only the variables you need. Pay attention
  19
+# not to use the syntax
  20
+# BASEDIR=${BASEDIR:-"/foo/bla"}
  21
+# otherwise you'll end up using the default value of BASEDIR instead of
  22
+# "foo/bla" !
  23
+# Simply write:
  24
+# BASEDIR="/foo/bla"
  25
+
  26
+
  27
+# Variables
  28
+
  29
+# Path where files are installed.
  30
+BASEDIR=${BASEDIR:-"/usr/local/freesbie-fs"}
  31
+
  32
+# Temporary directory used when building images
  33
+CLONEDIR=${CLONEDIR:-"/usr/local/freesbie-clone"}
  34
+
  35
+# Directory with system sources
  36
+SRCDIR=${SRCDIR:-"/usr/src"}
  37
+
  38
+# Path of the built iso, use absolute path
  39
+ISOPATH=${ISOPATH:-"/usr/obj/FreeSBIE.iso"}
  40
+
  41
+# Path of the built image, use absolute path
  42
+IMGPATH=${IMGPATH:-"/usr/obj/FreeSBIE.img"}
  43
+
  44
+# Default parameters for the image, use diskinfo(1) to obtain yours
  45
+SECTS=${SECTS:-501760}	# Total number of sectors
  46
+SECTT=${SECTT:-32}	# Sectors/track
  47
+HEADS=${HEADS:-16}	# Heads
  48
+
  49
+#
  50
+# Optional variables
  51
+
  52
+# Arguments passed to make(1) when building world and kernel.
  53
+# Cannot be an environment variable.
  54
+#
  55
+#MAKEJ_WORLD=${MAKEJ_WORLD:-"-j3"}
  56
+#MAKEJ_KERNEL=${MAKEJ_KERNEL:-"-j1"}
  57
+
  58
+# Arguments passed to make(1) when building world and kernel.
  59
+# Can also be an environment variable.
  60
+#
  61
+#MAKEOPT="-DNO_CLEAN"
  62
+
  63
+# Kernel configuration file, with complete path
  64
+#
  65
+#KERNELCONF=/complete/path/to/MYCUSTOMKERNEL
  66
+
  67
+# If you want to use a custom make.conf, define it here. Otherwise,
  68
+# make.conf or make.conf.minimal under conf/ are used.
  69
+#
  70
+#SRCCONF=/etc/make.conf
  71
+
  72
+# The src.conf file contains settings that will apply to every build
  73
+# involving the FreeBSD source tree; see build(7) and src.conf(5)
  74
+# only for 7.0-CURRENT
  75
+SRC_CONF=${SRC_CONF:-"/dev/null"}
  76
+
  77
+# You can specify which files to add to your system one by one. Just
  78
+# put the list in a text file and set the absolute path in FILE_LIST
  79
+# variable
  80
+#
  81
+#FILE_LIST=/my/own/file_list.txt
  82
+
  83
+# You can specify which files to remove from your built system. Just
  84
+# put the list in a text file and set the absolute path in PRUNE_LIST
  85
+# variable. Wildcards are also accepted
  86
+#
  87
+#PRUNE_LIST=/my/own/prune_em_all.txt
  88
+
  89
+# Set PFSPKGFILE variable to a text file containing a list of packages to
  90
+# install in the built system. This file can be either a pkg_info(1)
  91
+# like output either a list of packages without version number. Please
  92
+# note that this file will be rewritten if you run `make pkgselect'
  93
+#
  94
+#PFSPKGFILE=/my/own/pkg_info_output.txt
  95
+
  96
+# Set EXTRA variable to the additional plugins you want to run in your
  97
+# system. Please note that plugins are executed in the same order as
  98
+# listed in this variable
  99
+#
  100
+#EXTRA="customroot rootmfs etcmfs"
  101
+
  102
+# Knobs
  103
+
  104
+# Define MINIMAL to build a minimal world (i.e.: use
  105
+# make.conf.minimal, full of NO_* knobs.
  106
+#
  107
+#MINIMAL=YES
  108
+
  109
+# Define NO_BUILDWORLD to avoid rebuilding world. Be sure you know
  110
+# what you're doing, you should have an already compiled world
  111
+#
  112
+#NO_BUILDWORLD=YES
  113
+
  114
+# Define NO_BUILDKERNEL to avoid rebuilding kernel. Be sure you know
  115
+# what you're doing, you should have an already compiled kernel 
  116
+#
  117
+#NO_BUILDKERNEL=YES
  118
+
  119
+# Define MAKEOBJDIRPREFIX to use an object directory different than /usr/obj.
  120
+# Be sure you know what you're doing, it is easy to introduce suble bugs.
  121
+#
  122
+#MAKEOBJDIRPREFIX=/path/to/obj
  123
+
  124
+# Define NO_COMPRESSEDFS if you don't want to have compressed fs
  125
+# inside the resulting image.
  126
+#
  127
+#NO_COMPRESSEDFS=YES
  128
+
  129
+# Define NO_UNIONFS if you want to avoid using unionfs in the built
  130
+# system
  131
+#
  132
+NO_UNIONFS=YES # Unionfs is broken in > 6.0, so disable it by default
321  conf/i386/FREESBIE
... ...
@@ -0,0 +1,321 @@
  1
+ $FreeBSD$
  2
+# $Id: FREESBIE,v 1.1.1.1 2008/03/25 19:58:15 sullrich Exp $
  3
+
  4
+machine		i386
  5
+cpu		I486_CPU
  6
+cpu		I586_CPU
  7
+cpu		I686_CPU
  8
+ident		FREESBIE
  9
+
  10
+# To statically compile in device wiring instead of /boot/device.hints
  11
+#hints		"GENERIC.hints"		# Default places to look for devices.
  12
+
  13
+options 	SCHED_ULE		# ULE scheduler
  14
+#options 	SCHED_4BSD		# 4BSD scheduler
  15
+options 	PREEMPTION		# Enable kernel thread preemption
  16
+options 	INET			# InterNETworking
  17
+options 	INET6			# IPv6 communications protocols
  18
+options 	SCTP			# Stream Control Transmission Protocol
  19
+options 	FFS			# Berkeley Fast Filesystem
  20
+options 	SOFTUPDATES		# Enable FFS soft updates support
  21
+options 	UFS_ACL			# Support for access control lists
  22
+options 	UFS_DIRHASH		# Improve performance on big directories
  23
+options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
  24
+options 	MD_ROOT			# MD is a potential root device
  25
+options 	NFSCLIENT		# Network Filesystem Client
  26
+options 	NFSSERVER		# Network Filesystem Server
  27
+options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
  28
+options 	MSDOSFS			# MSDOS Filesystem
  29
+options 	CD9660			# ISO 9660 Filesystem
  30
+options 	PROCFS			# Process filesystem (requires PSEUDOFS)
  31
+options 	PSEUDOFS		# Pseudo-filesystem framework
  32
+options 	GEOM_PART_GPT		# GUID Partition Tables.
  33
+options 	GEOM_LABEL		# Provides labelization
  34
+options 	COMPAT_43TTY		# Compatible with BSD 4.3 [KEEP THIS!]
  35
+options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
  36
+options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
  37
+options 	KTRACE			# ktrace(1) support
  38
+options 	SYSVSHM			# SYSV-style shared memory
  39
+options 	SYSVMSG			# SYSV-style message queues
  40
+options 	SYSVSEM			# SYSV-style semaphores
  41
+options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  42
+options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
  43
+options 	STOP_NMI		# Stop CPUS using NMI instead of IPI
  44
+options 	UNIONFS			# Union filesystem
  45
+options 	TMPFS			# efficient memory filesystem
  46
+
  47
+# To make an SMP kernel, the next two lines are needed
  48
+options 	SMP			# Symmetric MultiProcessor Kernel
  49
+device		apic			# I/O APIC
  50
+
  51
+# CPU frequency control
  52
+device		cpufreq
  53
+
  54
+# Bus support.  Do not remove isa, even if you have no isa slots
  55
+device		eisa
  56
+device		pci
  57
+
  58
+device 		firmware
  59
+# Floppy drives
  60
+device		fdc
  61
+
  62
+# ATA and ATAPI devices
  63
+device		ata
  64
+device		atadisk		# ATA disk drives
  65
+device		ataraid		# ATA RAID drives
  66
+device		atapicd		# ATAPI CDROM drives
  67
+device		atapifd		# ATAPI floppy drives
  68
+device		atapist		# ATAPI tape drives
  69
+options 	ATA_STATIC_ID	# Static device numbering
  70
+
  71
+# SCSI Controllers
  72
+device		ahb		# EISA AHA1742 family
  73
+device		ahc		# AHA2940 and onboard AIC7xxx devices
  74
+options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
  75
+					# output.  Adds ~128k to driver.
  76
+device		ahd		# AHA39320/29320 and onboard AIC79xx devices
  77
+options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
  78
+					# output.  Adds ~215k to driver.
  79
+device		amd		# AMD 53C974 (Tekram DC-390(T))
  80
+device		hptiop		# Highpoint RocketRaid 3xxx series
  81
+device		isp		# Qlogic family
  82
+#device 	ispfw	# Firmware for QLogic HBAs- normally a module
  83
+device		mpt		# LSI-Logic MPT-Fusion
  84
+#device		ncr		# NCR/Symbios Logic
  85
+device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
  86
+device		trm		# Tekram DC395U/UW/F DC315U adapters
  87
+
  88
+device		adv		# Advansys SCSI adapters
  89
+device		adw		# Advansys wide SCSI adapters
  90
+device		aha		# Adaptec 154x SCSI adapters
  91
+device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
  92
+device		bt		# Buslogic/Mylex MultiMaster SCSI adapters
  93
+
  94
+device		ncv		# NCR 53C500
  95
+device		nsp		# Workbit Ninja SCSI-3
  96
+device		stg		# TMC 18C30/18C50
  97
+
  98
+# SCSI peripherals
  99
+device		scbus		# SCSI bus (required for SCSI)
  100
+device		ch		# SCSI media changers
  101
+device		da		# Direct Access (disks)
  102
+device		sa		# Sequential Access (tape etc)
  103
+device		cd		# CD
  104
+device		pass		# Passthrough device (direct SCSI access)
  105
+device		ses		# SCSI Environmental Services (and SAF-TE)
  106
+
  107
+# RAID controllers interfaced to the SCSI subsystem
  108
+device		amr		# AMI MegaRAID
  109
+device		arcmsr		# Areca SATA II RAID
  110
+device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
  111
+device		ciss		# Compaq Smart RAID 5*
  112
+device		dpt		# DPT Smartcache III, IV - See NOTES for options
  113
+device		hptmv		# Highpoint RocketRAID 182x
  114
+device		hptrr		# Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
  115
+device		rr232x		# Highpoint RocketRAID 232x
  116
+device		iir		# Intel Integrated RAID
  117
+device		ips		# IBM (Adaptec) ServeRAID
  118
+device		mly		# Mylex AcceleRAID/eXtremeRAID
  119
+device		twa		# 3ware 9000 series PATA/SATA RAID
  120
+
  121
+# RAID controllers
  122
+device		aac		# Adaptec FSA RAID
  123
+device		aacp		# SCSI passthrough for aac (requires CAM)
  124
+device		ida		# Compaq Smart RAID
  125
+device		mfi		# LSI MegaRAID SAS
  126
+device		mlx		# Mylex DAC960 family
  127
+device		pst		# Promise Supertrak SX6000
  128
+device		twe		# 3ware ATA RAID
  129
+
  130
+# atkbdc0 controls both the keyboard and the PS/2 mouse
  131
+device		atkbdc		# AT keyboard controller
  132
+device		atkbd		# AT keyboard
  133
+device		psm		# PS/2 mouse
  134
+
  135
+device		vga		# VGA video card driver
  136
+
  137
+device		splash		# Splash screen and screen saver support
  138
+
  139
+# syscons is the default console driver, resembling an SCO console
  140
+device		sc
  141
+
  142
+device		agp		# support several AGP chipsets
  143
+
  144
+# Power management support (see NOTES for more options)
  145
+#device		apm
  146
+# Add suspend/resume support for the i8254.
  147
+device		pmtimer
  148
+
  149
+# PCCARD (PCMCIA) support
  150
+# PCMCIA and cardbus bridge support
  151
+device		cbb		# cardbus (yenta) bridge
  152
+device		pccard		# PC Card (16-bit) bus
  153
+device		cardbus		# CardBus (32-bit) bus
  154
+
  155
+# Serial (COM) ports
  156
+device		sio		# 8250, 16[45]50 based serial ports
  157
+device		uart		# Generic UART driver
  158
+
  159
+# Parallel port
  160
+device		ppc
  161
+device		ppbus		# Parallel port bus (required)
  162
+device		lpt		# Printer
  163
+device		plip		# TCP/IP over parallel
  164
+device		ppi		# Parallel port interface device
  165
+#device		vpo		# Requires scbus and da
  166
+
  167
+# If you've got a "dumb" serial or parallel PCI card that is
  168
+# supported by the puc(4) glue driver, uncomment the following
  169
+# line to enable it (connects to the sio and/or ppc drivers):
  170
+#device 	puc
  171
+
  172
+# PCI Ethernet NICs.
  173
+device		de		# DEC/Intel DC21x4x (``Tulip'')
  174
+device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
  175
+device		ixgb		# Intel PRO/10GbE Ethernet Card
  176
+device		le		# AMD Am7900 LANCE and Am79C9xx PCnet
  177
+device		txp		# 3Com 3cR990 (``Typhoon'')
  178
+device		vx		# 3Com 3c590, 3c595 (``Vortex'')
  179
+
  180
+# PCI Ethernet NICs that use the common MII bus controller code.
  181
+# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
  182
+device		miibus		# MII bus support
  183
+device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
  184
+device		bfe		# Broadcom BCM440x 10/100 Ethernet
  185
+device		bge		# Broadcom BCM570xx Gigabit Ethernet
  186
+device		dc		# DEC/Intel 21143 and various workalikes
  187
+device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
  188
+device		lge		# Level 1 LXT1001 gigabit Ethernet
  189
+device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
  190
+device		nfe		# nVidia nForce MCP on-board Ethernet
  191
+device		nge		# NatSemi DP83820 gigabit Ethernet
  192
+#device		nve		# nVidia nForce MCP on-board Ethernet Networking
  193
+device		pcn		# AMD Am79C97x PCI 10/100(precedence over 'lnc')
  194
+device		re		# RealTek 8139C+/8169/8169S/8110S
  195
+device		rl		# RealTek 8129/8139
  196
+device		sf		# Adaptec AIC-6915 (``Starfire'')
  197
+device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
  198
+device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
  199
+device		ste		# Sundance ST201 (D-Link DFE-550TX)
  200
+device		stge		# Sundance/Tamarack TC9021 gigabit Ethernet
  201
+device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
  202
+device		tl		# Texas Instruments ThunderLAN
  203
+device		tx		# SMC EtherPower II (83c170 ``EPIC'')
  204
+device		vge		# VIA VT612x gigabit Ethernet
  205
+device		vr		# VIA Rhine, Rhine II
  206
+device		wb		# Winbond W89C840F
  207
+device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
  208
+
  209
+# ISA Ethernet NICs.  pccard NICs included.
  210
+device		cs		# Crystal Semiconductor CS89x0 NIC
  211
+# 'device ed' requires 'device miibus'
  212
+device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
  213
+device		ex		# Intel EtherExpress Pro/10 and Pro/10+
  214
+device		ep		# Etherlink III based cards
  215
+device		fe		# Fujitsu MB8696x based cards
  216
+device		ie		# EtherExpress 8/16, 3C507, StarLAN 10 etc.
  217
+device		sn		# SMC's 9000 series of Ethernet chips
  218
+device		xe		# Xircom pccard Ethernet
  219
+
  220
+# ISA devices that use the old ISA shims
  221
+#device		le
  222
+
  223
+# Wireless NIC cards
  224
+device		wlan		# 802.11 support
  225
+device		wlan_wep	# 802.11 WEP support
  226
+device		wlan_ccmp	# 802.11 CCMP support
  227
+device		wlan_tkip	# 802.11 TKIP support
  228
+device		wlan_amrr	# 802.11 support
  229
+device		wlan_scan_ap	# 802.11 AP mode scanning
  230
+device		wlan_scan_sta	# 802.11 STA mode scanning
  231
+device		an		# Aironet 4500/4800 802.11 wireless NICs.
  232
+device		ath		# Atheros pci/cardbus NIC's
  233
+device		ath_hal		# Atheros HAL (Hardware Access Layer)
  234
+device		ath_rate_sample	# SampleRate tx rate control for ath
  235
+device		awi		# BayStack 660 and others
  236
+device		ral		# Ralink Technology RT2500 wireless NICs.
  237
+device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
  238
+#device		wl		# Older non 802.11 Wavelan wireless NIC.
  239
+
  240
+# Pseudo devices.
  241
+device		loop		# Network loopback
  242
+device		random		# Entropy device
  243
+device		ether		# Ethernet support
  244
+device		sl		# Kernel SLIP
  245
+device		ppp		# Kernel PPP
  246
+device		tun		# Packet tunnel.
  247
+device		pty		# Pseudo-ttys (telnet etc)
  248
+device		md		# Memory "disks"
  249
+device		gif		# IPv6 and IPv4 tunneling
  250
+device		faith		# IPv6-to-IPv4 relaying (translation)
  251
+device		firmware	# firmware assist module
  252
+
  253
+# The `bpf' device enables the Berkeley Packet Filter.
  254
+# Be aware of the administrative consequences of enabling this!
  255
+# Note that 'bpf' is required for DHCP.
  256
+device		bpf		# Berkeley packet filter
  257
+
  258
+# USB support
  259
+device		uhci		# UHCI PCI->USB interface
  260
+device		ohci		# OHCI PCI->USB interface
  261
+device		ehci		# EHCI PCI->USB interface (USB 2.0)
  262
+device		usb		# USB Bus (required)
  263
+#device		udbp		# USB Double Bulk Pipe devices
  264
+device		ugen		# Generic
  265
+device		uhid		# "Human Interface Devices"
  266
+device		ukbd		# Keyboard
  267
+device		ulpt		# Printer
  268
+device		umass		# Disks/Mass storage - Requires scbus and da
  269
+device		ums		# Mouse
  270
+device		ural		# Ralink Technology RT2500USB wireless NICs
  271
+device		rum		# Ralink Technology RT2501USB wireless NICs
  272
+device		zyd		# ZyDAS zb1211/zb1211b wireless NICs
  273
+device		urio		# Diamond Rio 500 MP3 player
  274
+device		uscanner	# Scanners
  275
+# USB Serial devices
  276
+device		ucom		# Generic com ttys
  277
+device		uark		# Technologies ARK3116 based serial adapters
  278
+device		ubsa		# Belkin F5U103 and compatible serial adapters
  279
+device		ubser		# BWCT console serial adapters
  280
+device		uftdi		# For FTDI usb serial adapters
  281
+device		uipaq		# Some WinCE based devices
  282
+device		uplcom		# Prolific PL-2303 serial adapters
  283
+device		uvisor		# Visor and Palm devices
  284
+device		uvscom		# USB serial support for DDI pocket's PHS
  285
+# USB Ethernet, requires miibus
  286
+device		aue		# ADMtek USB Ethernet
  287
+device		axe		# ASIX Electronics USB Ethernet
  288
+device		cdce		# Generic USB over Ethernet
  289
+device		cue		# CATC USB Ethernet
  290
+device		kue		# Kawasaki LSI USB Ethernet
  291
+device		rue		# RealTek RTL8150 USB Ethernet
  292
+
  293
+# FireWire support
  294
+device		firewire	# FireWire bus code
  295
+device		sbp		# SCSI over FireWire (Requires scbus and da)
  296
+device		fwe		# Ethernet over FireWire (non-standard!)
  297
+device		fwip		# IP over FireWire (rfc2734 and rfc3146)
  298
+device		dcons		# Dumb console driver
  299
+device		dcons_crom	# Configuration ROM for dcons
  300
+
  301
+device		bktr
  302
+
  303
+device		crypto		# core crypto support
  304
+device		cryptodev	# /dev/crypto for access to h/w
  305
+
  306
+options		IPFIREWALL			#firewall
  307
+options		IPFIREWALL_VERBOSE		#print information about
  308
+options		IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
  309
+
  310
+device		pf				#PF OpenBSD packet-filter firewall
  311
+device		pflog				#logging support interface for PF
  312
+device		pfsync				#synchronization interface for PF
  313
+
  314
+options		IPSTEALTH
  315
+options		IPDIVERT
  316
+
  317
+options		GEOM_UZIP		# Read-only compressed disks
  318
+
  319
+options		VESA
  320
+options		SC_PIXEL_MODE
  321
+
5  conf/make.conf
... ...
@@ -0,0 +1,5 @@
  1
+# $FreeBSD$
  2
+# $Id: make.conf,v 1.1.1.1 2008/03/25 19:58:15 sullrich Exp $
  3
+
  4
+NO_PROFILE=TRUE
  5
+INSTALL_NODEBUG=TRUE
52  conf/make.conf.minimal
... ...
@@ -0,0 +1,52 @@
  1
+# $FreeBSD$
  2
+# $Id: make.conf.minimal,v 1.1.1.1 2008/03/25 19:58:15 sullrich Exp $
  3
+
  4
+NO_ACPI=YES
  5
+NO_ATM=YES
  6
+NO_AUTHPF=YES
  7
+NO_BIND=YES
  8
+NO_BIND_DNSSEC=YES
  9
+NO_BIND_ETC=YES
  10
+NO_BIND_LIBS_LWRES=YES
  11
+NO_BIND_MTREE=YES
  12
+NO_BIND_NAMED=YES
  13
+NO_BIND_UTILS=YES
  14
+NO_BLUETOOTH=YES
  15
+NO_CVS=YES
  16
+NO_CXX=YES
  17
+NO_DICT=YES
  18
+NO_FORTRAN=YES
  19
+NO_GAMES=YES
  20
+NO_GCOV=YES
  21
+NO_GDB=YES
  22
+NO_GPIB=YES
  23
+NO_HESIOD_LIBC=YES
  24
+NO_HTML=YES
  25
+NO_I4B=YES
  26
+NO_INET6=YES
  27
+NO_INFO=YES
  28
+NO_IPFILTER=YES
  29
+NO_KERBEROS=YES
  30
+NO_KLDLOAD=YES
  31
+NO_LIBC_R=YES
  32
+NO_LIBPTHREAD=YES
  33
+NO_LIBTHR=YES
  34
+NO_LPR=YES
  35
+NO_MAILWRAPPER=YES
  36
+NO_MAN=YES
  37
+NO_MODULES=YES
  38
+NO_NETCAT=YES
  39
+NO_NETGRAPH=YES
  40
+NO_NIS=YES
  41
+NO_OBJC=YES
  42
+NO_P1003_1B=YES
  43
+NO_PAM=YES
  44
+NO_PF=YES
  45
+NO_PROFILE=YES
  46
+NO_RESCUE=YES
  47
+NO_TOOLCHAIN=YES
  48
+NO_USB=YES
  49
+NO_VINUM=YES
  50
+NO_SENDMAIL=YES
  51
+NO_SHAREDOCS=YES
  52
+PPP_NO_RADIUS=YES
142  conf/powerpc/FREESBIE
... ...
@@ -0,0 +1,142 @@
  1
+# $FreeBSD$
  2
+# $Id: FREESBIE,v 1.1.1.1 2008/03/25 19:58:15 sullrich Exp $
  3
+
  4
+machine		powerpc
  5
+cpu		OEA
  6
+ident		FREESBIE
  7
+
  8
+#To statically compile in device wiring instead of /boot/device.hints
  9
+#hints		"GENERIC.hints"
  10
+
  11
+makeoptions	WERROR=-Wno-error	#XXX: We don't want -Werror just now
  12
+
  13
+# Platform support
  14
+options 	POWERMAC		#NewWorld Apple PowerMacs
  15
+options 	PSIM			#GDB PSIM ppc simulator
  16
+
  17
+#options 	SCHED_ULE		#ULE scheduler
  18
+options 	SCHED_4BSD		#4BSD scheduler
  19
+options 	INET			#InterNETworking
  20
+options 	INET6			#IPv6 communications protocols
  21
+options 	FFS			#Berkeley Fast Filesystem
  22
+options 	SOFTUPDATES		#Enable FFS soft updates support
  23
+options 	UFS_ACL			#Support for access control lists
  24
+options 	UFS_DIRHASH		#Improve performance on big directories
  25
+options 	MD_ROOT			#MD is a potential root device
  26
+options 	NFSCLIENT		#Network Filesystem Client
  27
+options 	NFSSERVER		#Network Filesystem Server
  28
+options 	NFS_ROOT		#NFS usable as root device
  29
+options 	MSDOSFS			#MSDOS Filesystem
  30
+options 	CD9660			#ISO 9660 Filesystem
  31
+options 	PROCFS			#Process filesystem (requires PSEUDOFS)
  32
+options 	PSEUDOFS		#Pseudo-filesystem framework
  33
+options 	GEOM_GPT		#GUID Partition Tables.
  34
+options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
  35
+options 	COMPAT_FREEBSD4		#Keep this for a while
  36
+options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI 
  37
+options 	KTRACE			#ktrace(1) syscall trace support
  38
+options 	SYSVSHM			#SYSV-style shared memory
  39
+options 	SYSVMSG			#SYSV-style message queues
  40
+options 	SYSVSEM			#SYSV-style semaphores
  41
+options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
  42
+
  43
+# To make an SMP kernel, the next line is needed
  44
+#options 	SMP			# Symmetric MultiProcessor Kernel
  45
+
  46
+# Standard busses
  47
+device		pci
  48
+
  49
+# ATA and ATAPI devices
  50
+device		ata
  51
+device		atadisk		# ATA disk drives
  52
+device		atapicd		# ATAPI CDROM drives
  53
+#device		atapifd		# ATAPI floppy drives
  54
+#device		atapist		# ATAPI tape drives
  55
+
  56
+# SCSI peripherals
  57
+device		scbus		# SCSI bus (required for SCSI)
  58
+device		da		# Direct Access (disks)
  59
+device		sa		# Sequential Access (tape etc)
  60
+device		cd		# CD
  61
+device		pass		# Passthrough device (direct SCSI access)
  62
+
  63
+# syscons is the default console driver, resembling an SCO console
  64
+device		sc
  65
+options		SC_OFWFB	# OFW frame buffer
  66
+options		SC_DFLT_FONT	# compile font in
  67
+makeoptions	SC_DFLT_FONT=cp437
  68
+
  69
+# Serial (COM) ports
  70
+#device		sio		# 8250, 16[45]50 based serial ports
  71
+device		zs		# Zilog 8350 based serial ports
  72
+
  73
+# PCI Ethernet NICs that use the common MII bus controller code.
  74
+device		miibus		# MII bus support
  75
+device		gem		# Sun GEM/Sun ERI/Apple GMAC
  76
+device 		dc		# DEC/Intel 21143 and various workalikes
  77
+device 		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
  78
+
  79
+# Pseudo devices.
  80
+device		loop		# Network loopback
  81
+device		mem		# Memory and kernel memory devices
  82
+device		random		# Entropy device
  83
+device		ether		# Ethernet support
  84
+device		sl		# Kernel SLIP
  85
+device		ppp		# Kernel PPP
  86
+device		tun		# Packet tunnel.
  87
+device		pty		# Pseudo-ttys (telnet etc)
  88
+device		md		# Memory "disks"
  89
+device		ofwd		# Open Firmware disks
  90
+device		gif		# IPv6 and IPv4 tunneling
  91
+device		faith		# IPv6-to-IPv4 relaying/(translation)
  92
+
  93
+# The `bpf' device enables the Berkeley Packet Filter.
  94
+# Be aware of the administrative consequences of enabling this!
  95
+# Note that 'bpf' is required for DHCP.
  96
+device		bpf		#Berkeley packet filter
  97
+
  98
+# USB support
  99
+device		uhci		# UHCI PCI->USB interface
  100
+device		ohci		# OHCI PCI->USB interface
  101
+device		ehci		# EHCI PCI->USB interface
  102
+device		usb		# USB Bus (required)
  103
+device		ugen		# Generic
  104
+device		uhid		# "Human Interface Devices"
  105
+device		ukbd		# Keyboard
  106
+device		ulpt		# Printer
  107
+device		umass		# Disks/Mass storage - Requires scbus and da0
  108
+device		ums		# Mouse
  109
+device		urio		# Diamond Rio 500 MP3 player
  110
+device		uscanner	# Scanners
  111
+# USB Ethernet
  112
+device		aue		# ADMtek USB Ethernet
  113
+device		axe		# ASIX Electronics USB Ethernet
  114
+device		cdce		# Generic USB over Ethernet
  115
+device		cue		# CATC USB Ethernet
  116
+device		kue		# Kawasaki LSI USB Ethernet
  117
+
  118
+# FireWire support
  119
+device		firewire	# FireWire bus code
  120
+device		sbp		# SCSI over FireWire (Requires scbus and da)
  121
+device		fwe		# Ethernet over FireWire (non-standard!)
  122
+
  123
+options 	KTR
  124
+options 	KTR_COMPILE=0xffffffff
  125
+#options 	KTR_MASK=KTR_SIG
  126
+options 	KTR_VERBOSE
  127
+
  128
+options		IPFIREWALL	#firewall
  129
+options		IPFIREWALL_VERBOSE	#print information about
  130
+options         IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
  131
+
  132
+device		pf		#PF OpenBSD packet-filter firewall
  133
+device          pflog		#logging support interface for PF
  134
+device          pfsync		#synchronization interface for PF
  135
+
  136
+options		IPSTEALTH
  137
+options		IPDIVERT
  138
+options		TCP_DROP_SYNFIN	#drop TCP packets with SYN+FIN
  139
+
  140
+options		GEOM_UZIP		# Read-only compressed disks
  141
+options 	GEOM_LABEL		# Providers labelization.
  142
+
40  conf/rc.d/unionfs
... ...
@@ -0,0 +1,40 @@
  1
+#!/bin/sh
  2
+#
  3
+# $FreeBSD$
  4
+# $Id: unionfs,v 1.1.1.1 2008/03/25 19:58:15 sullrich Exp $
  5
+#
  6
+
  7
+# PROVIDE: unionfs
  8
+# REQUIRE: disks
  9
+# BEFORE:  hostid
  10
+# KEYWORD: nojail
  11
+
  12
+. /etc/rc.subr
  13
+
  14
+name="unionfs"
  15
+start_cmd="unionfs_start"
  16
+stop_cmd=""
  17
+
  18
+unionfs_start() {
  19
+    unionsize="$(($(sysctl -n hw.usermem) / 2))b"
  20
+    device=$(mdconfig -a -t malloc -s ${unionsize})
  21
+    newfs /dev/${device} > /dev/null 2>&1
  22
+    mount /dev/${device} /mnt/union
  23
+
  24
+    # TMPFS does not support unionfs yet.
  25
+    #mount -t tmpfs tmpfs /mnt/union
  26
+
  27
+    # Use TMPFS for /tmp
  28
+    mount -t tmpfs tmpfs /tmp
  29
+
  30
+    while read uniondir; do
  31
+	mkdir /mnt/union/${uniondir}
  32
+	mount_unionfs -o copymode=transparent -o noatime /mnt/union/${uniondir} /${uniondir}
  33
+	if [ -f /dist/${uniondir}.dirs ]; then
  34
+	    mtree -PU -p /${uniondir} < /dist/${uniondir}.dirs > /dev/null 2>&1
  35
+	fi
  36
+    done < /dist/uniondirs
  37
+}
  38
+
  39
+load_rc_config $name
  40
+run_rc_command "$1"
42  conf/rc.d/uzip
... ...
@@ -0,0 +1,42 @@
  1
+#!/bin/sh
  2
+#
  3
+# $FreeBSD$