head	1.28;
access;
symbols
	RELEASE_8_3_0:1.27
	RELEASE_9_0_0:1.27
	RELEASE_7_4_0:1.26
	RELEASE_8_2_0:1.26
	RELEASE_6_EOL:1.25
	RELEASE_8_1_0:1.23
	RELEASE_7_3_0:1.23
	RELEASE_8_0_0:1.23
	RELEASE_7_2_0:1.21
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.18
	RELEASE_4_EOL:1.17
	RELEASE_6_2_0:1.17
	RELEASE_6_1_0:1.16
	RELEASE_5_5_0:1.16
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.11
	RELEASE_5_2_0:1.11
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.6
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.3
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.1;
locks; strict;
comment	@# @;


1.28
date	2012.11.17.06.01.14;	author svnexp;	state Exp;
branches;
next	1.27;

1.27
date	2011.03.19.13.15.30;	author ale;	state Exp;
branches;
next	1.26;

1.26
date	2010.12.04.07.33.30;	author ade;	state Exp;
branches;
next	1.25;

1.25
date	2010.10.16.11.52.34;	author ade;	state Exp;
branches;
next	1.24;

1.24
date	2010.09.15.18.35.10;	author ade;	state Exp;
branches;
next	1.23;

1.23
date	2009.08.22.00.34.59;	author amdmi3;	state Exp;
branches;
next	1.22;

1.22
date	2009.08.02.19.35.32;	author mezz;	state Exp;
branches;
next	1.21;

1.21
date	2008.08.20.00.57.13;	author ade;	state Exp;
branches;
next	1.20;

1.20
date	2007.10.15.20.09.06;	author anders;	state Exp;
branches;
next	1.19;

1.19
date	2007.09.30.06.14.08;	author edwin;	state Exp;
branches;
next	1.18;

1.18
date	2007.02.11.22.26.52;	author anders;	state Exp;
branches;
next	1.17;

1.17
date	2006.05.13.04.15.11;	author edwin;	state Exp;
branches;
next	1.16;

1.16
date	2005.10.10.15.06.08;	author mnag;	state Exp;
branches;
next	1.15;

1.15
date	2005.09.16.20.56.21;	author mnag;	state Exp;
branches;
next	1.14;

1.14
date	2004.07.17.12.00.03;	author anders;	state Exp;
branches;
next	1.13;

1.13
date	2004.04.11.23.17.26;	author kris;	state Exp;
branches;
next	1.12;

1.12
date	2004.02.04.05.08.49;	author marcus;	state Exp;
branches;
next	1.11;

1.11
date	2003.11.06.00.10.17;	author anders;	state Exp;
branches;
next	1.10;

1.10
date	2003.07.19.11.07.04;	author anders;	state Exp;
branches;
next	1.9;

1.9
date	2003.06.01.21.29.01;	author anders;	state Exp;
branches;
next	1.8;

1.8
date	2003.06.01.21.27.03;	author anders;	state Exp;
branches;
next	1.7;

1.7
date	2003.03.07.06.10.46;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2002.04.10.22.28.01;	author anders;	state Exp;
branches;
next	1.5;

1.5
date	2002.03.15.00.31.50;	author anders;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.14.00.11.40;	author anders;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.21.15.40.44;	author dirk;	state Exp;
branches;
next	1.2;

1.2
date	2000.10.13.20.18.29;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.10.12.57.43;	author jedgar;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Switch exporter over
@
text
@# New ports collection makefile for:    pam_mysql
# Date created:				29 August 2000
# Whom:	      				Anders Nordby <anders@@fix.no>
#
# $FreeBSD: head/security/pam-mysql/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	pam_mysql
PORTVERSION=	0.7.r1
PORTREVISION=	2
CATEGORIES=	security databases
MASTER_SITES=	SF/pam-mysql/pam-mysql/0.7RC1
DISTNAME=	${PORTNAME}-0.7RC1${DISTVERSIONSUFFIX}

MAINTAINER=	anders@@FreeBSD.org
COMMENT=	A pam module for authenticating with MySQL

USE_MYSQL=	yes
GNU_CONFIGURE=	yes
USE_AUTOTOOLS=	aclocal14 autoconf libtool
ACLOCAL_ARGS=	-I ${PREFIX}/share/aclocal
CONFIGURE_ARGS=	--with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr

SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message

PLIST_FILES=	lib/pam_mysql.la lib/pam_mysql.so lib/pam_mysql.a

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.27
log
@Bump PORTREVISION for ports linking to default libmysqlclient.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.26
log
@Sync to new bsd.autotools.mk
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.25
log
@Punt autoconf267->autoconf268
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	aclocal:14 autoconf:268 libtool:22
@


1.24
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	aclocal:14 autoconf:267 libtool:22
@


1.23
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d10 1
d20 1
a20 1
USE_AUTOTOOLS=	aclocal:14 autoconf:262 libtool:22
@


1.22
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME:S/_/-/}
@


1.21
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	aclocal:14 autoconf:262 libtool:15
@


1.20
log
@Correct build, libtool is a dependency.

PR:		ports/116982
Submitted by:	Cory R. King <coryking@@mozimedia.com>
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	aclocal:14 autoconf:261 libtool:15
@


1.19
log
@[update] security/pam-mysql to 7.0RC1

	Includes fix for correct use of -lmd to find MD5 functions
	(see: http://sourceforge.net/tracker/index.php?func=detail&aid=1485390&group_id=5741&atid=105741)

Note: Used autoconf 2.61 to prevent problems with the upcoming sweep

PR:		ports/113882
Submitted by:	Angelo Turetta <aturetta@@bestunion.it>
Approved by:	maintainer timeout
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	aclocal:14 autoconf:261
d27 1
a27 1
PLIST_FILES=	lib/pam_mysql.la lib/pam_mysql.so
@


1.18
log
@Install DOCSDIR with correct permissions.

Submitted by:	stas
@
text
@d9 1
a9 1
PORTVERSION=	0.6.2
d13 1
d19 3
a21 1
HAS_CONFIGURE=	yes
@


1.17
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d32 1
a32 1
	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} ${DOCSDIR}
@


1.16
log
@Update to 0.6.2

PR:		86576
Approved by:	anders (maintainer timeout, 14 days)
@
text
@a16 1
USE_REINPLACE=	yes
@


1.15
log
@Update to 0.6.0
Submitted to ports@@ for test. Without reply.

PR:		ports/83748
Submitted by:	Marcus Grando <marcus@@corp.grupos.com.br>
Approved by:	pav (mentor), anders (maintainer timeout, 58 days)
@
text
@d9 1
a9 1
PORTVERSION=	0.6.0
d22 3
d33 4
a36 4
	@@${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
d38 1
a38 5
	@@${ECHO_MSG} "================================================================================"
	@@${ECHO_MSG} "Copy/move/symlink ${PREFIX}/lib/pam_mysql.so to /usr/lib/pam_mysql.so"
	@@${ECHO_MSG} "to be able to use it. Read files in ${PREFIX}/share/doc/pam_mysql"
	@@${ECHO_MSG} "for info on how to set up."
	@@${ECHO_MSG} "================================================================================"
@


1.14
log
@Do not run in debug-mode by default.
@
text
@d9 1
a9 2
PORTVERSION=	0.5
PORTREVISION=	1
d19 2
a20 2
BROKEN_WITH_MYSQL=	41
USE_GMAKE=	yes
d22 1
a22 1
WRKSRC=		${WRKDIR}/${PORTNAME}
d24 3
a26 1
.include <bsd.port.pre.mk>
d28 1
a28 12
post-patch:
	${REINPLACE_CMD} -e "s@@^#define DEBUG@@#undef DEBUG@@" ${WRKSRC}/pam_mysql.c

pre-build:
	@@cd ${WRKSRC} && ${GMAKE} clean

do-build:
	${CC} -O -pipe -fpic -DPIC -Wall -I${LOCALBASE}/include -c ${WRKSRC}/pam_mysql.c -o ${WRKSRC}/pam_mysql.o
	${LD} -x --shared -o ${WRKSRC}/pam_mysql.so ${WRKSRC}/pam_mysql.o -lpam -lcrypt -L${LOCALBASE}/lib/mysql -lmysqlclient

do-install:
	@@${INSTALL_DATA} ${WRKSRC}/pam_mysql.so ${PREFIX}/lib
d31 3
a33 3
	@@${INSTALL_DATA} ${WRKSRC}/Changelog ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/Readme ${DOCSDIR}
a34 2

post-install:
d41 1
a41 1
.include <bsd.port.post.mk>
@


1.13
log
@Move post-patch target to pre-build so that gmake is used after it is
added.
@
text
@d18 1
d26 3
@


1.12
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d26 1
a26 1
post-patch:
@


1.11
log
@Use PORTDOCS, DOCSDIR and USE_MYSQL.
Use LOCALBASE instad of PREFIX to locate MySQL includes.
Use BROKEN_WITH_MYSQL to indicate that pam-mysql does not work with MySQL
4.1.

PR:		57439
Submitted by:	Sergey Matveychuk <sem@@ciam.ru>
@
text
@d10 1
@


1.10
log
@Fix MASTER_SITE_SUBDIR so that the distfile is actually fetchable.

PR:		54608
Submitted by:	Mathieu Arnold <m@@absolight.net>
@
text
@d17 2
a18 2
LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client

d29 2
a30 2
	${CC} -O -pipe -fpic -DPIC -Wall -I${PREFIX}/include -c ${WRKSRC}/pam_mysql.c -o ${WRKSRC}/pam_mysql.o
	${LD} -x --shared -o ${WRKSRC}/pam_mysql.so ${WRKSRC}/pam_mysql.o -lpam -lcrypt -L${PREFIX}/lib/mysql -lmysqlclient
d34 6
a39 4
	@@${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/pam_mysql
	@@${INSTALL_DATA} ${WRKSRC}/Changelog ${PREFIX}/share/doc/pam_mysql/
	@@${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/pam_mysql/
	@@${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/share/doc/pam_mysql/
d42 5
a46 5
	@@${ECHO} "================================================================================"
	@@${ECHO} "Copy/move/symlink ${PREFIX}/lib/pam_mysql.so to /usr/lib/pam_mysql.so"
	@@${ECHO} "to be able to use it. Read files in ${PREFIX}/share/doc/pam_mysql"
	@@${ECHO} "for info on how to set up."
	@@${ECHO} "================================================================================"
@


1.9
log
@Use MASTER_SITE_SOURCEFORGE, this is a SourceForge project.
@
text
@d12 1
a12 1
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.8
log
@Update to 0.5.
Unbreak on -current.

PR:		ports/48239
Submitted by:	Sergey Matveychuk <sem@@ciam.ru>
@
text
@d11 2
a12 2
MASTER_SITES=	http://download.sourceforge.net/pam-mysql/ \
		http://atreides.freenix.no/~anders/
@


1.7
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.7
a23 4

.if !exists(/usr/include/security/_pam_types.h) && ${OSVERSION} >= 500031
BROKEN=		"Does not work with OpenPAM (yet)"
.endif
@


1.6
log
@Mark as broken for -current with OpenPAM. Does not work yet.
@
text
@d15 1
@


1.5
log
@Master site updates: www.freenix.no => atreides.freenix.no for these
files.
@
text
@d22 6
d49 1
a49 1
.include <bsd.port.mk>
@


1.4
log
@Correct MAINTAINER e-mail address for ports I maintain.
@
text
@d12 1
a12 1
		http://www.freenix.no/~anders/
@


1.3
log
@Switch from mysql322-{client,server} to mysql323-{client,server}.

mysql323-client installs libmysqlclient.so.10 (instead of
libmysqlclient.so.6).

mysql323-{client,server} are production quality, now (according to
MySQL AB at least).
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam-mysql/Makefile,v 1.2 2000/10/13 20:18:29 ade Exp $
d14 1
a14 1
MAINTAINER=	anders@@fix.no
@


1.2
log
@Update to 0.4.7
Use strlcpy rather than strncpy etc.

PR:		21511
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam-mysql/Makefile,v 1.1 2000/09/10 12:57:43 jedgar Exp $
d16 1
a16 1
LIB_DEPENDS=	mysqlclient.6:${PORTSDIR}/databases/mysql322-client
@


1.1
log
@New port: pam-mysql

This is a port of the Linux MySQL PAM module. You can authenticate any
PAMified service with MySQL using this module.

PR:		20915
Submitted by:	Anders Nordby <anders@@fix.no>
@
text
@d5 1
a5 1
# $FreeBSD$
d9 1
a9 1
PORTVERSION=	0.4
@

