head	1.21;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.16
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.10
	RELEASE_6_2_0:1.10
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.21
date	2013.03.06.12.55.10;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.04.11.03.34.15;	author miwi;	state Exp;
branches;
next	1.18;

1.18
date	2011.01.29.14.28.38;	author miwi;	state Exp;
branches;
next	1.17;

1.17
date	2010.12.04.07.33.23;	author ade;	state Exp;
branches;
next	1.16;

1.16
date	2009.08.02.19.35.25;	author mezz;	state Exp;
branches;
next	1.15;

1.15
date	2009.03.21.13.14.28;	author dhn;	state Exp;
branches;
next	1.14;

1.14
date	2009.03.11.17.02.50;	author dhn;	state Exp;
branches;
next	1.13;

1.13
date	2009.01.31.21.56.26;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2008.08.10.21.19.18;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2008.07.27.04.30.51;	author linimon;	state Exp;
branches;
next	1.10;

1.10
date	2006.10.09.15.41.47;	author sergei;	state Exp;
branches;
next	1.9;

1.9
date	2006.09.21.09.13.13;	author sergei;	state Exp;
branches;
next	1.8;

1.8
date	2006.09.21.09.09.25;	author sergei;	state Exp;
branches;
next	1.7;

1.7
date	2006.08.09.12.05.56;	author sergei;	state Exp;
branches;
next	1.6;

1.6
date	2006.08.09.11.58.39;	author sergei;	state Exp;
branches;
next	1.5;

1.5
date	2005.08.31.12.10.25;	author sergei;	state Exp;
branches;
next	1.4;

1.4
date	2005.08.29.12.15.37;	author sergei;	state Exp;
branches;
next	1.3;

1.3
date	2005.02.17.17.25.46;	author sergei;	state Exp;
branches;
next	1.2;

1.2
date	2004.11.18.17.33.06;	author sergei;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.24.13.53.01;	author sergei;	state Exp;
branches;
next	;


desc
@@


1.21
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313460
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Sergei Kolobov <sergei@@FreeBSD.org>
# $FreeBSD: head/security/cvm/Makefile 313460 2013-03-05 17:07:43Z miwi $

PORTNAME=	cvm
PORTVERSION=	0.96
CATEGORIES=	security
MASTER_SITES=	http://untroubled.org/${PORTNAME}/ \
		http://untroubled.org/${PORTNAME}/archive/

MAINTAINER=	tarkhil@@over.ru
COMMENT=	Credential Validation Modules

LIB_DEPENDS=	bg.2:${PORTSDIR}/devel/bglibs

CONFLICTS=	bglibs-1.00*

USE_AUTOTOOLS=	libtool
LIBTOOLFILES=	#none
USE_LDCONFIG=	yes
BGLIBS_INC=	${LOCALBASE}/include/bglibs
BGLIBS_LIB=	${LOCALBASE}/lib/bglibs

DOCS=		NEWS README TODO *.html

OPTIONS_DEFINE=	VCHKPW
VCHKPW_DESC=	Compile cvm-vchkpw

.include <bsd.port.options.mk>

ALL_TARGET=all

.if ${PORT_OPTIONS:MVCHKPW}
BUILD_DEPENDS+=	${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
ALL_TARGET+=	cvm-vchkpw
PLIST_SUB=	VCHKPW=""
.else
PLIST_SUB=	VCHKPW="@@comment "
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|libtool|${LIBTOOL}|g' ${WRKSRC}/Makefile

do-configure:
	${ECHO_CMD} "${PREFIX}"		> ${WRKSRC}/conf-home
	${ECHO_CMD} "${PREFIX}/bin"	> ${WRKSRC}/conf-bin
	${ECHO_CMD} "${PREFIX}/include"	> ${WRKSRC}/conf-include
	${ECHO_CMD} "${PREFIX}/lib"	> ${WRKSRC}/conf-lib
	${ECHO_CMD} "${CC} ${CFLAGS}"	> ${WRKSRC}/conf-cc
	${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}"       > ${WRKSRC}/conf-ld
	${ECHO_CMD} "${BGLIBS_INC}"	> ${WRKSRC}/conf-bgincs
	${ECHO_CMD} "${BGLIBS_LIB}"	> ${WRKSRC}/conf-bglibs

.if ${PORT_OPTIONS:MDOCS}
post-install:
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.20
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	cvm
# Date created:		2003-12-24
# Whom:			Sergei Kolobov <sergei@@FreeBSD.org>
#
# $FreeBSD: head/security/cvm/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d25 2
a26 1
OPTIONS=	VCHKPW "Compile cvm-vchkpw" off
d28 1
a28 1
.include <bsd.port.pre.mk>
d32 1
a32 1
.if defined(WITH_VCHKPW)
d53 1
a53 1
.if !defined(NOPORTDOCS)
d59 1
a59 1
.include <bsd.port.post.mk>
@


1.19
log
@- Respect STRIP/LDFLAGS

PR:		162920
Submitted by:	Jan Beich (jbeich@@tormail.net)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
log
@- Update to 0.96

PR:		154079
Submitted by:	Uffe Jakobsen <uffe@@uffe.org> (Maintainer)
Feature safe:	yes
@
text
@a23 1
LDFLAGS?=	-s
d52 1
a52 1
	${ECHO_CMD} "${CC} ${LDFLAGS}"	> ${WRKSRC}/conf-ld
@


1.17
log
@Sync to new bsd.autotools.mk
@
text
@d9 1
a9 2
PORTVERSION=	0.95
PORTREVISION=	1
@


1.16
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
@d22 1
a22 1
USE_AUTOTOOLS=	libtool:22
@


1.15
log
@- Add vpopmail support
- Pass maintainership to submitter
- Bump PORTREVISION

PR:	ports/132727
Submitted by:	Alex Povolotsky <tarkhil@@over.ru>
Approved by:	miwi (mentor)
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	libtool:15
@


1.14
log
@- Update to 0.95

PR:	132501
Submitted by:	Alex Povolotsky <tarkhil@@over.ru>
Approved by:	miwi (mentor)
@
text
@d10 1
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d31 14
d64 1
a64 1
.include <bsd.port.mk>
@


1.13
log
@- Update download location

Reported by:	-fetch-original pointyhat run
@
text
@d9 1
a9 2
PORTVERSION=	0.82
PORTREVISION=	2
a16 1
BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool15
d21 2
a22 2
USE_GPG=	yes
SIG_SUFFIX=	.sig
d30 3
@


1.12
log
@ - Chase bglibs shlib bump
@
text
@d12 2
a13 1
MASTER_SITES=	http://untroubled.org/${PORTNAME}/
@


1.11
log
@Reset sergei@@ due to maintainer-timeouts and no response to email.

Hat:		portmgr
@
text
@d10 1
a10 1
PORTREVISION=	1
d18 1
a18 1
LIB_DEPENDS=	bg.1:${PORTSDIR}/devel/bglibs
@


1.10
log
@- Add dependency on libtool; we cannot simply add USE_AUTOTOOLS
  as that implies GNU_CONFIGURE which this port does NOT use
- Bump PORTREVISION

Noticed by:	pointyhat via kris
@
text
@d14 1
a14 1
MAINTAINER=	sergei@@FreeBSD.org
@


1.9
log
@- Update to 0.82
  (this should have been included in the previous commit to this port)
@
text
@d10 1
d17 1
@


1.8
log
@- CVM now requires devel/bglibs to be available at run-time
  due to a dynamic linking since bglibs provides shlibs now
@
text
@d9 1
a9 2
PORTVERSION=	0.81
PORTREVISION=	1
@


1.7
log
@- INSTALLS_SHLIBS is obsolete, USE_LDCONFIG should be used instead

Noticed by:	garga
@
text
@d10 1
d17 1
a17 1
BUILD_DEPENDS=	bglibs>=1.100:${PORTSDIR}/devel/bglibs
@


1.6
log
@- Update to 0.81
- Require bglibs >= 1.100 for shlib support
- Add INSTALLS_SHLIBS as the port now installs shared libraries, too
@
text
@d22 1
a22 1
INSTALLS_SHLIB=	yes
@


1.5
log
@- Update to 0.76
@
text
@d9 1
a9 1
PORTVERSION=	0.76
d16 1
a16 1
BUILD_DEPENDS=	${BGLIBS_LIB}/libbg-unix.a:${PORTSDIR}/devel/bglibs
d22 1
@


1.4
log
@- Update to 0.75
- Chase changed location of bglibs files
@
text
@d9 1
a9 1
PORTVERSION=	0.75
@


1.3
log
@- Update to 0.32 (also fixes fetching)

Reminded by:	pointyhat via kris
@
text
@d9 1
a9 1
PORTVERSION=	0.32
d16 1
a16 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs
d20 2
d23 2
d30 3
d35 2
a36 2
	${ECHO_CMD} "${LOCALBASE}/include/bglibs" > ${WRKSRC}/conf-bgincs
	${ECHO_CMD} "${LOCALBASE}/lib"	> ${WRKSRC}/conf-bglibs
a37 2
do-install:
	cd ${WRKSRC} && ./installer
d39 1
@


1.2
log
@- Update to 0.31 (see http://untroubled.org/cvm/NEWS for details)
@
text
@d9 1
a9 1
PORTVERSION=	0.31
@


1.1
log
@Add cvm 0.18, Credential Validation Modules:
- The reference source for the CVM interface
- Diagnostic and benchmark CVM clients
- A checkpassword interface CVM client
- A UNIX/POSIX system module (uses getpwnam)
- A flat-file module
- A library for client writers
- A set of libraries for module writers

Author:	Bruce Guenter <bruceg@@em.ca>
WWW:	http://untroubled.org/cvm/

This port in needed to unbreak build of mail/mailfront and ftp/twoftpd.
@
text
@d9 1
a9 1
PORTVERSION=	0.18
@

