Lines 24-34
Link Here
|
24 |
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ |
24 |
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \ |
25 |
ftp://ftp.plig.org/pub/OpenLDAP/%SUBDIR%/ |
25 |
ftp://ftp.plig.org/pub/OpenLDAP/%SUBDIR%/ |
26 |
MASTER_SITE_SUBDIR= openldap-release |
26 |
MASTER_SITE_SUBDIR= openldap-release |
27 |
PKGNAMESUFFIX?= -server |
|
|
28 |
EXTRACT_SUFX= .tgz |
27 |
EXTRACT_SUFX= .tgz |
29 |
|
28 |
|
30 |
MAINTAINER= vsevolod@FreeBSD.org |
29 |
MAINTAINER= vsevolod@FreeBSD.org |
31 |
COMMENT?= Open source LDAP server implementation |
|
|
32 |
|
30 |
|
33 |
UNIQUENAME?= ${PKGNAMEPREFIX}openldap22 |
31 |
UNIQUENAME?= ${PKGNAMEPREFIX}openldap22 |
34 |
LATEST_LINK?= ${UNIQUENAME}${PKGNAMESUFFIX} |
32 |
LATEST_LINK?= ${UNIQUENAME}${PKGNAMESUFFIX} |
Lines 45-58
Link Here
|
45 |
OPENLDAP_PORTREVISION= ${PORTREVISION_CLIENT} |
43 |
OPENLDAP_PORTREVISION= ${PORTREVISION_CLIENT} |
46 |
OPENLDAP_PKGFILESUFX= .client |
44 |
OPENLDAP_PKGFILESUFX= .client |
47 |
|
45 |
|
48 |
.if ${PKGNAMESUFFIX} == "-sasl-client" |
46 |
.if defined(WITH_SASL) |
|
|
47 |
COMMENT= Open source LDAP client implementation with SASL2 support |
48 |
PKGNAMESUFFIX= -sasl-client |
49 |
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.* \ |
49 |
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.* \ |
50 |
${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.[!2].* |
50 |
${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.[!2].* |
51 |
.elif ${PKGNAMESUFFIX} == "-client" |
51 |
.else |
|
|
52 |
COMMENT= Open source LDAP client implementation |
53 |
PKGNAMESUFFIX= -client |
52 |
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.[!2].* \ |
54 |
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.[!2].* \ |
53 |
${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.* |
55 |
${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.* |
54 |
.else |
|
|
55 |
BROKEN= Unknown PKGNAMESUFFIX ${PKGNAMESUFFIX} |
56 |
.endif |
56 |
.endif |
57 |
|
57 |
|
58 |
.if !defined(NOPORTDOCS) |
58 |
.if !defined(NOPORTDOCS) |
Lines 67-85
Link Here
|
67 |
OPENLDAP_PKGFILESUFX= |
67 |
OPENLDAP_PKGFILESUFX= |
68 |
|
68 |
|
69 |
.if defined(WITH_SASL) |
69 |
.if defined(WITH_SASL) |
|
|
70 |
COMMENT= Open source LDAP server implementation with SASL2 support |
71 |
PKGNAMESUFFIX= -sasl-server |
70 |
RUN_DEPENDS= ${LOCALBASE}/lib/libldap-2.2.so.7:${PORTSDIR}/net/openldap22-sasl-client |
72 |
RUN_DEPENDS= ${LOCALBASE}/lib/libldap-2.2.so.7:${PORTSDIR}/net/openldap22-sasl-client |
71 |
.else |
|
|
72 |
RUN_DEPENDS= ${LOCALBASE}/lib/libldap-2.2.so.7:${PORTSDIR}/net/openldap22-client |
73 |
.endif |
74 |
|
75 |
.if ${PKGNAMESUFFIX} == "-sasl-server" |
76 |
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-server-2.* \ |
73 |
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-server-2.* \ |
77 |
${PKGNAMEPREFIX}${PORTNAME}-sasl-server-2.[!2].* |
74 |
${PKGNAMEPREFIX}${PORTNAME}-sasl-server-2.[!2].* |
78 |
.elif ${PKGNAMESUFFIX} == "-server" |
75 |
.else |
|
|
76 |
COMMENT= Open source LDAP server implementation |
77 |
PKGNAMESUFFIX= -server |
78 |
RUN_DEPENDS= ${LOCALBASE}/lib/libldap-2.2.so.7:${PORTSDIR}/net/openldap22-client |
79 |
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-server-2.[!2].* \ |
79 |
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-server-2.[!2].* \ |
80 |
${PKGNAMEPREFIX}${PORTNAME}-sasl-server-2.* |
80 |
${PKGNAMEPREFIX}${PORTNAME}-sasl-server-2.* |
81 |
.else |
|
|
82 |
BROKEN= Unknown PKGNAMESUFFIX ${PKGNAMESUFFIX} |
83 |
.endif |
81 |
.endif |
84 |
|
82 |
|
85 |
.endif |
83 |
.endif |