summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_add/OpenBSD/PackageRepository/SCP.pm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename Persistant to Persistent.kspillner2014-08-271-3/+3
| | | | sure espie@
* remove $_ usage that warns under perl 5.18espie2014-03-181-4/+1
|
* use common code for ssh/http 1.1espie2011-07-191-115/+4
|
* 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
|
* allow say and errsay to work without parameters, as it's ways common.espie2010-06-301-1/+1
| | | | create verbose_system up in state, because it makes sense without verbose.
* whitespace cleanupespie2010-06-301-1/+1
|
* whitespace fixesespie2010-05-101-5/+5
|
* use Auto::cacheespie2010-01-051-1/+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
|
* synch with rest of workespie2008-06-271-13/+2
|
* use OpenBSD::Paths contentsespie2007-06-161-2/+4
|
* more efficient regexps: anchor stuff at both ends, be more specific inespie2007-06-041-5/+5
| | | | | what matches. Get rid of $`, $', $&, which encur a performance penalty. (not yet done on PackageName and PkgSpec).
* some minor systematic changes.espie2007-06-041-16/+16
| | | | | | | - mark all regexps I can with /o if they can be compiled once. - turn $o->method() into $o->method - remove unneeded prototypes - reduce split /re/ into split "string" where possible.
* fix scp url parsing and printingespie2007-05-191-4/+7
|
* do not pass the urlscheme to the constructors, since they each haveespie2007-05-171-2/+2
| | | | | | | a known urlscheme. Recognize inst: and file: as specific schemes that refer to given repositories, for future extension.
* name each urlschemeespie2007-05-171-1/+6
|
* update copyright years, standardize licence.espie2007-04-151-2/+2
| | | | | reword the introduction to the stuff originally from FreeBSD to clarify slightly.
* make pkg_add exit gracefully if it cannot read from a file handle, whichsteven2006-05-261-1/+4
| | | | | | happens when the ssh connection could not be established. ok espie@
* clean-up some name handling:espie2006-03-131-3/+2
| | | | | | | - package locations always contain a pkgname (except if we don't have it) - complete it on the repository side to grab the right file. - no need to pass pkgname/arch on $location->grabPlist(), since it's already in the location.
* propagate stuff to be able to explicitly clean-up repositories.espie2006-03-081-4/+3
| | | | | (we can't use a normal destructor, since this will be called for each fork()ed subprocess).
* fix race condition in SCP for real.espie2006-03-081-47/+1
| | | | | | | | | | | | | | We can't control a grand-child death through gzip, so stop spawning grand-children: create two children connected by hand through a pipe, and when we close gzip, explicitly wait for the second child to die as well. This avoids race conditions between sigpipe and sigusr1. (and as usual, the resulting code is easier to follow once you get through the pipe/fork). Thanks theo for the comment. ;-)
* properly zap temporary file.espie2006-03-071-2/+5
|
* rendez-vous with subchild through signal USR1.espie2006-03-071-7/+25
|
* only the grand child can have issuesespie2006-03-071-9/+7
|
* let scp repositories work. Avoid run-away processes by just having one singleespie2006-03-071-18/+225
| | | | ssh connection for each repository.
* take some infrequently used code completely out of the way.espie2006-03-061-0/+72