Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/pkg_install/add pullup 1.30->1.31 (cgd): Add s...
details: https://anonhg.NetBSD.org/src/rev/fe936c8fbe29
branches: netbsd-1-4
changeset: 468927:fe936c8fbe29
user: perry <perry%NetBSD.org@localhost>
date: Wed Jun 23 14:56:54 1999 +0000
description:
pullup 1.30->1.31 (cgd): Add support for fetching packages from HTTP URLs
diffstat:
usr.sbin/pkg_install/add/perform.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 7f160ece60c9 -r fe936c8fbe29 usr.sbin/pkg_install/add/perform.c
--- a/usr.sbin/pkg_install/add/perform.c Wed Jun 23 14:53:52 1999 +0000
+++ b/usr.sbin/pkg_install/add/perform.c Wed Jun 23 14:56:54 1999 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: perform.c,v 1.29 1999/03/22 05:02:40 hubertf Exp $ */
+/* $NetBSD: perform.c,v 1.29.2.1 1999/06/23 14:56:54 perry Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
#else
-__RCSID("$NetBSD: perform.c,v 1.29 1999/03/22 05:02:40 hubertf Exp $");
+__RCSID("$NetBSD: perform.c,v 1.29.2.1 1999/06/23 14:56:54 perry Exp $");
#endif
#endif
@@ -117,7 +117,10 @@
}
/* Nope - do it now */
else {
- /* Is it an ftp://foo.bar.baz/file.tgz specification? */
+ /*
+ * Is it an ftp://foo.bar.baz/file.tgz or http://foo.bar.baz/file.tgz
+ * specification?
+ */
if (isURL(pkg)) {
if (ispkgpattern(pkg)) {
warnx("patterns not allowed in URLs, "
Home |
Main Index |
Thread Index |
Old Index