Server x86/Hardened:
Code: Select all
USE="-* bash-completion berkdb crypt fam hardened mmx mysql ncurses nptl pam
perl pic python readline snmp srvdir ssl tcpd vhosts xml"
FEATURES="usersandbox sandbox sfperms strict buildpkg splitdebug"
PORTAGE_NICENESS="19"
PORTROOT="/var/portage"
PORTDIR="${PORTROOT}/gentoo-portage"
PORTDIR_OVERLAY="${PORTROOT}/overlays/local-overlay"
DISTDIR="${PORTROOT}/distfiles"
PORTAGE_TMPDIR="${PORTROOT}/tmp"
PORT_LOGDIR="${PORTROOT}/logs"
PKGDIR="${PORTROOT}/pkgs"
RPMDIR="${PORTROOT}/rpms"
CCACHE_DIR="${PORTAGE_TMPDIR}/ccache"
CCACHE_SIZE="2G"
http_proxy="http://192.168.0.17:8888"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3 -s"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -ggdb"
CXXFLAGS="${CFLAGS}"
Main Computer x86/Desktop:
Code: Select all
USE="a52 aac aalib acpi bash-completion bzip2 cdparanoia client-only cscope \
ctype dga directfb dts dvdread expat fbcon ffmpeg flac gd gnutls gtk2 \
gtkhtml imagemagick java javascript lcms lua mmap mmx mmxext mng \
mozbranding mozcalendar mozdevelop mplayer musepack mysql nsplugin \
offensive openal pdf samba slang speex sqlite sse sse2 svg tetex theora \
threads tiff vcd wmf x264 xchattext xine xpm xvid zeroconf -ipv6"
VIDEO_CARDS="nvidia vesa none"
INPUT_DEVICES="mouse keyboard evdev"
LINGUAS="en en_GB"
FEATURES="parallel-fetch sandbox splitdebug distcc"
PORTAGE_NICENESS="19"
PORTROOT="/var/portage"
PORTDIR="${PORTROOT}/gentoo-portage"
PORTDIR_OVERLAY="${PORTROOT}/overlays/local "#/home/aidan/Development/Gentoo/portage"
DISTDIR="${PORTROOT}/distfiles"
PORTAGE_TMPDIR="${PORTROOT}/tmp"
PORT_LOGDIR="${PORTROOT}/logs"
PKGDIR="${PORTROOT}/packages"
RPMDIR="${PORTROOT}/rpms"
CCACHE_DIR="${PORTAGE_TMPDIR}/ccache"
CCACHE_SIZE="2G"
http_proxy="http://192.168.0.17:8888"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo"
SYNC="rsync://192.168.0.17/gentoo-portage"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3 -s"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -mfpmath=sse -ggdb"
CXXFLAGS="${CFLAGS}"
I tend to keep stuff that I frequently augment up at the top, thus why C{HOST,FLAGS,XXFLAGS} is right down at the bottom.
Oh, and I hate having the portage tree in /usr, thus the heap of *DIR overrides, it just makes no sense at all to keep it there.