/etc/rc.conf
# - sysinstall generated deltas - # Sun Nov 7 19:38:56 2004 # create: Sun Nov 7 19:38:56 2004 # enable network daem for user convenience. # please file, not to / etc / defaults / rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf.defaultrouter="192.168.10.254"hostname="NCLUS.BITI"ifconfig_rl0="inet 192.168.10.81 netmask 255.255. 255.0 "moused_enable =" YES "moused_flags =" - z 4 "usbd_enable =" YES "allscreens_flags =" - g 100x37 VESA_800x600 "sendmail_enable =" NO "sendmail_submit_enable =" NO "sendmail_outbound_enable =" NO "sendmail_msp_queue_enable =" NO "# This file Now Contains Just the overrides from /etc/defaults/rc.conf.# please make all changes to this file, not to /etc/defaults/rc.conf. # Enable Network daem for user convenience. # created: Sun Nov 7 11 : 40: 35 2004
/etc/make.conf
# $ Freebsd: src / share / example / etc / make.conf, v 1.218 2003/09/24 04:19:26 GSHAPIRO EXP $ ## NOTE: please would any committer updating this file also update the # make.conf ( 5) Manual Page, IF Necessary, Which is located in # src / share / man / man5 / make.conf.5. ## /etc/make.conf, if present, Will Be Read by Make (see # / usr / share / mk / sys.mk). It allows you to override macro definitions # to make without changing your source tree, or anything the source # tree installs. ## This file must be in valid Makefile syntax. ## There are additional things you can put into /etc/make.conf.# you have to find those in the Makefiles and documentation of # the source tree. ### The CPUTYPE variable controls which processor should be targeted for # generated code. This controls processor-specific optimizations in # certain code (currently only OpenSSL) as well as modifying the value # of CFLAGS to contain the appropriate optimization directive to gcc. # The automatic setting of CFLAGS may be overridden using the # NO_CPU_CF Lags Variable Belowing CPU Types Are Recognized: # Intel x86 Architecture: # (AMD CPUS) Athlon-MP Athlon-XP Athlon-4 Athlon-Tbird Athlon K6-3 # k6-2 K6 K5 # (Intel CPUS) p4 p3 p2 i686 i586 / mmx i586 i486 i386 # Alpha / AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4 # Intel ia64 architecture: itanium ## # CPUTYPE = athlon-xp (= allows to buildworld for a different CPUTYPE?.)? # No_cpu_cflags = true # Don't add -march =
. To COPTFLAGS automatically ## CFLAGS controls the compiler settings used when compiling C code # Note that optimization settings above -O (-O2, ...) are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to "-O" before submitting bug reports # to the developers. # Note also that at this time the -O2 setting is known to produce BROKEN # CODE on the Alpha platform. # CFLAGS = -O2 -pipe ## CXXFLAGS controls the compiler settings used when compiling C code. # Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish # to add to CXXFLAGS value, " =" must be used rather than "=". Using "=" # alone will remove the often needed contents of CFLAGS from CXXFLAGS. ## CXXFLAGS = -fmemoize-lookups -fsave-memoized ## MAKE_SHELL controls the shell used internally by make (1) to process the # command scripts in makefiles. Three shells are Supported, SH, KSH, AND # csh. using sh is most common, and advised. Using Ksh * May * Work , But is # not guaranteed to. Using csh is absurd. The default is to use sh. ## MAKE_SHELL? = Sh ## BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested # for use in developing FreeBSD and testing changes ............................................................. ..
-W -wall -ansi -pedantic -wbad-function-cast -wcast-align / # -wcast-qual -wchar-subscripts -winline / # -wmissing-prototypes -wnested-externs -wpointer-arith / # -wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings ## to compile just the kernel with special optimizations, you should use # this instead of CFLAGS (which is not applicable to kernel builds anyway). # There is very little to gain by using higher optimization levels, and doing # so can cause problems. ## COPTFLAGS = -O -pipe ## to build the system compiler such that it forces high optimization levels to # a lower one. GCC -O2 is known to trigger known optimizer bugs at various # times -.. this is worse on the Alpha platform The value assigned here will # be the highest optimization value used # WANT_FORCE_OPTIMIZATION_DOWNGRADE = 1 ## Compare before install # INSTALL = install -C ## mtree will follow symlinks # MTREE_FOLLOWS_SYMLINKS = - L ## to build ppp with normal permissions # ppp_nosuid = true ## to enable installing ssh (1) with the s etuid bit turned on # ENABLE_SUID_SSH = true ## To enable installing newgrp (1) with the setuid bit turned on. # Without the setuid bit, newgrp can not change users' groups. # ENABLE_SUID_NEWGRP = true ## To avoid building various parts of the base system: # NO_CVS = true # do not build CVS # NO_CXX = true # do not build C and friends # NO_BIND = true # do not build BIND # NO_FORTRAN = true # do not build g77 and related libraries # NO_GDB = true # do NOT build gdb # no_i4b = true # do not build isdn4bsd package # no_ipfilter = true # do not build ip filter package # no_kerberos = true # do not build and install Kerberos 5 (kth heimdal) # no_lpr =
true # do not build lpr and related programs # NO_MAILWRAPPER = true # do not build the mailwrapper (8) MTA selector # NO_MODULES = true # do not build modules with the kernel # NO_OBJC = true # do not build Objective C support # NO_OPENSSH = true # do not build OpenSSH # NO_OPENSSL = true # do not build OpenSSL (implies NO_KERBEROS and # NO_OPENSSH) # NO_SENDMAIL = true # do not build sendmail and related programs # NO_SHAREDOCS = true # do not build the 4.4BSD legacy docs # NO_TCSH = true # do not build and install / bin / csh (which is tcsh) # NO_X = true # do not compile in XWindows support (eg doscmd) # NOCRYPT = true # do not build any crypto codeNOGAMES = true # do not build games ( games / subdir) # NOINFO = true # do not make or install info files # NOLIBC_R = true # do not build libc_r (re-entrant version of libc) # NOMAN = true # do not build manual pages # NOPROFILE = true # Avoid compiling Profiled libraries # no not go into inte ### to build sys / modules by oor old of doing things) # MODULES_WITH_WORLD = true # do not build modules when building kernel ## The list of modules to build instead of all of them.MODULES_OVERRIDE = linux ipfw agp acpi msdosfs msdosfs_iconv ntfs / ntfs_iconv ext2fs libiconv ## If you always want to . build the Linux ext2fs kernel module # WANT_EXT2FS_MODULE = yes ## The following controls building optional IDEA code in libcrypto and # certain ports Patents are involved -. you must not use this unless # you either have a license or fall within patent 'fair use '
# provisions. ## *** It is your responsibility to determine if you can use! *** ## idea is patented in the USA and MANY EUROPEAN Countries - thought to # be ok to use for any non-Commercial USE. . This is optional # MAKE_IDEA = YES # IDEA (128 bit symmetric encryption) ## If you do not want unformatted manual pages to be compressed # when they are installed: ## NOMANCOMPRESS = true ### If you want the "compat" shared libraries installed as part of your normal # builds, uncomment these: ## COMPAT1X = yes # COMPAT20 = yes # COMPAT21 = yes # COMPAT22 = yes # COMPAT3X = yesCOMPAT4X = yes ### Default format for system documentation, depends on your printer . # Set this to "ascii" for simple printers or screen ## PRINTERDEVICE = ps ### How long to wait for a console keypress before booting the default kernel. # This value is approximately in milliseconds. keypresses are accepted by the # BIOS Before booting from disk, making it posible to Give Custom Boot # parameters even gen is set to 0. ## bootwait = 0 # bootwait = 30000 ## By default, the system will always use the keyboard / video card as system # console. However, the boot blocks may be dynamically configured to use a # serial port in addition to or instead of the keyboard / video console. ## By default we use COM1 As Our Serial Console Port * if * We're Going to Use # a serial port as our console at all. Alter as necessary. ## COM1: = 0x3f8, COM2: = 0x2f8, COM3: = 0x3e8, COM4: = 0x2e8 ## Boot_comconsole_port = 0x3f8 ## The default serial console speed is 9600. set the speed to a larger value # for better interactive response. ## boot_comconsole_speed = 115200 ## by default the 'pxeboot'
loader retrieves the kernel via NFS. Defining # this and recompiling / usr / src / sys / boot will cause it to retrieve the kernel # via TFTP. This allows pxeboot to load a custom BOOTP diskless kernel yet # still mount the server's '/' (ie rather than load the server's kernel). ## LOADER_TFTP_SUPPORT = YES ### Kerberos 5 su (k5su) # If you want to use the k5su utility, define this to have it installed # set-user-ID. # ENABLE_SUID_K5SU = YES ### kerberos5 # if you want to install mit Kerberos5 port homewhere other Than / usr / local, # define this CVSup update flags. Edit sUPFILE settings to reflect whichever distribution # file (s) you use on your site (see / usr / share / examples / cvsup / README for more # information on CVSup and these files). to use, do "make Update "in /usr/src.#sup_update= yes # SUP = / usr / local / bin / cvsupsupflags = -g -l 2suphost = 140.113.17.209supfile = / usr / share / example / cvsu p / stable-supfilePORTSSUPFILE = / usr / share / examples / cvsup / ports-supfileDOCSUPFILE = / usr / share / examples / cvsup / doc-supfile ## top (1) uses a hash table for the user names. The size of this hash # can be tuned to match the number of local users. The table size should # be a prime number approximately twice as large as the number of lines in # / etc / passwd. The default number is 20011. ## TOP_TABLE_SIZE = 101 # # Documentation ## THE LIST OF LANGUAGES AND ENCODINGS to build and install # doc_lang =
en_US.ISO8859-1 zh_CN.GB2312 ### sendmail ## The following sets the default m4 configuration file to use at # install time. Use with caution as a make install will overwrite # any existing /etc/mail/sendmail.cf. note that SENDMAIL_CF is now # deprecated. The value should be a fully qualified path name. ## SENDMAIL_MC = / etc / mail / myconfig.mc ## The following sets the default m4 configuration file for mail # submission to use at install time. Use with caution as a make # install will overwrite any existing /etc/mail/submit.cf. The # value should be a fully qualified path name. ## SENDMAIL_SUBMIT_MC = / etc / mail / mysubmit.mc ## If you need to build additional .cf files during a make buildworld, # include the full paths to the .mc files in SENDMAIL_ADDITIONAL_MC. ## SENDMAIL_ADDITIONAL_MC = / etc / mail / foo.mc /etc/mail/bar.mc## The following overrides the default Location for the M4 configuration # files used to build a .cf file from a.mc file. ## sendmail_cf_dir = / usr / local / share / sendmail / cf ## setting the Followi ng variable modifies the flags passed to m4 when # building a .cf file from a .mc file. It can be used to enable # features disabled by default. ## SENDMAIL_M4_FLAGS = ## Setting the following variables modifies the build environment for # sendmail . and its related utilities For example, SASL support can be # added with settings such as: ## with SASLv1: # SENDMAIL_CFLAGS = -I / usr / local / include / sasl1 -DSASL # SENDMAIL_LDFLAGS = -L / usr / local / lib # Sendmail_ldd = -lsasl ## with saslv2: # sendmail_cflags = -i / usr / local / include -dsaSL = 2 # sendmail_ldflags = -l / usr / local / lib # sendmail_lddd =
-lsasl2 ## Note: If you are using Cyrus SASL with other applications which require # access to the sasldb file, you should add the following to your # sendmail.mc file: ## define ( `confDONT_BLAME_SENDMAIL ',` GroupReadableSASLDBFile') # # SENDMAIL_CFLAGS = # SENDMAIL_LDFLAGS = # SENDMAIL_LDADD = # SENDMAIL_DPADD = ## Setting SENDMAIL_SET_USER_ID will install the sendmail binary as a # set-user-ID root binary instead of a set-group-ID smmsp binary and will # prevent the installation of / etc / mail / submit.cf. # This is a deprecated mode of operation. See etc / mail / README for more # information. ## SENDMAIL_SET_USER_ID = ## The permissions to use on alias and map databases generated using # / etc / mail / Makefile . Defaults to 0640. ## SENDMAIL_MAP_PERMS = MASTER_SITE_BACKUP = ftp://61.241.82.63/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}// ftp://140.113.17.209/pub/FreeBSD/ports/distfiles/$ {Dist_Subdir} // ftp://166.111.172.55/pub/mirror/gento/distfiles/master_site_Override = $ {master_site_backup} # cflags = -fforce-addr - mfpmath = sse -msse -m3dnow -maccumulate-outgoing-args / # -minline-all-stringopsKERNCONF = NCLUSWITH_SETUID_LUIT = yesWITH_GTK2 = yes # USE_MMX_ASM = yesUSE_3DNOW_ASM = yes # Multimedia optionsWITH_CDPARANOIA = yesWITH_AALIB = yesWITH_ESOUND = yesWITH_FAAD = yesWITH_FLAC = yesWITH_FREETYPE = yesWITH_GDKPIXBUF = yesWITH_GSM = yesWITH_HERMES = yesWITH_JPEG = yesWITH_LADSPA = yesWITH_LAME = yesWITH_LIBA52 = yesWITH_LIBAUDIOFILE = yesWITH_LIBCACA = yesWITH_LIBFAME = yesWITH_LIBMIKMOD = yesWITH_LIBMPEG2 = yesWITH_LIBMUSICBRAINZ = yesWITH_LIBSHOUT = yesWITH_LIBSIDPLAY = yesWITH_LIBSNDFILE = yesWITH_LIBTHEORA = yesWITH_MAD =
yes # WITH_NAS = yesWITH_PANGO = yesWITH_PNG = yesWITH_SDL = yesWITH_SMOOTHWAVE = yesWITH_SPEEX = yesWITH_SWFDEC = yesWITH_VORBIS = yesWITH_VORBISIDEC = yesWITH_XINE = yesWITH_XVID = yesWITH_SVGALIB = yes WITH_THREADS = yesWITHOUT_MAILNEWS = yesWITHOUT_COMPOSER = yesWITHOUT_LDAP = yesWITHOUT_CHATZILLA = yesWITH_GLX = yes WITH_TTF_BYTECODE_ENABLED = yes WITH_OPTIMIZED_CFLAGS = yesWITH_OPTIMIZED_CXXFLAGS = yesWITH_OPTIMIZE = yes # - Use.perl generated deltas - ## created: Sun Nov 7 16:26:36 2004 # setting to use base perl from ports: perl_ver = 5.8.5perl_version = 5.8.5perl_rch = Machnoperl = YONO_PERL = YONO_PERL_WRAPPER = YO / ETC / CSH.CSHRC
# $ Freebsd: src / etc / csh.cshrc, v 1.3 1999/08/27 23:23:40 Peter EXP $ ## system-wide .cshrc file for csh (1) .set AutoListSet ColorSet FileCset NoBeepalias Ls Ls -wfgalias La ls -aalias ll ls -lghoalias rm rm -i
~ / .cshrc
# $ Freebsd: src / etc / root / dot.cshrc, v 1.28 2001/01/10 02:37:16 Archie Exp $ ## .cshrc - csh resource script, read at beginning of execution by Each Shell ## See Also CSH (1), Environ (7). # Alias H History 25Alias J Jobs -l # alias la ls --aalias lf ls -fa # alias ll ls -la # a righteous umaskumask 22 set path = (/ sbin / bin / usr SBIN / USR / BIN / USR / GAMES / USR / LOCAL / SBIN / USR / local / bin / usr / x11r6 / bin / us / bin) SETENV Editor Vistenv Pager MoreseTenv Blocksize Kix ($? prompt) Then # an interactive Shell - Set Some Stuff Up PROMPT = "` Hostname -s` # "set filec set history = 100 set savehist = 100 set mail = (/ var / mail / $ user) IF ($? tcsh) Then bindkey" ^ W "Backward-delete-Word BindKey -k Up History-Search-Backward BindKey -k Down History-Search-Forward Endifendifset Prompt ="% {/ 033 [1; 31M%} [0M /] #% {/ 033 [0M %} "Kernel configure file (NCLUS)
# An Exhaust List of Options and more detailed expens. # L ../../conf/notes and notes files. # If you are in doubt as to the purpose or necessity of a line, Check First # in notes. ## $ freebsd: src / sys / i386 / conf / generic, v 1.413.2.6.2.2 2004/10/24 18:02:52 Scottl Exp $ Machine i386cpu i686_cpuident nclusmakeoptions conf_cflags = -fno-builtin # Do not allow use of memcmp, etc.options CPU_ATHLON_SSE_HACKoptions CPU_ENABLE_SSEoptions CPU_SUSP_HLToptions CPU_UPGRADE_HW_CACHEoptions CPU_WT_ALLOCoptions NO_MEMORY_HOLEoptions PQ_MEDIUMCACHE # color for 256k cache # to statically compile in device wiring instead of /boot/device.hints#hints "GENERIC.hints" # Default places to look for devices. options sCHED_4BSD # 4BSD scheduleroptions INET # InterNETworking # options INET6 # IPv6 communications protocolsoptions FFS # Berkeley Fast Filesystemoptions SOFTUPDATES # Enable FFS soft updates supportoptions UFS_ACL # Supp ort for access control listsoptions UFS_DIRHASH # Improve performance on big directories # options MD_ROOT # MD is a potential root device # options NFSCLIENT # Network Filesystem Client # options NFSSERVER # Network Filesystem Server # options NFS_ROOT # NFS usable as /, requires NFSCLIENT # options MSDOSFS # MSDOS filesystem # options CD9660 # ISO 9660 Filesystemoptions PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem frameworkoptions GEOM_GPT # GUID Partition Tables.options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4options SCSI_DELAY =
15000 # Delay (in ms) before probing SCSI # options KTRACE # ktrace (1) supportoptions SYSVSHM # SYSV-style shared memoryoptions SYSVMSG # SYSV-style message queuesoptions SYSVSEM # SYSV-style semaphoresoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensionsoptions KBD_INSTALL_CDEV # install a CDEV entry in / dev # options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~ 128k to driver. # options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~ 215k to driver.options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I / O APIC # Bus support. Do not remove isa, even if you have no isa slotsdevice isaoptions AUTO_EOI_1 # device eisadevice pci # Floppy drivesdevice fdc # ATA and ATAPI devicesdevice atadevice atadisk # ATA disk drives # device ataraid # ATA RAID drivesdevice atapicd # ATAPI CDROM drives # device atapifd # ATAPI floppy drives # device atapist # ATAPI tape drivesoptions ATA_STATIC_ID # Static device numbering # SCSI Controllers # SCSI peripheralsdevice scbus # SCSI bus (required for SCSI) device ch # SCSI media changersdevice da # Direct Access (disks) # RAID controllers interfaced to the SCSI subsystem # RAID controllers # atkbdc0 controls both the keyboard and the PS / 2 mousedevice atkbdc # AT keyboard controllerdevice atkbd # AT keyboarddevice psm # PS / 2 mouse device vga # VGA video card driver device splash # Splash Screen and Screen Saver Support # Syscons Is The Default Console Driver, Resembling An Sco ConsoleDevice Scoptions Sc_pixel_Mode options VESA # Enable this for the pcvt (VT220 compatible) console driver # device vt # options XSERVER # support for X server on a vt console # options FAT_CURSOR # start with block cursor #device agp # support several AGP chipsets # Floating point support - Do Not Disable.
device npx # Power management support (see NOTES for more options) #device apm # Add suspend / resume support for the i8254.device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support # Serial (COM) portsdevice sio # 8250, 16 [45] 50 based serial ports # Parallel portdevice ppcdevice ppbus # Parallel port bus (required) device lpt # Printer # device plip # TCP / IP over paralleldevice ppi # Parallel port interface device # device vpo # Requires scbus and da # If you 've got a "Dumb" Serial or Parallel PCI Card That IS # supported by The PUC (4) Glue Driver, Uncomment The Following # line to enable IT (Connects to the Sio and / or PPC Drivers): # Device Puc # PCI . Ethernet NICs # PCI Ethernet NICs that use the common MII bus controller code # NOTE:.! Be sure to keep the 'device miibus' line in order to use these NICs device miibus # MII bus supportdevice rl # RealTek 8129/8139 # ISA Ethernet Nics. Pccard NICS include. # Device cs # crystal semiconductor cs89x0 NIC # 'Device Ed' Requires 'Device Miibus' # isa devices That Use The old isa shims # device le # Wireless Nic Cards # pseudo devices.