head	1.7;
access;
symbols
	RELENG_4_11_0_RELEASE:1.2.2.2
	RELENG_4_11:1.2.2.2.0.16
	RELENG_4_11_BP:1.2.2.2
	RELENG_4_10_0_RELEASE:1.2.2.2
	RELENG_4_10:1.2.2.2.0.14
	RELENG_4_10_BP:1.2.2.2
	RELENG_4_9_0_RELEASE:1.2.2.2
	RELENG_4_9:1.2.2.2.0.12
	RELENG_4_9_BP:1.2.2.2
	RELENG_5_1_0_RELEASE:1.6
	RELENG_5_1:1.6.0.2
	RELENG_5_1_BP:1.6
	RELENG_4_8_0_RELEASE:1.2.2.2
	RELENG_4_8:1.2.2.2.0.10
	RELENG_4_8_BP:1.2.2.2
	RELENG_5_0_0_RELEASE:1.5
	RELENG_5_0:1.5.0.2
	RELENG_5_0_BP:1.5
	RELENG_4_7_0_RELEASE:1.2.2.2
	RELENG_4_7:1.2.2.2.0.8
	RELENG_4_7_BP:1.2.2.2
	RELENG_4_6_2_RELEASE:1.2.2.2
	RELENG_4_6_1_RELEASE:1.2.2.2
	RELENG_4_6_0_RELEASE:1.2.2.2
	RELENG_4_6:1.2.2.2.0.6
	RELENG_4_6_BP:1.2.2.2
	RELENG_4_5_0_RELEASE:1.2.2.2
	RELENG_4_5:1.2.2.2.0.4
	RELENG_4_5_BP:1.2.2.2
	RELENG_4_4_0_RELEASE:1.2.2.2
	RELENG_4_4:1.2.2.2.0.2
	RELENG_4_4_BP:1.2.2.2
	RELENG_4:1.2.0.2;
locks; strict;
comment	@# @;


1.7
date	2003.06.01.11.50.35;	author des;	state dead;
branches;
next	1.6;

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

1.5
date	2002.04.10.18.07.05;	author ru;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.05.21.56.25;	author des;	state Exp;
branches;
next	1.3;

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

1.2
date	2001.06.04.19.47.56;	author markm;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2001.05.14.11.23.58;	author markm;	state Exp;
branches;
next	;

1.2.2.1
date	2001.06.07.09.37.14;	author markm;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2001.06.11.15.28.52;	author markm;	state dead;
branches;
next	;


desc
@@


1.7
log
@Retire pam_wheel(8) (which has been disconnected for quite a while) and
pam_ftp(8).
@
text
@# Copyright 2001 Mark R V Murray
# 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_wheel/Makefile,v 1.6 2003/03/09 20:06:38 obrien Exp $

LIB=	pam_wheel
SRCS=	pam_wheel.c
MAN=	pam_wheel.8

.include <bsd.lib.mk>
@


1.6
log
@style.Makefile(5) police
(I've tried to keep to the spirit of the original formatting)

Reviewed by:	des
@
text
@d25 1
a25 1
# $FreeBSD$
@


1.5
log
@Moved SHLIB_NAME definition into one place.

Approved by:	des
@
text
@d27 3
a29 3
LIB=		pam_wheel
SRCS=		pam_wheel.c
MAN=		pam_wheel.8
@


1.4
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
@a27 1
SHLIB_NAME=	${LIB}.so.${SHLIB_MAJOR}
@


1.3
log
@Clean up (and in some cases write) the PAM mudules, using
o The new options-processing API
o The new DEBUG-logging API

Add man(1) pages for ALL modules. MDOC-Police welcome
to check this.

Audit, clean up while I'm here.
@
text
@d25 1
a25 1
# $FreeBSD: src/lib/libpam/modules/pam_wheel/Makefile,v 1.2 2001/06/04 19:47:56 markm Exp $
d28 1
a28 1
SHLIB_NAME=	pam_wheel.so
@


1.2
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_wheel/Makefile,v 1.1 2001/05/14 11:23:58 markm Exp $
d30 1
a32 2

.PATH:		${PAMDIR}/modules/pam_wheel
@


1.2.2.1
log
@MFC: FreeBSD PAM stuff and cleaned up modules build. New modules.
@
text
@d25 1
a25 1
# $FreeBSD$
@


1.2.2.2
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 1
# $FreeBSD: src/lib/libpam/modules/pam_wheel/Makefile,v 1.2.2.1 2001/06/07 09:37:14 markm Exp $
@


1.1
log
@Bring in a few useful PAM modules.

pam_krb5 is a Kerberos 5 (Heimdal) authentication module.

pam_nologin checks for /etc/nologin and does the "usual stuff"
	if it is found, otherwise it silently succeeds.

pam_rootok silently succeeds if the user is root, otherwise
	it fails.

pam_wheel silently succeeds if the user is a member of group
	"wheel" (or another nominated group), and fails
	otherwise.

There is an issue with kerberosIV and kerberos5 - if both are
being built, then static linking fails with duplicate symbols.
This will take a bit of work to sort out in the kerberii.
@
text
@d25 1
a25 5
# $FreeBSD$

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

.PATH:		${PAMDIR}/modules/pam_wheel
a29 4
CFLAGS+=	-Wall
CFLAGS+=	-I${PAMDIR}/libpam/include
INTERNALLIB=	yes
INTERNALSTATICLIB=yes
d32 2
@

