Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace HTTP man.he.net with HTTPS man7.org manpages #150

Open
rwp0 opened this issue Jan 11, 2023 · 5 comments · May be fixed by #172
Open

Replace HTTP man.he.net with HTTPS man7.org manpages #150

rwp0 opened this issue Jan 11, 2023 · 5 comments · May be fixed by #172

Comments

@rwp0
Copy link
Contributor

rwp0 commented Jan 11, 2023

For Linux manual pages:

http://man.he.net/man5/crontab seems to be HTTP only, while

https://man7.org/linux/man-pages/man5/crontab.5.html is HTTPS

resolve_man_page_link , man_url_prefix, and man_url_prefix methods will need to be reworked.

=head2 man_url_prefix

In turning C<< L<crontab(5)> >> into http://whatever/man/1/crontab, what
to put before the "1/crontab". The default value is
"http://man.he.net/man".
=head2 man_url_postfix

What to put after "1/crontab" in the URL. This option is not set by default.
=head2 resolve_man_page_link

  my $url = $pod->resolve_man_page_link('crontab(5)', 'EXAMPLE CRON FILE');
  my $url = $pod->resolve_man_page_link('crontab');

Resolves a man page link target and numeric section to a URL. The resulting
link will be returned for the above examples as:

    http://man.he.net/man5/crontab
    http://man.he.net/man1/crontab

Note that the first argument is required. The section number will be parsed
from it, and if it's missing will default to 1. The second argument is
currently ignored, as L<man.he.net|http://man.he.net> does not currently
include linkable IDs or anchor names in its pages. Subclass to link to a
different man page HTTP server.
@jkeenan
Copy link
Contributor

jkeenan commented Jul 17, 2024

@rwp0, since you've already done the research on this issue, why don't you just convert it into a pull request?

@rwp0
Copy link
Contributor Author

rwp0 commented Jul 17, 2024

@rwp0, since you've already done the research on this issue, why don't you just convert it into a pull request?

If you're giving me a a greenlight to switch from HE to man7 globally for all the Unix manpages referenced, I can proceed with the conversion.

@jkeenan
Copy link
Contributor

jkeenan commented Jul 17, 2024

@rwp0, since you've already done the research on this issue, why don't you just convert it into a pull request?

If you're giving me a a greenlight to switch from HE to man7 globally for all the Unix manpages referenced, I can proceed with the conversion.

Well, I'm not a maintainer here, but I suspect that if you did the p.r. the maintainers would accept it. (No promises, though!)

@khwilliamson
Copy link
Contributor

@rwp0 please submit a PR

@rwp0
Copy link
Contributor Author

rwp0 commented Jul 25, 2024

@rwp0 please submit a PR

Thanks for the confirmation, I will start working on it soon

@rwp0 rwp0 changed the title Replace man.he.net/man with man7.org/linux/man-pages Replace HTTP man.he.net with HTTPS man7.org manpages Jul 25, 2024
rwp0 added a commit to rwp0/pod-simple that referenced this issue Jul 26, 2024
Instead of HTTP-only man.he.net

Avoiding "Not secure" warnings thereby

Fixes perl-pod#150
rwp0 added a commit to rwp0/pod-simple that referenced this issue Jul 27, 2024
Instead of HTTP-only man.he.net

Avoiding "Not secure" warnings thereby

Fixes perl-pod#150
rwp0 added a commit to rwp0/pod-simple that referenced this issue Jul 27, 2024
Instead of HTTP-only man.he.net

Avoiding "Not secure" warnings thereby

Fixes perl-pod#150
rwp0 added a commit to rwp0/pod-simple that referenced this issue Jul 28, 2024
Instead of HTTP-only man.he.net

Avoiding "Not secure" warnings thereby

Fixes perl-pod#150
rwp0 added a commit to rwp0/pod-simple that referenced this issue Jul 28, 2024
Instead of HTTP-only man.he.net

Avoiding "Not secure" warnings thereby

Fixes perl-pod#150
rwp0 added a commit to rwp0/pod-simple that referenced this issue Jul 28, 2024
Instead of HTTP-only man.he.net

Avoiding "Not secure" warnings thereby

Fixes perl-pod#150
rwp0 added a commit to rwp0/pod-simple that referenced this issue Jul 28, 2024
Instead of HTTP-only man.he.net

Avoiding "Not secure" warnings thereby

Fixes perl-pod#150
rwp0 added a commit to rwp0/pod-simple that referenced this issue Jul 28, 2024
Instead of HTTP-only man.he.net

Avoiding "Not secure" warnings thereby

Fixes perl-pod#150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants