aboutsummaryrefslogtreecommitdiffstats
path: root/www/gallery3
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-02-02 01:33:50 +0800
committerleeym <leeym@FreeBSD.org>2004-02-02 01:33:50 +0800
commit583f248492e5f45ed7b60c81350e5c0ccd53b5cc (patch)
treea555c6e2cb73dbff35901ee2e76f3926957cc4ec /www/gallery3
parent5bd75979ba889a705dc7824ab64a758809a8617c (diff)
downloadfreebsd-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/gallery3')
-rw-r--r--www/gallery3/Makefile74
-rw-r--r--www/gallery3/distinfo2
-rw-r--r--www/gallery3/files/patch-manifest.inc8
3 files changed, 43 insertions, 41 deletions
diff --git a/www/gallery3/Makefile b/www/gallery3/Makefile
index 10ab0ea1a67d..2c3076184887 100644
--- a/www/gallery3/Makefile
+++ b/www/gallery3/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)
diff --git a/www/gallery3/distinfo b/www/gallery3/distinfo
index f509a2231d96..b8988369932a 100644
--- a/www/gallery3/distinfo
+++ b/www/gallery3/distinfo
@@ -1,4 +1,4 @@
-MD5 (gallery/gallery-1.4.1.tar.gz) = 7152ba06c6c879695cefd260acfd9b8f
+MD5 (gallery/gallery-1.4.1-pl1.tar.gz) = be41eceb5a5d3c545c72a35c3a4876c2
MD5 (gallery/af_ZA-pack-1.4.1-u1.tar.gz) = 3e39752633f68280ede7673a20fa295f
MD5 (gallery/bg_BG-pack-1.4.1-u1.tar.gz) = b5be2721c6f1f21b8da6d59aa8bbc1ff
MD5 (gallery/cs_CZ.cp1250-pack-1.4.1-u1.tar.gz) = 2c0c201f1d48dae7b5a9cb33bfa48cad
diff --git a/www/gallery3/files/patch-manifest.inc b/www/gallery3/files/patch-manifest.inc
index b9cdfa8bd3c6..871810258760 100644
--- a/www/gallery3/files/patch-manifest.inc
+++ b/www/gallery3/files/patch-manifest.inc
@@ -1,13 +1,13 @@
---- manifest.inc.orig Wed Nov 26 08:06:54 2003
-+++ manifest.inc Mon Jan 12 18:08:37 2004
+--- manifest.inc.orig Sat Jan 24 22:45:58 2004
++++ manifest.inc Sun Jan 25 11:25:43 2004
@@ -28,9 +28,6 @@
*/
$versions=array();
-$versions['AUTHORS']='1.16';
-$versions['LICENSE.txt']='1.2';
--$versions['README']='1.28';
- $versions['Version.php']='1.496.2.38';
+-$versions['README']='1.28.6.1';
+ $versions['Version.php']='1.496.2.40';
$versions['add_comment.php']='1.26.2.1';
$versions['add_photo.php']='1.18';
@@ -39,7 +36,6 @@