mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
- Update to 2.1.8
PR: ports/154212 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Feature safe: yes
This commit is contained in:
parent
b705054347
commit
104eae4250
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268288
@ -6,54 +6,53 @@
|
||||
#
|
||||
|
||||
PORTNAME= spip
|
||||
PORTVERSION= 1.8.3
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.1.8
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.spip.net/spip-dev/DISTRIB/ \
|
||||
http://trac.rezo.net/files/spip/
|
||||
DISTNAME= SPIP-v${PORTVERSION:U:C|\.|-|g}
|
||||
MASTER_SITES= http://files.spip.org/spip/archives/
|
||||
DISTNAME= SPIP-v${PORTVERSION:C|\.|-|1}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A publishing system for the Internet (CMS)
|
||||
|
||||
FORBIDDEN= Security: http://www.spip-contrib.net/SPIP-2-1-8-corrige-une-importante-faille-de-securite
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_PHP= mysql pcre
|
||||
USE_PHP= mysql pcre zlib
|
||||
NO_BUILD= yes
|
||||
|
||||
WWWDOCROOT?= www
|
||||
SPIPDIR?= ${WWWDOCROOT}/${PORTNAME:L}
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= SPIPDIR=${SPIPDIR}
|
||||
PLIST_SUB= SPIPDIR=${SPIPDIR}
|
||||
|
||||
OPTIONS= GD "With GD Support" on \
|
||||
IMAGICK "With ImageMagick Support" off \
|
||||
IMAGICK "With ImageMagick Support" off \
|
||||
LDAP "With LDAP Support for authentification" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_GD)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS}
|
||||
USE_PHP+= gd
|
||||
.endif
|
||||
|
||||
.if defined(WITH_IMAGICK)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS}
|
||||
USE_PHP+= imagick
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/ldap.so:${PORTSDIR}/${ldap_DEPENDS}
|
||||
USE_PHP+= ldap
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -type f -name remove.txt | ${XARGS} ${RM}
|
||||
@${FIND} ${WRKSRC} -type f -name svn.revision | ${XARGS} ${RM}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${SPIPDIR}
|
||||
@${CP} -Rv ${WRKSRC}/* ${PREFIX}/${SPIPDIR}
|
||||
@${CHGRP} -R ${WWWGRP} ${PREFIX}/${SPIPDIR}
|
||||
.for dir in CACHE IMG ecrire ecrire/data
|
||||
@${CHMOD} 775 ${PREFIX}/${SPIPDIR}/${dir}
|
||||
@${MKDIR} ${WWWDIR}
|
||||
@${CP} -Rv ${WRKSRC}/* ${WWWDIR}
|
||||
@${CHGRP} -R ${WWWGRP} ${WWWDIR}
|
||||
.for dir in config IMG ecrire local tmp
|
||||
@${CHMOD} 775 ${WWWDIR}/${dir}
|
||||
.endfor
|
||||
@${MV} ${WWWDIR}/htaccess.txt ${WWWDIR}/.htaccess
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (SPIP-v1-8-3.zip) = e46d0fabcc64830d43c891ddc04b5a4b5c19272a22e77ba7f1802a84a3d95588
|
||||
SIZE (SPIP-v1-8-3.zip) = 2548755
|
||||
SHA256 (SPIP-v2-1.8.zip) = 5e05a3349eaff4ef6a2a861b55b108bc9c2a4562ce356fbe2a68dfe148ad4fe1
|
||||
SIZE (SPIP-v2-1.8.zip) = 4579561
|
||||
|
@ -1,9 +1,14 @@
|
||||
|
||||
**** INFORMATION ****
|
||||
|
||||
First, Add the following line to your httpd.conf:
|
||||
First, Add the following lines to your httpd.conf:
|
||||
|
||||
Alias /spip/ "%%PREFIX%%/%%SPIPDIR%%"
|
||||
Alias /spip/ "%%WWWDIR%%"
|
||||
<Directory "%%WWWDIR%%">
|
||||
AllowOverride All
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
For first use and configuration of the CMS, please visit the ecrire directory
|
||||
with your web browser.
|
||||
|
2066
www/spip/pkg-plist
2066
www/spip/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user