summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-04-01 17:41:39 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-04-01 17:41:39 +0000
commit135910d96786fcf9b41495e8487a56fa1cdec95c (patch)
tree0222abfe4cccae525a528cf7c698e8049ced0d46 /profiles/targets/server
parenttrunk build against qt4 (diff)
downloadhistorical-135910d96786fcf9b41495e8487a56fa1cdec95c.tar.gz
historical-135910d96786fcf9b41495e8487a56fa1cdec95c.tar.bz2
historical-135910d96786fcf9b41495e8487a56fa1cdec95c.zip
Huge initial 2008.0 profile commit. This will need to be adjusted synced with the current masks and such in the tree, but this will work for people doing beta installs. Enjoy.
Diffstat (limited to 'profiles/targets/server')
-rw-r--r--profiles/targets/server/make.defaults5
-rw-r--r--profiles/targets/server/profile.bashrc25
2 files changed, 30 insertions, 0 deletions
diff --git a/profiles/targets/server/make.defaults b/profiles/targets/server/make.defaults
new file mode 100644
index 000000000000..644619e0aaf9
--- /dev/null
+++ b/profiles/targets/server/make.defaults
@@ -0,0 +1,5 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/targets/server/make.defaults,v 1.1 2008/04/01 17:41:37 wolf31o2 Exp $
+
+USE="apache2 ldap mailwrapper mysql snmp truetype xml"
diff --git a/profiles/targets/server/profile.bashrc b/profiles/targets/server/profile.bashrc
new file mode 100644
index 000000000000..3d70c0099a16
--- /dev/null
+++ b/profiles/targets/server/profile.bashrc
@@ -0,0 +1,25 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/targets/server/profile.bashrc,v 1.1 2008/04/01 17:41:37 wolf31o2 Exp $
+
+if [[ "${EBUILD_PHASE}" == "setup" ]]
+then
+ if [[ "${ARCH}" == "amd64" ]] || [[ "${ARCH}" == "ppc" ]] || \
+ [[ "${ARCH}" == "ppc64" ]] || [[ "${ARCH}" == "x86" ]]
+ then
+ if [[ ! "${I_KNOW_WHAT_I_AM_DOING}" == "yes" ]]
+ then
+ ewarn "This profile has not been tested thoroughly and is not considered to be"
+ ewarn "a supported server profile at this time. For a supported server"
+ ewarn "profile, please check the Hardened project (http://hardened.gentoo.org)."
+ echo
+ ewarn "This profile is merely a convenience for people who require a more"
+ ewarn "minimal profile, yet are unable to use hardened due to restrictions in"
+ ewarn "the software being used on the server. This profile should also be used"
+ ewarn "if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this"
+ ewarn "applies to you, then it doesn't and you should probably be using"
+ ewarn "Hardened, instead."
+ echo
+ fi
+ fi
+fi