mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
o Replace openldap20 dependency on openldap21
o Prefer openldap12 if it's already installed. Otherwise, depend on openldap21 PR: 53123 Submitted by: maintainer
This commit is contained in:
parent
de4e77e12f
commit
95d555c82e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82837
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= turba
|
||||
PORTVERSION= 1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= ftp://ftp.horde.org/pub/turba/ \
|
||||
ftp://ftp.au.horde.org/pub/horde/turba/ \
|
||||
@ -19,22 +20,17 @@ MAINTAINER= thierry@pompo.net
|
||||
COMMENT= The Horde contact management application
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# You may define these options:
|
||||
# You may define this option:
|
||||
#
|
||||
# - WITHOUT_LDAP : if you do not need OpenLDAP;
|
||||
# - WITH_LDAP1 : if you prefer OpenLDAP1.
|
||||
#
|
||||
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
|
||||
#
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if defined(WITH_LDAP1)
|
||||
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
|
||||
lber.1:${PORTSDIR}/net/openldap12
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
|
||||
.else
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
|
||||
lber.2:${PORTSDIR}/net/openldap20
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -70,7 +66,7 @@ PHPSO= ${LOCALBASE}/libexec/apache/libphp4.so
|
||||
|
||||
pre-install:
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if defined(WITH_LDAP1)
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \
|
||||
${ECHO_MSG} "" ; \
|
||||
${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= turba
|
||||
PORTVERSION= 1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= ftp://ftp.horde.org/pub/turba/ \
|
||||
ftp://ftp.au.horde.org/pub/horde/turba/ \
|
||||
@ -19,22 +20,17 @@ MAINTAINER= thierry@pompo.net
|
||||
COMMENT= The Horde contact management application
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# You may define these options:
|
||||
# You may define this option:
|
||||
#
|
||||
# - WITHOUT_LDAP : if you do not need OpenLDAP;
|
||||
# - WITH_LDAP1 : if you prefer OpenLDAP1.
|
||||
#
|
||||
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
|
||||
#
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if defined(WITH_LDAP1)
|
||||
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
|
||||
lber.1:${PORTSDIR}/net/openldap12
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
|
||||
.else
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
|
||||
lber.2:${PORTSDIR}/net/openldap20
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -70,7 +66,7 @@ PHPSO= ${LOCALBASE}/libexec/apache/libphp4.so
|
||||
|
||||
pre-install:
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if defined(WITH_LDAP1)
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \
|
||||
${ECHO_MSG} "" ; \
|
||||
${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= imp
|
||||
PORTVERSION= 3.2.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= ftp://ftp.horde.org/pub/imp/ \
|
||||
ftp://ftp.au.horde.org/pub/horde/imp/ \
|
||||
@ -23,7 +23,6 @@ COMMENT= A webmail system which accesses mail over IMAP
|
||||
# You may define these options:
|
||||
#
|
||||
# - WITHOUT_LDAP : if you do not need OpenLDAP;
|
||||
# - WITH_LDAP1 : if you prefer OpenLDAP1.
|
||||
#
|
||||
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
|
||||
#
|
||||
@ -66,12 +65,10 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
|
||||
|
||||
.if defined(WITHOUT_TURBA)
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if defined(WITH_LDAP1)
|
||||
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
|
||||
lber.1:${PORTSDIR}/net/openldap12
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
|
||||
.else
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
|
||||
lber.2:${PORTSDIR}/net/openldap20
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
|
||||
.endif
|
||||
.endif
|
||||
RUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2
|
||||
@ -197,7 +194,7 @@ pre-install:
|
||||
.endif
|
||||
.endif
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if defined(WITH_LDAP1)
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \
|
||||
${ECHO_MSG} "" ; \
|
||||
${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= turba
|
||||
PORTVERSION= 1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= ftp://ftp.horde.org/pub/turba/ \
|
||||
ftp://ftp.au.horde.org/pub/horde/turba/ \
|
||||
@ -19,22 +20,17 @@ MAINTAINER= thierry@pompo.net
|
||||
COMMENT= The Horde contact management application
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# You may define these options:
|
||||
# You may define this option:
|
||||
#
|
||||
# - WITHOUT_LDAP : if you do not need OpenLDAP;
|
||||
# - WITH_LDAP1 : if you prefer OpenLDAP1.
|
||||
#
|
||||
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
|
||||
#
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if defined(WITH_LDAP1)
|
||||
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
|
||||
lber.1:${PORTSDIR}/net/openldap12
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
|
||||
.else
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
|
||||
lber.2:${PORTSDIR}/net/openldap20
|
||||
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -70,7 +66,7 @@ PHPSO= ${LOCALBASE}/libexec/apache/libphp4.so
|
||||
|
||||
pre-install:
|
||||
.if !defined(WITHOUT_LDAP)
|
||||
.if defined(WITH_LDAP1)
|
||||
.if exists(${LOCALBASE}/lib/libldap.so.1)
|
||||
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \
|
||||
${ECHO_MSG} "" ; \
|
||||
${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \
|
||||
|
Loading…
Reference in New Issue
Block a user