History log of /openbsd-current/usr.sbin/pkg_add/OpenBSD/PackageRepository/HTTP.pm
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.16 03-Jul-2023 espie

also make things 5.36 if not used


# 1.15 13-Jun-2023 espie

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message like "hey, the number of params is wrong"
it is a fringe case I didn't run into and should be easy to fix.


# 1.14 17-May-2023 espie

stop using old-style prototypes except where strictly necessary
(for try/catch)

signatures will be much more powerful once I move to 5.36


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.13 04-Aug-2017 sthen

Adjust the html index-parsing regex to cope with anchor tags that aren't
just '<a href="foo">'; several mirrors now include a title attribute which
pkg_add can't cope with.

Diff from Taylor Stearns to handle attributes following the href; tweaked
by me to also handle attribute before the href.

ok zhuk@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.12 27-Aug-2014 kspillner

Rename Persistant to Persistent.

sure espie@


Revision tags: OPENBSD_5_6_BASE
# 1.11 18-Mar-2014 espie

remove $_ usage that warns under perl 5.18


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.10 19-Jul-2011 espie

mostly done


# 1.9 19-Jul-2011 espie

clean-up a few things


# 1.8 18-Jul-2011 espie

most of the pieces are there... still need to open a new connection if
server drops us.


# 1.7 18-Jul-2011 espie

a little better, but not yet ready


# 1.6 18-Jul-2011 espie

skeleton for grabbing files...


# 1.5 18-Jul-2011 espie

Also handle normal Content-Length


# 1.4 18-Jul-2011 espie

chunked directory transfers


# 1.3 18-Jul-2011 espie

a few typos, nothing working yet... needs to parse Chunked transfer


# 1.2 12-Jul-2011 espie

wip, definitely not finished (and not used) yet


# 1.1 06-Jul-2011 espie

future code to handle HTTP 1.1 connection: need to establish a somewhat
persistant connection, will use the same client code for scp and http.


# 1.15 13-Jun-2023 espie

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message like "hey, the number of params is wrong"
it is a fringe case I didn't run into and should be easy to fix.


# 1.14 17-May-2023 espie

stop using old-style prototypes except where strictly necessary
(for try/catch)

signatures will be much more powerful once I move to 5.36


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.13 04-Aug-2017 sthen

Adjust the html index-parsing regex to cope with anchor tags that aren't
just '<a href="foo">'; several mirrors now include a title attribute which
pkg_add can't cope with.

Diff from Taylor Stearns to handle attributes following the href; tweaked
by me to also handle attribute before the href.

ok zhuk@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.12 27-Aug-2014 kspillner

Rename Persistant to Persistent.

sure espie@


Revision tags: OPENBSD_5_6_BASE
# 1.11 18-Mar-2014 espie

remove $_ usage that warns under perl 5.18


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.10 19-Jul-2011 espie

mostly done


# 1.9 19-Jul-2011 espie

clean-up a few things


# 1.8 18-Jul-2011 espie

most of the pieces are there... still need to open a new connection if
server drops us.


# 1.7 18-Jul-2011 espie

a little better, but not yet ready


# 1.6 18-Jul-2011 espie

skeleton for grabbing files...


# 1.5 18-Jul-2011 espie

Also handle normal Content-Length


# 1.4 18-Jul-2011 espie

chunked directory transfers


# 1.3 18-Jul-2011 espie

a few typos, nothing working yet... needs to parse Chunked transfer


# 1.2 12-Jul-2011 espie

wip, definitely not finished (and not used) yet


# 1.1 06-Jul-2011 espie

future code to handle HTTP 1.1 connection: need to establish a somewhat
persistant connection, will use the same client code for scp and http.


Revision tags: OPENBSD_6_2_BASE
# 1.13 04-Aug-2017 sthen

Adjust the html index-parsing regex to cope with anchor tags that aren't
just '<a href="foo">'; several mirrors now include a title attribute which
pkg_add can't cope with.

Diff from Taylor Stearns to handle attributes following the href; tweaked
by me to also handle attribute before the href.

ok zhuk@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.12 27-Aug-2014 kspillner

Rename Persistant to Persistent.

sure espie@


Revision tags: OPENBSD_5_6_BASE
# 1.11 18-Mar-2014 espie

remove $_ usage that warns under perl 5.18


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.10 19-Jul-2011 espie

mostly done


# 1.9 19-Jul-2011 espie

clean-up a few things


# 1.8 18-Jul-2011 espie

most of the pieces are there... still need to open a new connection if
server drops us.


# 1.7 18-Jul-2011 espie

a little better, but not yet ready


# 1.6 18-Jul-2011 espie

skeleton for grabbing files...


# 1.5 18-Jul-2011 espie

Also handle normal Content-Length


# 1.4 18-Jul-2011 espie

chunked directory transfers


# 1.3 18-Jul-2011 espie

a few typos, nothing working yet... needs to parse Chunked transfer


# 1.2 12-Jul-2011 espie

wip, definitely not finished (and not used) yet


# 1.1 06-Jul-2011 espie

future code to handle HTTP 1.1 connection: need to establish a somewhat
persistant connection, will use the same client code for scp and http.