Advertisement
masa-

My Funtoo make.conf

Jun 22nd, 2013
488
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 19.83 KB | None | 0 0
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # Contains local system settings for Portage system
  4.  
  5. # Please review 'man make.conf' for more information.
  6.  
  7. LINGUAS="en_GB"
  8. SANE_BACKENDS="niash"
  9.  
  10. CAMERAS="canon ptp2"
  11. INPUT_DEVICES="keyboard mouse evdev"
  12. VIDEO_CARDS="vesa r600 radeon"
  13.  
  14. RUBY_TARGETS="ruby18"   # to limit the dependencies for mkvtoolnix
  15.  
  16. # Build-time functionality
  17. # ========================
  18. #
  19. # The USE variable is used to enable optional build-time functionality. For
  20. # example, quite a few packages have optional X, gtk or GNOME functionality
  21. # that can only be enabled or disabled at compile-time. Gentoo Linux has a
  22. # very extensive set of USE variables described in our USE variable HOWTO at
  23. # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1
  24. #
  25. # The available list of use flags with descriptions is in your portage tree.
  26. # Use 'less' to view them:  --> less /usr/portage/profiles/use.desc <--
  27. #
  28. # 'ufed' is an ncurses/dialog interface available in portage to make handling
  29. # useflags for you. 'emerge app-portage/ufed'
  30. #
  31. # Example:
  32. #USE="X gtk gnome -alsa"
  33.  
  34. USE="   -arts -directfb -eds -hal -java -javascript\
  35.     -kde -libwww -musepack -networkmanager -php -qt -samba -xmlrpc\
  36.     3dnow 3dnowext sse sse2 sse3 ssse3\
  37.     X a52 aac acpi alsa\
  38.     avi bluetooth bzip2 cairo consolekit cups dbus dga dirac dvb\
  39.     exif faac fam ffmpeg firefox flac gif gimpprint gnome\
  40.     gnome-keyring gnutls gphoto2 gtk gtk2\
  41.     gstreamer jpeg jpeg2k imagemagick imlib introspection lame lcdfilter\
  42.     lcms libnotify lm_sensors mad\
  43.     matroska mmx mmxext mp3 mpeg msn nautilus nls nptl ogg\
  44.     oggvorbis opengl pdf png policykit pulseaudio qt3support\
  45.     scanner schroedinger sdl speex spell\
  46.     svg tagwriting theora threads tiff truetype unicode usb v4l\
  47.     v4l2 vorbis vpx win32codecs x264 xinerama xv xvmc xvid"
  48.  
  49.  
  50. ACCEPT_LICENSE="cadsoft AdobeFlash-11.x Oracle-BCLA-JavaSE"
  51.  
  52.  
  53. # Host Setting
  54. # ============
  55. #
  56. CHOST="x86_64-pc-linux-gnu"
  57.  
  58. # Host and optimization settings
  59. # ==============================
  60. #
  61. # For optimal performance, enable a CFLAGS setting appropriate for your CPU.
  62. #
  63. # Please note that if you experience strange issues with a package, it may be
  64. # due to gcc's optimizations interacting in a strange way. Please test the
  65. # package (and in some cases the libraries it uses) at default optimizations
  66. # before reporting errors to developers.
  67. #
  68. # If your gcc supports it, you can add -frecord-gcc-switches to all of the
  69. # following *FLAGS in order to enable *FLAGS ignorance checking for ebuilds:
  70. # CFLAGS, CXXFLAGS, FFLAGS, and FCFLAGS.
  71. # Note that this check is only enabled if every one of these variables contains
  72. # -frecord-gcc-switches, since otherwise the check could result in false
  73. # positive results.
  74. #
  75. # -mcpu=<cpu-type> means optimize code for the particular type of CPU without
  76. # breaking compatibility with other CPUs. GCC 3.4 has deprecated support for
  77. # -mcpu, so use -mtune instead if using this compiler.
  78. #
  79. # -march=<cpu-type> means to take full advantage of the ABI and instructions
  80. # for the particular CPU; this will break compatibility with older CPUs (for
  81. # example, -march=athlon-xp code will not run on a regular Athlon, and
  82. # -march=i686 code will not run on a Pentium Classic.)
  83. #
  84. # CPU types supported in gcc-3.2 and higher: athlon-xp, athlon-mp,
  85. # athlon-tbird, athlon, k6, k6-2, k6-3, i386, i486, i586 (Pentium), i686
  86. # (PentiumPro), pentium, pentium-mmx, pentiumpro, pentium2 (Celeron),
  87. # pentium3, and pentium4.
  88. #
  89. # Note that Gentoo Linux 1.4 and higher include at least gcc-3.2.
  90. #
  91. # amd64 CPU types supported in gcc-3.4: athlon64, opteron, k8
  92. #
  93. # CRITICAL WARNINGS: ****************************************************** #
  94. # K6 markings are deceptive. Avoid setting -march for them. See Bug #24379. #
  95. # Pentium-M CPUs should not enable sse2 until at least gcc-3.4. Bug 50616. #
  96. # GCC 3.3 doesnt support an amd64 specific -march setting, use 3.4.         #
  97. # ************************************************************************* #
  98. #
  99. # Decent examples:
  100. #
  101. #CFLAGS="-mtune=k8 -O2 -pipe"
  102. #CFLAGS="-march=athlon64 -O2 -pipe"
  103.  
  104. #CFLAGS="-march=native -O2 -pipe"
  105. CFLAGS="-march=amdfam10 -O2 -pipe"
  106.  
  107. # If you set a CFLAGS above, then this line will set your default C++ flags to
  108. # the same settings.
  109.  
  110. CXXFLAGS="${CFLAGS}"
  111.  
  112. #
  113. # If you set a CFLAGS above, then this line will set your default FORTRAN 77
  114. # flags to the same settings.
  115. #FFLAGS="${CFLAGS}"
  116. #
  117. # If you set a FFLAGS above, then this line will set your default FORTRAN
  118. # flags to the same settings for modern build systems
  119. #FCFLAGS="${FFLAGS}"
  120.  
  121.  
  122. # Advanced Masking
  123. # ================
  124. #
  125. # Gentoo is using a new masking system to allow for easier stability testing
  126. # on packages. KEYWORDS are used in ebuilds to mask and unmask packages based
  127. # on the platform they are set for. A special form has been added that
  128. # indicates packages and revisions that are expected to work, but have not yet
  129. # been approved for the stable set. '~arch' is a superset of 'arch' which
  130. # includes the unstable, in testing, packages. Users of the 'x86' architecture
  131. # would add '~x86' to ACCEPT_KEYWORDS to enable unstable/testing packages.
  132. # '~ppc', '~sparc' are the unstable KEYWORDS for their respective platforms.
  133. #
  134. # Please note that this is not for development, alpha, beta, nor cvs release
  135. # packages. "Broken" packages will not be added to testing and should not be
  136. # requested to be added. Alternative routes are available to developers
  137. # for experimental packages, and it is at their discretion to use them.
  138. #
  139. # DO NOT PUT ANYTHING BUT YOUR SPECIFIC ~ARCHITECTURE IN THE LIST.
  140. # IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY THIS.
  141. #
  142.  
  143. #ACCEPT_KEYWORDS="~amd64"
  144.  
  145. # ACCEPT_LICENSE is used to mask packages based on licensing restrictions.
  146. # It may contain both license and group names, where group names are
  147. # prefixed with the '@' symbol. License groups are defined in the
  148. # license_groups file (see portage(5) man page). In addition to license
  149. # and group names, the * and -* wildcard tokens are also supported.
  150. #
  151. # Accept any license except those in the EULA license group (default).
  152. #ACCEPT_LICENSE="* -@EULA"
  153. #
  154. # Only accept licenses in the FREE license group (i.e. Free Software).
  155. #ACCEPT_LICENSE="-* @FREE"
  156.  
  157. # Portage Directories
  158. # ===================
  159. #
  160. # Each of these settings controls an aspect of portage's storage and file
  161. # system usage. If you change any of these, be sure it is available when
  162. # you try to use portage. *** DO NOT INCLUDE A TRAILING "/" ***
  163. #
  164. # PORTAGE_TMPDIR is the location portage will use for compilations and
  165. #     temporary storage of data. This can get VERY large depending upon
  166. #     the application being installed.
  167. #PORTAGE_TMPDIR=/var/tmp
  168. #
  169. # PORTDIR is the location of the portage tree. This is the repository
  170. #     for all profile information as well as all ebuilds.
  171. #     ***Warning***
  172. #     Data stored inside PORTDIR is in peril of being overwritten or deleted by
  173. #     the emerge --sync command. The default value of PORTAGE_RSYNC_OPTS
  174. #     will protect the default locations of DISTDIR and PKGDIR, but users are
  175. #     warned that any other locations inside PORTDIR are not necessarily safe
  176. #     for data storage.
  177. #PORTDIR=/usr/portage
  178. #
  179. # DISTDIR is where all of the source code tarballs will be placed for
  180. #     emerges. After packages are built, it is safe to remove any and
  181. #     all files from this directory since they will be automatically
  182. #     fetched on demand for a given build. If you would like to
  183. #     selectively prune obsolete files from this directory, see
  184. #     eclean from the gentoolkit package. Note that locations under
  185. #     /usr/portage are not necessarily safe for data storage. See the
  186. #     PORTDIR documentation for more information.
  187. #DISTDIR=/usr/portage/distfiles
  188. #
  189. # PKGDIR is the location of binary packages that you can have created
  190. #     with '--buildpkg' or '-b' while emerging a package. This can get
  191. #     up to several hundred megs, or even a few gigs. Note that
  192. #     locations under /usr/portage are not necessarily safe for data
  193. #     storage. See the PORTDIR documentation for more information.
  194. #PKGDIR=/usr/portage/packages
  195. #
  196. # PORT_LOGDIR is the location where portage will store all the logs it
  197. #     creates from each individual merge. They are stored as
  198. #     ${CATEGORY}:${PF}:YYYYMMDD-HHMMSS.log in the directory specified.
  199. #     If the directory does not exist, it will be created automatically and
  200. #     group permissions will be applied to it.  If the directory already
  201. #     exists, portage will not modify it's permissions.
  202. #PORT_LOGDIR=""
  203. #
  204. # PORTDIR_OVERLAY is a directory where local ebuilds may be stored without
  205. #     concern that they will be deleted by rsync updates. Default is not
  206. #     defined.
  207.  
  208. PORTDIR_OVERLAY=/usr/local/portage
  209.  
  210. # Fetching files
  211. # ==============
  212. #
  213. # If you need to set a proxy for wget or lukemftp, add the appropriate "export
  214. # ftp_proxy=<proxy>" and "export http_proxy=<proxy>" lines to /etc/profile if
  215. # all users on your system should use them.
  216. #
  217. # Portage uses wget by default. Here are some settings for some alternate
  218. # downloaders -- note that you need to merge these programs first before they
  219. # will be available. The command should be written to place the fetched file
  220. # at \${DISTDIR}/\${FILE}.
  221. #
  222. # Default fetch command (3 tries, passive ftp for firewall compatibility)
  223. #FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
  224. #RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
  225. #
  226. # Using wget, ratelimiting downloads
  227. #FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
  228. #RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
  229. #
  230. # Lukemftp (BSD ftp):
  231. #FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
  232. #RESUMECOMMAND="/usr/bin/lukemftp -s -a -R -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
  233. #
  234. # Portage uses GENTOO_MIRRORS to specify mirrors to use for source retrieval.
  235. # The list is a space separated list which is read left to right. If you use
  236. # another mirror we highly recommend leaving the default mirror at the end of
  237. # the list so that portage will fall back to it if the files cannot be found
  238. # on your specified mirror. We _HIGHLY_ recommend that you change this setting
  239. # to a nearby mirror by merging and using the 'mirrorselect' tool.
  240. #GENTOO_MIRRORS="<your_mirror_here> http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
  241. #
  242. # Portage uses PORTAGE_BINHOST to specify mirrors for prebuilt-binary packages.
  243. # The list is a single entry specifying the full address of the directory
  244. # serving the tbz2's for your system. Running emerge with either '--getbinpkg'
  245. # or '--getbinpkgonly' will cause portage to retrieve the metadata from all
  246. # packages in the directory specified, and use that data to determine what will
  247. # be downloaded and merged. '-g' or '-gK' are the recommend parameters. Please
  248. # consult the man pages and 'emerge --help' for more information. For FTP, the
  249. # default connection is passive -- If you require an active connection, affix
  250. # an asterisk (*) to the end of the host:port string before the path.
  251. #PORTAGE_BINHOST="http://grp.mirror.site/gentoo/grp/1.4/i686/athlon-xp/"
  252. # This ftp connection is passive ftp.
  253. #PORTAGE_BINHOST="ftp://login:pass@grp.mirror.site/pub/grp/i686/athlon-xp/"
  254. # This ftp connection is active ftp.
  255. #PORTAGE_BINHOST="ftp://login:pass@grp.mirror.site:21*/pub/grp/i686/athlon-xp/"
  256.  
  257. # Synchronizing Portage
  258. # =====================
  259. #
  260. # Each of these settings affects how Gentoo synchronizes your Portage tree.
  261. # Synchronization is handled by rsync and these settings allow some control
  262. # over how it is done.
  263. #
  264. # SYNC defines the server used by git to clone a local Portage tree.
  265. #
  266. # PORTAGE_RSYNC_RETRIES sets the number of times portage will attempt to retrieve
  267. #     a current portage tree before it exits with an error. This allows
  268. #     for a more successful retrieval without user intervention most times.
  269. #     If set to a negative number, then retry until all possible addresses are
  270. #     exhausted.
  271. #PORTAGE_RSYNC_RETRIES="-1"
  272. #
  273. # PORTAGE_RSYNC_EXTRA_OPTS can be used to feed additional options to the rsync
  274. #     command used by `emerge --sync`. This will not change the default options
  275. #     which are set by PORTAGE_RSYNC_OPTS (don't change those unless you know
  276. #     exactly what you're doing).
  277. #PORTAGE_RSYNC_EXTRA_OPTS=""
  278. #
  279. # Advanced Features
  280. # =================
  281. #
  282. # EMERGE_DEFAULT_OPTS allows emerge to act as if certain options are
  283. #     specified on every run. Useful options include --ask, --verbose,
  284. #     --usepkg and many others. Options that are not useful, such as --help,
  285. #     are not filtered.
  286. #EMERGE_DEFAULT_OPTS=""
  287. #
  288. # INSTALL_MASK allows certain files to not be installed into your file system.
  289. #     This is useful when you wish to filter out a certain set of files from
  290. #     ever being installed, such as INSTALL.gz or TODO.gz
  291. #INSTALL_MASK=""
  292. #
  293. # MAKEOPTS provides extra options that may be passed to 'make' when a
  294. #     program is compiled. Presently the only use is for specifying
  295. #     the number of parallel makes (-j) to perform. The suggested number
  296. #     for parallel makes is CPUs+1.
  297.  
  298. MAKEOPTS="-j5"
  299.  
  300. #
  301. # PORTAGE_NICENESS provides a default increment to emerge's niceness level.
  302. #     Note: This is an increment. Running emerge in a niced environment will
  303. #     reduce it further. Default is unset.
  304.  
  305. PORTAGE_NICENESS=3
  306.  
  307. #
  308. # PORTAGE_IONICE_COMMAND provides a command for portage to call in order to
  309. #     adjust the io priority of portage and it's subprocesses. Default is
  310. #     unset.
  311. #PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
  312. #
  313. # AUTOCLEAN enables portage to automatically clean out older or overlapping
  314. #     packages from the system after every successful merge. This is the
  315. #     same as running 'emerge -c' after every merge. Set with: "yes" or "no".
  316. #     This does not affect the unpacked source. See 'noclean' below.
  317. #
  318. #     Warning: AUTOCLEAN="no" can cause serious problems due to overlapping
  319. #              packages.  Do not use it unless absolutely necessary!
  320. #AUTOCLEAN="yes"
  321. #
  322. # FEATURES defines actions portage takes by default. This is an incremental
  323. # variable. See the make.conf(5) man page for a complete list of supported
  324. # values and their respective meanings.
  325. #FEATURES="ccache distcc installsources \
  326. # splitdebug test userpriv usersandbox"
  327.  
  328. FEATURES="ccache"
  329.  
  330. # CCACHE_SIZE and CCACHE_DIR are used to control the behavior of ccache, and
  331. #     and are only used if "ccache" is in FEATURES.
  332. #
  333. # CCACHE_SIZE sets the space limitations for ccache. The default size is
  334. #     "2G", or 2 gigabytes.  Units are specified with 'G', 'M', or 'K'.
  335. #
  336.  
  337. CCACHE_SIZE="1G"
  338.  
  339. #
  340. # CCACHE_DIR sets the ccache path.  If not specified, portage will default
  341. #     to "${PORTAGE_TMPDIR}/ccache".
  342. #
  343. #     Note that to display ccache statistics outside of portage, you must
  344. #     remember to give the correct path to the cache.
  345. #
  346. #        $ CCACHE_DIR=/var/tmp/ccache ccache -s
  347. #
  348. #CCACHE_DIR="${PORTAGE_TMPDIR}/ccache"
  349.  
  350. # DISTCC_DIR sets the temporary space used by distcc.
  351. #DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"
  352.  
  353. # logging related variables:
  354. # PORTAGE_ELOG_CLASSES: selects messages to be logged, possible values are:
  355. #                          info, warn, error, log, qa, *
  356. #PORTAGE_ELOG_CLASSES="log warn error"
  357.  
  358. PORTAGE_ELOG_CLASSES="info log warn error"
  359.  
  360. # PORTAGE_ELOG_SYSTEM: selects the module(s) to process the log messages. Modules
  361. #                      included in portage are (empty means logging is disabled):
  362. #                          echo (display messages again when emerge exits)
  363. #                          save (saves one log per package in $PORT_LOGDIR/elog,
  364. #                                /var/log/portage/elog if $PORT_LOGDIR is unset)
  365. #                          custom (passes all messages to $PORTAGE_ELOG_COMMAND)
  366. #                          syslog (sends all messages to syslog)
  367. #                          mail (send all messages to the mailserver defined
  368. #                                in $PORTAGE_ELOG_MAILURI)
  369. #                          save_summary (like "save" but merges all messages
  370. #                                        in $PORT_LOGDIR/elog/summary.log,
  371. #                                        /var/log/portage/elog/summary.log if
  372. #                                        $PORT_LOGDIR is unset)
  373. #                          mail_summary (like "mail" but sends all messages in
  374. #                                        a single mail when emerge exits)
  375. #                      To use elog you should enable at least one module
  376. #                      The module name may be followed by a colon and a comma
  377. #                      separated list of loglevels to override PORTAGE_ELOG_CLASSES
  378. #                      for this module (e.g.
  379. #                        PORTAGE_ELOG_SYSTEM="mail:warn,error syslog:* save")
  380. #PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
  381.  
  382. PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
  383.  
  384. # PORTAGE_ELOG_COMMAND: only used with the "custom" logging module. Specifies a command
  385. #                      to process log messages. Two variables are expanded:
  386. #                          ${PACKAGE} - expands to the cpv entry of the processed
  387. #                                       package (see $PVR in ebuild(5))
  388. #                          ${LOGFILE} - absolute path to the logfile
  389. #                       Both variables have to be quoted with single quotes
  390. #PORTAGE_ELOG_COMMAND="/path/to/logprocessor -p '\${PACKAGE}' -f '\${LOGFILE}'"
  391.  
  392. # PORTAGE_ELOG_MAILURI: this variable holds all important settings for the mail
  393. #                       module. In most cases listing the recipient address and
  394. #                       the receiving mailserver should be sufficient, but you can
  395. #                       also use advanced settings like authentication or TLS. The
  396. #                       full syntax is:
  397. #                           address [[user:passwd@]mailserver[:port]]
  398. #                       where
  399. #                           address:    recipient address
  400. #                           user:       username for smtp auth (defaults to none)
  401. #                           passwd:     password for smtp auth (defaults to none)
  402. #                           mailserver: smtp server that should be used to deliver the mail (defaults to localhost)
  403. #                                       alternatively this can also be a the path to a sendmail binary if you don't want to use smtp
  404. #                           port:       port to use on the given smtp server (defaults to 25, values > 100000 indicate that starttls should be used on (port-100000))
  405. #                       Examples:
  406. #PORTAGE_ELOG_MAILURI="root@localhost localhost" (this is also the default setting)
  407. #PORTAGE_ELOG_MAILURI="user@some.domain mail.some.domain" (sends mails to user@some.domain using the mailserver mail.some.domain)
  408. #PORTAGE_ELOG_MAILURI="user@some.domain user:secret@mail.some.domain:100465" (this is left uncommented as a reader exercise ;)
  409.  
  410. # PORTAGE_ELOG_MAILFROM: you can set the from-address of logmails with this variable,
  411. #                        if unset mails are sent by "portage" (this default may fail
  412. #                        in some environments).
  413. #PORTAGE_ELOG_MAILFROM="portage@some.domain"
  414.  
  415. # PORTAGE_ELOG_MAILSUBJECT: template string to be used as subject for logmails. The following
  416. #                           variables are expanded:
  417. #                               ${ACTION} - merged, unmerged, or unknown
  418. #                               ${PACKAGE} - see description of PORTAGE_ELOG_COMMAND
  419. #                               ${HOST} - FQDN of the host portage is running on
  420. #PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for \${PACKAGE} on \${HOST}"
  421.  
  422. source /var/lib/layman/make.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement