mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Include IPv6 addresses in pg_hba.conf even if IPv6 is not supported; at
suggestion of Peter.
This commit is contained in:
parent
677d77817d
commit
dc87ea755c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user