summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-30 19:02:48 +0000
committerpeter <peter@FreeBSD.org>1995-12-30 19:02:48 +0000
commitab124e78b0271ddb904b761b31e5c9a0cf24e070 (patch)
tree0cf1447720c45721ed3d214a4eaaa6834bda155d /libexec
parent15748830d0fcd29294a1969a1012655e74908c1e (diff)
downloadFreeBSD-src-ab124e78b0271ddb904b761b31e5c9a0cf24e070.zip
FreeBSD-src-ab124e78b0271ddb904b761b31e5c9a0cf24e070.tar.gz
recording cvs-1.6 file death
Diffstat (limited to 'libexec')
-rw-r--r--libexec/atrun/atrun.877
-rw-r--r--libexec/atrun/atrun.h33
-rw-r--r--libexec/bugfiler/Makefile17
-rw-r--r--libexec/getty/fbtab_stuff.c93
-rw-r--r--libexec/kpasswdd/Makefile20
5 files changed, 0 insertions, 240 deletions
diff --git a/libexec/atrun/atrun.8 b/libexec/atrun/atrun.8
deleted file mode 100644
index ed6e359..0000000
--- a/libexec/atrun/atrun.8
+++ /dev/null
@@ -1,77 +0,0 @@
-.\"
-.\" Copyright (c) 1993 Christopher G. Demetriou
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by Christopher G. Demetriou.
-.\" 3. The name of the author may not be used to endorse or promote products
-.\" derived from this software withough specific prior written permission
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
-.\" $Id: atrun.8,v 1.1 1994/01/05 01:02:58 nate Exp $
-.\"
-.Dd December 5, 1993
-.Dt ATRUN 8
-.Os FreeBSD 1.1
-.Sh NAME
-.Nm atrun
-.Nd run jobs queued for later execution
-.\"
-.Sh SYOPSIS
-.Nm atrun
-.Sh DESCRIPTION
-The
-.Nm atrun
-utility runs commands queued by
-.Xr at 1 .
-It is usually invoked by
-.Xr crond 8
-every ten minutes.
-.Sh FILES
-.Bl -tag -width /var/at/lockfile -compact
-.It Pa /var/at/jobs
-Directory containing job files
-.It Pa /var/at/spool
-Directory containing output spool files
-.It Pa /var/at/lockfile
-Job-creation lock file.
-.El
-.Sh SEE ALSO
-.Xr crond 8 ,
-.Xr at 1
-.Sh AUTHOR
-.Bl -tag
-Thomas Koenig, ig25@rz.uni-karlsruhe.de
-.El
-.Sh BUGS
-The functionality of
-.Nm atrun
-should arguaby be merged into
-.Xr crond 8 .
-.Sh CAVEATS
-Since the default configuration causes
-.Nm atrun
-to be invoked every ten minutes,
-commands queued by
-.Xr at 1
-may end up being executed up to nine minutes
-later than would be otherwise expected.
diff --git a/libexec/atrun/atrun.h b/libexec/atrun/atrun.h
deleted file mode 100644
index be0588a..0000000
--- a/libexec/atrun/atrun.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 1993 Christopher G. Demetriou
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by Christopher G. Demetriou.
- * 4. The name of the author may not be used to endorse or promote products
- * derived from this software withough specific prior written permission
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $Id: atrun.h,v 1.1 1993/12/05 11:36:45 cgd Exp $
- */
-
-#define ATRUN_MAXLOAD 1.5
diff --git a/libexec/bugfiler/Makefile b/libexec/bugfiler/Makefile
deleted file mode 100644
index fb77633..0000000
--- a/libexec/bugfiler/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# @(#)Makefile 8.1 (Berkeley) 6/4/93
-
-PROG= bugfiler
-CFLAGS+=-I${.CURDIR}
-SRCS= bugfiler.c error.c gethead.c process.c redist.c reply.c
-BINOWN= root
-BINMODE=4555
-MAN1= sendbug.1
-MAN8= bugfiler.8
-
-beforeinstall:
- install -c -o bin -g ${BINGRP} -m 555 \
- ${.CURDIR}/sendbug.sh ${DESTDIR}/usr/bin/sendbug
- install -c -o bin -g ${BINGRP} -m 444 ${.CURDIR}/bugformat \
- ${DESTDIR}/usr/share/misc
-
-.include <bsd.prog.mk>
diff --git a/libexec/getty/fbtab_stuff.c b/libexec/getty/fbtab_stuff.c
deleted file mode 100644
index 2ae5394..0000000
--- a/libexec/getty/fbtab_stuff.c
+++ /dev/null
@@ -1,93 +0,0 @@
-#include <sys/types.h>
-#include <stdio.h>
-#include <syslog.h>
-#include <string.h>
-#include <errno.h>
-#include <dirent.h>
-
-#include "pathnames.h"
-
-#define WSPACE " \t\n"
-
-void reset_fbtab __P((char *tty));
-void reset_protect __P((char *table, char *path, int mask));
-
-/*
- * reset_fbtab - reset ownership to root/wheel and apply protections
- * specified in /etc/fbtab or logindevperm
- */
-
-void
-reset_fbtab(tty)
-char *tty;
-{
- FILE *fp;
- char buf[BUFSIZ];
- char *devname;
- char *cp;
- int prot;
- char *table;
-
- if ((fp = fopen(table = _PATH_FBTAB, "r")) == 0
- && (fp = fopen(table = _PATH_LOGINDEVPERM, "r")) == 0)
- return;
-
- while (fgets(buf, sizeof(buf), fp)) {
- if (cp = strchr(buf, '#'))
- *cp = 0; /* strip comment */
- if ((cp = devname = strtok(buf, WSPACE)) == 0)
- continue; /* empty or comment */
- if (strncmp(devname, "/dev/", 5) != 0
- || (cp = strtok((char *) 0, WSPACE)) == 0
- || *cp != '0'
- || sscanf(cp, "%o", &prot) == 0
- || prot == 0
- || (prot & 0777) != prot
- || (cp = strtok((char *) 0, WSPACE)) == 0) {
- syslog(LOG_ERR, "%s: bad entry: %s", table, cp ? cp : "(null)");
- continue;
- }
- if (strcmp(devname, tty) == 0) {
- for (cp = strtok(cp, ":"); cp; cp = strtok((char *) 0, ":")) {
- reset_protect(table, cp, prot);
- }
- }
- }
- fclose(fp);
-}
-
-/* reset_protect - protect one device entry */
-
-void
-reset_protect(table, path, mask)
-char *table;
-char *path;
-int mask;
-{
- char buf[BUFSIZ];
- int pathlen = strlen(path);
- struct dirent *ent;
- DIR *dir;
-
- if (strcmp("/*", path + pathlen - 2) != 0) {
- if (chmod(path, mask) && errno != ENOENT)
- syslog(LOG_ERR, "%s: chmod(%s): %m", table, path);
- if (chown(path, 0, 0) && errno != ENOENT)
- syslog(LOG_ERR, "%s: chown(%s): %m", table, path);
- } else {
- strcpy(buf, path);
- buf[pathlen - 1] = 0;
- if ((dir = opendir(buf)) == 0) {
- syslog(LOG_ERR, "%s: opendir(%s): %m", table, path);
- } else {
- while ((ent = readdir(dir)) != 0) {
- if (strcmp(ent->d_name, ".") != 0
- && strcmp(ent->d_name, "..") != 0) {
- strcpy(buf + pathlen - 1, ent->d_name);
- reset_protect(table, buf, mask);
- }
- }
- closedir(dir);
- }
- }
-}
diff --git a/libexec/kpasswdd/Makefile b/libexec/kpasswdd/Makefile
deleted file mode 100644
index edb9482..0000000
--- a/libexec/kpasswdd/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# @(#)Makefile 8.1 (Berkeley) 6/4/93
-#
-# We do still make this one conditional on kerberos, in case
-# the libraries do not exist
-
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
- || defined(MAKE_EBONES))
-
-PROG= kpasswdd
-SRCS= kpasswdd.c
-CFLAGS+=-DCRYPT -DKERBEROS -I${.CURDIR}/../../usr.bin/passwd
-DPADD= ${LIBKDB} ${LIBKRB} ${LIBDES}
-LDADD= -lkdb -lkrb -ldes
-.PATH: ${.CURDIR}/../../usr.bin/rlogin
-MAN8= kpasswdd.8
-DISTRIBUTION= krb
-
-.endif
-
-.include <bsd.prog.mk>
OpenPOWER on IntegriCloud