aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2013-11-18 05:08:54 +0800
committerfeld <feld@FreeBSD.org>2013-11-18 05:08:54 +0800
commit155fce8f3182f3b1c4201874ebcbd042da33ebb6 (patch)
treebd2285c37219d1f0847329ff0f5671b1088f333b /net-mgmt
parent662d9acbde4c1a470280c03906757c59e0e68b0b (diff)
downloadfreebsd-ports-gnome-155fce8f3182f3b1c4201874ebcbd042da33ebb6.tar.gz
freebsd-ports-gnome-155fce8f3182f3b1c4201874ebcbd042da33ebb6.tar.zst
freebsd-ports-gnome-155fce8f3182f3b1c4201874ebcbd042da33ebb6.zip
Fix LDAP option
Fix directory permission issue PR: ports/183976 Approved by: swills (mentor)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/xymon-server/Makefile1
-rw-r--r--net-mgmt/xymon-server/files/Makefile4
-rw-r--r--net-mgmt/xymon-server/pkg-plist1
3 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile
index a7f7954d55ea..d04e87ce17c2 100644
--- a/net-mgmt/xymon-server/Makefile
+++ b/net-mgmt/xymon-server/Makefile
@@ -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}
diff --git a/net-mgmt/xymon-server/files/Makefile b/net-mgmt/xymon-server/files/Makefile
index 02dd330b5ddd..828a3e736a48 100644
--- a/net-mgmt/xymon-server/files/Makefile
+++ b/net-mgmt/xymon-server/files/Makefile
@@ -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
diff --git a/net-mgmt/xymon-server/pkg-plist b/net-mgmt/xymon-server/pkg-plist
index 7d4da5253103..cb00524df67d 100644
--- a/net-mgmt/xymon-server/pkg-plist
+++ b/net-mgmt/xymon-server/pkg-plist
@@ -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