head	1.7;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2;
locks; strict;
comment	@# @;


1.7
date	2012.11.17.06.01.14;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2010.06.13.12.41.33;	author lioux;	state Exp;
branches;
next	1.5;

1.5
date	2009.03.26.03.33.51;	author lioux;	state Exp;
branches;
next	1.4;

1.4
date	2006.05.13.04.15.11;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2005.11.28.18.20.23;	author lioux;	state Exp;
branches;
next	1.2;

1.2
date	2004.07.10.05.25.30;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2004.06.26.02.37.46;	author lioux;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Switch exporter over
@
text
@# New ports collection makefile for:	pam_pGina
# Date created:		Thu Apr 29 16:03:45 UTC 2004
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@@FreeBSD.org>
#
# $FreeBSD: head/security/pam_pgina/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	pam_pGina
PORTVERSION=	1.1.3
CATEGORIES=	security
MASTER_SITES=	http://pgina.xpasystems.com/files/
DISTNAME=	pgina_pam-${PORTVERSION}

MAINTAINER=	lioux@@FreeBSD.org
COMMENT=	Daemon for allowing a pGina plugin to authenticate against Unix PAM

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/GPL

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_OPENSSL=	yes
USE_PERL5_RUN=	yes
MAKE_JOBS_SAFE=	yes

post-patch:
# PREFIX safeness
# Use correct PAM 'password change' service name
	@@${REINPLACE_CMD} -E \
		-e 's|/etc/|${PREFIX}/etc/|' \
		-e 's|passwd|password|' \
		${WRKSRC}/src/pgina_pam_server.c
# {OPENSSL,PERL} location safeness
# PREFIX safeness
	@@${REINPLACE_CMD} -E \
		-e 's|/usr/bin/openssl|${OPENSSLBASE}/bin/openssl|' \
		-e 's|/usr/bin/perl|${PERL}|' \
		-e 's|/etc/|${PREFIX}/etc/|' \
		${WRKSRC}/make_cert.pl

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/src/${DISTNAME:S/-${PORTVERSION}$$//} \
		${PREFIX}/sbin
# share scripts
	@@${MKDIR} ${PREFIX}/share/${DISTNAME:S/-${PORTVERSION}$$//}
	@@${INSTALL_SCRIPT} ${WRKSRC}/make_cert.pl \
		${PREFIX}/share/${DISTNAME:S/-${PORTVERSION}$$//}
# etc config files
	@@${MKDIR} ${PREFIX}/etc/${DISTNAME:S/-${PORTVERSION}$$//}
	@@${INSTALL_DATA} ${WRKSRC}/authasst.conf/* \
		${PREFIX}/etc/${DISTNAME:S/-${PORTVERSION}$$//}

.include <bsd.port.mk>
@


1.6
log
@Add LICENSE* information
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@Mark MAKE_JOBS_SAFE for SMP compilation
@
text
@d17 3
@


1.4
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d21 1
@


1.3
log
@Update MASTER_SITES
@
text
@a20 1
USE_REINPLACE=	yes
@


1.2
log
@Update MASTER_SITES

Submitted by:	pointyhat via kris
@
text
@d11 1
a11 1
MASTER_SITES=	http://pgina.xpasystems.com/downloads/pam/
@


1.1
log
@New port pam_pGina version 1.1.3: Daemon for allowing a pGina plugin
to authenticate against Unix PAM
@
text
@d11 1
a11 1
MASTER_SITES=	http://pgina.xpasystems.com/downloads/
@

