From dc87ea755c6b63088e77b523de09d87f4fd78471 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 26 Jan 2003 01:19:22 +0000 Subject: [PATCH] Include IPv6 addresses in pg_hba.conf even if IPv6 is not supported; at suggestion of Peter. --- src/backend/Makefile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/backend/Makefile b/src/backend/Makefile index 80df8b96be..ec4c179c7a 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.92 2003/01/07 15:12:17 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.93 2003/01/26 01:19:22 momjian Exp $ # #------------------------------------------------------------------------- @@ -132,14 +132,7 @@ ifeq ($(MAKE_DLL), true) endif endif $(MAKE) -C catalog install-data -ifdef HAVE_IPV6 $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample -else - grep -v '^host.*::1.*ffff:ffff:ffff:ffff:ffff:ffff' \ - $(srcdir)/libpq/pg_hba.conf.sample \ - > $(srcdir)/libpq/pg_hba.conf.sample.no_ipv6 - $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample.no_ipv6 $(DESTDIR)$(datadir)/pg_hba.conf.sample -endif $(INSTALL_DATA) $(srcdir)/libpq/pg_service.conf.sample $(DESTDIR)$(datadir)/pg_service.conf.sample $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample @@ -191,9 +184,6 @@ clean: rm -f postgres$(X) $(POSTGRES_IMP) \ $(top_srcdir)/src/include/parser/parse.h \ $(top_builddir)/src/include/utils/fmgroids.h -ifndef HAVE_IPV6 - rm -f $(srcdir)/libpq/pg_hba.conf.sample.no_ipv6 -endif ifeq ($(PORTNAME), win) rm -f postgres.dll postgres.def libpostgres.a endif