airport: Updates.

This commit is contained in:
Albert Hopkins 2015-01-07 22:27:18 +00:00
parent bc31fc05bb
commit 076daba560
5 changed files with 8 additions and 7 deletions

View File

@ -1,7 +1,7 @@
APP_ROOT := /var/airport
AIRPORT_REPO ?= https://bitbucket.org/marduk/airport
AIRPORT_BRANCH ?= default
PGVER := 9.3
PGVER := 9.4
rcdefault := /etc/runlevels/default
@ -12,7 +12,7 @@ postinstall: airport.service settings.py local.start local.stop issue nginx.conf
sed -i 's/^PG_INITDB_OPTS.*/PG_INITDB_OPTS="--locale=en_US.UTF-8"/' $(CHROOT)/etc/conf.d/postgresql-$(PGVER)
$(inroot) eselect postgresql set $(PGVER)
rm -rf $(CHROOT)/var/lib/postgresql/$(PGVER)
yes | $(inroot) $(EMERGE) --config postgresql-server:$(PGVER)
yes | $(inroot) $(EMERGE) --config postgresql:$(PGVER)
$(inroot) rc-update add postgresql-$(PGVER) default
$(inroot) chsh -s /bin/sh postgres
$(inroot) $(EMERGE) -1n $(USEPKG) dev-python/virtualenv

View File

@ -1,4 +1,4 @@
# Settings for Airport
PYTHON_TARGETS="python3_3"
USE_PYTHON="3.3"
PYTHON_TARGETS="python3_4"
USE_PYTHON="3.4"
NGINX_MODULES_HTTP="auth_basic gzip proxy referer rewrite headers_more uwsgi"

View File

@ -1,3 +1,3 @@
dev-db/postgresql-base:9.3 **
dev-db/postgresql-server:9.3 **
dev-db/postgresql:9.4 **
dev-python/virtualenv **
sys-kernel/gentoo-sources ~amd64 ~x86

View File

@ -13,4 +13,5 @@ sys-fs/udev openrc
sys-kernel/gentoo-sources symlink
sys-libs/ncurses minimal
dev-db/postgresql server
www-servers/nginx http

View File

@ -1,2 +1,2 @@
dev-db/postgresql-server:9.3
dev-db/postgresql:9.4
www-servers/nginx