1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

- Update to 1.6.05

- Remove DEPRECATED and IGNORE_WITH_PHP. This version works with PHP 7
- Use github
- Give www permissions just to directories which need to be writable

This release contains important security patches.

MFH:		2018Q4
This commit is contained in:
Danilo Egea Gondolfo 2018-12-26 13:32:12 +00:00
parent 6789f0dc35
commit 48a1bcdae3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488389
3 changed files with 107 additions and 963 deletions

View File

@ -1,33 +1,31 @@
# $FreeBSD$
PORTNAME= coppermine
PORTVERSION= 1.5.46
PORTVERSION= 1.6.05
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/Coppermine/1.5.x/
DISTNAME= cpg${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Web picture gallery script
DEPRECATED= Works only with EOL php 5.6
EXPIRATION_DATE= 2018-12-30
LICENSE= GPLv3
IGNORE_WITH_PHP= 71 72 73
USES= php
OPTIONS_DEFINE= DOCS IMAGEMAGICK
IMAGEMAGICK_DESC= Use ImageMagick instead of PHP GD extension
IMAGEMAGICK_RUN_DEPENDS+= convert:graphics/ImageMagick6
USE_PHP= mysql pcre ctype
USES= php zip
USE_PHP= ctype hash json mysqli pcre xml
USE_GITHUB= yes
GH_ACCOUNT= coppermine-gallery
GH_PROJECT= cpg1.6.x
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/cpg${PORTVERSION:R:R}${PORTVERSION:R:E}x
DOCFILES= CHANGELOG.txt COPYING.txt README.txt
PORTDOCS= CHANGELOG.txt LICENSE.txt README.txt
SUB_FILES+= pkg-message
@ -45,10 +43,10 @@ pre-everything::
pre-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
do-install:
cd ${WRKSRC}/ && ${RM} ${DOCFILES}
cd ${WRKSRC}/ && ${RM} ${PORTDOCS}
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1487541377
SHA256 (cpg1.5.46.zip) = 436b4c57efa80f8dc67f30916bc815df1ff983c230117c80901a9339c198b469
SIZE (cpg1.5.46.zip) = 19207142
TIMESTAMP = 1545602164
SHA256 (coppermine-gallery-cpg1.6.x-v1.6.05_GH0.tar.gz) = ea10b26e55786e555ff127c7af1a501978d9eced1ed497d0e4798cd2a8546ccb
SIZE (coppermine-gallery-cpg1.6.x-v1.6.05_GH0.tar.gz) = 3258646

File diff suppressed because it is too large Load Diff