- Update to 2.2.0
PR: ports/122238 Submitted by: Filipe Rocha <filiperocha@gmail.com> (maintainer)
This commit is contained in:
parent
e72adc8f15
commit
3a0a9aaa16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210284
@ -6,10 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= ojs2
|
||||
PORTVERSION= 2.1.1
|
||||
PORTVERSION= 2.2
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://pkp.sfu.ca/ojs/download/
|
||||
DISTNAME= ojs-2.1.1
|
||||
DISTNAME= ojs-2.2
|
||||
|
||||
MAINTAINER= filiperocha@gmail.com
|
||||
COMMENT= Open Journal Systems
|
||||
@ -23,7 +23,15 @@ WANT_PHP_WEB= yes
|
||||
OJSDIR?= www/ojs2
|
||||
|
||||
OPTIONS= MYSQL "Use a MYSQL Database" on \
|
||||
PGSQL "Use a PostgreSQL Database" off
|
||||
PGSQL "Use a PostgreSQL Database" off \
|
||||
LDAP "Use LDAP Authentication" off
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_MSG} "=============================================================================================="
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "If you are upgrading please refer to docs/UPGRADE or browse to http://pkp.sfu.ca/ojs/UPGRADE"
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "=============================================================================================="
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -39,6 +47,10 @@ USE_PHP+= mysql
|
||||
USE_PHP+= pgsql
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_LDAP)
|
||||
USE_PHP+= ldap
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${INSTALL_DATA} -d ${PREFIX}/${OJSDIR}
|
||||
@${CP} -Rn ${WRKSRC}/* ${PREFIX}/${OJSDIR}
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (ojs2/ojs-2.1.1.tar.gz) = fbd7d4b866a24847a1fba92896982531
|
||||
SHA256 (ojs2/ojs-2.1.1.tar.gz) = 38241fb2071cdab7a0ca75c2366095fa7269dd0c4d8726d8b93a41b72f281694
|
||||
SIZE (ojs2/ojs-2.1.1.tar.gz) = 2523029
|
||||
MD5 (ojs2/ojs-2.2.tar.gz) = 241ee360d914b813f9af1dd684f8a04b
|
||||
SHA256 (ojs2/ojs-2.2.tar.gz) = 0213faa147c439a0a1a4badf1da50dd61e2888c1911467638d7b3d331d74e5bf
|
||||
SIZE (ojs2/ojs-2.2.tar.gz) = 5079464
|
||||
|
@ -1,6 +1,32 @@
|
||||
===================================================
|
||||
Please read docs/README for more instalation
|
||||
information
|
||||
==================================================================================
|
||||
* Please read docs/README (http://pkp.sfu.ca/ojs/README) or browse to
|
||||
http://pkp.sfu.ca/ojs_documentation
|
||||
on HOW-TO get OJS fully functional
|
||||
|
||||
* See lib/libraries.txt for a list of third-party
|
||||
libraries used by OJS.
|
||||
|
||||
Recommended Configuration
|
||||
-------------------------
|
||||
|
||||
A secure deployment can be best achieved by using the following policies:
|
||||
|
||||
* Dedicate a database to OJS; use unique credentials to access it.
|
||||
Configure this database to perform automated backups on a regular
|
||||
basis. Perform a manual backup when upgrading or performing
|
||||
maintenance.
|
||||
|
||||
* Configure OJS (config.inc.php) to use SHA1 hashing rather than MD5.
|
||||
|
||||
* Configure OJS (config.inc.php) to use force_ssl_login so that
|
||||
authenticated users communicate with the server via HTTPS.
|
||||
|
||||
* Install OJS so that the files directory is NOT a subdirectory of
|
||||
the OJS installation and cannot be accessed directly via the web
|
||||
server. Restrict file permissions as much as possible. Automated
|
||||
backups of this directory should be roughly synchronized with
|
||||
database backups.
|
||||
|
||||
Forum: <http://pkp.sfu.ca/support/forum/>
|
||||
===================================================
|
||||
|
||||
=================================================================================
|
||||
|
2192
www/ojs2/pkg-plist
2192
www/ojs2/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user