head	1.25;
access;
symbols
	RELEASE_8_3_0:1.23
	RELEASE_9_0_0:1.22
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.2;
locks; strict;
comment	@# @;


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

1.24
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.23;

1.23
date	2012.01.01.16.47.36;	author ohauer;	state Exp;
branches;
next	1.22;

1.22
date	2011.09.23.22.25.14;	author amdmi3;	state Exp;
branches;
next	1.21;

1.21
date	2011.08.20.17.27.35;	author ohauer;	state Exp;
branches;
next	1.20;

1.20
date	2011.02.25.01.32.05;	author delphij;	state Exp;
branches;
next	1.19;

1.19
date	2011.02.13.22.06.37;	author ohauer;	state Exp;
branches;
next	1.18;

1.18
date	2011.01.15.23.54.43;	author gerald;	state Exp;
branches;
next	1.17;

1.17
date	2011.01.15.23.31.06;	author gerald;	state Exp;
branches;
next	1.16;

1.16
date	2010.12.04.07.33.29;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2010.04.04.23.51.46;	author pgollucci;	state Exp;
branches;
next	1.14;

1.14
date	2009.08.02.19.35.32;	author mezz;	state Exp;
branches;
next	1.13;

1.13
date	2009.05.16.06.27.49;	author pgollucci;	state Exp;
branches;
next	1.12;

1.12
date	2009.04.13.00.54.22;	author pgollucci;	state Exp;
branches;
next	1.11;

1.11
date	2009.04.11.23.51.57;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2009.01.05.19.04.33;	author delphij;	state Exp;
branches;
next	1.9;

1.9
date	2008.08.21.06.18.19;	author rafan;	state Exp;
branches;
next	1.8;

1.8
date	2007.01.27.08.48.46;	author kris;	state Exp;
branches;
next	1.7;

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

1.6
date	2006.04.14.18.14.58;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.23.10.39.03;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2006.02.20.13.31.57;	author flz;	state Exp;
branches;
next	1.3;

1.3
date	2005.11.15.06.51.02;	author ade;	state Exp;
branches;
next	1.2;

1.2
date	2005.07.22.09.33.35;	author vsevolod;	state Exp;
branches;
next	1.1;

1.1
date	2005.05.23.22.21.24;	author jylefort;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Switch exporter over
@
text
@# New ports collection makefile for:	openscep
# Date created:		May 19 2005
# Whom:			Vsevolod Stakhov
#
# $FreeBSD: head/security/openscep/Makefile 302724 2012-08-18 14:29:08Z ohauer $
#

PORTNAME=	openscep
PORTVERSION=	0.4.2
PORTREVISION=	7
CATEGORIES=	security
MASTER_SITES=	http://openscep.othello.ch/download/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Open source scep server

MAKE_JOBS_SAFE=	yes

USE_AUTOTOOLS=	libtool
USE_OPENSSL=	yes
USE_OPENLDAP=	yes
USE_APACHE=	22+
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

PLIST_DIRSTRY=	www/cgi-bin

CPPFLAGS+=	-I${LOCALBASE}/include
CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--with-html-install-dir="${PREFIX}/www/openscep" \
		--with-cgi-install-dir="${PREFIX}/www/cgi-bin/openscep" \
		--with-openscep-dir="${PREFIX}/etc/openscep" \
		--with-pkiclientexe="${PREFIX}/www/cgi-bin/pkiclient.exe"

CONF_DIR=	${PREFIX}/etc/${PORTNAME}
LOCAL_CONF_FILES=	openscep.cnf openscep.ldif openscep.schema slapd.conf

SUB_FILES=	pkg-deinstall pkg-install pkg-message
SUB_LIST=	CONF_DIR="${CONF_DIR}" CONF_FILES="${LOCAL_CONF_FILES}"

MAN1=		derdump.1 \
		scep.1 \
		scepclient.1 \
		scepconf.1 \
		sceplist.1 \
		scepxid.1
MAN5=		openscep.cnf.5
MAN8=		cafingerprint.8 \
		createcrl.8 \
		crl2ldap.8 \
		dn2xid.8 \
		scepd.8 \
		scepgrant.8 \
		scepreject.8 \
		updatecrl.8

post-patch:
	@@${REINPLACE_CMD} -e '/^subdirs=/ s|libltdl||' ${WRKSRC}/configure
	@@${REINPLACE_CMD} -e '/^SUBDIRS =/ s|libltdl||' ${WRKSRC}/Makefile.in
	@@${REINPLACE_CMD} -e 's|^\(install-data-am:\) install-data-local$$|\1|' \
		${WRKSRC}/ldap/Makefile.in ${WRKSRC}/openssl/Makefile.in

post-install:
	${MKDIR} ${CONF_DIR}
	${INSTALL_DATA} ${WRKSRC}/openssl/openscep.cnf ${CONF_DIR}/openscep.cnf.default
.for f in openscep.ldif openscep.schema slapd.conf
	${INSTALL_DATA} ${WRKSRC}/ldap/${f} ${CONF_DIR}/${f}.default
.endfor
	${CHOWN} www:www ${PREFIX}/www/cgi-bin/openscep/*
	${CHOWN} www:www ${PREFIX}/www/cgi-bin/pkiclient.exe
	${CHOWN} www:www ${PREFIX}/etc/openscep/*
	@@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.24
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.23
log
@- change required APACHE version from 13+ to 20+
  (prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@@
@
text
@d22 1
a22 1
USE_APACHE=	20+
@


1.22
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d22 1
a22 1
USE_APACHE=	13+
a28 1
.if ${APACHE_VERSION} > 13
a29 1
.endif
@


1.21
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d34 1
a34 1
CONFIGURE_ENV=	CPPFLAGS=${CPPFLAGS} LIBS="-L${LOCALBASE}/lib"
a38 1
MAKE_ENV=	CPPFLAGS=${CPPFLAGS}
@


1.20
log
@Chase after net/openldap24-server update.

Reminded by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	6
d22 1
a22 1
USE_APACHE=	1.3+
@


1.19
log
@ - fix leftover if APACHE_VERSION > 13

PR:		ports/147009
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.18
log
@Fix the handling of CPPFLAGS in the context of CONFIGURE_ENV / MAKE_ENV.

PR:		153625
Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	4
d27 6
d81 1
a81 1
.include <bsd.port.mk>
@


1.17
log
@Fix whitespace in Makefile.  Add USE_LDCONFIG.

Reported by:	portlint
Feature safe:	yes
@
text
@d27 2
a28 2
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
d33 1
a33 2

MAKE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
@


1.16
log
@Sync to new bsd.autotools.mk
@
text
@d17 1
a17 1
MAKE_JOBS_SAFE=  yes
d25 1
@


1.15
log
@re-assign back to ports@@
@
text
@d19 1
a19 1
USE_AUTOTOOLS=	libtool:22
@


1.14
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
@d14 1
a14 1
MAINTAINER=	pgollucci@@FreeBSD.org
@


1.13
log
@- Mark most of my ports MAKE_JOBS_SAFE=yes

Tested by: several builds in P6 TB
@
text
@d19 1
a19 1
USE_AUTOTOOLS=	libtool:15
@


1.12
log
@- Fix pkg-plist

Reported by:    QAT
@
text
@d17 2
@


1.11
log
@- Fix pkg-plist
- USE_APACHE=yes is deprecated
- Adopt
- Bump PORTREVISION
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.10
log
@Bump PORTREVISION's after OpenLDAP update.

Suggested by:	rafan
@
text
@d10 1
a10 1
PORTREVISION=	2
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d20 1
a20 1
USE_APACHE=	yes
@


1.9
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.8
log
@Use libtool port instead of included one to avoid objformat a.out botch
@
text
@a25 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.7
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d17 1
@


1.6
log
@Reset vsevolod as maintainer due to unreponsiveness.  We hope to see him
back sometime.

Hat:		portmgr
@
text
@a16 1
USE_REINPLACE=	yes
@


1.5
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@d14 1
a14 1
MAINTAINER=	vsevolod@@FreeBSD.org
@


1.4
log
@- Rename CONF_FILES to LOCAL_CONF_FILES.

PR:		ports/90438
Submitted by:	flz
Approved by:	maintainer timeouts
@
text
@d10 1
d21 1
a21 1
USE_AUTOTOOLS=	libtool:15
@


1.3
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d34 1
a34 1
CONF_FILES=	openscep.cnf openscep.ldif openscep.schema slapd.conf
d37 1
a37 1
SUB_LIST=	CONF_DIR="${CONF_DIR}" CONF_FILES="${CONF_FILES}"
@


1.2
log
@Update my email address.

Approved by:	perky (mentor)
@
text
@d20 1
a20 1
USE_LIBTOOL_VER=15
@


1.1
log
@Add openscep.

OpenSCEP is an open source implementation of the SCEP protocol used by Cisco
routers for certificate enrollment to build VPNs. It implements most of the
draft specification.

OpenSCEP includes a client and a server implementation, as well as some CGI
programs to simplify certificate and revocation list management.

WWW: http://openscep.othello.ch/

PR:		ports/81264
Submitted by:	Vsevolod Stakhov <vsevolod@@highsecure.ru>
@
text
@d13 1
a13 1
MAINTAINER=	vsevolod@@highsecure.ru
@

