head	1.22;
access;
symbols
	RELEASE_4_7_0:1.21
	RELEASE_4_6_2:1.21
	RELEASE_4_6_1:1.21
	RELEASE_4_6_0:1.21
	RELEASE_5_0_DP1:1.21
	RELEASE_4_5_0:1.21
	RELEASE_4_4_0:1.21
	RELEASE_4_3_0:1.21
	RELEASE_4_2_0:1.21
	RELEASE_4_1_1:1.21
	RELEASE_4_1_0:1.21
	RELEASE_3_5_0:1.21
	RELEASE_4_0_0:1.21
	RELEASE_3_4_0:1.21
	RELEASE_3_3_0:1.21
	RELEASE_3_2_0:1.21
	RELEASE_3_1_0:1.21
	RELEASE_2_2_8:1.21
	RELEASE_3_0_0:1.21
	RELEASE_2_2_7:1.15
	RELEASE_2_2_6:1.15
	RELEASE_2_2_5:1.15
	RELEASE_2_2_1:1.12
	RELEASE_2_2_2:1.12
	tcp_wrapper:1.1.1.1;
locks; strict;
comment	@# @;


1.22
date	2002.10.13.03.56.09;	author kris;	state dead;
branches;
next	1.21;

1.21
date	98.09.17.10.47.20;	author asami;	state Exp;
branches;
next	1.20;

1.20
date	98.09.16.22.47.43;	author smace;	state Exp;
branches;
next	1.19;

1.19
date	98.09.16.13.46.17;	author smace;	state Exp;
branches;
next	1.18;

1.18
date	98.09.15.14.57.29;	author smace;	state Exp;
branches;
next	1.17;

1.17
date	98.09.15.03.56.19;	author smace;	state Exp;
branches;
next	1.16;

1.16
date	98.09.14.21.08.57;	author smace;	state Exp;
branches;
next	1.15;

1.15
date	97.07.21.14.21.25;	author max;	state Exp;
branches;
next	1.14;

1.14
date	97.07.04.19.54.34;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	97.06.20.17.47.45;	author max;	state Exp;
branches;
next	1.12;

1.12
date	97.01.05.21.12.27;	author torstenb;	state Exp;
branches;
next	1.11;

1.11
date	97.01.03.09.44.56;	author torstenb;	state Exp;
branches;
next	1.10;

1.10
date	96.04.09.05.07.30;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	96.01.25.04.00.40;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	96.01.25.03.01.21;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	95.10.10.16.25.55;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	95.05.17.03.02.00;	author asami;	state Exp;
branches;
next	1.5;

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

1.4
date	95.03.24.00.35.05;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	95.02.09.21.25.00;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	95.01.10.00.07.56;	author torstenb;	state Exp;
branches;
next	1.1;

1.1
date	94.11.01.01.46.07;	author torstenb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.11.01.01.46.08;	author torstenb;	state Exp;
branches;
next	;


desc
@@


1.22
log
@tcp_wrapper has been in the base system since 4.0-RELEASE.  Remove it.
@
text
@*** Makefile.orig	Fri Mar 21 12:27:21 1997
--- Makefile	Wed Sep 16 17:41:52 1998
***************
*** 47,53 ****
  #REAL_DAEMON_DIR=/usr/sbin
  #
  # BSD 4.4
! #REAL_DAEMON_DIR=/usr/libexec
  #
  # HP-UX SCO Unicos
  #REAL_DAEMON_DIR=/etc
--- 47,53 ----
  #REAL_DAEMON_DIR=/usr/sbin
  #
  # BSD 4.4
! REAL_DAEMON_DIR=/usr/libexec
  #
  # HP-UX SCO Unicos
  #REAL_DAEMON_DIR=/etc
***************
*** 138,144 ****
  
  freebsd:
  	@@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
! 	LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \
  	EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all
  
  linux:
--- 138,144 ----
  
  freebsd:
  	@@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
! 	LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP=-DNETGROUP TLI= \
  	EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all
  
  linux:
***************
*** 391,397 ****
  # the ones provided with this source distribution. The environ.c module
  # implements setenv(), getenv(), and putenv().
  
! AUX_OBJ= setenv.o
  #AUX_OBJ= environ.o
  #AUX_OBJ= environ.o strcasecmp.o
  
--- 391,397 ----
  # the ones provided with this source distribution. The environ.c module
  # implements setenv(), getenv(), and putenv().
  
! #AUX_OBJ= setenv.o
  #AUX_OBJ= environ.o
  #AUX_OBJ= environ.o strcasecmp.o
  
***************
*** 454,460 ****
  # host name aliases. Compile with -DSOLARIS_24_GETHOSTBYNAME_BUG to work
  # around this. The workaround does no harm on other Solaris versions.
  
! BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK
  #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DINET_ADDR_BUG
  #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DSOLARIS_24_GETHOSTBYNAME_BUG
  
--- 454,460 ----
  # host name aliases. Compile with -DSOLARIS_24_GETHOSTBYNAME_BUG to work
  # around this. The workaround does no harm on other Solaris versions.
  
! #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK
  #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DINET_ADDR_BUG
  #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DSOLARIS_24_GETHOSTBYNAME_BUG
  
***************
*** 472,478 ****
  # If your system supports vsyslog(), comment out the following definition.
  # If in doubt leave it in, it won't harm.
  
! VSYSLOG	= -Dvsyslog=myvsyslog
  
  # End of the system dependencies.
  #################################
--- 472,478 ----
  # If your system supports vsyslog(), comment out the following definition.
  # If in doubt leave it in, it won't harm.
  
! #VSYSLOG	= -Dvsyslog=myvsyslog
  
  # End of the system dependencies.
  #################################
***************
*** 491,497 ****
  # Uncomment the next definition to turn on the language extensions
  # (examples: allow, deny, banners, twist and spawn).
  # 
! #STYLE	= -DPROCESS_OPTIONS	# Enable language extensions.
  
  ################################################################
  # Optional: Changing the default disposition of logfile records
--- 491,497 ----
  # Uncomment the next definition to turn on the language extensions
  # (examples: allow, deny, banners, twist and spawn).
  # 
! STYLE	= -DPROCESS_OPTIONS	# Enable language extensions.
  
  ################################################################
  # Optional: Changing the default disposition of logfile records
***************
*** 514,520 ****
  #
  # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
  
! FACILITY= LOG_MAIL	# LOG_MAIL is what most sendmail daemons use
  
  # The syslog priority at which successful connections are logged.
  
--- 514,521 ----
  #
  # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
  
! #FACILITY= LOG_MAIL	# LOG_MAIL is what most sendmail daemons use
! FACILITY= LOG_AUTH
  
  # The syslog priority at which successful connections are logged.
  
***************
*** 590,596 ****
  # look for access control information. Watch out for the quotes and
  # backslashes when you make changes.
  
! TABLES	= -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
  
  ####################################################
  # Optional: dealing with host name/address conflicts
--- 591,597 ----
  # look for access control information. Watch out for the quotes and
  # backslashes when you make changes.
  
! TABLES	= -DHOSTS_DENY=\"${PREFIX}/etc/hosts.deny\" -DHOSTS_ALLOW=\"${PREFIX}/etc/hosts.allow\"
  
  ####################################################
  # Optional: dealing with host name/address conflicts
***************
*** 610,616 ****
  # Paranoid mode implies hostname lookup. In order to disable hostname
  # lookups altogether, see the next section.
  
! PARANOID= -DPARANOID
  
  ########################################
  # Optional: turning off hostname lookups
--- 611,617 ----
  # Paranoid mode implies hostname lookup. In order to disable hostname
  # lookups altogether, see the next section.
  
! #PARANOID= -DPARANOID
  
  ########################################
  # Optional: turning off hostname lookups
***************
*** 657,665 ****
  # Protection against weird shells or weird make programs.
  
  SHELL	= /bin/sh
! .c.o:;	$(CC) $(CFLAGS) -c $*.c
  
! CFLAGS	= -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
  	$(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
  	-DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
  	-DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
--- 658,671 ----
  # Protection against weird shells or weird make programs.
  
  SHELL	= /bin/sh
! PREFIX ?= /usr/local
! 
! .SUFFIXES: .c .so .o
!   
! .c.so:
! 	${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
  
! CFLAGS  += -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
  	$(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
  	-DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
  	-DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
***************
*** 684,692 ****
  	refuse.c tcpdchk.8 setenv.c inetcf.c inetcf.h scaffold.c \
  	scaffold.h tcpdmatch.8 README.NIS
  
! LIB	= libwrap.a
  
- all other: config-check tcpd tcpdmatch try-from safe_finger tcpdchk
  
  # Invalidate all object files when the compiler options (CFLAGS) have changed.
  
--- 690,724 ----
  	refuse.c tcpdchk.8 setenv.c inetcf.c inetcf.h scaffold.c \
  	scaffold.h tcpdmatch.8 README.NIS
  
! LIB     = libwrap.a
! .if ${PORTOBJFORMAT} == elf
! SLIB    = libwrap.so.7
! .else
! SLIB    = libwrap.so.7.6
! .endif
! 
! all other: config-check $(LIB) $(SLIB) tcpd tcpdmatch try-from safe_finger tcpdchk
! 
! install:
! 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -c -m 644 \
! 		tcpd.h ${PREFIX}/include
! 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -c -m 644 \
! 		$(LIB) $(SLIB) ${PREFIX}/lib
! 	(cd ${PREFIX}/lib;ln -sf $(SLIB) `echo $(SLIB) | sed 's/\.so.*$$/.so/'`)
! 	ranlib ${PREFIX}/lib/$(LIB)
! 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -cs -m ${BINMODE} \
! 		tcpd ${PREFIX}/libexec
! 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -cs -m ${BINMODE} \
! 		tcpdchk tcpdmatch ${PREFIX}/sbin
! 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -cs -m ${BINMODE} \
! 		try-from safe_finger ${PREFIX}/bin
! 	${INSTALL} -o ${MANOWN} -g ${MANGRP} -c -m ${MANMODE} \
! 		tcpd.8 tcpdchk.8 tcpdmatch.8 ${PREFIX}/man/man8
! 	${INSTALL} -o ${MANOWN} -g ${MANGRP} -c -m ${MANMODE} \
! 		hosts_access.3 ${PREFIX}/man/man3
! 	${INSTALL} -o ${MANOWN} -g ${MANGRP} -c -m ${MANMODE} \
! 		hosts_access.5 hosts_options.5 ${PREFIX}/man/man5
  
  
  # Invalidate all object files when the compiler options (CFLAGS) have changed.
  
***************
*** 703,729 ****
  	$(AR) $(ARFLAGS) $(LIB) $(LIB_OBJ)
  	-$(RANLIB) $(LIB)
  
! tcpd:	tcpd.o $(LIB)
! 	$(CC) $(CFLAGS) -o $@@ tcpd.o $(LIB) $(LIBS)
  
! miscd:	miscd.o $(LIB)
! 	$(CC) $(CFLAGS) -o $@@ miscd.o $(LIB) $(LIBS)
  
! safe_finger: safe_finger.o $(LIB)
! 	$(CC) $(CFLAGS) -o $@@ safe_finger.o $(LIB) $(LIBS)
  
  TCPDMATCH_OBJ = tcpdmatch.o fakelog.o inetcf.o scaffold.o
  
! tcpdmatch: $(TCPDMATCH_OBJ) $(LIB)
! 	$(CC) $(CFLAGS) -o $@@ $(TCPDMATCH_OBJ) $(LIB) $(LIBS)
  
! try-from: try-from.o fakelog.o $(LIB)
! 	$(CC) $(CFLAGS) -o $@@ try-from.o fakelog.o $(LIB) $(LIBS)
  
  TCPDCHK_OBJ = tcpdchk.o fakelog.o inetcf.o scaffold.o
  
! tcpdchk: $(TCPDCHK_OBJ) $(LIB)
! 	$(CC) $(CFLAGS) -o $@@ $(TCPDCHK_OBJ) $(LIB) $(LIBS)
  
  shar:	$(KIT)
  	@@shar $(KIT)
--- 735,770 ----
  	$(AR) $(ARFLAGS) $(LIB) $(LIB_OBJ)
  	-$(RANLIB) $(LIB)
  
! $(SLIB): $(LIB_OBJ:S/o$/so/g) shdata.so
! 	rm -f $(SLIB)
! .if ${PORTOBJFORMAT} == elf
! 	$(CC) -o $(SLIB) -shared -Wl,-soname,$(SLIB) $(LIB_OBJ:S/o$/so/g) shdata.so
! .else
! 	ld -Bshareable -o $(SLIB) $(LIB_OBJ:S/o$/so/g) shdata.so
! .endif
! 	ln -sf $(SLIB) `echo $(SLIB) | sed 's/\.so.*$$/.so/'`
! 
! tcpd:   tcpd.o $(SLIB)
! 	$(CC) $(CFLAGS) -o $@@ tcpd.o -L. -lwrap $(LIBS)
  
! miscd:  miscd.o $(SLIB)
! 	$(CC) $(CFLAGS) -o $@@ miscd.o -L. -lwrap $(LIBS)
  
! safe_finger: safe_finger.o $(SLIB)
! 	$(CC) $(CFLAGS) -o $@@ safe_finger.o -L. -lwrap $(LIBS)
  
  TCPDMATCH_OBJ = tcpdmatch.o fakelog.o inetcf.o scaffold.o
  
! tcpdmatch: $(TCPDMATCH_OBJ) $(SLIB)
! 	$(CC) $(CFLAGS) -o $@@ $(TCPDMATCH_OBJ) -L. -lwrap $(LIBS)
  
! try-from: try-from.o fakelog.o $(SLIB)
! 	$(CC) $(CFLAGS) -o $@@ try-from.o fakelog.o -L. -lwrap $(LIBS)
  
  TCPDCHK_OBJ = tcpdchk.o fakelog.o inetcf.o scaffold.o
  
! tcpdchk: $(TCPDCHK_OBJ) $(SLIB)
! 	$(CC) $(CFLAGS) -o $@@ $(TCPDCHK_OBJ) -L. -lwrap $(LIBS)
  
  shar:	$(KIT)
  	@@shar $(KIT)
***************
*** 739,745 ****
  
  clean:
  	rm -f tcpd miscd safe_finger tcpdmatch tcpdchk try-from *.[oa] core \
! 	cflags
  
  tidy:	clean
  	chmod -R a+r .
--- 780,786 ----
  
  clean:
  	rm -f tcpd miscd safe_finger tcpdmatch tcpdchk try-from *.[oa] core \
! 	cflags *.so $(SLIB)
  
  tidy:	clean
  	chmod -R a+r .
*** /dev/null	Thu Jan 25 06:52:04 1996
--- shdata.c	Thu Jan 25 06:54:34 1996
***************
*** 0 ****
--- 1,2 ----
+ int allow_severity;
+ int deny_severity;
@


1.21
log
@Rewind shlib version number.

Reminded by:	Sheldon Hearn <axl@@iafrica.com>
@
text
@@


1.20
log
@Fix Package build for aout system
symlink .so in both elf and aout cases
@
text
@d200 1
a200 1
! SLIB    = libwrap.so.8
d202 1
a202 1
! SLIB    = libwrap.so.8.0
@


1.19
log
@Fix build problem for aout
@
text
@d2 1
a2 1
--- Makefile	Wed Sep 16 08:42:23 1998
d194 1
a194 1
--- 690,726 ----
a211 1
! .if ${PORTOBJFORMAT} == elf
a212 1
! .endif
d259 1
a259 1
--- 737,772 ----
a266 1
! 	ln -sf $(SLIB) `echo $(SLIB) | sed 's/\.so.*$$/.so/'`
d270 1
d305 1
a305 1
--- 782,788 ----
@


1.18
log
@make tcp_wrapper build on a non-elf system
@
text
@d2 1
a2 1
--- Makefile	Tue Sep 15 09:55:40 1998
d194 1
a194 1
--- 690,720 ----
d199 1
d201 3
d212 1
d214 1
d261 1
a261 1
--- 731,766 ----
d267 1
a267 1
! .if defined(PORTOBJFORMAT) && ${PORTOBJFORMAT} == elf
d269 1
a272 1
! 	ln -sf $(SLIB) `echo $(SLIB) | sed 's/\.so.*$$/.so/'`
d307 1
a307 1
--- 776,782 ----
@


1.17
log
@Make elf conversion comply with standard
round up shlib version to 8
@
text
@d2 1
a2 1
--- Makefile	Mon Sep 14 22:41:29 1998
d255 1
a255 1
--- 731,762 ----
d261 1
d263 3
d301 1
a301 1
--- 772,778 ----
@


1.16
log
@Convert to Elf.
@
text
@d2 1
a2 1
--- Makefile	Mon Sep 14 15:54:25 1998
d199 1
a199 1
! SLIB    = libwrap.so.7
d261 1
a261 1
! 	$(CC) -o $(SLIB) -shared -Wl,-rpath,${PREFIX}/lib -Wl,-soname,$(SLIB) $(LIB_OBJ:S/o$/so/g) shdata.so
@


1.15
log
@Make this port respect ${PREFIX} if it's set.
PR:		4125
Pointed-out by:	Wes Santee <wes@@bogon.net>
@
text
@d1 2
a2 2
*** Makefile.orig	Tue Mar 26 03:22:25 1996
--- Makefile	Sat Jun 21 02:40:03 1997
d4 1
a4 1
*** 46,52 ****
d12 1
a12 1
--- 46,52 ----
d21 1
a21 1
*** 137,143 ****
d29 1
a29 1
--- 137,143 ----
d38 1
a38 1
*** 361,367 ****
d46 1
a46 1
--- 361,367 ----
d55 1
a55 1
*** 424,430 ****
d63 1
a63 1
--- 424,430 ----
d72 1
a72 1
*** 442,448 ****
d80 1
a80 1
--- 442,448 ----
d89 1
a89 1
*** 461,467 ****
d97 1
a97 1
--- 461,467 ----
d106 1
a106 1
*** 484,490 ****
d114 1
a114 1
--- 484,491 ----
d124 1
a124 1
*** 559,565 ****
d132 1
a132 1
--- 560,566 ----
d141 1
a141 1
*** 579,585 ****
d149 1
a149 1
--- 580,586 ----
d158 1
a158 1
*** 625,633 ****
d168 1
a168 1
--- 626,639 ----
d184 1
a184 1
*** 652,660 ****
d194 1
a194 1
--- 658,687 ----
d199 1
a199 1
! SLIB    = libwrap.so.7.6
d208 1
d227 1
a227 1
*** 671,697 ****
d255 1
a255 1
--- 698,728 ----
d261 2
a262 1
! 	ld -Bshareable -o $(SLIB) $(LIB_OBJ:S/o$/so/g) shdata.so
d289 1
a289 1
*** 707,713 ****
d297 1
a297 1
--- 738,744 ----
@


1.14
log
@Upgrade to 7.6
@
text
@d172 1
a172 1
! PREFIX  = /usr/local
@


1.13
log
@Add -DNETGROUP to the compile-time flags so that entries in /etc/netgroup
(or one provided via NIS) can be used when setting up access restriction.
PR:		3277
Submitted by:	James FitzGibbon <james@@nexis.net>
@
text
@d199 1
a199 1
! SLIB    = libwrap.so.7.4
@


1.12
log
@make this one compile again
@
text
@d1 2
a2 2
*** Makefile.orig	Mon Mar 25 19:22:25 1996
--- Makefile	Fri Jan  3 10:41:45 1997
d21 17
d173 1
a173 1
  
d178 1
a178 1
! 
@


1.11
log
@fix the clean target to remove *.so and libwrap.so

Pointed-Out by: Wietse Venema <wietse@@porcupine.org>
@
text
@d286 7
@


1.10
log
@Update tcp_wrappers port from v7.2 to v7.4, as the original tar file
is gone from the master site.

There are no new features, just a couple of bug fixes (that shouldn't
affect us) and portability improvements.
@
text
@d1 2
a2 2
*** Makefile.orig	Mon Jan 30 21:51:43 1995
--- Makefile	Thu Jan 25 06:51:54 1996
d10 1
a10 1
  # HP-UX SCO
d18 1
a18 1
  # HP-UX SCO
d21 1
a21 1
*** 317,323 ****
d29 1
a29 1
--- 317,323 ----
d38 1
a38 1
*** 374,380 ****
d46 1
a46 1
--- 374,380 ----
d55 1
a55 1
*** 392,398 ****
d63 1
a63 1
--- 392,398 ----
d72 1
a72 1
*** 411,417 ****
d80 1
a80 1
--- 411,417 ----
d89 1
a89 1
*** 434,440 ****
d97 1
a97 1
--- 434,441 ----
d107 1
a107 1
*** 509,515 ****
d115 1
a115 1
--- 510,516 ----
d124 1
a124 1
*** 529,535 ****
d132 1
a132 1
--- 530,536 ----
d141 1
a141 1
*** 575,583 ****
d151 1
a151 1
--- 576,589 ----
d167 1
a167 1
*** 602,610 ****
d177 1
a177 1
--- 608,637 ----
d209 2
a210 2
*** 621,647 ****
  	ar $(ARFLAGS) $(LIB) $(LIB_OBJ)
d237 2
a238 2
--- 648,678 ----
  	ar $(ARFLAGS) $(LIB) $(LIB_OBJ)
a268 2
*** /dev/null	Thu Jan 25 06:52:04 1996
--- shdata.c	Thu Jan 25 06:54:34 1996
d270 16
a285 4
*** 0 ****
--- 1,2 ----
+ int allow_severity;
+ int deny_severity;
@


1.9
log
@Create share data block to resolve references
@
text
@d42 1
a42 1
! BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS
d50 1
a50 1
! #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS
d182 1
a182 1
! SLIB    = libwrap.so.7.2
@


1.8
log
@Build/install shared libwrap, build programs with it too
Add forgotten program
Fix install permissions
@
text
@d2 1
a2 1
--- Makefile	Thu Jan 25 05:46:39 1996
d145 1
a145 1
- .c.o:;	$(CC) $(CFLAGS) -c $*.c
d151 1
a151 1
--- 576,588 ----
d155 1
d177 1
a177 1
--- 607,636 ----
d237 1
a237 1
--- 647,677 ----
d241 1
a241 1
! $(SLIB): $(LIB_OBJ:S/o$/so/g)
d243 1
a243 1
! 	ld -Bshareable -o $(SLIB) $(LIB_OBJ:S/o$/so/g)
d269 7
@


1.7
log
@External interface was incomplete, tcpd.h was missing, add it
@
text
@d2 1
a2 1
--- Makefile	Tue Oct 10 19:15:46 1995
d141 63
a203 20
*** 605,610 ****
--- 606,626 ----
  LIB	= libwrap.a
  
  all other: config-check tcpd tcpdmatch try-from safe_finger tcpdchk
+ 
+ install:
+ 	install -o bin -g bin -c tcpd.h ${PREFIX}/include/tcpd.h
+ 	install -o bin -g bin -c libwrap.a ${PREFIX}/lib/libwrap.a
+ 	install -o bin -g bin -cs tcpd ${PREFIX}/libexec/tcpd
+ 	install -o bin -g bin -cs tcpdchk ${PREFIX}/sbin/tcpdchk
+ 	install -o bin -g bin -cs tcpdmatch ${PREFIX}/sbin/tcpdmatch
+ 	install -o bin -g bin -cs safe_finger ${PREFIX}/bin/safe_finger
+ 	install -o bin -g bin -c tcpd.8 ${PREFIX}/man/man8/tcpd.8
+ 	install -o bin -g bin -c tcpdchk.8 ${PREFIX}/man/man8/tcpdchk.8
+ 	install -o bin -g bin -c tcpdmatch.8 ${PREFIX}/man/man8/tcpdmatch.8
+ 	install -o bin -g bin -c hosts_access.3 ${PREFIX}/man/man3/hosts_access.3
+ 	install -o bin -g bin -c hosts_access.5 ${PREFIX}/man/man5/hosts_access.5
+ 	install -o bin -g bin -c hosts_options.5 ${PREFIX}/man/man5/hosts_options.5
+ 
d207 61
@


1.6
log
@Back out last change by ache, which torstenb and pst say shouldn't be
the default.
Submitted by:	torstenb, pst
@
text
@d2 1
a2 1
--- Makefile	Tue May 16 13:30:07 1995
d142 1
a142 1
--- 606,625 ----
d148 12
a159 11
+ 	install -c libwrap.a ${PREFIX}/lib/libwrap.a
+ 	install -cs tcpd ${PREFIX}/libexec/tcpd
+ 	install -cs tcpdchk ${PREFIX}/sbin/tcpdchk
+ 	install -cs tcpdmatch ${PREFIX}/sbin/tcpdmatch
+ 	install -cs safe_finger ${PREFIX}/bin/safe_finger
+ 	install -c tcpd.8 ${PREFIX}/man/man8/tcpd.8
+ 	install -c tcpdchk.8 ${PREFIX}/man/man8/tcpdchk.8
+ 	install -c tcpdmatch.8 ${PREFIX}/man/man8/tcpdmatch.8
+ 	install -c hosts_access.3 ${PREFIX}/man/man3/hosts_access.3
+ 	install -c hosts_access.5 ${PREFIX}/man/man5/hosts_access.5
+ 	install -c hosts_options.5 ${PREFIX}/man/man5/hosts_options.5
@


1.5
log
@Enable call of remote pindentd
@
text
@a106 17
*** 470,476 ****
  # still do selective username lookups as documented in the hosts_access.5
  # and hosts_options.5 manual pages (`nroff -man' format).
  #
! #AUTH	= -DALWAYS_RFC931
  #
  # The default username lookup timeout is 10 seconds. This may not be long
  # enough for slow hosts or networks, but is enough to irritate PC users.
--- 471,477 ----
  # still do selective username lookups as documented in the hosts_access.5
  # and hosts_options.5 manual pages (`nroff -man' format).
  #
! AUTH   = -DALWAYS_RFC931
  #
  # The default username lookup timeout is 10 seconds. This may not be long
  # enough for slow hosts or networks, but is enough to irritate PC users.
***************
@


1.4
log
@Strip binaries on install
@
text
@d2 1
a2 1
--- Makefile	Fri Feb 10 00:11:43 1995
d106 17
@


1.3
log
@Upgrade.
@
text
@d149 4
a152 4
+ 	install -c tcpd ${PREFIX}/libexec/tcpd
+ 	install -c tcpdchk ${PREFIX}/sbin/tcpdchk
+ 	install -c tcpdmatch ${PREFIX}/sbin/tcpdmatch
+ 	install -c safe_finger ${PREFIX}/bin/safe_finger
@


1.2
log
@Upgrade to version 7.0
@
text
@d1 2
a2 2
*** Makefile.orig	Mon Jan  9 23:41:06 1995
--- Makefile	Tue Jan 10 00:05:59 1995
d12 1
a12 1
--- 48,54 ----
d21 1
a21 1
*** 315,321 ****
d38 1
a38 1
*** 372,378 ****
d55 1
a55 1
*** 390,396 ****
d72 1
a72 1
*** 409,415 ****
d89 1
a89 1
*** 432,438 ****
d107 1
a107 1
*** 507,513 ****
d124 3
a126 3
*** 524,530 ****
  # requests. When paranoid mode is off and a host name double check fails,
  # the client can be matched with the PARANOID access control pattern.
d130 5
a134 5
  #############################################
  # Optional: Turning on host ADDRESS checking
--- 527,533 ----
  # requests. When paranoid mode is off and a host name double check fails,
  # the client can be matched with the PARANOID access control pattern.
d138 2
a139 2
  #############################################
  # Optional: Turning on host ADDRESS checking
d141 2
a142 2
*** 587,592 ****
--- 590,610 ----
a158 1
+ 	
@


1.1
log
@Initial revision
@
text
@d1 2
a2 12
*** Makefile.orig	Mon Oct 31 14:50:32 1994
--- Makefile	Mon Oct 31 14:57:06 1994
***************
*** 1,5 ****
--- 1,7 ----
  # @@(#) Makefile 1.12 94/03/23 16:51:32
  
+ default: freebsd
+ 
  what:
  	@@echo
  	@@echo "Usage: edit the REAL_DAEMON_DIR definition in the Makefile then:"
d21 20
a40 21
*** 120,126 ****
  # Free bsd and linux by default have no NIS.
  386bsd netbsd freebsd:
  	@@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
! 	LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= all
  
  linux:
  	@@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
--- 122,129 ----
  # Free bsd and linux by default have no NIS.
  386bsd netbsd freebsd:
  	@@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
! 	LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \
! 	EXTRA_CFLAGS="-D_HAVE_PARAM_H" all
  
  linux:
  	@@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
***************
*** 318,324 ****
  # instead of a long integer. Compile with -DINET_ADDR_BUG to work around
  # this mutant behavour.
d44 1
d46 3
a48 4
  ##########################################################################
--- 321,327 ----
  # instead of a long integer. Compile with -DINET_ADDR_BUG to work around
  # this mutant behavour.
d52 8
d61 10
a70 1
  ##########################################################################
d72 3
a74 3
*** 345,351 ****
  # module, which also gives hints on how to add your own extensions.
  # Uncomment the next definition to turn on the language extensions.
d80 3
a82 3
--- 348,354 ----
  # module, which also gives hints on how to add your own extensions.
  # Uncomment the next definition to turn on the language extensions.
d89 1
a89 1
*** 368,374 ****
d97 1
a97 1
--- 371,377 ----
d101 2
a102 1
! FACILITY= LOG_AUTH	# LOG_MAIL is what most sendmail daemons use
d107 1
a107 1
*** 445,451 ****
d113 3
a115 3
  ###########################################
  # Optional: Turning off host NAME checking
--- 448,454 ----
d121 2
a122 2
  ###########################################
  # Optional: Turning off host NAME checking
d124 3
a126 3
*** 463,469 ****
  # daemon wrappers will use only the host address, but your daemons may
  # still use the host name.
d132 3
a134 3
--- 466,472 ----
  # daemon wrappers will use only the host address, but your daemons may
  # still use the host name.
d141 2
a142 2
*** 522,527 ****
--- 525,538 ----
d145 1
a145 1
  all other: config-check tcpd try try-from safe_finger
d149 7
a155 1
+ 	install -c tcpd ${PREFIX}/sbin/tcpd
d159 4
a162 1
+ 	install -c tcpd.8 ${PREFIX}/man/man8/tcpd.8
a163 2
  config-check:
  	@@set +e; test -n "$(REAL_DAEMON_DIR)" || { make; exit 1; }
@


1.1.1.1
log
@TCP/IP daemon wrapper package
@
text
@@
