head	1.1;
access;
symbols
	REL9_0_0:1.1
	REL9_1_ALPHA1:1.1
	REL9_0_RC1:1.1
	REL9_0_BETA4:1.1
	REL9_0_STABLE:1.1.0.8
	REL9_0_BETA3:1.1
	REL9_0_BETA2:1.1
	REL9_0_BETA1:1.1
	REL9_0_ALPHA5_BRANCH:1.1.0.6
	REL9_0_ALPHA5:1.1
	REL9_0_ALPHA4:1.1
	REL9_0_ALPHA4_BRANCH:1.1.0.4
	REL8_5_ALPHA3:1.1
	REL8_5_ALPHA3_BRANCH:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2009.11.18.21.57.56;	author tgl;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Add a hook to CREATE/ALTER ROLE to allow an external module to check the
strength of database passwords, and create a sample implementation of
such a hook as a new contrib module "passwordcheck".

Laurenz Albe, reviewed by Takahiro Itagaki
@
text
@# $PostgreSQL$

MODULE_big = passwordcheck
OBJS = passwordcheck.o

# uncomment the following two lines to enable cracklib support
# PG_CPPFLAGS = -DUSE_CRACKLIB '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"'
# SHLIB_LINK = -lcrack

ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/passwordcheck
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
@
