head	1.14;
access;
symbols
	RELENG_7_4_0_RELEASE:1.13.32.1
	RELENG_7_4:1.13.0.32
	RELENG_7_4_BP:1.13
	RELENG_7_3_0_RELEASE:1.13.30.1
	RELENG_7_3:1.13.0.30
	RELENG_7_3_BP:1.13
	RELENG_7_2_0_RELEASE:1.13.28.1
	RELENG_7_2:1.13.0.28
	RELENG_7_2_BP:1.13
	RELENG_7_1_0_RELEASE:1.13.26.1
	RELENG_6_4_0_RELEASE:1.13.24.1
	RELENG_7_1:1.13.0.26
	RELENG_7_1_BP:1.13
	RELENG_6_4:1.13.0.24
	RELENG_6_4_BP:1.13
	RELENG_7_0_0_RELEASE:1.13
	RELENG_6_3_0_RELEASE:1.13
	RELENG_7_0:1.13.0.22
	RELENG_7_0_BP:1.13
	RELENG_6_3:1.13.0.20
	RELENG_6_3_BP:1.13
	RELENG_7:1.13.0.18
	RELENG_7_BP:1.13
	RELENG_6_2_0_RELEASE:1.13
	RELENG_6_2:1.13.0.16
	RELENG_6_2_BP:1.13
	RELENG_5_5_0_RELEASE:1.13
	RELENG_5_5:1.13.0.14
	RELENG_5_5_BP:1.13
	RELENG_6_1_0_RELEASE:1.13
	RELENG_6_1:1.13.0.12
	RELENG_6_1_BP:1.13
	RELENG_6_0_0_RELEASE:1.13
	RELENG_6_0:1.13.0.10
	RELENG_6_0_BP:1.13
	RELENG_6:1.13.0.8
	RELENG_6_BP:1.13
	RELENG_5_4_0_RELEASE:1.13
	RELENG_5_4:1.13.0.6
	RELENG_5_4_BP:1.13
	RELENG_4_11_0_RELEASE:1.9.2.1
	RELENG_4_11:1.9.2.1.0.16
	RELENG_4_11_BP:1.9.2.1
	RELENG_5_3_0_RELEASE:1.13
	RELENG_5_3:1.13.0.4
	RELENG_5_3_BP:1.13
	RELENG_5:1.13.0.2
	RELENG_5_BP:1.13
	RELENG_4_10_0_RELEASE:1.9.2.1
	RELENG_4_10:1.9.2.1.0.14
	RELENG_4_10_BP:1.9.2.1
	RELENG_5_2_1_RELEASE:1.12
	RELENG_5_2_0_RELEASE:1.12
	RELENG_5_2:1.12.0.6
	RELENG_5_2_BP:1.12
	RELENG_4_9_0_RELEASE:1.9.2.1
	RELENG_4_9:1.9.2.1.0.12
	RELENG_4_9_BP:1.9.2.1
	RELENG_5_1_0_RELEASE:1.12
	RELENG_5_1:1.12.0.4
	RELENG_5_1_BP:1.12
	RELENG_4_8_0_RELEASE:1.9.2.1
	RELENG_4_8:1.9.2.1.0.10
	RELENG_4_8_BP:1.9.2.1
	RELENG_5_0_0_RELEASE:1.12
	RELENG_5_0:1.12.0.2
	RELENG_5_0_BP:1.12
	RELENG_4_7_0_RELEASE:1.9.2.1
	RELENG_4_7:1.9.2.1.0.8
	RELENG_4_7_BP:1.9.2.1
	RELENG_4_6_2_RELEASE:1.9.2.1
	RELENG_4_6_1_RELEASE:1.9.2.1
	RELENG_4_6_0_RELEASE:1.9.2.1
	RELENG_4_6:1.9.2.1.0.6
	RELENG_4_6_BP:1.9.2.1
	RELENG_4_5_0_RELEASE:1.9.2.1
	RELENG_4_5:1.9.2.1.0.4
	RELENG_4_5_BP:1.9.2.1
	RELENG_4_4_0_RELEASE:1.9.2.1
	RELENG_4_4:1.9.2.1.0.2
	RELENG_4_4_BP:1.9.2.1
	RELENG_4_3_0_RELEASE:1.9
	RELENG_4_3:1.9.0.4
	RELENG_4_3_BP:1.9
	RELENG_4_2_0_RELEASE:1.9
	RELENG_4_1_1_RELEASE:1.9
	PRE_SMPNG:1.9
	RELENG_4_1_0_RELEASE:1.9
	RELENG_3_5_0_RELEASE:1.7.2.1
	RELENG_4_0_0_RELEASE:1.9
	RELENG_4:1.9.0.2
	RELENG_4_BP:1.9
	RELENG_3_4_0_RELEASE:1.7.2.1
	RELENG_3_3_0_RELEASE:1.7.2.1
	RELENG_3_2_PAO:1.7.0.4
	RELENG_3_2_PAO_BP:1.7
	RELENG_3_2_0_RELEASE:1.7
	RELENG_3_1_0_RELEASE:1.7
	RELENG_3:1.7.0.2
	RELENG_3_BP:1.7
	RELENG_2_2_8_RELEASE:1.6.2.1
	RELENG_3_0_0_RELEASE:1.7
	RELENG_2_2_7_RELEASE:1.6.2.1
	RELENG_2_2_6_RELEASE:1.6.2.1
	RELENG_2_2_5_RELEASE:1.6.2.1
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.6
	RELENG_2_2_1_RELEASE:1.6
	RELENG_2_2_0_RELEASE:1.6
	RELENG_2_1_7_RELEASE:1.4.6.2
	RELENG_2_1_6_1_RELEASE:1.4.6.2
	RELENG_2_1_6_RELEASE:1.4.6.2
	RELENG_2_2:1.6.0.2
	RELENG_2_2_BP:1.6
	RELENG_2_1_5_RELEASE:1.4.6.2
	RELENG_2_1_0_RELEASE:1.4.6.1
	RELENG_2_1_0:1.4.0.6
	RELENG_2_1_0_BP:1.4
	RELENG_2_0_5_RELEASE:1.4
	RELENG_2_0_5:1.4.0.4
	RELENG_2_0_5_BP:1.4
	RELENG_2_0_5_ALPHA:1.4
	RELEASE_2_0:1.4
	BETA_2_0:1.4
	ALPHA_2_0:1.4.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.14
date	2009.04.05.22.08.18;	author ed;	state dead;
branches;
next	1.13;

1.13
date	2004.02.23.20.13.56;	author johan;	state Exp;
branches
	1.13.8.1
	1.13.18.1
	1.13.24.1
	1.13.26.1
	1.13.28.1
	1.13.30.1
	1.13.32.1;
next	1.12;

1.12
date	2001.12.04.02.19.57;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2001.03.26.14.33.24;	author ru;	state Exp;
branches;
next	1.10;

1.10
date	2001.03.20.18.13.28;	author ru;	state Exp;
branches;
next	1.9;

1.9
date	99.08.28.00.14.24;	author peter;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	99.05.29.08.16.33;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	97.03.30.12.11.51;	author brian;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	95.09.20.12.56.23;	author ache;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	95.09.19.03.27.23;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	94.08.23.08.28.30;	author rich;	state Exp;
branches
	1.4.6.1;
next	1.3;

1.3
date	94.08.23.08.07.15;	author rich;	state Exp;
branches;
next	1.2;

1.2
date	94.08.05.02.42.37;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.26.06.34.59;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.13.8.1
date	2012.11.17.07.41.24;	author svnexp;	state Exp;
branches;
next	;

1.13.18.1
date	2012.11.17.08.03.43;	author svnexp;	state Exp;
branches;
next	;

1.13.24.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.13.26.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.13.28.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.13.30.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.13.32.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.13.32.2;

1.13.32.2
date	2012.11.17.08.16.55;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	2001.04.25.10.58.52;	author ru;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2012.11.17.07.24.36;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1
date	99.08.29.15.15.44;	author peter;	state Exp;
branches;
next	;

1.6.2.1
date	97.09.14.19.50.32;	author jkh;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	99.09.05.11.24.15;	author peter;	state Exp;
branches;
next	;

1.4.6.1
date	95.10.25.00.50.32;	author jkh;	state Exp;
branches;
next	1.4.6.2;

1.4.6.2
date	96.06.05.02.53.25;	author jkh;	state Exp;
branches;
next	1.4.6.3;

1.4.6.3
date	99.09.05.11.24.51;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.26.06.35.00;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.14
log
@SVN rev 190751 on 2009-04-05 22:08:18Z by ed

Remove if_ppp(4) and if_sl(4).

Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).

If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.

Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
                lists.
@
text
@#	@@(#)Makefile	5.4 (Berkeley) 5/11/90
#
# $FreeBSD: src/sbin/slattach/Makefile,v 1.13 2004/02/23 20:13:56 johan Exp $

PROG=	slattach
WARNS?=	0
MAN=	slattach.8
MLINKS=	slattach.8 slip.8
LDADD=	-lutil
DPADD=	${LIBUTIL}

.include <bsd.prog.mk>
@


1.13
log
@style.Makefile(5):
	Use WARNS?= instead of WARNS=.
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.13.18.1
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/7/sbin/slattach/Makefile 126178 2004-02-23 20:25:27Z johan $
@


1.13.8.1
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/6/sbin/slattach/Makefile 126178 2004-02-23 20:25:27Z johan $
@


1.13.32.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.13.32.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/7.4/sbin/slattach/Makefile 126178 2004-02-23 20:25:27Z johan $
@


1.13.30.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.13.28.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.13.26.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.13.24.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.12
log
@Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
@
text
@d6 1
a6 1
WARNS=	0
@


1.11
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d3 1
a3 1
# $FreeBSD: src/sbin/slattach/Makefile,v 1.10 2001/03/20 18:13:28 ru Exp $
d6 1
@


1.10
log
@Set the default manual section for sbin/ to 8.
@
text
@d3 1
a3 1
# $FreeBSD: src/sbin/slattach/Makefile,v 1.9 1999/08/28 00:14:24 peter Exp $
d6 1
@


1.9
log
@$Id$ -> $FreeBSD$
@
text
@d3 1
a3 1
# $FreeBSD$
a5 2
SRCS=   slattach.c
MAN8=	slattach.8
@


1.9.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d3 1
a3 1
# $FreeBSD: src/sbin/slattach/Makefile,v 1.9 1999/08/28 00:14:24 peter Exp $
d6 2
a7 1
MAN=	slattach.8
@


1.9.2.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/4/sbin/slattach/Makefile 75953 2001-04-25 10:58:55Z ru $
@


1.8
log
@$Header$ -> $Id$
Manpage formatting/grammatical fixes.
Check return value of malloc()
Add sccsid[], other minor source code cleanups

Submitted by:	Philippe Charnier
@
text
@d3 1
a3 1
#	$Id$
@


1.7
log
@Move uucplock into libutil and create a manual page.
@
text
@d3 1
a3 1
#	$Header: /home/ncvs/src/sbin/slattach/Makefile,v 1.6 1995/09/20 12:56:23 ache Exp $
@


1.7.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.6
log
@From Bruce:

slattach always exited early because fd is not open in acquire_line().

Other (trivial) changes that I've been neglecting for some time:

- Turn off O_NONBLOCK so that `chat' doesn't need to worry about it
  (`chat' actually does worry about it).
- Really set speeds POSIXly :-).  cfsetspeed() isn't POSIX.
- Fix spelling error in comment.
- Gripe about bad programming of doing everything from signal handlers.
  slattach should be written to do everything from the sigsuspend() loop,
  but I don't want to do it :-).

From me:
Use .PATH to find uucplock.c

Submitted by: bde
@
text
@d3 1
a3 1
#	$Header: /home/ncvs/src/sbin/slattach/Makefile,v 1.5 1995/09/19 03:27:23 ache Exp $
d6 1
a6 1
SRCS=   slattach.c uucplock.c
a10 2

.PATH: ${.CURDIR}/../startslip
@


1.6.2.1
log
@MFC: doc and locking fixes.
@
text
@d3 1
a3 1
#	$Header: /home/ncvs/src/sbin/slattach/Makefile,v 1.6 1995/09/20 12:56:23 ache Exp $
d6 1
a6 1
SRCS=   slattach.c
d11 2
@


1.6.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d3 1
a3 1
#	$Header: /home/ncvs/src/sbin/slattach/Makefile,v 1.6.2.1 1997/09/14 19:50:32 jkh Exp $
@


1.5
log
@Implement uucp-locking
Cleanup debug/syslog code
@
text
@d3 1
a3 1
#	$Header: /home/ncvs/src/sbin/slattach/Makefile,v 1.4 1994/08/23 08:28:30 rich Exp $
d11 2
@


1.4
log
@Once again, slattach sources ported from 1.1.5 with fixes.

Reviewed by:	davidg, bde
Submitted by:	rich
@
text
@d3 1
a3 1
#	$Header: /a/cvs/386BSD/src/sbin/slattach/Makefile,v 1.5 1993/08/29 18:11:14 rgrimes Exp $
d6 1
@


1.4.6.1
log
@Merge with HEAD.  Really Strange since I thought I already *did* this!
I must be getting way too little sleep or something.
@
text
@d3 1
a3 1
#	$Header: /home/ncvs/src/sbin/slattach/Makefile,v 1.6 1995/09/20 12:56:23 ache Exp $
a5 1
SRCS=   slattach.c uucplock.c
a9 2

.PATH: ${.CURDIR}/../startslip
@


1.4.6.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d3 1
a3 1
#	$Header: /pub/FreeBSD/FreeBSD-CVS/src/sbin/slattach/Makefile,v 1.4.6.1 1995/10/25 00:50:32 jkh Exp $
@


1.4.6.3
log
@$Id$ -> $FreeBSD$
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.3
log
@Slattach ported from 1.1.5 plus Bruce Evans suggested fix (close
FDs and fork before redialing) to prevent dialer from hanging with
newer sio.c.

Also moved history from the source to the cvs log (here) per
David G's suggestion.

This compiles but needs testing now...  Rich

/*
 * Hacks to support "-a|c|n" flags on the command line which enable VJ
 * header compresion and disable ICMP.
 * If this is good all rights go to B & L Jolitz, otherwise send your
 * comments to Reagan (/dev/null).
 *
 * nerd@@percival.rain.com (Michael Galassi) 92.09.03
 *
 * Hacked to change from sgtty to POSIX termio style serial line control
 * and added flag to enable cts/rts style flow control.
 *
 * blymn@@awadi.com.au (Brett Lymn) 93.04.04
 *
 * Put slattach in it's own process group so it can't be killed
 * accidentally. Close the connection on SIGHUP and SIGINT. Write a
 * syslog entry upon opening and closing the connection.  Rich Murphey
 * and Brad Huntting.
 *
 * Add '-r command' option: runs 'command' upon recieving SIGHUP
 * resulting from loss of carrier.  Log any errors after forking.
 * Rich 8/13/93
 *
 * This version of slattach includes many changes by David Greenman, Brian
 * Smith, Chris Bradley, and me (Michael Galassi).  None of them are
 * represented as functional anywhere outside of RAINet though they do work
 * for us.  Documentation is limited to the usage message for now.  If you
 * make improovments please pass them back.
 *
 * Added '-u UCMD' which runs 'UCMD <old> <new>' whenever the slip
 * unit number changes where <old> and <new> are the old and new unit
 * numbers, respectively.  Also added the '-z' option which forces
 * invocation of the redial command (-r CMD) upon startup regardless
 * of whether the com driver claims (sometimes mistakenly) that
 * carrier is present. Also added '-e ECMD' which runs ECMD before
 * exiting.
 *
 * marc@@escargot.rain.com (Marc Frajola) 93/09/10
 *
 * Minor fixes to allow passive SLIP links to work (connections with
 * modem control that do not have an associated dial command). Added
 * code to re-check for carrier after dial command has been executed.
 * Added SIGTERM handler to properly handle normal kill signals. Fixed
 * bug in logic that caused message about no -u command to be logged
 * even when -u was specified and the sl number changes. Tried to get
 * rid of redundant syslog()'s to minimize console log output. Improved
 * logging of improper command line options or number of command
 * arguments. Removed spurious newline characters from syslog() calls.
 *
 * gjung@@gjbsd.franken.de
 *
 * sighup_handler changed to set CLOCAL before running redial_cmd.
 * added flag exiting, so exit_handler is not run twice.  Fork
 * before reopening tty.
 */
@
text
@d1 3
a3 2
#	from: @@(#)Makefile	5.4 (Berkeley) 5/11/90
#	$Id: Makefile,v 1.6 1993/10/13 07:16:38 rgrimes Exp $
@


1.2
log
@Convert to our man installation style.  Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93
d7 2
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
MAN8=	slattach.0
@


1.1.1.1
log
@BSD 4.4 Lite sbin Sources

Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
@
text
@@
