aboutsummaryrefslogtreecommitdiff
path: root/security/certmonger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/certmonger/Makefile')
-rw-r--r--security/certmonger/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/security/certmonger/Makefile b/security/certmonger/Makefile
new file mode 100644
index 000000000000..6b810d2ffe9c
--- /dev/null
+++ b/security/certmonger/Makefile
@@ -0,0 +1,42 @@
+PORTNAME= certmonger
+DISTVERSION= 0.79.20
+PORTREVISION= 1
+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 \
+ libtalloc.so:devel/talloc \
+ libtevent.so:devel/tevent \
+ libuuid.so:misc/libuuid
+
+USES= autoreconf gettext gnome gssapi:mit iconv pkgconfig 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>