# Copyright 2000-2002 Daniel Robbins, Gentoo Technologies, Inc. # Contains local system settings for Portage system # Please review 'man make.conf' for more information. # Build-time functionality # ======================== # # The USE variable is used to enable optional build-time functionality. For # example, quite a few packages have optional X, gtk or GNOME functionality # that can only be enabled or disabled at compile-time. Gentoo Linux has a # very extensive set of USE variables described in our USE variable HOWTO at # http://www.gentoo.org/doc/use-howto.html # # The available list of use flags with descriptions is in your portage tree. # Use 'less' to view them: --> less /usr/portage/profiles/use.desc <-- # # Example: USE="-3dfx 3dnow 3dnowext a52 aac aalib -accessibility acl acpi -adabas -adfs -afs aim \ alsa -altivec -ao -apache -apache2 apm -arts audiofile audit avahi bash-completion \ -bcmath beagle -berkdb bidi bindist -birdstep -blas -bluetooth bonobo -bootstrap \ -boundschecking branding -build bzip2 cairo -calendar -canna caps -cdb -cddb -cdinstall \ cdparanoia cdr -chasen -cjk -clamav cracklib crypt cscope -ctype -cups curl \ curlwrappers -db2 -dbase -dbm -dbmaker dbus -dbx debug dedicated dga directfb \ djvu -doc dri dts dv dvb dvd dvdr dvdread eds -emacs -emboss -empress -empress-bcs \ encode esd -esoob -ev6 evo -examples exif expat fam -fastcgi fbcon ffmpeg \ fftw -filepro -firebird firefox flac -flatfile fltk -foomaticdb fotran -freetds \ -freewnn -frontbase ftp gb gcj -gd -gd-external gdbm -geoip ggi gif -ginac \ glut -gmp gnome gnustep gnutls gphoto2 gpm -gps graphviz -gsl gs gstreamer gtk \ gtkhtml guile hal hardened -howl -hyperwave-api -ibm icc iconv icq idn -ieee1394 \ -ifc imagemagick imap imlib -informix -inifile -innodb -interbase -iodbc -ipod \ ipv6 jabber java javascript jbig jikes -joystick jpeg jpeg2k -junit -kde \ -kdeenablefinal -kdehiddenvisibility -kdexdeltas -kerberos keyring -krb4 -ladcca \ ladspa lapack lash lcms -ldap -leim lesstif libcaca libedit -libg++ libgda \ libnotify libsamplerate libwww -lirc -livecd lm_sensors lua -m17n-lib mad \ maildir mailwrapper -matroska matrox mbox -mcal -mcve -memlimit -mhash \ -migemo mikmod -milter mime -minimal -mmap mmx mng -mnogosearch mono motif \ -mozilla mp3 mpeg -mpi mplayer msn -msql -mssql -mule -multilib musepack \ musicbrainz -mysql -mysqli nas ncurses netboot -netcdf neXt -nis nls nntp \ -nocd -nocxx nptl nsplugin ocaml ocamlopt -oci8 -odbc offensive -ofx ogg -old-linux \ openal openexr opengl -oracle -oracle7 -osc oscar -oss -ovrimos pam pango -pcmcia \ -pcntl pcre pda pdf perl -pfpro -php -pic plotutils png portaudio -posix \ -postgres ppds -prelude profile pulseaudio python -qdbm -qt3 -qt4 quicktime \ radius -rdesktop readline recode ruby -samba -sapdb sasl -savedconfig -scanner \ sdl -seamonkey -selinux -session -sharedext -sharedmem shorten simplexml skey \ slang slp -smartcard sndfile -snmp -soap sockets socks5 -solid -source -sox \ speex spell -spl -sqlite -sqlite3 sse sse2 ssse3 ssl startup-notification -static \ svg svga -sybase -sybase-ct symlink -sysvipc szip tcl tcpd -test tetex theora \ threads -tidy tiff tk -tokeniser truetype uclibc unicode usb v4l v4l2 -vanilla \ vcd verbose -vhosts videos vim-syntax voodoo3 vorbis -wddx -wifi -win32codecs \ wmf wxwindows X x264 Xaw3d xcomposite xface xine xinerama -xinetd xml xmlrpc \ xosd xpm xprint xscreensaver -xsl xulrunner xv xvid yahoo -yaz zlib" # # Host Setting # ============ # # If you are using a Pentium Pro or greater processor, leave this line as-is; # otherwise, change to i586, i486 or i386 as appropriate. All modern systems # (even Athlons) should use "i686-pc-linux-gnu" # CHOST="x86_64-pc-linux-gnu" # Host and optimization settings # ============================== # # For optimal performance, enable a CFLAGS setting appropriate for your CPU # # -mcpu= means optimize code for the particular type of CPU without # breaking compatibility with other CPUs. # # -march= means to take full advantage of the ABI and instructions # for the particular CPU; this will break compatibility with older CPUs (for # example, -march=athlon-xp code will not run on a regular Athlon, and # -march=i686 code will not run on a Pentium Classic. # # CPU types supported in gcc-3.2 and higher: athlon-xp, athlon-mp, athlon-4, # athlon-tbird, athlon, k6, k6-2, k6-3, i386, i486, i586 (Pentium), i686 # (PentiumPro), pentium, pentium-mmx, pentiumpro, pentium2 (Celeron), pentium3, # and pentium4. Note that Gentoo Linux 1.4 and higher include at least gcc-3.2. # # CPU types supported in gcc-2.95*: k6, i386, i486, i586 (Pentium), i686 # (Pentium Pro), pentium, pentiumpro Gentoo Linux 1.2 and below use gcc-2.95* # CFLAGS="-march=native -O3 -pipe -msse3" # If you set a CFLAGS above, then this line will set your default C++ flags to # the same settings. If you don't set CFLAGS above, then comment this line out. CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags,--hash-style=gnu,-zdynsort,-z,--sort-common -s" # Advanced Masking # ================ # # Gentoo is using a new masking system to allow for easier stability testing # on packages. KEYWORDS are used in ebuilds to mask and unmask packages based # on the platform they are set for. A special form has been added that # indicates packages and revisions that are expected to work, but have not yet # been approved for the stable set. '~arch' is a superset of 'arch' which # includes the unstable, in testing, packages. Users of the 'x86' architecture # would add '~x86' to ACCEPT_KEYWORDS to enable unstable/testing packages. # '~ppc', '~sparc', '~sparc64' are the unstable KEYWORDS for their respective # platforms. DO NOT PUT ANYTHING BUT YOUR SPECIFIC ~ARCHITECTURE IN THE LIST. # IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY THIS. # #ACCEPT_KEYWORDS="~arch" ACCEPT_KEYWORDS="~amd64 amd64" # Portage Directories # =================== # # Each of these settings controls an aspect of portage's storage and file # system usage. If you change any of these, be sure it is available when # you try to use portage. *** DO NOT INCLUDE A TRAILING "/" *** # # PORTAGE_TMPDIR is the location portage will use for compilations and # temporary storage of data. This can get VERY large depending upon # the application being installed. PORTAGE_TMPDIR=/var/tmp # # PORTDIR is the location of the portage tree. This is the repository # for all profile information as well as all ebuilds. This directory # itself can reach 200M. WE DO NOT RECOMMEND that you change this. PORTDIR="/usr/portage" source /usr/portage/local/layman/make.conf # # DISTDIR is where all of the source code tarballs will be placed for # emerges. The source code is maintained here unless you delete # it. The entire repository of tarballs for gentoo is 9G. This is # considerably more than any user will ever download. 2-3G is # a large DISTDIR. DISTDIR=${PORTDIR}/distfiles # # PKGDIR is the location of binary packages that you can have created # with '--buildpkg' or '-b' while emerging a package. This can get # upto several hundred megs, or even a few gigs. PKGDIR=${PORTDIR}/packages # # PORTDIR_OVERLAY is a directory where local ebuilds may be stored without # concern that they will be deleted by rsync updates. Default is not # defined. PORTDIR_OVERLAY="/usr/portage/local/layman/openrc" # Fetching files # ============== # # If you need to set a proxy for wget or lukemftp, add the appropriate "export # ftp_proxy=" and "export http_proxy=" lines to /etc/profile if # all users on your system should use them. # # Portage uses wget by default. Here are some settings for some alternate # downloaders -- note that you need to merge these programs first before they # will be available. # # Lukemftp (BSD ftp): #FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \${DISTDIR}/\${FILE} \${URI}" #RESUMECOMMAND="/usr/bin/lukemftp -s -a -R -o \${DISTDIR}/\${FILE} \${URI}" # # Prozilla (turbo downloader) #FETCHCOMMAND='/usr/bin/proz --no-getch -s ${URI} -P ${DISTDIR}' # Advanced Features # ================= # # EMERGE_DEFAULT_OPTS allows emerge to act as if certain options are # specified on every run. Useful options include --ask, --verbose, # --usepkg and many others. Options that are not useful, such as --help, # are not filtered. #EMERGE_DEFAULT_OPTS="" EMERGE_DEFAULT_OPTS="--verbose --ask --deep" # # # MAKEOPTS provides extra options that may be passed to 'make' when a # program is compiled. Presently the only use is for specifying # the number of parallel makes (-j) to perform. The suggested number # for parallel makes is CPUs+1. MAKEOPTS="-j3" # # AUTOCLEAN enables portage to automatically clean out older or overlapping # packages from the system after every successful merge. This is the # same as running 'emerge -c' after every merge. Set with: "yes" or "no". AUTOCLEAN=yes # # FEATURES are settings that affect the functionality of portage. Most of # these settings are for developer use, but some are available to non- # developers as well. 'buildpkg' is an always-on setting for the emerge # flag of the same name. It causes binary packages to be created of all # packages that are merged. #FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox notitles noclean noauto cvs keeptemp keepwork autoaddcvs" FEATURES="sandbox ccache collision-protect parallel-fetch userfetch usersandbox unmerge-orphans distlocks fakeroot fixpackages metadata-transfer sfperms" # SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" #SYNC="rsync://gentoo.modulix.net/gentoo-portage" # PROC_TYPE="athlon64" #BIN_OPTS=$(source /etc/rc.conf && echo "$XSESSION" | cut -f 1 -d '-' | tr '[:upper:]' '[:lower:]') BIN_OPTS="gnome" PORTAGE_BINHOST="http://gentoo.modulix.net/gentoo/grp/${CHOST}/${PROC_TYPE}/${BIN_OPTS}/" # RSYNC_RETRIES sets the number of times portage will attempt to retrieve # a current portage tree before it exits with an error. This allows # for a more successful retrieval without user intervention most times. PORTAGE_RSYNC_RETRIES="3" #GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/" PORT_LOGDIR=/var/log/portage # CCACHE_SIZE sets the space use limitations for ccache. The default size is # 2G, and will be set if not defined otherwise and ccache is in features. # Portage will set the default ccache dir if it is not present in the # user's environment, for userpriv it sets: ${PORTAGE_TMPDIR}/ccache # (/var/tmp/ccache), and for regular use the default is /root/.ccache. # Sizes are specified with 'G' 'M' or 'K'. # '2G' for 2 gigabytes, '2048M' for 2048 megabytes (same as 2G). CCACHE_SIZE="2G" CCACHE_DIR="/root/.ccache" # # DISTCC_DIR sets the temporary space used by distcc. #DISTCC_DIR="/root/.distcc" # logging related variables: # PORTAGE_ELOG_CLASSES: selects messages to be logged, possible values are: # info, warn, error, log # Warning: commenting this will disable elog PORTAGE_ELOG_CLASSES="warn error log" # PORTAGE_ELOG_SYSTEM: selects the module(s) to process the log messages. Modules # included in portage are (empty means logging is disabled): # save (saves one log per package in $PORT_LOGDIR/elog, # /var/log/portage/elog if $PORT_LOGDIR is unset) # custom (passes all messages to $PORTAGE_ELOG_COMMAND) # syslog (sends all messages to syslog) # mail (send all messages to the mailserver defined # in $PORTAGE_ELOG_MAILURI) # To use elog you should enable at least one module #PORTAGE_ELOG_SYSTEM="save mail" PORTAGE_ELOG_SYSTEM="syslog" # PORTAGE_ELOG_COMMAND: only used with the "custom" logging module. Specifies a command # to process log messages. Two variables are expanded: # ${PACKAGE} - expands to the cpv entry of the processed # package (see $PVR in ebuild(5)) # ${LOGFILE} - absolute path to the logfile # Both variables have to be quoted with single quotes #PORTAGE_ELOG_COMMAND="/path/to/logprocessor -p '\${PACKAGE}' -f '\${LOGFILE}'" # PORTAGE_ELOG_MAILURI: this variable holds all important settings for the mail # module. In most cases listing the recipient address and # the receiving mailserver should be sufficient, but you can # also use advanced settings like authentication or TLS. The # full syntax is: # address [[user:passwd@]mailserver[:port]] # where # address: recipient address # user: username for smtp auth (defaults to none) # passwd: password for smtp auth (defaults to none) # mailserver: smtp server that should be used to deliver the mail (defaults to localhost) # alternatively this can also be a the path to a sendmail binary if you don't want to use smtp # port: port to use on the given smtp server (defaults to 25, values > 100000 indicate that starttls should be used on (port-100000)) # Examples: #PORTAGE_ELOG_MAILURI="root@localhost localhost" (this is also the default setting) #PORTAGE_ELOG_MAILURI="user@some.domain mail.some.domain" (sends mails to user@some.domain using the mailserver mail.some.domain) #PORTAGE_ELOG_MAILURI="user@some.domain user:secret@mail.some.domain:100465" (this is left uncommented as a reader excercise ;) # PORTAGE_ELOG_MAILFROM: you can set the from-address of logmails with this variable, # if unset mails are sent by "portage" (this default may fail # in some environments). #PORTAGE_ELOG_MAILFROM="portage@some.domain" # PORTAGE_ELOG_MAILSUBJECT: template string to be used as subject for logmails. The following # variables are exanded: # ${PACKAGE} - see description of PORTAGE_ELOG_COMMAND # ${HOST} - FQDN of the host portage is running on #PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice" LINGUAS="fr fr_FR" #VIDEO_CARDS="-apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 -i810 -mach64 -mga -neomagic -nv -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo" VIDEO_CARDS="radeon fbdev v4l vesa" INPUT_DEVICES="mouse keyboard evdev" ALSA_CARDS="hda-intel usb-audio" CONFIG_PROTECT_MASK="/usr/X11R6/bin/startx"