diff options
author | leeym <leeym@FreeBSD.org> | 2004-02-02 01:33:50 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2004-02-02 01:33:50 +0800 |
commit | 583f248492e5f45ed7b60c81350e5c0ccd53b5cc (patch) | |
tree | a555c6e2cb73dbff35901ee2e76f3926957cc4ec /www/gallery/Makefile | |
parent | 5bd75979ba889a705dc7824ab64a758809a8617c (diff) | |
download | freebsd-ports-gnome-583f248492e5f45ed7b60c81350e5c0ccd53b5cc.tar.gz freebsd-ports-gnome-583f248492e5f45ed7b60c81350e5c0ccd53b5cc.tar.zst freebsd-ports-gnome-583f248492e5f45ed7b60c81350e5c0ccd53b5cc.zip |
A security advisory has been issued for Gallery version 1.4.1. This updates
the port to version 1.4.1-pl1.
PR: 61903
Submitted by: Alex Varju <varju@webct.com>
Diffstat (limited to 'www/gallery/Makefile')
-rw-r--r-- | www/gallery/Makefile | 74 |
1 files changed, 38 insertions, 36 deletions
diff --git a/www/gallery/Makefile b/www/gallery/Makefile index 10ab0ea1a67d..2c3076184887 100644 --- a/www/gallery/Makefile +++ b/www/gallery/Makefile @@ -6,10 +6,11 @@ # PORTNAME= gallery -PORTVERSION= 1.4.1 +PORTVERSION= 1.4.1.1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.1$/-pl1/} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LANGPACKS} DIST_SUBDIR= gallery @@ -20,37 +21,38 @@ RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \ jhead:${PORTSDIR}/graphics/jhead \ unzip:${PORTSDIR}/archivers/unzip -LANGPACKS= af_ZA-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - bg_BG-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - cs_CZ.cp1250-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - da_DK-pack-${PORTVERSION}${EXTRACT_SUFX} \ - de_DE-pack-${PORTVERSION}-u2${EXTRACT_SUFX} \ - de_DE.du-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - en_GB-pack-${PORTVERSION}${EXTRACT_SUFX} \ - es_ES-pack-${PORTVERSION}-u2${EXTRACT_SUFX} \ - fi_FI-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - fr_FR-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - he_IL-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - hu_HU-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - is_IS-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - it_IT-pack-${PORTVERSION}${EXTRACT_SUFX} \ - ja_JP-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - ko_KR-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - lt_LT-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - nl_NL-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - no_NO-pack-${PORTVERSION}${EXTRACT_SUFX} \ - pl_PL-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - pt_BR-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - pt_PT-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - ru_RU.koi8r-pack-${PORTVERSION}${EXTRACT_SUFX} \ - sl_SI-pack-${PORTVERSION}${EXTRACT_SUFX} \ - sv_SE-pack-${PORTVERSION}-u2${EXTRACT_SUFX} \ - tr_TR-pack-${PORTVERSION}${EXTRACT_SUFX} \ - uk_UA-pack-${PORTVERSION}${EXTRACT_SUFX} \ - vi_VN-pack-${PORTVERSION}-u2${EXTRACT_SUFX} \ - zh_CN-pack-${PORTVERSION}${EXTRACT_SUFX} \ - zh_TW-pack-${PORTVERSION}-u1${EXTRACT_SUFX} \ - zh_TW.utf8-pack-${PORTVERSION}${EXTRACT_SUFX} +LANGVERSION= 1.4.1 +LANGPACKS= af_ZA-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + bg_BG-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + cs_CZ.cp1250-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + da_DK-pack-${LANGVERSION}${EXTRACT_SUFX} \ + de_DE-pack-${LANGVERSION}-u2${EXTRACT_SUFX} \ + de_DE.du-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + en_GB-pack-${LANGVERSION}${EXTRACT_SUFX} \ + es_ES-pack-${LANGVERSION}-u2${EXTRACT_SUFX} \ + fi_FI-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + fr_FR-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + he_IL-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + hu_HU-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + is_IS-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + it_IT-pack-${LANGVERSION}${EXTRACT_SUFX} \ + ja_JP-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + ko_KR-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + lt_LT-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + nl_NL-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + no_NO-pack-${LANGVERSION}${EXTRACT_SUFX} \ + pl_PL-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + pt_BR-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + pt_PT-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + ru_RU.koi8r-pack-${LANGVERSION}${EXTRACT_SUFX} \ + sl_SI-pack-${LANGVERSION}${EXTRACT_SUFX} \ + sv_SE-pack-${LANGVERSION}-u2${EXTRACT_SUFX} \ + tr_TR-pack-${LANGVERSION}${EXTRACT_SUFX} \ + uk_UA-pack-${LANGVERSION}${EXTRACT_SUFX} \ + vi_VN-pack-${LANGVERSION}-u2${EXTRACT_SUFX} \ + zh_CN-pack-${LANGVERSION}${EXTRACT_SUFX} \ + zh_TW-pack-${LANGVERSION}-u1${EXTRACT_SUFX} \ + zh_TW.utf8-pack-${LANGVERSION}${EXTRACT_SUFX} WANT_PHP_WEB= yes @@ -59,7 +61,7 @@ NO_BUILD= yes PKGMESSAGE= ${WRKDIR}/pkg-message DOCFILES= AUTHORS ChangeLog README RELEASE_NOTES EXCEPTFILES= ${DOCFILES} LICENSE.txt -CPIO= cpio --quiet -pdum -R +CPIOARGS= --quiet -pdum -R PLIST_SUB= GALLERYDIR=${GALLERYDIR} .include <bsd.port.pre.mk> @@ -83,8 +85,8 @@ post-configure: do-extract: @ ${MKDIR} ${WRKDIR} @ cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS} - @ for file in ${LANGPACKS}; do \ - if ! (cd ${WRKDIR}/gallery/locale && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ + @ for i in ${LANGPACKS}; do \ + if ! (cd ${WRKDIR}/gallery/locale && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$i ${EXTRACT_AFTER_ARGS});\ then \ exit 1; \ fi \ @@ -93,7 +95,7 @@ do-extract: do-install: @ ${MKDIR} -m 0755 ${PREFIX}/${GALLERYDIR} @ cd ${WRKSRC} && ${FIND} * -name \*.bat -o -name \*.orig -o -name \*Changelog ${EXCEPTFILES:S/^/-o -name /} \ - -o -print | ${CPIO} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GALLERYDIR} + -o -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GALLERYDIR} post-install: .if !defined(NOPORTDOCS) |