summaryrefslogtreecommitdiff
path: root/security/certmonger/Makefile
blob: c0085399bffe384b8763fdf52d9b7eda9f553c15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
PORTNAME=	certmonger
DISTVERSION=	0.79.20
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	https://pagure.io/certmonger/archive/${DISTVERSION}/

MAINTAINER=	crees@FreeBSD.org
COMMENT=	Daemon to enrol with a CA and renew SSL certificates
WWW=		https://pagure.io/certmonger

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libcurl.so:ftp/curl		\
		libdbus-1.so:devel/dbus		\
		libidn2.so:dns/libidn2		\
		libjansson.so:devel/jansson	\
		libldap.so:net/openldap26-client \
		libnspr4.so:devel/nspr		\
		libnss3.so:security/nss		\
		libpopt.so:devel/popt		\
		libuuid.so:misc/libuuid

USES=		autoreconf gettext gnome gssapi:mit iconv pkgconfig \
		samba:lib ssl
USE_GNOME=	libxml2
USE_RC_SUBR=	${PORTNAME}
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	${ICONV_CONFIGURE_ARG}
CFLAGS+=	-L${PREFIX}/lib -lintl

# There appears to be some hardcoded gettext dependencies
#OPTIONS_DEFINE=	NLS

post-install:
		${MV}	${STAGEDIR}${ETCDIR}/${PORTNAME}.conf \
			${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
		${RMDIR} ${STAGEDIR}/var/lib/${PORTNAME}/cas
		${RMDIR} ${STAGEDIR}/var/lib/${PORTNAME}/requests

.include <bsd.port.mk>