diff options
author | feld <feld@FreeBSD.org> | 2013-11-18 05:08:54 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2013-11-18 05:08:54 +0800 |
commit | 155fce8f3182f3b1c4201874ebcbd042da33ebb6 (patch) | |
tree | bd2285c37219d1f0847329ff0f5671b1088f333b /net-mgmt | |
parent | 662d9acbde4c1a470280c03906757c59e0e68b0b (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/xymon-server/files/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/xymon-server/pkg-plist | 1 |
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 |