summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFernando J. Pereda <ferdy@gentoo.org>2005-06-22 11:30:11 +0000
committerFernando J. Pereda <ferdy@gentoo.org>2005-06-22 11:30:11 +0000
commit76f680bbd7d759d52537f18a1d6297d75795ae0a (patch)
treec169f9f252b5fc7971a7f4b1cba18425a7c2dad6 /eclass
parentchangelog fix (diff)
downloadgentoo-2-76f680bbd7d759d52537f18a1d6297d75795ae0a.tar.gz
gentoo-2-76f680bbd7d759d52537f18a1d6297d75795ae0a.tar.bz2
gentoo-2-76f680bbd7d759d52537f18a1d6297d75795ae0a.zip
eclectic -> eselect and added a bit of doc in the header
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mailer.eclass18
1 files changed, 15 insertions, 3 deletions
diff --git a/eclass/mailer.eclass b/eclass/mailer.eclass
index ff711eb11925..5f19a7f0c191 100644
--- a/eclass/mailer.eclass
+++ b/eclass/mailer.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mailer.eclass,v 1.9 2005/05/20 15:51:41 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mailer.eclass,v 1.10 2005/06/22 11:30:11 ferdy Exp $
#
# Original Authors: Fernando J. Pereda <ferdy@gentoo.org>
@@ -16,6 +16,18 @@
# IUSE="mailwrapper" or create RDEPENDS for mailwrapper as used to be the case.
# As you can see below, these are now set by this eclass. This rule also holds
# true for PROVIDE="virtual/mta".
+#
+##
+# Functions available for ebuilds:
+#
+# mailer_get_current() - Returns the current profile (i.e. postfix-2.2.3)
+# mailer_install_conf() - Installs the profile file in ${1} or
+# ${FILESDIR}/mailer.conf if ${1} is not specified.
+# mailer_set_profile() - Sets the current profile to ${1} or to ${P} if ${1}
+# is not specified.
+# mailer_wipe_confs() - Removes unused profiles (i.e. the profile exists but
+# the package is no longer available)
+##
ECLASS="mailer"
INHERITED="$INHERITED $ECLASS"
@@ -88,11 +100,11 @@ mailer_pkg_postinst() {
mailer_set_profile
else
einfo " "
- einfo "Use either net-mail/mailer-config or app-admin/eclectic to change"
+ einfo "Use either net-mail/mailer-config or app-admin/eselect to change"
einfo "to this mailer profile:"
einfo " "
einfo " mailer-config --set-profile ${P}"
- einfo " eclectic mailer set ${P}"
+ einfo " eselect mailer set ${P}"
einfo " "
fi
fi