appliances: Drop drupal.
It didn't build last I checked and I don't use it anyway so...
This commit is contained in:
parent
076daba560
commit
64d32b83ac
|
@ -1,27 +0,0 @@
|
|||
PGVER = 9.3
|
||||
DPVER = 7.27
|
||||
|
||||
inroot := chroot $(CHROOT)
|
||||
rcdefault := /etc/runlevels/default
|
||||
|
||||
preinstall:
|
||||
|
||||
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
|
||||
$(inroot) eselect php set apache2 1
|
||||
grep '^[^#].*PHP5' $(CHROOT)/etc/conf.d/apache2 || \
|
||||
echo 'APACHE2_OPTS="$$APACHE2_OPTS -D PHP5"' \
|
||||
>> $(CHROOT)/etc/conf.d/apache2
|
||||
$(inroot) cp /usr/share/webapps/drupal/$(DPVER)/htdocs/sites/default/default.settings.php /usr/share/webapps/drupal/$(DPVER)/htdocs/sites/default/settings.php
|
||||
[ -e "$(CHROOT)/var/www/localhost/htdocs/.webapp-drupal-$(DPVER)" ] || \
|
||||
$(inroot) webapp-config -I drupal $(DPVER)
|
||||
cp firstboot.start $(CHROOT)/etc/local.d/
|
||||
|
||||
clean:
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
app-editors/nano
|
||||
net-misc/openssh
|
||||
net-misc/rsync
|
||||
net-misc/wget
|
||||
sys-kernel/gentoo-sources
|
||||
sys-kernel/linux-headers
|
||||
sys-devel/gcc
|
||||
sys-devel/automake
|
||||
sys-devel/bison
|
||||
sys-devel/make
|
||||
sys-devel/flex
|
||||
sys-devel/automake-wrapper
|
||||
sys-devel/autoconf-wrapper
|
||||
sys-devel/autoconf
|
||||
sys-devel/m4
|
||||
sys-devel/gcc-config
|
||||
sys-devel/libtool
|
||||
sys-devel/binutils
|
||||
sys-devel/binutils-config
|
||||
sys-devel/patch
|
||||
sys-devel/gnuconfig
|
||||
app-admin/python-updater
|
||||
app-admin/perl-cleaner
|
||||
sys-apps/man-pages
|
||||
sys-apps/man
|
||||
sys-apps/file
|
||||
sys-apps/less
|
||||
sys-apps/texinfo
|
||||
sys-apps/busybox
|
||||
sys-apps/debianutils
|
||||
sys-apps/man-pages-posix
|
||||
sys-apps/sandbox
|
||||
sys-apps/which
|
||||
dev-lang/perl
|
||||
sys-devel/libperl
|
||||
sys-apps/portage
|
||||
dev-lang/python
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
DPVER=7.27
|
||||
|
||||
echo Configuring Postgres for Drupal
|
||||
createuser --no-adduser --no-createdb --no-createrole -U postgres drupal
|
||||
createdb --encoding=UNICODE --owner=drupal -U postgres drupal
|
||||
|
||||
mv /etc/local.d/firstboot.start /etc/local.d/firstboot.start.disabled
|
|
@ -1,5 +0,0 @@
|
|||
|
||||
# Apache config for LodgeIt
|
||||
APACHE2_MPMS="prefork"
|
||||
APACHE2_MODULES="authz_host dir mime"
|
||||
PHP_TARGETS="php5-5"
|
|
@ -1,21 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
EXTERNAL_KERNEL=$1
|
||||
VIRTIO=$2
|
||||
DISK_SIZE=$3
|
||||
SWAP_SIZE=$4
|
||||
UDEV=$5
|
||||
DASH=$6
|
||||
ARCH=$7
|
||||
|
||||
DPVER=7.27
|
||||
|
||||
TZ=$TIMEZONE ; export TZ
|
||||
|
||||
cat << EOF
|
||||
|
||||
Before using this appliance, you must first configure Drupal, point your
|
||||
browser at http://${HOSTNAME}/ to configure. The database name is
|
||||
"drupal" and the username is "drupal". The DBMS is on localhost and
|
||||
requires no password.
|
||||
EOF
|
|
@ -1,5 +0,0 @@
|
|||
dev-db/postgresql-base ~amd64 ~x86
|
||||
dev-db/postgresql-server ~amd64 ~x86
|
||||
dev-php/pecl-uploadprogress ~amd64 ~x86
|
||||
sys-kernel/gentoo-sources ~amd64 ~x86
|
||||
www-apps/drupal ~amd64 ~x86
|
|
@ -1,17 +0,0 @@
|
|||
app-admin/eselect-php apache2
|
||||
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-php/pecl-apc lock_pthreadmutex php_targets_php5-3
|
||||
dev-php/pecl-uploadprogress php_targets_php5-3
|
||||
dev-util/pkgconfig internal-glib
|
||||
mail-mta/ssmtp mta ssl
|
||||
net-misc/dhcp client
|
||||
sys-apps/hwids udev
|
||||
sys-apps/kmod openrc tools
|
||||
sys-apps/openrc netifrc
|
||||
sys-devel/gcc cxx nptl
|
||||
sys-fs/udev openrc
|
||||
sys-kernel/gentoo-sources symlink
|
||||
sys-libs/ncurses minimal
|
||||
www-apps/drupal postgres -mysql
|
|
@ -1,4 +0,0 @@
|
|||
dev-db/postgresql-server:9.3
|
||||
dev-php/pecl-uploadprogress
|
||||
mail-mta/ssmtp
|
||||
www-apps/drupal
|
Loading…
Reference in New Issue