dovecot-1.2: Uppercased PACKAGE_NAME macro and started using it ...

dovecot at dovecot.org dovecot at dovecot.org
Sat Jun 21 09:25:48 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/5061533382be
changeset: 7914:5061533382be
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 21 08:51:51 2008 +0300
description:
Uppercased PACKAGE_NAME macro and started using it in some places.

diffstat:

3 files changed, 5 insertions(+), 5 deletions(-)
configure.in                 |    6 +++---
src/master/main.c            |    2 +-
src/master/master-settings.c |    2 +-

diffs (51 lines):

diff -r e04513064165 -r 5061533382be configure.in
--- a/configure.in	Sat Jun 21 07:43:54 2008 +0300
+++ b/configure.in	Sat Jun 21 08:51:51 2008 +0300
@@ -1,5 +1,5 @@ AC_PREREQ([2.59])
 AC_PREREQ([2.59])
-AC_INIT([dovecot],[1.2.UNSTABLE],[dovecot at dovecot.org])
+AC_INIT([Dovecot],[1.2.UNSTABLE],[dovecot at dovecot.org])
 AC_CONFIG_SRCDIR([src])
 
 AM_INIT_AUTOMAKE
@@ -292,14 +292,14 @@ AC_ARG_WITH(rundir,
 AC_ARG_WITH(rundir,
 [  --with-rundir=DIR       Runtime data directory (LOCALSTATEDIR/run/dovecot)],
 	rundir="$withval",
-	rundir=$localstatedir/run/$PACKAGE_NAME
+	rundir=$localstatedir/run/$PACKAGE
 )
 AC_SUBST(rundir)
 
 AC_ARG_WITH(statedir,
 [  --with-statedir=DIR     Permanent data directory (LOCALSTATEDIR/lib/dovecot)],
 	statedir="$withval",
-	statedir=$localstatedir/lib/$PACKAGE_NAME
+	statedir=$localstatedir/lib/$PACKAGE
 )
 AC_SUBST(statedir)
 
diff -r e04513064165 -r 5061533382be src/master/main.c
--- a/src/master/main.c	Sat Jun 21 07:43:54 2008 +0300
+++ b/src/master/main.c	Sat Jun 21 08:51:51 2008 +0300
@@ -255,7 +255,7 @@ static void main_init(bool log_error)
 		i_error("This is Dovecot's error log");
 		i_fatal("This is Dovecot's fatal log");
 	}
-	i_info("Dovecot v"VERSION" starting up");
+	i_info(PACKAGE_NAME" v"VERSION" starting up");
 
 	lib_signals_init();
         lib_signals_set_handler(SIGINT, TRUE, sig_die, NULL);
diff -r e04513064165 -r 5061533382be src/master/master-settings.c
--- a/src/master/master-settings.c	Sat Jun 21 07:43:54 2008 +0300
+++ b/src/master/master-settings.c	Sat Jun 21 08:51:51 2008 +0300
@@ -201,7 +201,7 @@ struct settings default_settings = {
 	MEMBER(login_dir) "login",
 	MEMBER(login_executable) NULL,
 	MEMBER(login_user) "dovecot",
-	MEMBER(login_greeting) "Dovecot ready.",
+	MEMBER(login_greeting) PACKAGE_NAME" ready.",
 	MEMBER(login_log_format_elements) "user=<%u> method=%m rip=%r lip=%l %c",
 	MEMBER(login_log_format) "%$: %s",
 


More information about the dovecot-cvs mailing list