From 36982ef052b14a927ab9ac0ab410aa965de5fe92 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 27 Dec 2006 18:26:40 +0000 Subject: [PATCH] Added profile.bashrc to tell users of the server profile that they should likely be using a Hardened profile. --- .../amd64/2006.1/server/profile.bashrc | 21 +++++++++++++++++++ profiles/default-linux/amd64/ChangeLog | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 profiles/default-linux/amd64/2006.1/server/profile.bashrc diff --git a/profiles/default-linux/amd64/2006.1/server/profile.bashrc b/profiles/default-linux/amd64/2006.1/server/profile.bashrc new file mode 100644 index 000000000000..92a97f9ee863 --- /dev/null +++ b/profiles/default-linux/amd64/2006.1/server/profile.bashrc @@ -0,0 +1,21 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/amd64/2006.1/server/profile.bashrc,v 1.1 2006/12/27 18:26:40 wolf31o2 Exp $ + +if [ "${EBUILD_PHASE}" == "setup" ] +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 diff --git a/profiles/default-linux/amd64/ChangeLog b/profiles/default-linux/amd64/ChangeLog index d95b9754aefb..d476252b9320 100644 --- a/profiles/default-linux/amd64/ChangeLog +++ b/profiles/default-linux/amd64/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for Gentoo/AMD64 profile directory # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/amd64/ChangeLog,v 1.45 2006/12/23 14:15:51 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/amd64/ChangeLog,v 1.46 2006/12/27 18:26:39 wolf31o2 Exp $ + + 27 Dec 2006; Chris Gianelloni + +2006.1/server/profile.bashrc: + Added profile.bashrc to tell users of the server profile that they should + likely be using a Hardened profile. 22 Dec 2006; Danny van Dyk make.defaults: Added defaults for ALSA_CARDS USE_EXPAND variable for all amd64 profiles. -- 2.26.2