1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Use base OpenSSL on FreeBSD 10.2

- Fix permission of occ

PR:	202266, 202320
Submitted by:	theraven
This commit is contained in:
Kevin Lo 2015-08-15 15:28:49 +00:00
parent 3a7d5df1a0
commit 01544d40ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=394322

View File

@ -2,6 +2,7 @@
PORTNAME= owncloud
PORTVERSION= 8.1.1
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.owncloud.org/community/
@ -16,6 +17,7 @@ USE_PHP= bz2 ctype curl dom fileinfo filter gd hash iconv json \
mbstring pdo posix session simplexml xml xmlreader xmlwriter \
xsl wddx zip zlib
WANT_PHP_WEB= yes
USE_OPENSSL= yes
OWNCLOUD_USERNAME?= ${WWWOWN}
OWNCLOUD_GROUPNAME?= ${WWWGRP}
@ -44,11 +46,18 @@ PGSQL_USE= PHP=pdo_pgsql,pgsql
SQLITE_USE= PHP=pdo_sqlite,sqlite3
SSL_USE= PHP=openssl
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000
WITH_OPENSSL_PORT= yes
.endif
do-install:
@${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
post-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}/data
${CHMOD} +x ${STAGEDIR}${WWWDIR}/occ
.include <bsd.port.mk>