WARNSify, cleanup Makefiles
This commit is contained in:
parent
bb2c8b04e6
commit
05941d095a
@ -1,20 +1,12 @@
|
|||||||
# $NetBSD: Makefile.inc,v 1.3 1997/10/17 12:03:44 lukem Exp $
|
# $NetBSD: Makefile.inc,v 1.4 1997/10/17 14:53:18 lukem Exp $
|
||||||
# Original from Freebsd, no rcs id.
|
# Original from Freebsd, no rcs id.
|
||||||
|
|
||||||
WARNS?= 0
|
LIBINSTALL != cd ${.CURDIR}/../lib;\
|
||||||
|
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
||||||
# Figure out what to use for libinstall
|
CFLAGS+=-I${.CURDIR}/../lib
|
||||||
INSTALLLIBDIR= ${.CURDIR}/../lib
|
CPPFLAGS+=${DEBUG}
|
||||||
|
DPADD+= ${LIBINSTALL}/libinstall.a
|
||||||
.if exists(${INSTALLLIBDIR}/obj.${MACHINE})
|
LDADD+= -L${LIBINSTALL} -linstall
|
||||||
INSTALLOBJDIR= ${INSTALLLIBDIR}/obj.${MACHINE}
|
|
||||||
.else
|
|
||||||
.if exists(${INSTALLLIBDIR}/obj)
|
|
||||||
INSTALLOBJDIR= ${INSTALLLIBDIR}/obj
|
|
||||||
.else
|
|
||||||
INSTALLOBJDIR= ${INSTALLLIBDIR}
|
|
||||||
.endif
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||||
.include "${.CURDIR}/../../Makefile.inc"
|
.include "${.CURDIR}/../../Makefile.inc"
|
||||||
|
@ -1,13 +1,7 @@
|
|||||||
# $NetBSD: Makefile,v 1.3 1997/10/17 12:03:52 lukem Exp $
|
# $NetBSD: Makefile,v 1.4 1997/10/17 14:53:27 lukem Exp $
|
||||||
# Original from FreeBSD, no rcs id.
|
# Original from FreeBSD, no rcs id.
|
||||||
|
|
||||||
PROG= pkg_add
|
PROG= pkg_add
|
||||||
|
|
||||||
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
||||||
|
|
||||||
LDADD+= -L${INSTALLOBJDIR} -linstall
|
|
||||||
DPADD+= ${INSTALLOBJDIR}/libinstall.a
|
|
||||||
|
|
||||||
SRCS= main.c perform.c futil.c extract.c
|
SRCS= main.c perform.c futil.c extract.c
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: extract.c,v 1.5 1997/10/16 00:50:20 hubertf Exp $ */
|
/* $NetBSD: extract.c,v 1.6 1997/10/17 14:53:31 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "FreeBSD - Id: extract.c,v 1.17 1997/10/08 07:45:35 charnier Exp";
|
static const char *rcsid = "FreeBSD - Id: extract.c,v 1.17 1997/10/08 07:45:35 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: extract.c,v 1.5 1997/10/16 00:50:20 hubertf Exp $";
|
__RCSID("$NetBSD: extract.c,v 1.6 1997/10/17 14:53:31 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -226,6 +227,9 @@ extract_plist(char *home, Package *pkg)
|
|||||||
case PLIST_IGNORE:
|
case PLIST_IGNORE:
|
||||||
p = p->next;
|
p = p->next;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
p = p->next;
|
p = p->next;
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: futil.c,v 1.3 1997/10/16 00:31:36 hubertf Exp $ */
|
/* $NetBSD: futil.c,v 1.4 1997/10/17 14:53:34 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: futil.c,v 1.7 1997/10/08 07:45:39 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: futil.c,v 1.7 1997/10/08 07:45:39 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: futil.c,v 1.3 1997/10/16 00:31:36 hubertf Exp $";
|
__RCSID("$NetBSD: futil.c,v 1.4 1997/10/17 14:53:34 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: main.c,v 1.3 1997/10/16 00:31:38 hubertf Exp $ */
|
/* $NetBSD: main.c,v 1.4 1997/10/17 14:53:37 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static char *rcsid = "from FreeBSD Id: main.c,v 1.16 1997/10/08 07:45:43 charnier Exp";
|
static char *rcsid = "from FreeBSD Id: main.c,v 1.16 1997/10/08 07:45:43 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static char *rcsid = "$NetBSD: main.c,v 1.3 1997/10/16 00:31:38 hubertf Exp $";
|
__RCSID("$NetBSD: main.c,v 1.4 1997/10/17 14:53:37 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: perform.c,v 1.6 1997/10/16 00:55:01 hubertf Exp $ */
|
/* $NetBSD: perform.c,v 1.7 1997/10/17 14:53:40 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
|
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: perform.c,v 1.6 1997/10/16 00:55:01 hubertf Exp $";
|
__RCSID("$NetBSD: perform.c,v 1.7 1997/10/17 14:53:40 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -129,7 +130,8 @@ pkg_do(char *pkg)
|
|||||||
}
|
}
|
||||||
Home = make_playpen(playpen, sb.st_size * 4);
|
Home = make_playpen(playpen, sb.st_size * 4);
|
||||||
if (!Home)
|
if (!Home)
|
||||||
warnx("unable to make playpen for %d bytes", sb.st_size * 4);
|
warnx("unable to make playpen for %ld bytes",
|
||||||
|
(long)(sb.st_size * 4));
|
||||||
where_to = Home;
|
where_to = Home;
|
||||||
if (unpack(pkg_fullname, extract)) {
|
if (unpack(pkg_fullname, extract)) {
|
||||||
warnx(
|
warnx(
|
||||||
@ -180,9 +182,9 @@ pkg_do(char *pkg)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (!inPlace && min_free(playpen) < sb.st_size * 4) {
|
if (!inPlace && min_free(playpen) < sb.st_size * 4) {
|
||||||
warnx("projected size of %d exceeds available free space.\n"
|
warnx("projected size of %ld exceeds available free space.\n"
|
||||||
"Please set your PKG_TMPDIR variable to point to a location with more\n"
|
"Please set your PKG_TMPDIR variable to point to a location with more\n"
|
||||||
"free space and try again", sb.st_size * 4);
|
"free space and try again", (long)(sb.st_size * 4));
|
||||||
warnx("not extracting %s\ninto %s, sorry!",
|
warnx("not extracting %s\ninto %s, sorry!",
|
||||||
pkg_fullname, where_to);
|
pkg_fullname, where_to);
|
||||||
goto bomb;
|
goto bomb;
|
||||||
|
@ -1,13 +1,7 @@
|
|||||||
# $NetBSD: Makefile,v 1.3 1997/10/17 12:03:57 lukem Exp $
|
# $NetBSD: Makefile,v 1.4 1997/10/17 14:53:47 lukem Exp $
|
||||||
# Original from FreeBSD, no rcs id.
|
# Original from FreeBSD, no rcs id.
|
||||||
|
|
||||||
PROG= pkg_create
|
PROG= pkg_create
|
||||||
|
|
||||||
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
||||||
|
|
||||||
LDADD+= -L${INSTALLOBJDIR} -linstall
|
|
||||||
DPADD+= ${INSTALLOBJDIR}/libinstall.a
|
|
||||||
|
|
||||||
SRCS= main.c perform.c pl.c
|
SRCS= main.c perform.c pl.c
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: main.c,v 1.4 1997/10/16 00:50:31 hubertf Exp $ */
|
/* $NetBSD: main.c,v 1.5 1997/10/17 14:53:50 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: main.c,v 1.17 1997/10/08 07:46:23 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: main.c,v 1.17 1997/10/08 07:46:23 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: main.c,v 1.4 1997/10/16 00:50:31 hubertf Exp $";
|
__RCSID("$NetBSD: main.c,v 1.5 1997/10/17 14:53:50 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: perform.c,v 1.4 1997/10/16 00:50:34 hubertf Exp $ */
|
/* $NetBSD: perform.c,v 1.5 1997/10/17 14:53:52 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp";
|
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: perform.c,v 1.4 1997/10/16 00:50:34 hubertf Exp $";
|
__RCSID("$NetBSD: perform.c,v 1.5 1997/10/17 14:53:52 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: pl.c,v 1.3 1997/10/16 00:31:58 hubertf Exp $ */
|
/* $NetBSD: pl.c,v 1.4 1997/10/17 14:53:55 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: pl.c,v 1.11 1997/10/08 07:46:35 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: pl.c,v 1.11 1997/10/08 07:46:35 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: pl.c,v 1.3 1997/10/16 00:31:58 hubertf Exp $";
|
__RCSID("$NetBSD: pl.c,v 1.4 1997/10/17 14:53:55 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
# $NetBSD: Makefile,v 1.3 1997/10/17 12:04:04 lukem Exp $
|
# $NetBSD: Makefile,v 1.4 1997/10/17 14:53:59 lukem Exp $
|
||||||
# Original from FreeBSD, no rcs id.
|
# Original from FreeBSD, no rcs id.
|
||||||
|
|
||||||
PROG= pkg_delete
|
PROG= pkg_delete
|
||||||
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
||||||
|
|
||||||
LDADD+= -L${INSTALLOBJDIR} -linstall
|
|
||||||
DPADD+= ${INSTALLOBJDIR}/libinstall.a
|
|
||||||
|
|
||||||
SRCS= main.c perform.c
|
SRCS= main.c perform.c
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: main.c,v 1.4 1997/10/16 00:32:02 hubertf Exp $ */
|
/* $NetBSD: main.c,v 1.5 1997/10/17 14:54:02 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static char *rcsid = "from FreeBSD Id: main.c,v 1.11 1997/10/08 07:46:48 charnier Exp";
|
static char *rcsid = "from FreeBSD Id: main.c,v 1.11 1997/10/08 07:46:48 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static char *rcsid = "$NetBSD: main.c,v 1.4 1997/10/16 00:32:02 hubertf Exp $";
|
__RCSID("$NetBSD: main.c,v 1.5 1997/10/17 14:54:02 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: perform.c,v 1.3 1997/10/16 00:32:04 hubertf Exp $ */
|
/* $NetBSD: perform.c,v 1.4 1997/10/17 14:54:05 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.15 1997/10/13 15:03:52 jkh Exp";
|
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.15 1997/10/13 15:03:52 jkh Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: perform.c,v 1.3 1997/10/16 00:32:04 hubertf Exp $";
|
__RCSID("$NetBSD: perform.c,v 1.4 1997/10/17 14:54:05 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
# $NetBSD: Makefile,v 1.3 1997/10/17 12:04:11 lukem Exp $
|
# $NetBSD: Makefile,v 1.4 1997/10/17 14:54:09 lukem Exp $
|
||||||
# Original from FreeBSD, no rcs id
|
# Original from FreeBSD, no rcs id
|
||||||
|
|
||||||
PROG= pkg_info
|
PROG= pkg_info
|
||||||
CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib
|
|
||||||
|
|
||||||
LDADD+= -L${INSTALLOBJDIR} -linstall
|
|
||||||
DPADD+= ${INSTALLOBJDIR}/libinstall.a
|
|
||||||
|
|
||||||
SRCS= main.c perform.c show.c
|
SRCS= main.c perform.c show.c
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: main.c,v 1.3 1997/10/16 00:32:08 hubertf Exp $ */
|
/* $NetBSD: main.c,v 1.4 1997/10/17 14:54:13 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static char *rcsid = "from FreeBSD Id: main.c,v 1.14 1997/10/08 07:47:26 charnier Exp";
|
static char *rcsid = "from FreeBSD Id: main.c,v 1.14 1997/10/08 07:47:26 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static char *rcsid = "$NetBSD: main.c,v 1.3 1997/10/16 00:32:08 hubertf Exp $";
|
__RCSID("$NetBSD: main.c,v 1.4 1997/10/17 14:54:13 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: perform.c,v 1.3 1997/10/16 00:32:09 hubertf Exp $ */
|
/* $NetBSD: perform.c,v 1.4 1997/10/17 14:54:17 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.23 1997/10/13 15:03:53 jkh Exp";
|
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.23 1997/10/13 15:03:53 jkh Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: perform.c,v 1.3 1997/10/16 00:32:09 hubertf Exp $";
|
__RCSID("$NetBSD: perform.c,v 1.4 1997/10/17 14:54:17 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -31,6 +32,7 @@ static const char *rcsid = "$NetBSD: perform.c,v 1.3 1997/10/16 00:32:09 hubertf
|
|||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
#include "info.h"
|
#include "info.h"
|
||||||
|
|
||||||
|
#include <err.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
static int pkg_do(char *);
|
static int pkg_do(char *);
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: show.c,v 1.4 1997/10/16 00:32:12 hubertf Exp $ */
|
/* $NetBSD: show.c,v 1.5 1997/10/17 14:54:20 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: show.c,v 1.11 1997/10/08 07:47:38 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: show.c,v 1.11 1997/10/08 07:47:38 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: show.c,v 1.4 1997/10/16 00:32:12 hubertf Exp $";
|
__RCSID("$NetBSD: show.c,v 1.5 1997/10/17 14:54:20 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -28,6 +29,8 @@ static const char *rcsid = "$NetBSD: show.c,v 1.4 1997/10/16 00:32:12 hubertf Ex
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <err.h>
|
||||||
|
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
#include "info.h"
|
#include "info.h"
|
||||||
|
|
||||||
@ -198,6 +201,9 @@ show_files(char *title, Package *plist)
|
|||||||
case PLIST_IGNORE:
|
case PLIST_IGNORE:
|
||||||
ign = TRUE;
|
ign = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
p = p->next;
|
p = p->next;
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# $NetBSD: Makefile,v 1.4 1997/06/05 20:43:28 thorpej Exp $
|
# $NetBSD: Makefile,v 1.5 1997/10/17 14:54:24 lukem Exp $
|
||||||
# Original from FreeBSD, no rcs id.
|
# Original from FreeBSD, no rcs id.
|
||||||
|
|
||||||
LIB= install
|
LIB= install
|
||||||
CFLAGS+= -I${.CURDIR} ${DEBUG}
|
|
||||||
SRCS= exec.c file.c global.c msg.c pen.c plist.c str.c
|
SRCS= exec.c file.c global.c msg.c pen.c plist.c str.c
|
||||||
SRCS+= ftpio.c ftperr.c
|
SRCS+= ftpio.c ftperr.c
|
||||||
CLEANFILES+= ftperr.c
|
CLEANFILES+= ftperr.c
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: exec.c,v 1.3 1997/10/16 00:32:17 hubertf Exp $ */
|
/* $NetBSD: exec.c,v 1.4 1997/10/17 14:54:26 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: exec.c,v 1.6 1997/10/08 07:47:50 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: exec.c,v 1.6 1997/10/08 07:47:50 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: exec.c,v 1.3 1997/10/16 00:32:17 hubertf Exp $";
|
__RCSID("$NetBSD: exec.c,v 1.4 1997/10/17 14:54:26 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: file.c,v 1.5 1997/10/16 00:55:08 hubertf Exp $ */
|
/* $NetBSD: file.c,v 1.6 1997/10/17 14:54:29 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: file.c,v 1.5 1997/10/16 00:55:08 hubertf Exp $";
|
__RCSID("$NetBSD: file.c,v 1.6 1997/10/17 14:54:29 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
/* $NetBSD: ftpio.c,v 1.3 1997/10/17 14:54:32 lukem Exp $ */
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
#ifndef lint
|
||||||
|
__RCSID("$NetBSD: ftpio.c,v 1.3 1997/10/17 14:54:32 lukem Exp $");
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
* "THE BEER-WARE LICENSE" (Revision 42):
|
* "THE BEER-WARE LICENSE" (Revision 42):
|
||||||
@ -15,7 +20,7 @@
|
|||||||
* `state' of FTP_t
|
* `state' of FTP_t
|
||||||
*
|
*
|
||||||
* from FreeBSD Id: ftpio.c,v 1.25 1997/02/22 15:06:50 peter Exp
|
* from FreeBSD Id: ftpio.c,v 1.25 1997/02/22 15:06:50 peter Exp
|
||||||
* $NetBSD: ftpio.c,v 1.2 1997/06/05 12:59:48 agc Exp $
|
* $NetBSD: ftpio.c,v 1.3 1997/10/17 14:54:32 lukem Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -66,6 +71,7 @@ static int get_url_info(char *url_in, char *host_ret, int *port_ret, char *name_
|
|||||||
static void ftp_timeout(int sig);
|
static void ftp_timeout(int sig);
|
||||||
static void ftp_set_timeout(void);
|
static void ftp_set_timeout(void);
|
||||||
static void ftp_clear_timeout(void);
|
static void ftp_clear_timeout(void);
|
||||||
|
int networkInit(void);
|
||||||
|
|
||||||
|
|
||||||
/* Global status variable - ick */
|
/* Global status variable - ick */
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: global.c,v 1.3 1997/10/16 00:32:20 hubertf Exp $ */
|
/* $NetBSD: global.c,v 1.4 1997/10/17 14:54:35 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: global.c,v 1.6 1997/10/08 07:47:58 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: global.c,v 1.6 1997/10/08 07:47:58 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: global.c,v 1.3 1997/10/16 00:32:20 hubertf Exp $";
|
__RCSID("$NetBSD: global.c,v 1.4 1997/10/17 14:54:35 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lib.h,v 1.3 1997/10/16 00:32:22 hubertf Exp $ */
|
/* $NetBSD: lib.h,v 1.4 1997/10/17 14:54:38 lukem Exp $ */
|
||||||
|
|
||||||
/* from FreeBSD Id: lib.h,v 1.25 1997/10/08 07:48:03 charnier Exp */
|
/* from FreeBSD Id: lib.h,v 1.25 1997/10/08 07:48:03 charnier Exp */
|
||||||
|
|
||||||
@ -135,6 +135,7 @@ char *fileURLFilename(char *, char *, int);
|
|||||||
char *fileURLHost(char *, char *, int);
|
char *fileURLHost(char *, char *, int);
|
||||||
char *fileFindByPath(char *, char *);
|
char *fileFindByPath(char *, char *);
|
||||||
char *fileGetContents(char *);
|
char *fileGetContents(char *);
|
||||||
|
Boolean make_preserve_name(char *, int, char *, char *);
|
||||||
void write_file(char *, char *);
|
void write_file(char *, char *);
|
||||||
void copy_file(char *, char *, char *);
|
void copy_file(char *, char *, char *);
|
||||||
void move_file(char *, char *, char *);
|
void move_file(char *, char *, char *);
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: msg.c,v 1.3 1997/10/16 00:32:24 hubertf Exp $ */
|
/* $NetBSD: msg.c,v 1.4 1997/10/17 14:54:41 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: msg.c,v 1.10 1997/10/13 15:03:55 jkh Exp";
|
static const char *rcsid = "from FreeBSD Id: msg.c,v 1.10 1997/10/13 15:03:55 jkh Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: msg.c,v 1.3 1997/10/16 00:32:24 hubertf Exp $";
|
__RCSID("$NetBSD: msg.c,v 1.4 1997/10/17 14:54:41 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: pen.c,v 1.3 1997/10/16 00:32:26 hubertf Exp $ */
|
/* $NetBSD: pen.c,v 1.4 1997/10/17 14:54:46 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: pen.c,v 1.25 1997/10/08 07:48:12 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: pen.c,v 1.25 1997/10/08 07:48:12 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: pen.c,v 1.3 1997/10/16 00:32:26 hubertf Exp $";
|
__RCSID("$NetBSD: pen.c,v 1.4 1997/10/17 14:54:46 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: plist.c,v 1.4 1997/10/16 00:50:46 hubertf Exp $ */
|
/* $NetBSD: plist.c,v 1.5 1997/10/17 14:54:47 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "from FreeBSD Id: plist.c,v 1.24 1997/10/08 07:48:15 charnier Exp";
|
static const char *rcsid = "from FreeBSD Id: plist.c,v 1.24 1997/10/08 07:48:15 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: plist.c,v 1.4 1997/10/16 00:50:46 hubertf Exp $";
|
__RCSID("$NetBSD: plist.c,v 1.5 1997/10/17 14:54:47 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -450,6 +451,8 @@ delete_package(Boolean ign_err, Boolean nukedirs, Package *pkg)
|
|||||||
}
|
}
|
||||||
last_file = p->name;
|
last_file = p->name;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return fail;
|
return fail;
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
/* $NetBSD: str.c,v 1.3 1997/10/16 00:32:30 hubertf Exp $ */
|
/* $NetBSD: str.c,v 1.4 1997/10/17 14:54:50 lukem Exp $ */
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static const char *rcsid = "Id: str.c,v 1.5 1997/10/08 07:48:21 charnier Exp";
|
static const char *rcsid = "Id: str.c,v 1.5 1997/10/08 07:48:21 charnier Exp";
|
||||||
#else
|
#else
|
||||||
static const char *rcsid = "$NetBSD: str.c,v 1.3 1997/10/16 00:32:30 hubertf Exp $";
|
__RCSID("$NetBSD: str.c,v 1.4 1997/10/17 14:54:50 lukem Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user