From 35f7b5f515bb499d73c2eb2e63b24df0f117d5ca Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Sun, 16 Sep 2012 22:41:26 +0000 Subject: [PATCH] Add ownCloud appliance. --- owncloud/Makefile | 11 +++++++++++ owncloud/critical | 37 +++++++++++++++++++++++++++++++++++++ owncloud/package.keywords | 1 + owncloud/package.provided | 1 + owncloud/package.use | 11 +++++++++++ owncloud/world | 3 +++ 6 files changed, 64 insertions(+) create mode 100644 owncloud/Makefile create mode 100644 owncloud/critical create mode 100644 owncloud/package.keywords create mode 100644 owncloud/package.provided create mode 100644 owncloud/package.use create mode 100644 owncloud/world diff --git a/owncloud/Makefile b/owncloud/Makefile new file mode 100644 index 0000000..9c3a5ea --- /dev/null +++ b/owncloud/Makefile @@ -0,0 +1,11 @@ +preinstall: + $(inroot) sed -i '/^APACHE2_MODULES=/d' /etc/make.conf + echo 'APACHE2_MODULES="mime alias auth_basic authz_host dir env include info"' >> $(CHROOT)/etc/make.conf + +postinstall: + sed -i 's/^APACHE2_OPTS=.*/APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D PHP5 -D SSL -D SSL_DEFAULT_VHOST"/' $(CHROOT)/etc/conf.d/apache2 + $(inroot) rc-update add apache2 default + + +clean: + diff --git a/owncloud/critical b/owncloud/critical new file mode 100644 index 0000000..aaed4f2 --- /dev/null +++ b/owncloud/critical @@ -0,0 +1,37 @@ +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/owncloud/package.keywords b/owncloud/package.keywords new file mode 100644 index 0000000..8704f8a --- /dev/null +++ b/owncloud/package.keywords @@ -0,0 +1 @@ +www-apps/owncloud ** diff --git a/owncloud/package.provided b/owncloud/package.provided new file mode 100644 index 0000000..75756ed --- /dev/null +++ b/owncloud/package.provided @@ -0,0 +1 @@ +virtual/httpd-php-5.4 diff --git a/owncloud/package.use b/owncloud/package.use new file mode 100644 index 0000000..73dbdd3 --- /dev/null +++ b/owncloud/package.use @@ -0,0 +1,11 @@ +app-editors/nano ncurses +dev-lang/python ssl threads xml +net-misc/dhcp client +sys-devel/gcc cxx +sys-kernel/gentoo-sources symlink +sys-libs/ncurses minimal + +dev-lang/php apache2 cgi ctype curl fileinfo force-cgi-redirect fpm gd hash iconv json mhash pdo session simplexml sqlite3 truetype xml xmlreader xmlwriter zip zlib +dev-libs/libpcre cxx +www-apps/owncloud curl sqlite3 +www-servers/apache ssl diff --git a/owncloud/world b/owncloud/world new file mode 100644 index 0000000..3dd435a --- /dev/null +++ b/owncloud/world @@ -0,0 +1,3 @@ +net-misc/dhcp +www-apps/owncloud +www-servers/apache