Chris Rees 616b026725 security/certmonger: samba version neutrality
Allow Certmonger to be installed alongside samba420 if that's
the default
2025-11-18 12:14:19 +00:00

42 lines
1.1 KiB
Makefile

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>