Skip to content

Commit 605f23e

Browse files
committed
Change pkg repository links to use https instead of http
PR: 280647 Event: EuroBSDcon 2025
1 parent a841c8c commit 605f23e

File tree

1 file changed

+3
-3
lines changed
  • documentation/content/en/books/handbook/ports

1 file changed

+3
-3
lines changed

documentation/content/en/books/handbook/ports/_index.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ To switch man:pkg[8] from Quarterly to Latest run the following commands:
201201
[source,shell]
202202
....
203203
# mkdir -p /usr/local/etc/pkg/repos
204-
# echo 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }' > /usr/local/etc/pkg/repos/FreeBSD.conf
204+
# echo 'FreeBSD: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest" }' > /usr/local/etc/pkg/repos/FreeBSD.conf
205205
....
206206

207207
Then run this command to update the local package repositories catalogues for the Latest branch:
@@ -1303,13 +1303,13 @@ FreeBSD: {
13031303
Usually it is easiest to serve a poudriere repository to the client machines via HTTP.
13041304
Set up a webserver to serve up the package directory, for instance: `/usr/local/poudriere/data/packages/13amd64`, where `13amd64` is the name of the build.
13051305

1306-
If the URL to the package repository is: `http://pkg.example.com/13amd64`,
1306+
If the URL to the package repository is: `https://pkg.example.com/13amd64`,
13071307
then the repository configuration file in `/usr/local/etc/pkg/repos/custom.conf` would look like:
13081308

13091309
[.programlisting]
13101310
....
13111311
custom: {
1312-
url: "http://pkg.example.com/13amd64",
1312+
url: "https://pkg.example.com/13amd64",
13131313
enabled: yes,
13141314
}
13151315
....

0 commit comments

Comments
 (0)