Update drupal appliance
This commit is contained in:
parent
8e42219e93
commit
23b5ad407a
|
@ -1,5 +1,5 @@
|
||||||
PGVER = 9.0
|
PGVER = 9.1
|
||||||
DPVER = 7.4
|
DPVER = 7.10
|
||||||
|
|
||||||
inroot := chroot $(CHROOT)
|
inroot := chroot $(CHROOT)
|
||||||
rcdefault := /etc/runlevels/default
|
rcdefault := /etc/runlevels/default
|
||||||
|
@ -11,6 +11,7 @@ postinstall: firstboot.start
|
||||||
$(inroot) passwd -d postgres
|
$(inroot) passwd -d postgres
|
||||||
echo 'PG_INITDB_OPTS="--locale=en_US.UTF-8"' >> $(CHROOT)/etc/conf.d/postgresql-$(PGVER)
|
echo 'PG_INITDB_OPTS="--locale=en_US.UTF-8"' >> $(CHROOT)/etc/conf.d/postgresql-$(PGVER)
|
||||||
$(inroot) eselect postgresql set $(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-server-$(PGVER)*
|
||||||
$(inroot) ln -sf /etc/init.d/postgresql-$(PGVER) $(rcdefault)/postgresql-$(PGVER)
|
$(inroot) ln -sf /etc/init.d/postgresql-$(PGVER) $(rcdefault)/postgresql-$(PGVER)
|
||||||
$(inroot) ln -sf /etc/init.d/apache2 $(rcdefault)/apache2
|
$(inroot) ln -sf /etc/init.d/apache2 $(rcdefault)/apache2
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
DPVER=7.4
|
DPVER=7.10
|
||||||
|
|
||||||
echo Configuring Postgres for Drupal
|
echo Configuring Postgres for Drupal
|
||||||
createuser --no-adduser --no-createdb --no-createrole -U postgres drupal
|
createuser --no-adduser --no-createdb --no-createrole -U postgres drupal
|
||||||
|
|
|
@ -8,7 +8,7 @@ UDEV=$5
|
||||||
DASH=$6
|
DASH=$6
|
||||||
ARCH=$7
|
ARCH=$7
|
||||||
|
|
||||||
DPVER=7.4
|
DPVER=7.10
|
||||||
|
|
||||||
TZ=$TIMEZONE ; export TZ
|
TZ=$TIMEZONE ; export TZ
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
www-apps/drupal ~amd64 ~x86
|
www-apps/drupal ~amd64 ~x86
|
||||||
dev-php5/pecl-uploadprogress ~amd64 ~x86
|
dev-php/pecl-uploadprogress ~amd64 ~x86
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
app-editors/nano ncurses
|
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/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-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
|
mail-mta/ssmtp mta ssl
|
||||||
net-misc/dhcp client
|
net-misc/dhcp client
|
||||||
sys-devel/gcc cxx
|
sys-devel/gcc cxx
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
=dev-db/postgresql-server-9.0*
|
dev-db/postgresql-server:9.1
|
||||||
dev-php5/pecl-uploadprogress
|
dev-php/pecl-uploadprogress
|
||||||
mail-mta/ssmtp
|
mail-mta/ssmtp
|
||||||
net-misc/dhcp
|
net-misc/dhcp
|
||||||
www-apps/drupal
|
www-apps/drupal
|
||||||
|
|
Loading…
Reference in New Issue