mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 00:12:45 +00:00
sync with private code:
fix a 5.x'ism that 4.x needs protection from. make this code compile standalone.
This commit is contained in:
parent
673974d9ee
commit
7a3b8aefbf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134940
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.4 2004/08/31 16:26:24 bright Exp $
|
||||
# $Id: Makefile,v 1.5 2004/09/08 08:12:21 bright Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
LIB= autofs
|
||||
|
@ -22,7 +22,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id: libautofs.3,v 1.3 2004/08/31 15:58:40 bright Exp $
|
||||
.\" $Id: libautofs.3,v 1.4 2004/09/08 08:12:21 bright Exp $
|
||||
.\" $FreeBSD$
|
||||
.Dd August 30, 2004
|
||||
.Dt LIBAUTOFS 3
|
||||
|
@ -24,7 +24,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
* $Id: libautofs.c,v 1.3 2004/08/31 08:49:56 bright Exp $
|
||||
* $Id: libautofs.c,v 1.5 2004/09/08 08:44:12 bright Exp $
|
||||
*/
|
||||
#include <err.h>
|
||||
#include <ctype.h>
|
||||
@ -43,7 +43,11 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#ifdef AUTOFSSTANDALONE
|
||||
#include "../autofs/autofs.h"
|
||||
#else
|
||||
#include <fs/autofs/autofs.h>
|
||||
#endif
|
||||
|
||||
#include "libautofs.h"
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
* $Id: libautofs.h,v 1.3 2004/08/31 08:49:56 bright Exp $
|
||||
* $Id: libautofs.h,v 1.4 2004/09/08 08:12:21 bright Exp $
|
||||
*/
|
||||
#ifndef _LIBAUTOFS_H
|
||||
#define _LIBAUTOFS_H
|
||||
|
@ -1,8 +1,8 @@
|
||||
# $Id: Makefile,v 1.4 2004/08/31 16:27:40 bright Exp $
|
||||
# $Id: Makefile,v 1.6 2004/09/08 08:27:12 bright Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
PROG=mount_autofs
|
||||
MAN=mount_autofs.8
|
||||
BINDIR?=/usr/sbin
|
||||
BINDIR?=/sbin
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -22,7 +22,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id: mount_autofs.8,v 1.2 2004/08/31 08:49:56 bright Exp $
|
||||
.\" $Id: mount_autofs.8,v 1.3 2004/09/08 08:12:21 bright Exp $
|
||||
.\" $FreeBSD$
|
||||
.Dd August 30, 2004
|
||||
.Dt MOUNT_AUTOFS 8
|
||||
|
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mount_autofs.c,v 1.4 2004/08/31 16:28:22 bright Exp $
|
||||
* $Id: mount_autofs.c,v 1.5 2004/09/08 08:12:21 bright Exp $
|
||||
* $FreeBSD$
|
||||
*/
|
||||
#include <sys/param.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.2 2004/07/17 11:26:51 bright Exp $
|
||||
# $Id: Makefile,v 1.5 2004/09/08 08:27:12 bright Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
PROG=autodriver
|
||||
@ -8,6 +8,7 @@ NOMAN= YES
|
||||
WERROR= YES
|
||||
WARNS= 4
|
||||
CFLAGS+= -g
|
||||
BINDIR?= /sbin
|
||||
|
||||
DPADD+= ${.OBJDIR}/../libautofs/libautofs.a
|
||||
#LDADD+= -lautofs
|
||||
|
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: autodriver.c,v 1.8 2004/08/31 08:49:56 bright Exp $
|
||||
* $Id: autodriver.c,v 1.9 2004/09/08 08:12:21 bright Exp $
|
||||
* $FreeBSD$
|
||||
*/
|
||||
#include <ctype.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: autotab,v 1.7 2004/08/31 15:59:44 bright Exp $
|
||||
# $Id: autotab,v 1.8 2004/09/08 08:12:21 bright Exp $
|
||||
# $FreeBSD$
|
||||
# autofs, directory, fstype, opts, path
|
||||
/auto share nfs ro,-R=1 big:/vol/share direct
|
||||
|
@ -1,5 +1,5 @@
|
||||
# $FreeBSD$
|
||||
# $Id: Makefile,v 1.10 2004/09/01 07:03:32 bright Exp $
|
||||
# $Id: Makefile,v 1.11 2004/09/08 08:12:21 bright Exp $
|
||||
|
||||
|
||||
SRCDIR= ${.CURDIR}/../../fs/autofs
|
||||
|
Loading…
Reference in New Issue
Block a user