From 64d32b83ac784ffc11fa318d48dce51608bd34a3 Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Sat, 14 Feb 2015 20:24:31 +0000 Subject: [PATCH] appliances: Drop drupal. It didn't build last I checked and I don't use it anyway so... --- appliances/drupal/Makefile | 27 ---------------------- appliances/drupal/critical | 37 ------------------------------ appliances/drupal/firstboot.start | 9 -------- appliances/drupal/make.conf | 5 ---- appliances/drupal/motd.sh | 21 ----------------- appliances/drupal/package.keywords | 5 ---- appliances/drupal/package.use | 17 -------------- appliances/drupal/world | 4 ---- 8 files changed, 125 deletions(-) delete mode 100644 appliances/drupal/Makefile delete mode 100644 appliances/drupal/critical delete mode 100755 appliances/drupal/firstboot.start delete mode 100644 appliances/drupal/make.conf delete mode 100755 appliances/drupal/motd.sh delete mode 100644 appliances/drupal/package.keywords delete mode 100644 appliances/drupal/package.use delete mode 100644 appliances/drupal/world diff --git a/appliances/drupal/Makefile b/appliances/drupal/Makefile deleted file mode 100644 index 4c59fec..0000000 --- a/appliances/drupal/Makefile +++ /dev/null @@ -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: - diff --git a/appliances/drupal/critical b/appliances/drupal/critical deleted file mode 100644 index aaed4f2..0000000 --- a/appliances/drupal/critical +++ /dev/null @@ -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 diff --git a/appliances/drupal/firstboot.start b/appliances/drupal/firstboot.start deleted file mode 100755 index 82d8c49..0000000 --- a/appliances/drupal/firstboot.start +++ /dev/null @@ -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 diff --git a/appliances/drupal/make.conf b/appliances/drupal/make.conf deleted file mode 100644 index e6c8abf..0000000 --- a/appliances/drupal/make.conf +++ /dev/null @@ -1,5 +0,0 @@ - -# Apache config for LodgeIt -APACHE2_MPMS="prefork" -APACHE2_MODULES="authz_host dir mime" -PHP_TARGETS="php5-5" diff --git a/appliances/drupal/motd.sh b/appliances/drupal/motd.sh deleted file mode 100755 index e8539fb..0000000 --- a/appliances/drupal/motd.sh +++ /dev/null @@ -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 diff --git a/appliances/drupal/package.keywords b/appliances/drupal/package.keywords deleted file mode 100644 index 5da7837..0000000 --- a/appliances/drupal/package.keywords +++ /dev/null @@ -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 diff --git a/appliances/drupal/package.use b/appliances/drupal/package.use deleted file mode 100644 index 90665db..0000000 --- a/appliances/drupal/package.use +++ /dev/null @@ -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 diff --git a/appliances/drupal/world b/appliances/drupal/world deleted file mode 100644 index 6f21ee5..0000000 --- a/appliances/drupal/world +++ /dev/null @@ -1,4 +0,0 @@ -dev-db/postgresql-server:9.3 -dev-php/pecl-uploadprogress -mail-mta/ssmtp -www-apps/drupal