head	1.25;
access;
symbols
	RELEASE_8_3_0:1.23
	RELEASE_9_0_0:1.23
	RELEASE_7_4_0:1.23
	RELEASE_8_2_0:1.23
	RELEASE_6_EOL:1.23
	RELEASE_8_1_0:1.23
	RELEASE_7_3_0:1.23
	RELEASE_8_0_0:1.23
	RELEASE_7_2_0:1.23
	RELEASE_7_1_0:1.23
	RELEASE_6_4_0:1.23
	RELEASE_5_EOL:1.23
	RELEASE_7_0_0:1.23
	RELEASE_6_3_0:1.23
	PRE_XORG_7:1.23
	RELEASE_4_EOL:1.23
	RELEASE_6_2_0:1.23
	RELEASE_6_1_0:1.21
	RELEASE_5_5_0:1.21
	RELEASE_6_0_0:1.21
	RELEASE_5_4_0:1.21
	RELEASE_4_11_0:1.21
	RELEASE_5_3_0:1.21
	RELEASE_4_10_0:1.21
	RELEASE_5_2_1:1.18
	RELEASE_5_2_0:1.18
	RELEASE_4_9_0:1.18
	RELEASE_5_1_0:1.13
	RELEASE_4_8_0:1.12
	RELEASE_5_0_0:1.11
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.25
date	2012.11.17.06.01.14;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2012.10.22.09.28.54;	author timur;	state Exp;
branches;
next	1.23;

1.23
date	2006.08.15.01.04.50;	author clsung;	state Exp;
branches;
next	1.22;

1.22
date	2006.05.13.04.15.11;	author edwin;	state Exp;
branches;
next	1.21;

1.21
date	2004.03.11.10.22.35;	author osa;	state Exp;
branches;
next	1.20;

1.20
date	2004.03.11.09.58.04;	author osa;	state Exp;
branches;
next	1.19;

1.19
date	2004.02.04.05.08.50;	author marcus;	state Exp;
branches;
next	1.18;

1.18
date	2003.09.20.08.53.39;	author obraun;	state Exp;
branches;
next	1.17;

1.17
date	2003.08.29.20.45.45;	author obraun;	state Exp;
branches;
next	1.16;

1.16
date	2003.08.28.05.26.09;	author obraun;	state Exp;
branches;
next	1.15;

1.15
date	2003.08.27.13.41.30;	author obraun;	state Exp;
branches;
next	1.14;

1.14
date	2003.08.26.12.57.08;	author nectar;	state Exp;
branches;
next	1.13;

1.13
date	2003.05.07.01.14.46;	author kuriyama;	state Exp;
branches;
next	1.12;

1.12
date	2003.02.20.18.59.09;	author knu;	state Exp;
branches;
next	1.11;

1.11
date	2002.11.10.16.47.55;	author lioux;	state Exp;
branches;
next	1.10;

1.10
date	2002.11.07.12.54.46;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2002.11.06.22.46.54;	author adamw;	state Exp;
branches;
next	1.8;

1.8
date	2002.11.04.22.57.36;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2002.11.03.21.35.39;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.21.02.31.08;	author nsayer;	state Exp;
branches;
next	1.5;

1.5
date	2002.02.20.06.56.19;	author nsayer;	state Exp;
branches;
next	1.4;

1.4
date	2002.01.06.06.20.21;	author will;	state Exp;
branches;
next	1.3;

1.3
date	2001.12.17.19.05.16;	author nsayer;	state Exp;
branches;
next	1.2;

1.2
date	2001.11.26.14.13.20;	author sobomax;	state Exp;
branches;
next	1.1;

1.1
date	2001.06.20.13.38.55;	author nsayer;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Switch exporter over
@
text
@# New ports collection makefile for:    pam_smb
# Date created:                         20 Jun 2001
# Whom:                                 nsayer
#
# $FreeBSD: head/security/pam_smb/Makefile 306266 2012-10-22 09:28:54Z timur $

PORTNAME=	pam_smb
PORTVERSION=	2.0.0.r6
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SAMBA} \
		http://www.csn.ul.ie/~airlied/pam_smb/v2/
MASTER_SITE_SUBDIR=	samba/pam_smb/v2
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.r/-rc/}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	NetBIOS domain logon PAM module

USE_LDCONFIG=	yes
HAS_CONFIGURE=	yes
USE_GMAKE=	yes
USE_PERL5=	yes
STARTUP_SCRIPT=	pam_smbd.sh.sample

WRKSRC=		${WRKDIR}/${DISTNAME}

post-patch:
	@@${REINPLACE_CMD} -e s,%%PREFIX%%,${PREFIX}, ${WRKSRC}/pamsmbd/pam_read_conf.c
	@@${REINPLACE_CMD} -e "s,-fPIC,-fPIC -DPIC," \
		${WRKSRC}/configure ${WRKSRC}/configure.in

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pamsmbd/pamsmbd ${PREFIX}/sbin/
	${INSTALL_DATA} ${WRKSRC}/pamsmbm/pam_smb_auth.so ${PREFIX}/lib/
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
.endif
	${INSTALL_DATA} ${WRKSRC}/pam_smb.conf.example ${PREFIX}/etc/
	${INSTALL_DATA} ${WRKSRC}/pam_smb.conf.example2 ${PREFIX}/etc/
	${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d/
	${REINPLACE_CMD} -e s,%%PREFIX%%,${PREFIX}, ${PREFIX}/etc/rc.d/${STARTUP_SCRIPT}
	${RM} ${PREFIX}/etc/rc.d/${STARTUP_SCRIPT}.bak

post-install:
	@@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.24
log
@SVN rev 306266 on 2012-10-22 09:28:54Z by timur

Adjust for usage of new MASTER_SITE_SAMBA

Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.23
log
@- s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include security/ sysutils/ textproc/ maintained by ports@@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
@
text
@d12 1
a12 1
MASTER_SITE_SUBDIR=	pam_smb/v2
@


1.22
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d18 1
a18 1
INSTALLS_SHLIB=	yes
@


1.21
log
@Update to latest version 2.0.0rc6, released in September, 2003.
Announce available at
http://mailman.csn.ul.ie/pipermail/pam_smb/2003q3/000279.html
Remove http://pamsmb.sourceforge.net/v2/ from MASTER_SITES,
because it doesn't containes the latest version.

Submitted by:	Kimura Fuyuki <fuyuki@@nigredo.org>
PR:		63861
@
text
@a21 1
USE_REINPLACE=	yes
@


1.20
log
@Add MASTER_SITE_SAMBA for samba official mirrors.
Utilize MASTER_SITE_SAMBA for SMB-specific ports.

Submitted by:	Kimura Fuyuki <fuyuki@@nigredo.org>
PR:		63861
@
text
@d8 1
a8 2
PORTVERSION=	2.0.0.r5
PORTREVISION=	3
d10 2
a11 3
MASTER_SITES=	http://pamsmb.sourceforge.net/v2/ \
		http://www.csn.ul.ie/~airlied/pam_smb/v2/ \
		${MASTER_SITE_SAMBA}
@


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

(Part 1)
@
text
@d12 3
a14 1
		http://www.csn.ul.ie/~airlied/pam_smb/v2/
@


1.18
log
@* Use $PREFIX/etc/pam_smb.conf instead of /etc/pam_smb.conf by default.
* Bump PORTREVISION accordingly.

PR:		ports/56994
Submitted by:	Andrew Thompson <andy@@fud.org.nz>
Reviewed by:	marcus (portmgr)
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.17
log
@* Add -DPIC to SHLIB_CFLAGS.
* Bump PORTREVISION.

PR:		ports/56131
Submitted by:	Ren Scholz <scholz@@kids-und-co.de>
Fix obtained from:	Dave Airlie <airlied@@samba.org> (developer)
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.16
log
@Change MASTER_SITES to better ones.

Submitted by:	Dave Airlie <airlied@@samba.org> (developer)
@
text
@d9 1
d29 2
@


1.15
log
@* Upgrade to 2.0.0 RC5 [1].
* Utilize DOCSDIR and PORTDOCS.

Submitted by:	dwcjr [1]
@
text
@d10 2
a11 2
MASTER_SITES=	http://samba.org/~airlied/ \
		http://www.csn.ul.ie/~airlied/pam_smb/devel/
@


1.14
log
@Patch for remote root exploit mentioned at
<URL:http://www.skynet.ie/~airlied/pam_smb/>.
This issue has CVE name CAN-2003-0686:
<URL:http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0686>
@
text
@d8 1
a8 2
PORTVERSION=	1.9.9
PORTREVISION=	3
d10 3
a12 1
MASTER_SITES=   http://www.csn.ul.ie/~airlied/pam_smb/devel/
d17 2
a18 1
USE_AUTOCONF_VER=213
d24 1
a24 3
WRKSRC=		${WRKDIR}/${PORTNAME}

.include <bsd.port.pre.mk>
d32 8
a39 6
	${MKDIR} ${PREFIX}/share/doc/pam_smb/
	${INSTALL_DATA} ${WRKSRC}/BUGS ${PREFIX}/share/doc/pam_smb/
	${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/pam_smb/
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/pam_smb/
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pam_smb/
	${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/pam_smb/
d49 1
a49 1
.include <bsd.port.post.mk>
@


1.13
log
@Remove .bak file after reinplace.
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.12
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTREVISION=	1
d42 1
@


1.11
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d14 1
@


1.10
log
@PERL -> REINPLACE_CMD

PR:		44881
Submitted by:	Volker Stolz <stolz@@i2.informatik.rwth-aachen.de>
@
text
@a14 2
PORTCOMMENT=	NetBIOS domain logon PAM module

@


1.9
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@d42 1
a42 1
	${PERL} -pi -e s,%%PREFIX%%,${PREFIX}, ${PREFIX}/etc/rc.d/${STARTUP_SCRIPT}
@


1.8
log
@Half of these ones missed yesterday while converting to USE_REINPLACE.
The other half needs perl to build.

Noticed on bento and others (full mailbox :-)
@
text
@d15 2
@


1.7
log
@USE_REINPLACE conversion to get rid of Perl
See http://bento.freebsd.org/errorlogs/5-latest/pam_smb-1.9.9_1.log
@
text
@d17 1
@


1.6
log
@Release all my ports.

kris made it clear that by his measure I'm not doing my job as a port
maintainer. Far be it from me to be an obstruction to the project.
@
text
@d17 1
d25 1
a25 1
	${PERL} -pi -e s,%%PREFIX%%,${PREFIX}, ${WRKSRC}/pamsmbd/pam_read_conf.c
@


1.5
log
@Fix port being broken on -current

Submitted by:	tre@@netlands.de
@
text
@d13 1
a13 1
MAINTAINER=	nsayer@@FreeBSD.org
@


1.4
log
@First round of auto* cleanups:
 - USE_AUTO* -> USE_AUTO*_VER=* where required
 - USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK
 - Other minor changes to fix things

These changes should be no-ops with the current bsd.port.mk, but will
assist in preparing for the next generation of USE_AUTO*.

Submitted by:	bento 4-exp USE_AUTO* cleanups
		http://people.FreeBSD.org/~will/4-exp/
		http://bento.FreeBSD.org/errorlogs/4-exp-latest/
@
text
@d9 1
@


1.3
log
@After much delay, I am finally able to test pam_smb again, which means
we can update to the latest version. Hooray!

PR:		ports/26913
Submitted by:	dwcjr
@
text
@d14 1
a14 1
USE_AUTOCONF=	yes
@


1.2
log
@Correct MAINTAINER: nsayer --> nsayer@@FreeBSD.org.
@
text
@d8 1
a8 1
PORTVERSION=	1.1.6
d10 1
a10 7
MASTER_SITES=   ftp://ftp.samba.org/pub/samba/%SUBDIR%/ \
		ftp://ring.asahi-net.or.jp/pub/net/samba/%SUBDIR%/ \
		ftp://samba.anu.edu.au/pub/samba/%SUBDIR%/ \
		ftp://de.samba.org/pub/mirror/samba/%SUBDIR%/ \
		ftp://se.samba.org/pub/samba/%SUBDIR%/ \
		ftp://ftp.sunet.se/pub/unix/utilities/samba/%SUBDIR%/
MASTER_SITE_SUBDIR=pam_smb
d16 1
a16 1
MAKE_ENV+=	PREFIX=${PREFIX}
d23 1
a23 2
	${PERL} -pi -e s%CONFDIR%\"${PREFIX}/etc\"% ${WRKSRC}/pam_read_conf.c
	${PERL} -pi -e s%CONFDIR%\"${PREFIX}/etc\"% ${WRKSRC}/pam_smb_auth.c
d26 12
a37 2
	${INSTALL_DATA} ${WRKSRC}/pam_smb_auth.so ${PREFIX}/lib
	${INSTALL_DATA} ${FILESDIR}/pam_smb.conf.sample ${PREFIX}/etc
d40 1
a40 1
	@@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${PKGMESSAGE}
@


1.1
log
@Add port for pam_smb, an NT domain PAM module
@
text
@d18 1
a18 1
MAINTAINER=	nsayer
@

