diff options
author | joerg <joerg@pkgsrc.org> | 2008-08-21 16:04:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-08-21 16:04:39 +0000 |
commit | 0c20828857d0b398fc2110f1f1c50bb367abf1c8 (patch) | |
tree | f20735a92d70b7748acff18a798c4c1fc54f0e6d /pkgtools/pkg_install/files/lib/file.c | |
parent | 593c9b7d58aa6ed7c2003999e99761b0e5a84ea0 (diff) | |
download | pkgsrc-0c20828857d0b398fc2110f1f1c50bb367abf1c8.tar.gz |
pkg_install-20080821:
- Recognize file:// urls to prevent double quoting.
- Fix some err/errx botchups.
- Add configuration options for verbose logging of net IO, enabling of
active FTP (switching to passive FTP as default) and for ignoring proxy
settings.
- When iterating over PACKAGES to find a match, warn if an entry can't
processed (e.g. bad URL).
Diffstat (limited to 'pkgtools/pkg_install/files/lib/file.c')
-rw-r--r-- | pkgtools/pkg_install/files/lib/file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/lib/file.c b/pkgtools/pkg_install/files/lib/file.c index 225eebf0863..2eff592be45 100644 --- a/pkgtools/pkg_install/files/lib/file.c +++ b/pkgtools/pkg_install/files/lib/file.c @@ -1,4 +1,4 @@ -/* $NetBSD: file.c,v 1.23.8.1 2008/04/26 17:44:23 joerg Exp $ */ +/* $NetBSD: file.c,v 1.23.8.2 2008/08/21 16:04:39 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -17,7 +17,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp"; #else -__RCSID("$NetBSD: file.c,v 1.23.8.1 2008/04/26 17:44:23 joerg Exp $"); +__RCSID("$NetBSD: file.c,v 1.23.8.2 2008/08/21 16:04:39 joerg Exp $"); #endif #endif @@ -190,6 +190,7 @@ typedef struct url_t { /* A table of valid leading strings for URLs */ static const url_t urls[] = { + {"file://", 7}, {"ftp://", 6}, {"http://", 7}, {NULL} |