head	1.13;
access;
symbols
	RELENG_4_11_0_RELEASE:1.5.2.5
	RELENG_4_11:1.5.2.5.0.2
	RELENG_4_11_BP:1.5.2.5
	RELENG_4_10_0_RELEASE:1.5.2.4
	RELENG_4_10:1.5.2.4.0.8
	RELENG_4_10_BP:1.5.2.4
	RELENG_4_9_0_RELEASE:1.5.2.4
	RELENG_4_9:1.5.2.4.0.6
	RELENG_4_9_BP:1.5.2.4
	RELENG_4_8_0_RELEASE:1.5.2.4
	RELENG_4_8:1.5.2.4.0.4
	RELENG_4_8_BP:1.5.2.4
	RELENG_5_0_0_RELEASE:1.11
	RELENG_5_0:1.11.0.2
	RELENG_5_0_BP:1.11
	RELENG_4_7_0_RELEASE:1.5.2.4
	RELENG_4_7:1.5.2.4.0.2
	RELENG_4_7_BP:1.5.2.4
	RELENG_4_6_2_RELEASE:1.5.2.3.6.1
	RELENG_4_6_1_RELEASE:1.5.2.3.6.1
	RELENG_4_6_0_RELEASE:1.5.2.3
	RELENG_4_6:1.5.2.3.0.6
	RELENG_4_6_BP:1.5.2.3
	RELENG_4_5_0_RELEASE:1.5.2.3
	RELENG_4_5:1.5.2.3.0.4
	RELENG_4_5_BP:1.5.2.3
	RELENG_4_4_0_RELEASE:1.5.2.3
	RELENG_4_4:1.5.2.3.0.2
	RELENG_4_4_BP:1.5.2.3
	RELENG_4_3_0_RELEASE:1.5.2.1
	RELENG_4_3:1.5.2.1.0.2
	RELENG_4_3_BP:1.5.2.1
	RELENG_4_2_0_RELEASE:1.5
	RELENG_4_1_1_RELEASE:1.5
	PRE_SMPNG:1.5
	RELENG_4_1_0_RELEASE:1.5
	RELENG_3_5_0_RELEASE:1.2
	RELENG_4_0_0_RELEASE:1.5
	RELENG_4:1.5.0.2
	RELENG_4_BP:1.5
	RELENG_3_4_0_RELEASE:1.2
	RELENG_3_3_0_RELEASE:1.2
	RELENG_3_2_PAO:1.2.0.4
	RELENG_3_2_PAO_BP:1.2
	RELENG_3_2_0_RELEASE:1.2
	RELENG_3_1_0_RELEASE:1.2
	RELENG_3:1.2.0.2
	RELENG_3_BP:1.2
	juniper_1_0:1.1.1.1
	JUNIPER:1.1.1;
locks; strict;
comment	@# @;


1.13
date	2003.03.08.10.33.20;	author markm;	state dead;
branches;
next	1.12;

1.12
date	2003.02.06.10.55.11;	author des;	state Exp;
branches;
next	1.11;

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

1.10
date	2002.04.07.12.53.58;	author des;	state Exp;
branches;
next	1.9;

1.9
date	2002.03.05.21.56.14;	author des;	state Exp;
branches;
next	1.8;

1.8
date	2001.08.04.21.49.30;	author markm;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.04.19.47.52;	author markm;	state Exp;
branches;
next	1.6;

1.6
date	2001.01.06.06.16.28;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	2000.02.24.22.24.36;	author markm;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	99.11.14.15.48.29;	author marcel;	state Exp;
branches;
next	1.3;

1.3
date	99.09.20.06.23.16;	author markm;	state Exp;
branches;
next	1.2;

1.2
date	99.01.20.21.55.25;	author jdp;	state Exp;
branches;
next	1.1;

1.1
date	98.11.18.01.44.37;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.5.2.1
date	2001.01.06.23.16.55;	author obrien;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2001.06.07.09.37.05;	author markm;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2001.06.11.15.28.41;	author markm;	state Exp;
branches
	1.5.2.3.6.1;
next	1.5.2.4;

1.5.2.4
date	2002.07.03.21.41.29;	author des;	state Exp;
branches;
next	1.5.2.5;

1.5.2.5
date	2004.12.13.13.49.59;	author marius;	state Exp;
branches;
next	1.5.2.6;

1.5.2.6
date	2012.11.17.07.23.58;	author svnexp;	state Exp;
branches;
next	;

1.5.2.3.6.1
date	2002.07.16.12.33.24;	author des;	state Exp;
branches;
next	;

1.1.1.1
date	98.11.18.01.44.37;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.13
log
@KerberosIV de-orbit burn continues. Remove the KerberosIV PAM module.
@
text
@# Copyright 1998 Juniper Networks, Inc.
# 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.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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.
#
# $FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.12 2003/02/06 10:55:11 des Exp $

LIB=		pam_kerberosIV
SRCS=		pam_kerberosIV.c klogin.c
NO_WERROR=	yes
CFLAGS+=	-DKERBEROS
DPADD=		${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
LDADD=		-lkrb -lcrypto -lcom_err
MAN=		pam_kerberosIV.8

.include <bsd.lib.mk>
@


1.12
log
@Minimal manual page for pam_kerberosIV(8).

Sponsored by:	DARPA, NAI Labs
@
text
@d25 1
a25 1
# $FreeBSD$
@


1.11
log
@Moved SHLIB_NAME definition into one place.

Approved by:	des
@
text
@d33 1
@


1.10
log
@This one needs NO_WERROR too.
@
text
@d25 1
a25 1
#	$FreeBSD$
a27 1
SHLIB_NAME=	${LIB}.so.${SHLIB_MAJOR}
@


1.9
log
@Switch to OpenPAM.  Bump library version.  Modules are now versioned, so
applications linked with Linux-PAM will still work.
Remove pam_get_pass(); OpenPAM has pam_get_authtok().
Remove pam_prompt(); OpenPAM has pam_{,v}{error,info,prompt}().
Remove pam_set_item(3) man page as OpenPAM has its own.

Sponsored by:	DARPA, NAI Labs
@
text
@d30 1
@


1.8
log
@Don't clobber CFLAGS

Submitted by:	bde
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.7 2001/06/04 19:47:52 markm Exp $
d28 1
a28 1
SHLIB_NAME=	pam_kerberosIV.so
@


1.7
log
@Big module cleanup.

Move common stuff into Makefile.inc, and tidy up all the Makefiles
as a result.

Build new modules.

Put a commented-out dependancy on libpam for the (shared) modules.
I can't bring this in just yet, as the dependancy (modules->libpam)
is reversed for the static case (libpam->modules).
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.6 2001/01/06 06:16:28 obrien Exp $
d30 1
a30 1
CFLAGS=		-DKERBEROS
@


1.6
log
@Use a unified libgcc rather than a seperate one for threaded and
non-threaded programs.  This provides threaded programs with the
needed exception frame symbols.

parts submitted by:	Max Khon <fjoe@@iclub.nsu.ru>
PR:	23252
@
text
@d25 1
a25 3
#	$FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.5 2000/02/24 22:24:36 markm Exp $

PAMDIR=		${.CURDIR}/../../../../contrib/libpam
d30 3
a32 14
CFLAGS+=	-Wall
CFLAGS+=	-I${PAMDIR}/libpam/include
CFLAGS+=	-I${.CURDIR}/../../libpam
CFLAGS+=	-DKERBEROS
DPADD+=		${LIBKRB}
LDADD+=		-lkrb
.if !defined(NOSECURE)
DPADD+=		${LIBCRYPTO}
LDADD+=		-lcrypto
.endif
DPADD+=		${LIBCOM_ERR}
LDADD+=		-lcom_err
INTERNALLIB=	yes
INTERNALSTATICLIB=yes
@


1.5
log
@Use libcrypto instead of libdes.

Also - OpenSSH blesses us with a module for PAM.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.4 1999/11/14 15:48:29 marcel Exp $
d42 2
a43 2
DPADD+=		${LIBGCC_PIC} ${LIBCOM_ERR}
LDADD+=		-lgcc_pic -lcom_err
@


1.5.2.1
log
@MFC: use a unified libgcc and ensure strong references to pthread functions
     weakly referenced in libgcc.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.5 2000/02/24 22:24:36 markm Exp $
d42 2
a43 2
DPADD+=		${LIBCOM_ERR}
LDADD+=		-lcom_err
@


1.5.2.2
log
@MFC: FreeBSD PAM stuff and cleaned up modules build. New modules.
@
text
@d25 3
a27 1
#	$FreeBSD$
d32 14
a45 3
CFLAGS=		-DKERBEROS
DPADD=		${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
LDADD=		-lkrb -lcrypto -lcom_err
@


1.5.2.3
log
@Back out the extremely unwise PAM MFC that I did about 4 days ago.

My apologies to all. Please pass the pointy hat.
@
text
@a26 2
PAMDIR=		${.CURDIR}/../../../../contrib/libpam

d30 3
a32 14
CFLAGS+=	-Wall
CFLAGS+=	-I${PAMDIR}/libpam/include
CFLAGS+=	-I${.CURDIR}/../../libpam
CFLAGS+=	-DKERBEROS
DPADD+=		${LIBKRB}
LDADD+=		-lkrb
.if !defined(NOSECURE)
DPADD+=		${LIBCRYPTO}
LDADD+=		-lcrypto
.endif
DPADD+=		${LIBCOM_ERR}
LDADD+=		-lcom_err
INTERNALLIB=	yes
INTERNALSTATICLIB=yes
@


1.5.2.3.6.1
log
@Merge OpenSSH, OPIE, PAM and a number of dependencies from -STABLE.
@
text
@d27 1
d30 1
d44 2
@


1.5.2.4
log
@Bring -STABLE's libpam to a somewhat more functional state in preparation
for the OpenSSH upgrade:

 - update pam_opie(8) to not emit fake challenges when the no_fake_prompts
   option was specified, and add a man page.

 - add pam_opieaccess(8) and a man page.

 - synch pam_radius(8), pam_ssh(8) and pam_tacplus(8) with -CURRENT.

 - sync pam_unix(8) with its state in -CURRENT prior to the OpenPAM import.

 - bring in bits of OpenPAM and some of Mark's additions to Linux-PAM to
   support the updated modules.

Sponsored by:   DARPA, NAI Labs
@
text
@d27 1
d30 1
d44 2
@


1.5.2.5
log
@MFC:
Makefile.inc1 1.361
bin/ed/Makefile 1.22
lib/Makefile 1.157
lib/libcrypt/Makefile 1.31
lib/libfetch/Makefile 1.41
lib/libpam/modules/modules.inc 1.17
libexec/Makefile 1.61
share/examples/etc/make.conf 1.215
share/man/man5/make.conf.5 1.73
usr.bin/Makefile 1.239
usr.bin/fetch/Makefile 1.14
usr.sbin/pkg_install/Makefile 1.14
usr.sbin/pkg_install/add/Makefile 1.17
usr.sbin/pkg_install/info/Makefile 1.17
usr.sbin/pkg_install/version/Makefile 1.12
usr.sbin/ppp/Makefile 1.95, 1.96
usr.sbin/pppd/Makefile 1.25
usr.sbin/sendmail/Makefile 1.40
usr.sbin/tcpdump/tcpdump/Makefile 1.36

Retire the useless NOSECURE knob.

The motivation for this MFC is that MAKE_KERBEROS4 and MAKE_KERBEROS5
are meant to be buildable by various makefiles when NOSECURE is set but
this was broken because Kerberos depends on e.g. des(3) from OpenSSL
which wasn't built when NOSECURE was defined. Fixing the NOSECURE knob
however would have meant to make it do the same as the NOCRYPT knob.
If you had been using the NOSECURE build knob please now use the NOCRYPT
knob instead.

Discussed with:	ru (some months ago)
Reviewed by:	ru (some months ago)
Approved by:	markm (telnet and secure bits, some months ago), kensmith (re)
@
text
@d36 1
d39 1
@


1.5.2.6
log
@Switch importer
@
text
@d25 1
a25 1
#	$FreeBSD: stable/4/lib/libpam/modules/pam_kerberosIV/Makefile 138803 2004-12-13 13:50:02Z marius $
@


1.4
log
@Don't include Kerberos if NOCRYPT is defined, because it isn't build
if NOCRYPT is defined. Likewise, don't include DES if NOSECURE is
defined.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.3 1999/09/20 06:23:16 markm Exp $
d39 2
a40 2
DPADD+=		${LIBDES}
LDADD+=		-ldes
@


1.3
log
@Common Error libraries are needed here.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.2 1999/01/20 21:55:25 jdp Exp $
d36 8
a43 2
DPADD+=		${LIBKRB} ${LIBDES} ${LIBGCC_PIC} ${LIBCOM_ERR}
LDADD+=		-lkrb -ldes -lgcc_pic -lcom_err
@


1.2
log
@Make it possible to use PAM in statically-linked applications.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_kerberosIV/Makefile,v 1.1.1.1 1998/11/18 01:44:37 jdp Exp $
d36 2
a37 2
DPADD+=		${LIBKRB} ${LIBDES} ${LIBGCC_PIC}
LDADD+=		-lkrb -ldes -lgcc_pic
@


1.1
log
@Initial revision
@
text
@d25 1
a25 1
#	$FreeBSD$
d29 2
a30 1
PROG=		pam_kerberosIV.so
a31 1
CFLAGS+=	-fpic
a35 2
LDFLAGS+=	-shared
LDFLAGS+=	-L../../libpam
d37 3
a39 2
LDADD+=		-lpam -lkrb -ldes -lgcc_pic
NOMAN=		true
d41 1
a41 1
.include <bsd.prog.mk>
@


1.1.1.1
log
@Build structure for contribified Linux-PAM, plus some home-grown
modules for FreeBSD's standard authentication methods.  Although
the Linux-PAM modules are present in the contrib tree, we don't
use any of them.

The main library "libpam" is composed of sources taken from three
places.  First are the standard Linux-PAM libpam sources from the
contrib tree.  Second are the Linux-PAM "libpam_misc" sources, also
from the contrib tree.  In Linux these form a separate library.
But as Mike Smith pointed out to me, that seems pointless, so I
have combined them into the libpam library.  Third are some additional
sources from the "src/lib/libpam" tree with some common functions
that make it easier to write modules.  Those I wrote myself.

This work has been donated to FreeBSD by Juniper Networks, Inc.
@
text
@@
