Update drupal appliance

This commit is contained in:
Albert Hopkins 2012-01-31 18:06:56 +00:00
parent 8e42219e93
commit 23b5ad407a
6 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,5 @@
PGVER = 9.0
DPVER = 7.4
PGVER = 9.1
DPVER = 7.10
inroot := chroot $(CHROOT)
rcdefault := /etc/runlevels/default
@ -11,6 +11,7 @@ postinstall: firstboot.start
$(inroot) passwd -d postgres
echo '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)*
$(inroot) ln -sf /etc/init.d/postgresql-$(PGVER) $(rcdefault)/postgresql-$(PGVER)
$(inroot) ln -sf /etc/init.d/apache2 $(rcdefault)/apache2

View File

@ -1,6 +1,6 @@
#!/bin/sh
DPVER=7.4
DPVER=7.10
echo Configuring Postgres for Drupal
createuser --no-adduser --no-createdb --no-createrole -U postgres drupal

View File

@ -8,7 +8,7 @@ UDEV=$5
DASH=$6
ARCH=$7
DPVER=7.4
DPVER=7.10
TZ=$TIMEZONE ; export TZ

View File

@ -1,2 +1,2 @@
www-apps/drupal ~amd64 ~x86
dev-php5/pecl-uploadprogress ~amd64 ~x86
dev-php/pecl-uploadprogress ~amd64 ~x86

View File

@ -1,7 +1,7 @@
app-editors/nano ncurses
dev-lang/php ctype fileinfo filter iconv phar posix simplexml tokenizer apache2 xml pdo gd postgres apache2 zlib cli session hash json
dev-lang/python ssl threads xml
dev-php5/pecl-uploadprogress php_targets_php5-3
dev-php/pecl-uploadprogress php_targets_php5-3
mail-mta/ssmtp mta ssl
net-misc/dhcp client
sys-devel/gcc cxx

View File

@ -1,5 +1,5 @@
=dev-db/postgresql-server-9.0*
dev-php5/pecl-uploadprogress
dev-db/postgresql-server:9.1
dev-php/pecl-uploadprogress
mail-mta/ssmtp
net-misc/dhcp
www-apps/drupal