Commit c9a382b2 authored by Bruce Momjian's avatar Bruce Momjian

Rename Rendezvous to Bonjour to match OS/X renaming.

parent c8a6b527
...@@ -871,7 +871,7 @@ Optional Packages: ...@@ -871,7 +871,7 @@ Optional Packages:
--with-krb5 build with Kerberos 5 support --with-krb5 build with Kerberos 5 support
--with-krb-srvnam=NAME name of the service principal in Kerberos [postgres] --with-krb-srvnam=NAME name of the service principal in Kerberos [postgres]
--with-pam build with PAM support --with-pam build with PAM support
--with-rendezvous build with Rendezvous support --with-bonjour build with Bonjour support
--with-openssl build with OpenSSL support --with-openssl build with OpenSSL support
--without-readline do not use Readline --without-readline do not use Readline
--without-zlib do not use Zlib --without-zlib do not use Zlib
...@@ -3431,22 +3431,22 @@ echo "${ECHO_T}$with_pam" >&6 ...@@ -3431,22 +3431,22 @@ echo "${ECHO_T}$with_pam" >&6
# #
# Rendezvous # Bonjour
# #
echo "$as_me:$LINENO: checking whether to build with Rendezvous support" >&5 echo "$as_me:$LINENO: checking whether to build with Bonjour support" >&5
echo $ECHO_N "checking whether to build with Rendezvous support... $ECHO_C" >&6 echo $ECHO_N "checking whether to build with Bonjour support... $ECHO_C" >&6
# Check whether --with-rendezvous or --without-rendezvous was given. # Check whether --with-bonjour or --without-bonjour was given.
if test "${with_rendezvous+set}" = set; then if test "${with_bonjour+set}" = set; then
withval="$with_rendezvous" withval="$with_bonjour"
case $withval in case $withval in
yes) yes)
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define USE_RENDEZVOUS 1 #define USE_BONJOUR 1
_ACEOF _ACEOF
;; ;;
...@@ -3454,19 +3454,19 @@ _ACEOF ...@@ -3454,19 +3454,19 @@ _ACEOF
: :
;; ;;
*) *)
{ { echo "$as_me:$LINENO: error: no argument expected for --with-rendezvous option" >&5 { { echo "$as_me:$LINENO: error: no argument expected for --with-bonjour option" >&5
echo "$as_me: error: no argument expected for --with-rendezvous option" >&2;} echo "$as_me: error: no argument expected for --with-bonjour option" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
;; ;;
esac esac
else else
with_rendezvous=no with_bonjour=no
fi; fi;
echo "$as_me:$LINENO: result: $with_rendezvous" >&5 echo "$as_me:$LINENO: result: $with_bonjour" >&5
echo "${ECHO_T}$with_rendezvous" >&6 echo "${ECHO_T}$with_bonjour" >&6
...@@ -9674,7 +9674,7 @@ done ...@@ -9674,7 +9674,7 @@ done
fi fi
if test "$with_rendezvous" = yes ; then if test "$with_bonjour" = yes ; then
if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5 echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6 echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6
...@@ -9779,8 +9779,8 @@ fi ...@@ -9779,8 +9779,8 @@ fi
if test $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h = yes; then if test $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h = yes; then
: :
else else
{ { echo "$as_me:$LINENO: error: header file <DNSServiceDiscovery/DNSServiceDiscovery.h> is required for Rendezvous" >&5 { { echo "$as_me:$LINENO: error: header file <DNSServiceDiscovery/DNSServiceDiscovery.h> is required for Bonjour" >&5
echo "$as_me: error: header file <DNSServiceDiscovery/DNSServiceDiscovery.h> is required for Rendezvous" >&2;} echo "$as_me: error: header file <DNSServiceDiscovery/DNSServiceDiscovery.h> is required for Bonjour" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
...@@ -19710,7 +19710,7 @@ s,@with_krb4@,$with_krb4,;t t ...@@ -19710,7 +19710,7 @@ s,@with_krb4@,$with_krb4,;t t
s,@with_krb5@,$with_krb5,;t t s,@with_krb5@,$with_krb5,;t t
s,@krb_srvtab@,$krb_srvtab,;t t s,@krb_srvtab@,$krb_srvtab,;t t
s,@with_pam@,$with_pam,;t t s,@with_pam@,$with_pam,;t t
s,@with_rendezvous@,$with_rendezvous,;t t s,@with_bonjour@,$with_bonjour,;t t
s,@with_openssl@,$with_openssl,;t t s,@with_openssl@,$with_openssl,;t t
s,@ELF_SYS@,$ELF_SYS,;t t s,@ELF_SYS@,$ELF_SYS,;t t
s,@LDFLAGS_SL@,$LDFLAGS_SL,;t t s,@LDFLAGS_SL@,$LDFLAGS_SL,;t t
......
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.410 2005/05/07 05:48:50 neilc Exp $ dnl $PostgreSQL: pgsql/configure.in,v 1.411 2005/05/15 00:26:18 momjian Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -466,14 +466,14 @@ AC_SUBST(with_pam) ...@@ -466,14 +466,14 @@ AC_SUBST(with_pam)
# #
# Rendezvous # Bonjour
# #
AC_MSG_CHECKING([whether to build with Rendezvous support]) AC_MSG_CHECKING([whether to build with Bonjour support])
PGAC_ARG_BOOL(with, rendezvous, no, PGAC_ARG_BOOL(with, bonjour, no,
[ --with-rendezvous build with Rendezvous support], [ --with-bonjour build with Bonjour support],
[AC_DEFINE([USE_RENDEZVOUS], 1, [Define to 1 to build with Rendezvous support. (--with-rendezvous)])]) [AC_DEFINE([USE_BONJOUR], 1, [Define to 1 to build with Bonjour support. (--with-bonjour)])])
AC_MSG_RESULT([$with_rendezvous]) AC_MSG_RESULT([$with_bonjour])
AC_SUBST(with_rendezvous) AC_SUBST(with_bonjour)
# #
...@@ -781,8 +781,8 @@ if test "$with_pam" = yes ; then ...@@ -781,8 +781,8 @@ if test "$with_pam" = yes ; then
[AC_MSG_ERROR([header file <security/pam_appl.h> or <pam/pam_appl.h> is required for PAM.])])]) [AC_MSG_ERROR([header file <security/pam_appl.h> or <pam/pam_appl.h> is required for PAM.])])])
fi fi
if test "$with_rendezvous" = yes ; then if test "$with_bonjour" = yes ; then
AC_CHECK_HEADER(DNSServiceDiscovery/DNSServiceDiscovery.h, [], [AC_MSG_ERROR([header file <DNSServiceDiscovery/DNSServiceDiscovery.h> is required for Rendezvous])]) AC_CHECK_HEADER(DNSServiceDiscovery/DNSServiceDiscovery.h, [], [AC_MSG_ERROR([header file <DNSServiceDiscovery/DNSServiceDiscovery.h> is required for Bonjour])])
fi fi
......
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.232 2005/04/09 03:52:43 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.233 2005/05/15 00:26:18 momjian Exp $ -->
<chapter id="installation"> <chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]> <title><![%standalone-include[<productname>PostgreSQL</>]]>
...@@ -864,10 +864,10 @@ su - postgres ...@@ -864,10 +864,10 @@ su - postgres
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>--with-rendezvous</option></term> <term><option>--with-bonjour</option></term>
<listitem> <listitem>
<para> <para>
Build with Rendezvous support. This requires Rendezvous support Build with Bonjour support. This requires Bonjour support
in your operating system. Recommended on Mac OS X. in your operating system. Recommended on Mac OS X.
</para> </para>
</listitem> </listitem>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.318 2005/05/09 17:26:22 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.319 2005/05/15 00:26:18 momjian Exp $
--> -->
<chapter Id="runtime"> <chapter Id="runtime">
...@@ -873,17 +873,17 @@ SET ENABLE_SEQSCAN TO OFF; ...@@ -873,17 +873,17 @@ SET ENABLE_SEQSCAN TO OFF;
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="guc-rendezvous-name" xreflabel="rendezvous_name"> <varlistentry id="guc-bonjour-name" xreflabel="bonjour_name">
<term><varname>rendezvous_name</varname> (<type>string</type>)</term> <term><varname>bonjour_name</varname> (<type>string</type>)</term>
<indexterm> <indexterm>
<primary><varname>rendezvous_name</> configuration parameter</primary> <primary><varname>bonjour_name</> configuration parameter</primary>
</indexterm> </indexterm>
<listitem> <listitem>
<para> <para>
Specifies the <productname>Rendezvous</productname> broadcast Specifies the <productname>Bonjour</productname> broadcast
name. By default, the computer name is used, specified as an name. By default, the computer name is used, specified as an
empty string ''. This option is ignored if the server was not empty string ''. This option is ignored if the server was not
compiled with <productname>Rendezvous</productname> support. This compiled with <productname>Bonjour</productname> support. This
option can only be set at server start. option can only be set at server start.
</para> </para>
</listitem> </listitem>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.450 2005/03/25 00:34:21 tgl Exp $ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.451 2005/05/15 00:26:18 momjian Exp $
* *
* NOTES * NOTES
* *
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
#include <getopt.h> #include <getopt.h>
#endif #endif
#ifdef USE_RENDEZVOUS #ifdef USE_BONJOUR
#include <DNSServiceDiscovery/DNSServiceDiscovery.h> #include <DNSServiceDiscovery/DNSServiceDiscovery.h>
#endif #endif
...@@ -198,7 +198,7 @@ bool log_hostname; /* for ps display and logging */ ...@@ -198,7 +198,7 @@ bool log_hostname; /* for ps display and logging */
bool Log_connections = false; bool Log_connections = false;
bool Db_user_namespace = false; bool Db_user_namespace = false;
char *rendezvous_name; char *bonjour_name;
/* list of library:init-function to be preloaded */ /* list of library:init-function to be preloaded */
char *preload_libraries_string = NULL; char *preload_libraries_string = NULL;
...@@ -242,7 +242,7 @@ extern int optreset; ...@@ -242,7 +242,7 @@ extern int optreset;
*/ */
static void checkDataDir(void); static void checkDataDir(void);
#ifdef USE_RENDEZVOUS #ifdef USE_BONJOUR
static void reg_reply(DNSServiceRegistrationReplyErrorType errorCode, static void reg_reply(DNSServiceRegistrationReplyErrorType errorCode,
void *context); void *context);
#endif #endif
...@@ -746,11 +746,11 @@ PostmasterMain(int argc, char *argv[]) ...@@ -746,11 +746,11 @@ PostmasterMain(int argc, char *argv[])
pfree(rawstring); pfree(rawstring);
} }
#ifdef USE_RENDEZVOUS #ifdef USE_BONJOUR
/* Register for Rendezvous only if we opened TCP socket(s) */ /* Register for Bonjour only if we opened TCP socket(s) */
if (ListenSocket[0] != -1 && rendezvous_name != NULL) if (ListenSocket[0] != -1 && bonjour_name != NULL)
{ {
DNSServiceRegistrationCreate(rendezvous_name, DNSServiceRegistrationCreate(bonjour_name,
"_postgresql._tcp.", "_postgresql._tcp.",
"", "",
htonl(PostPortNumber), htonl(PostPortNumber),
...@@ -1009,7 +1009,7 @@ checkDataDir(void) ...@@ -1009,7 +1009,7 @@ checkDataDir(void)
} }
#ifdef USE_RENDEZVOUS #ifdef USE_BONJOUR
/* /*
* empty callback function for DNSServiceRegistrationCreate() * empty callback function for DNSServiceRegistrationCreate()
...@@ -1019,7 +1019,7 @@ reg_reply(DNSServiceRegistrationReplyErrorType errorCode, void *context) ...@@ -1019,7 +1019,7 @@ reg_reply(DNSServiceRegistrationReplyErrorType errorCode, void *context)
{ {
} }
#endif /* USE_RENDEZVOUS */ #endif /* USE_BONJOUR */
/* /*
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>. * Written by Peter Eisentraut <peter_e@gmx.net>.
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.261 2005/05/01 18:56:19 tgl Exp $ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.262 2005/05/15 00:26:19 momjian Exp $
* *
*-------------------------------------------------------------------- *--------------------------------------------------------------------
*/ */
...@@ -1573,11 +1573,11 @@ static struct config_string ConfigureNamesString[] = ...@@ -1573,11 +1573,11 @@ static struct config_string ConfigureNamesString[] =
}, },
{ {
{"rendezvous_name", PGC_POSTMASTER, CONN_AUTH_SETTINGS, {"bonjour_name", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
gettext_noop("Sets the Rendezvous broadcast service name."), gettext_noop("Sets the Bonjour broadcast service name."),
NULL NULL
}, },
&rendezvous_name, &bonjour_name,
"", NULL, NULL "", NULL, NULL
}, },
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#unix_socket_directory = '' #unix_socket_directory = ''
#unix_socket_group = '' #unix_socket_group = ''
#unix_socket_permissions = 0777 # octal #unix_socket_permissions = 0777 # octal
#rendezvous_name = '' # defaults to the computer name #bonjour_name = '' # defaults to the computer name
# - Security & Authentication - # - Security & Authentication -
......
...@@ -645,8 +645,8 @@ ...@@ -645,8 +645,8 @@
/* Define to 1 to build with PAM support. (--with-pam) */ /* Define to 1 to build with PAM support. (--with-pam) */
#undef USE_PAM #undef USE_PAM
/* Define to 1 to build with Rendezvous support. (--with-rendezvous) */ /* Define to 1 to build with Bonjour support. (--with-bonjour) */
#undef USE_RENDEZVOUS #undef USE_BONJOUR
/* Use replacement snprintf() functions. */ /* Use replacement snprintf() functions. */
#undef USE_SNPRINTF #undef USE_SNPRINTF
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/postmaster/postmaster.h,v 1.9 2004/12/31 22:03:39 pgsql Exp $ * $PostgreSQL: pgsql/src/include/postmaster/postmaster.h,v 1.10 2005/05/15 00:26:19 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -28,7 +28,7 @@ extern int AuthenticationTimeout; ...@@ -28,7 +28,7 @@ extern int AuthenticationTimeout;
extern char *preload_libraries_string; extern char *preload_libraries_string;
extern bool Log_connections; extern bool Log_connections;
extern bool log_hostname; extern bool log_hostname;
extern char *rendezvous_name; extern char *bonjour_name;
#ifdef WIN32 #ifdef WIN32
extern HANDLE PostmasterHandle; extern HANDLE PostmasterHandle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment