summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_add/OpenBSD/PackageRepository (follow)
Commit message (Collapse)AuthorAgeFilesLines
* properly cleanup the controller after closing the cmdfh.espie2017-11-031-3/+4
| | | | | | | | | | | | don't call exit, since grab_object is only used within a fork and parent does exit. this prevents signal cleanup from fucking up and trying to close the fhs a second time. somewhat long-standing problem, as seen by jeremy@ and I. okay jeremy@
* Adjust the html index-parsing regex to cope with anchor tags that aren'tsthen2017-08-041-2/+2
| | | | | | | | | | 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@
* tweak %m to expand to %c, and make %c more magical:espie2017-03-111-6/+19
| | | | | | | | | | | | on a -stable system, %c/packages will expand to two directories in support of packages-stable, with the -stable directory being "silent". Also add a -Dsnap option that forces %c to be snapshots so that the last weeks of testing of release are less painful. okay aja@
* move the error saving code slightly aroundespie2016-09-151-5/+5
| | | | still not perfect
* add an is_local-file method for later signatureespie2016-09-141-1/+6
|
* forgot to provide an empty methodespie2016-09-051-1/+5
|
* surprised nobody noticed before meespie2016-06-271-1/+10
| | | | | | | let scp:// work with PKG_CACHE basically, we do an extra fork, so we end up cleaning up the connection twice that's okay for the handles, but not for the commands, since we do a spurious ABORT BYE BYE on cleanup.
* restrict %m and friends to "separate words" so they won't collide withespie2016-06-141-2/+2
| | | | branch specifiers. Unlikely, but better safe than sorry.
* use machine_architecture (arch -s) when assembling PKG_PATHs using %m or %a,sthen2015-06-251-3/+3
| | | | | | fixes these variables with arch like powerpc where this differs from "uname -m". reported by/ok aja@
* add %m as a shorthand, will expand toespie2015-04-161-2/+8
| | | | | | | pub/OpenBSD/5.7/packages/amd64 for lazy typers. okay aja@
* reorg code, the arch/osversion code should live in a single place,espie2015-04-161-26/+7
| | | | short and sweet
* commit expanded tags for %c, %v, %aespie2015-04-161-1/+36
|
* Rename Persistant to Persistent.kspillner2014-08-273-8/+8
| | | | sure espie@
* bye bye src url. Never amounted to much, we went another road a while agoespie2014-07-131-79/+0
|
* Correct precedence for returned value.afresh12014-06-151-2/+2
| | | | style suggested and ok espie@
* remove $_ usage that warns under perl 5.18espie2014-03-183-15/+9
|
* bump copyright to 2014espie2014-01-092-4/+4
|
* new method: reinitialize, for repositories with a sequential connectionespie2014-01-072-2/+12
| | | | | that need a new connection if they're ever called from separate processes simultaneously
* mostly doneespie2011-07-191-13/+53
|
* use common code for ssh/http 1.1espie2011-07-191-115/+4
|
* clean-up a few thingsespie2011-07-191-53/+85
|
* most of the pieces are there... still need to open a new connection ifespie2011-07-181-58/+21
| | | | server drops us.
* a little better, but not yet readyespie2011-07-181-30/+50
|
* skeleton for grabbing files...espie2011-07-181-15/+36
|
* Also handle normal Content-Lengthespie2011-07-181-17/+28
|
* chunked directory transfersespie2011-07-181-8/+39
|
* a few typos, nothing working yet... needs to parse Chunked transferespie2011-07-181-21/+38
|
* wip, definitely not finished (and not used) yetespie2011-07-121-3/+204
|
* future code to handle HTTP 1.1 connection: need to establish a somewhatespie2011-07-062-0/+160
| | | | persistant connection, will use the same client code for scp and http.
* cache user name for ~userespie2011-03-231-3/+6
|
* allow scp://hostname/~user/subdir to workespie2011-03-231-1/+8
|
* use state to print error messagesespie2010-07-021-6/+6
|
* pass (and save) state around in Repository-related stuff.espie2010-07-021-10/+8
|
* allow say and errsay to work without parameters, as it's ways common.espie2010-06-303-3/+3
| | | | create verbose_system up in state, because it makes sense without verbose.
* whitespace cleanupespie2010-06-303-3/+3
|
* extra parameter to UpdateSet: use the factory to create extra object.espie2010-06-301-1/+1
| | | | | don't create updatesets directly, go through AddDelete::State. Get all Locator/Repo access through state.
* whitespace fixesespie2010-05-103-9/+9
|
* fix very stupid typoespie2010-03-061-2/+2
|
* bump copyrightespie2010-01-101-2/+2
|
* fixed version, somehow I forgot that I use parse to do weird things withespie2010-01-091-1/+40
| | | | PKG_PATH...
* temporary revert until I figure this outespie2010-01-091-29/+1
|
* move some url parsing into Installed, provide for pipe:espie2010-01-091-1/+29
|
* repositories no longer need matchespie2010-01-091-3/+3
|
* use Auto::cacheespie2010-01-053-3/+3
|
* kill more unused codeespie2009-11-101-12/+1
|
* my $_, except for the server code, which could still run on older perlespie2009-06-061-4/+4
|
* rewind DATA, so that the next scp: url will have code to connect to...espie2009-06-031-1/+2
|
* remove class FatPackageLocation. Instead make PackageLocation a hierarchyespie2009-04-191-26/+15
| | | | | so that I can handle installed packages without playing ping-pong with the PackageRepository hierarchy (mostly)
* synch with my new style search/location changesespie2009-04-191-5/+45
| | | | | | It's likely there will be some fallout, but it's getting a bit too large to keep around. This does kill a few very old oddities as well.
* clean up parser a bit, separating local/distant parts in a more reusable way,espie2008-07-041-7/+1
| | | | | | and simplify file: parsing scheme (trying it with file:, then without is a bit stupid once we have the pieces to put it back together directly). Drop the restriction on urls from the man page, no need to finish stuff with /.