ports/net/linux-c7-openldap/Makefile
Stefan Eßer 819f25b36d */*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
2021-10-29 11:50:18 +02:00

31 lines
743 B
Makefile

# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
PORTNAME= openldap
PORTVERSION= 2.4.44
DISTVERSIONSUFFIX= -22.el7
PORTREVISION= 2
CATEGORIES= net linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= LDAP libraries (Linux CentOS ${LINUX_DIST_VER})
USES= cpe linux:c7
USE_LDCONFIG= yes
USE_LINUX= cyrus-sasl2 nspr nss
USE_LINUX_RPM= yes
CONFLICTS= linux-c6-${PORTNAME}
DESCR= ${.CURDIR}/../${PORTNAME}24-server/pkg-descr
OPTIONS_DEFINE= DOCS
# do not install any openldap configuration directories/files
post-patch:
@${RM} -r ${WRKSRC}/etc
# use a native openldap configuration directories/files
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc
${LN} -sf ${LOCALBASE}/etc/openldap ${STAGEDIR}${PREFIX}/etc/openldap
.include <bsd.port.mk>