Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d8ba357

Browse files
committed
Update URLs in pgindent source and README
Website and buildfarm is https, not http, and the ftp protocol will be shut down shortly.
1 parent c101d83 commit d8ba357

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/tools/pgindent/README

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ DOING THE INDENT RUN:
3030

3131
3) Download the latest typedef file from the buildfarm:
3232

33-
wget -O src/tools/pgindent/typedefs.list http://buildfarm.postgresql.org/cgi-bin/typedefs.pl
33+
wget -O src/tools/pgindent/typedefs.list https://buildfarm.postgresql.org/cgi-bin/typedefs.pl
3434

35-
(See http://www.pgbuildfarm.org/cgi-bin/typedefs.pl?show_list for a full
35+
(See https://www.pgbuildfarm.org/cgi-bin/typedefs.pl?show_list for a full
3636
list of typedef files, if you want to indent some back branch.)
3737

3838
4) Run pgindent on the C files:
@@ -108,7 +108,7 @@ BSD indent
108108
We have standardized on NetBSD's indent, and renamed it pg_bsd_indent.
109109
We have fixed a few bugs which requre the NetBSD source to be patched
110110
with indent.bsd.patch patch. A fully patched version is available at
111-
ftp://ftp.postgresql.org/pub/dev.
111+
https://ftp.postgresql.org/pub/dev.
112112

113113
GNU indent, version 2.2.6, has several problems, and is not recommended.
114114
These bugs become pretty major when you are doing >500k lines of code.

src/tools/pgindent/pgindent

+2-2
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ sub run_build
453453
chdir "$code_base/src/tools/pgindent";
454454

455455
my $typedefs_list_url =
456-
"http://buildfarm.postgresql.org/cgi-bin/typedefs.pl";
456+
"https://buildfarm.postgresql.org/cgi-bin/typedefs.pl";
457457

458458
my $rv = getstore($typedefs_list_url, "tmp_typedefs.list");
459459

@@ -463,7 +463,7 @@ sub run_build
463463
$ENV{PGTYPEDEFS} = abs_path('tmp_typedefs.list');
464464

465465
my $pg_bsd_indent_url =
466-
"ftp://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
466+
"https://ftp.postgresql.org/pub/dev/pg_bsd_indent-"
467467
. $INDENT_VERSION
468468
. ".tar.gz";
469469

0 commit comments

Comments
 (0)