head	1.4;
access;
symbols
	RELENG_4_11_0_RELEASE:1.2.6.4
	RELENG_4_11:1.2.6.4.0.10
	RELENG_4_11_BP:1.2.6.4
	RELENG_4_10_0_RELEASE:1.2.6.4
	RELENG_4_10:1.2.6.4.0.8
	RELENG_4_10_BP:1.2.6.4
	RELENG_4_9_0_RELEASE:1.2.6.4
	RELENG_4_9:1.2.6.4.0.6
	RELENG_4_9_BP:1.2.6.4
	RELENG_4_8_0_RELEASE:1.2.6.4
	RELENG_4_8:1.2.6.4.0.4
	RELENG_4_8_BP:1.2.6.4
	RELENG_4_7_0_RELEASE:1.2.6.4
	RELENG_4_7:1.2.6.4.0.2
	RELENG_4_7_BP:1.2.6.4
	RELENG_4_6_2_RELEASE:1.2.6.3.6.1
	RELENG_4_6_1_RELEASE:1.2.6.3.6.1
	RELENG_4_6_0_RELEASE:1.2.6.3
	RELENG_4_6:1.2.6.3.0.6
	RELENG_4_6_BP:1.2.6.3
	RELENG_4_5_0_RELEASE:1.2.6.3
	RELENG_4_5:1.2.6.3.0.4
	RELENG_4_5_BP:1.2.6.3
	RELENG_4_4_0_RELEASE:1.2.6.3
	RELENG_4_4:1.2.6.3.0.2
	RELENG_4_4_BP:1.2.6.3
	RELENG_4_3_0_RELEASE:1.2.6.1
	RELENG_4_3:1.2.6.1.0.2
	RELENG_4_3_BP:1.2.6.1
	RELENG_4_2_0_RELEASE:1.2
	RELENG_4_1_1_RELEASE:1.2
	PRE_SMPNG:1.2
	RELENG_4_1_0_RELEASE:1.2
	RELENG_3_5_0_RELEASE:1.2
	RELENG_4_0_0_RELEASE:1.2
	RELENG_4:1.2.0.6
	RELENG_4_BP:1.2
	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.4
date	2001.06.04.19.47.54;	author markm;	state dead;
branches;
next	1.3;

1.3
date	2001.01.06.06.16.30;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	99.01.20.21.55.27;	author jdp;	state Exp;
branches
	1.2.6.1;
next	1.1;

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

1.2.6.1
date	2001.01.06.23.16.57;	author obrien;	state Exp;
branches;
next	1.2.6.2;

1.2.6.2
date	2001.06.07.09.37.11;	author markm;	state Exp;
branches;
next	1.2.6.3;

1.2.6.3
date	2001.06.11.15.28.49;	author markm;	state Exp;
branches
	1.2.6.3.6.1;
next	1.2.6.4;

1.2.6.4
date	2002.07.03.21.41.30;	author des;	state Exp;
branches;
next	1.2.6.5;

1.2.6.5
date	2012.11.17.07.23.59;	author svnexp;	state Exp;
branches;
next	;

1.2.6.3.6.1
date	2002.07.16.12.33.25;	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.4
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
@# 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_skey/Makefile,v 1.3 2001/01/06 06:16:30 obrien Exp $

PAMDIR=		${.CURDIR}/../../../../contrib/libpam

LIB=		pam_skey
SHLIB_NAME=	pam_skey.so
SRCS=		pam_skey.c
CFLAGS+=	-Wall
CFLAGS+=	-I${PAMDIR}/libpam/include
CFLAGS+=	-I${.CURDIR}/../../libpam
DPADD+=		${LIBSKEY}
LDADD+=		-lskey
INTERNALLIB=	yes
INTERNALSTATICLIB=yes

.include <bsd.lib.mk>
@


1.3
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 1
#	$FreeBSD: src/lib/libpam/modules/pam_skey/Makefile,v 1.2 1999/01/20 21:55:27 jdp Exp $
@


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


1.2.6.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_skey/Makefile,v 1.2 1999/01/20 21:55:27 jdp Exp $
d35 2
a36 2
DPADD+=		${LIBSKEY}
LDADD+=		-lskey
@


1.2.6.2
log
@MFC: FreeBSD PAM stuff and cleaned up modules build. New modules.
@
text
@d25 3
a27 1
#	$FreeBSD: src/lib/libpam/modules/pam_skey/Makefile,v 1.2.6.1 2001/01/06 23:16:57 obrien Exp $
d32 3
d37 2
@


1.2.6.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
@d25 1
a25 3
#	$FreeBSD$

PAMDIR=		${.CURDIR}/../../../../contrib/libpam
a29 3
CFLAGS+=	-Wall
CFLAGS+=	-I${PAMDIR}/libpam/include
CFLAGS+=	-I${.CURDIR}/../../libpam
a31 2
INTERNALLIB=	yes
INTERNALSTATICLIB=yes
@


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


1.2.6.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
d37 2
@


1.2.6.5
log
@Switch importer
@
text
@d25 1
a25 1
#	$FreeBSD: stable/4/lib/libpam/modules/pam_skey/Makefile 99387 2002-07-03 21:41:31Z des $
@


1.1
log
@Initial revision
@
text
@d25 1
a25 1
#	$FreeBSD$
d29 2
a30 1
PROG=		pam_skey.so
a31 1
CFLAGS+=	-fpic
a34 2
LDFLAGS+=	-shared
LDFLAGS+=	-L../../libpam
d36 3
a38 2
LDADD+=		-lpam -lskey -lgcc_pic
NOMAN=		true
d40 1
a40 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
@@
