Skip to content

Instantly share code, notes, and snippets.

@yolabingo
Last active December 9, 2017 07:51
Show Gist options
  • Save yolabingo/b422d3c33357518431abb3e3b82adf43 to your computer and use it in GitHub Desktop.
Save yolabingo/b422d3c33357518431abb3e3b82adf43 to your computer and use it in GitHub Desktop.
gentoo make.conf for non-binhost apache server
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE="mmx sse sse2 apache2 -gtk -gnome -kde -alsa -cups -X"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/"
PORTAGE_ELOG_MAILURI="noc@redacted.com"
PORTAGE_ELOG_MAILFROM="noc@redacted.com"
PORTAGE_BINHOST="http://gentoo-binhost.redacted.com/"
EMERGE_DEFAULT_OPTS="--autounmask=y --getbinpkg"
# BINHOST must buildpkg
# FEATURES="buildpkg"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
PHP_TARGETS="php5-5 php5-6 php7-0 php7-1"
USE_PHP="php5-5 php5-6 php7-0 php7-1"
PHP_INI_VERSION="production"
PYTHON_TARGETS="python2_7 python3_5"
USE_PYTHON="2.7"
# Set PORTDIR for backward compatibility with various tools:
# gentoo-bashcomp - bug #478444
# euse - bug #474574
# euses and ufed - bug #478318
PORTDIR="/usr/portage"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment