mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Update URLs in pgindent source and README
Website and buildfarm is https, not http, and the ftp protocol will be shut down shortly.
This commit is contained in:
		@@ -20,7 +20,7 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
5) Download the typedef file from the buildfarm:
 | 
					5) Download the typedef file from the buildfarm:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl
 | 
						wget -O src/tools/pgindent/typedefs.list https://buildfarm.postgresql.org/cgi-bin/typedefs.pl
 | 
				
			||||||
 | 
					
 | 
				
			||||||
6) Run pgindent:
 | 
					6) Run pgindent:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -64,7 +64,7 @@ BSD indent
 | 
				
			|||||||
We have standardized on NetBSD's indent, and renamed it pg_bsd_indent.
 | 
					We have standardized on NetBSD's indent, and renamed it pg_bsd_indent.
 | 
				
			||||||
We have fixed a few bugs which requre the NetBSD source to be patched
 | 
					We have fixed a few bugs which requre the NetBSD source to be patched
 | 
				
			||||||
with indent.bsd.patch patch.  A fully patched version is available at
 | 
					with indent.bsd.patch patch.  A fully patched version is available at
 | 
				
			||||||
ftp://ftp.postgresql.org/pub/dev.
 | 
					https://ftp.postgresql.org/pub/dev.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GNU indent, version 2.2.6, has several problems, and is not recommended.
 | 
					GNU indent, version 2.2.6, has several problems, and is not recommended.
 | 
				
			||||||
These bugs become pretty major when you are doing >500k lines of code.
 | 
					These bugs become pretty major when you are doing >500k lines of code.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -453,7 +453,7 @@ sub run_build
 | 
				
			|||||||
	chdir "$code_base/src/tools/pgindent";
 | 
						chdir "$code_base/src/tools/pgindent";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	my $typedefs_list_url =
 | 
						my $typedefs_list_url =
 | 
				
			||||||
	  "http://buildfarm.postgresql.org/cgi-bin/typedefs.pl";
 | 
						  "https://buildfarm.postgresql.org/cgi-bin/typedefs.pl";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	my $rv = getstore($typedefs_list_url, "tmp_typedefs.list");
 | 
						my $rv = getstore($typedefs_list_url, "tmp_typedefs.list");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -463,7 +463,7 @@ sub run_build
 | 
				
			|||||||
	$ENV{PGTYPEDEFS} = abs_path('tmp_typedefs.list');
 | 
						$ENV{PGTYPEDEFS} = abs_path('tmp_typedefs.list');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	my $pg_bsd_indent_url =
 | 
						my $pg_bsd_indent_url =
 | 
				
			||||||
	    "ftp://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
 | 
						    "https://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
 | 
				
			||||||
	  . $INDENT_VERSION
 | 
						  . $INDENT_VERSION
 | 
				
			||||||
	  . ".tar.gz";
 | 
						  . ".tar.gz";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user