Fix LDAP option

Fix directory permission issue

PR:		ports/183976
Approved by:	swills (mentor)
This commit is contained in:
Mark Felder 2013-11-17 21:08:54 +00:00
parent 64ba67998d
commit 657aaa16b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334123
3 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= xymon
PORTVERSION= 4.3.12
PORTREVISION= 1
CATEGORIES= net-mgmt www
MASTER_SITES= SF/xymon/Xymon/${PORTVERSION}
PKGNAMESUFFIX= -server${PKGNAMESUFFIX2}

View file

@ -60,9 +60,9 @@ DOSSL = yes
#
ifdef WITH_LDAP
# OpenLDAP settings
LDAPFLAGS = -DXYMON_LDAP -DXYMON_LDAP_USESTARTTLS
LDAPFLAGS = -DXYMON_LDAP -DXYMON_LDAP_USESTARTTLS -DHAVE_LDAP
LDAPINCDIR = -I${PREFIX}/include
LDAPLIBS = -L${PREFIX}/lib -lldap
LDAPLIBS = -L${PREFIX}/lib -lldap -llber
RPATHVAL += ${PREFIX}/lib
RPATHVAL += /usr/local/lib
DOLDAP = yes

View file

@ -467,6 +467,7 @@ man/man8/xymonproxy.8
@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/rep
@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/snap
@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/wml
@exec chown %%XYMONUSER%% %D/%%WWWDIR%%/server/www
@dirrm %%WWWDIR%%/server/www/wml
@dirrm %%WWWDIR%%/server/www/snap
@dirrm %%WWWDIR%%/server/www/rep