From b06fa56902dd5a1180c17c884d66576e0a839080 Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Mon, 10 Sep 2012 14:06:26 +0000 Subject: [PATCH] Create a mongodb appliance. --- mongodb/Makefile | 8 ++++++++ mongodb/critical | 36 ++++++++++++++++++++++++++++++++++++ mongodb/package.keywords | 2 ++ mongodb/package.use | 8 ++++++++ mongodb/world | 2 ++ 5 files changed, 56 insertions(+) create mode 100644 mongodb/Makefile create mode 100644 mongodb/critical create mode 100644 mongodb/package.keywords create mode 100644 mongodb/package.use create mode 100644 mongodb/world diff --git a/mongodb/Makefile b/mongodb/Makefile new file mode 100644 index 0000000..a11bc33 --- /dev/null +++ b/mongodb/Makefile @@ -0,0 +1,8 @@ +preinstall: + +postinstall: + sed -i 's/^MONGODB_IP=.*/MONGODB_IP="0.0.0.0"/' "$(CHROOT)"/etc/conf.d/mongodb + $(inroot) rc-update add mongodb default + +clean: + diff --git a/mongodb/critical b/mongodb/critical new file mode 100644 index 0000000..2e27ef2 --- /dev/null +++ b/mongodb/critical @@ -0,0 +1,36 @@ +app-editors/nano +net-misc/openssh +net-misc/rsync +net-misc/wget +sys-kernel/gentoo-sources +sys-kernel/linux-headers +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/mongodb/package.keywords b/mongodb/package.keywords new file mode 100644 index 0000000..ff812c2 --- /dev/null +++ b/mongodb/package.keywords @@ -0,0 +1,2 @@ +dev-db/mongodb ** +app-arch/snappy ** diff --git a/mongodb/package.use b/mongodb/package.use new file mode 100644 index 0000000..81577a9 --- /dev/null +++ b/mongodb/package.use @@ -0,0 +1,8 @@ +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-libs/libpcre cxx +dev-db/mongodb v8 diff --git a/mongodb/world b/mongodb/world new file mode 100644 index 0000000..4f08995 --- /dev/null +++ b/mongodb/world @@ -0,0 +1,2 @@ +net-misc/dhcp +dev-db/mongodb