aboutsummaryrefslogtreecommitdiff
path: root/www/orangehrm
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2017-10-19 10:49:10 +0000
committerWen Heping <wen@FreeBSD.org>2017-10-19 10:49:10 +0000
commitcff4bb70354d97b4e43484f96e0febe02ab138dc (patch)
tree6db0682f88d07864073cf783e48b165b1120a0b3 /www/orangehrm
parentdb15274c348166876db24067ffe68b7202877f85 (diff)
downloadports-cff4bb70354d97b4e43484f96e0febe02ab138dc.tar.gz
ports-cff4bb70354d97b4e43484f96e0febe02ab138dc.zip
- Update to 4.0
- Update pkg-message
Notes
Notes: svn path=/head/; revision=452414
Diffstat (limited to 'www/orangehrm')
-rw-r--r--www/orangehrm/Makefile5
-rw-r--r--www/orangehrm/distinfo6
-rw-r--r--www/orangehrm/files/pkg-message.in14
3 files changed, 17 insertions, 8 deletions
diff --git a/www/orangehrm/Makefile b/www/orangehrm/Makefile
index 572365d73128..951a69cd6316 100644
--- a/www/orangehrm/Makefile
+++ b/www/orangehrm/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= orangehrm
-PORTVERSION= 3.3.3
-PORTREVISION= 1
+PORTVERSION= 4.0
CATEGORIES= www misc
MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION}
@@ -14,7 +13,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/license/LICENSE.TXT
USES= cpe php zip
-USE_PHP= pdo_mysql ctype xml simplexml
+USE_PHP= iconv json pdo_mysql ctype xml session simplexml
NO_BUILD= yes
PLIST= ${WRKDIR}/plist
SUB_FILES= pkg-message
diff --git a/www/orangehrm/distinfo b/www/orangehrm/distinfo
index 7cf484a4c2b1..8af63e6faacf 100644
--- a/www/orangehrm/distinfo
+++ b/www/orangehrm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475135186
-SHA256 (orangehrm-3.3.3.zip) = 08d8e75813b70b4f05d8ad9fe6bf0d57d6015a2ea7fdd192acce93d61c10bb1e
-SIZE (orangehrm-3.3.3.zip) = 10914723
+TIMESTAMP = 1508428624
+SHA256 (orangehrm-4.0.zip) = 60767921a72fefef746404f79d99eec435c0af7b91eebf001da528e0f4e2314f
+SIZE (orangehrm-4.0.zip) = 25295744
diff --git a/www/orangehrm/files/pkg-message.in b/www/orangehrm/files/pkg-message.in
index e67842de4513..2932528c1bde 100644
--- a/www/orangehrm/files/pkg-message.in
+++ b/www/orangehrm/files/pkg-message.in
@@ -4,15 +4,25 @@ POST-INSTALL CONFIGURATION FOR OrangeHRM
1) Add the following to your Apache configuration, and
restart the server:
- ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
+ For Apache versions earlier than 2.4:
+
Alias /orangehrm %%PREFIX%%/www/orangehrm/
AcceptPathInfo On
<Directory %%PREFIX%%/www/orangehrm>
- AllowOverride None
+ AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
+ For Apache version 2.4.x or above:
+
+ Alias /orangehrm %%PREFIX%%/www/orangehrm/
+ AcceptPathInfo On
+ <Directory %%PREFIX%%/www/oranghrm/>
+ AllowOverride All
+ Require all granted
+ </Directory>
+
2) Visit your OrangeHRM site with a browser (i.e.,
http://your.server.com/orangehrm), and you should
be taken to the setup script, which will lead