Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2010 21:42:34 +0300
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        Stevie Hryciw <codroid@gmail.com>
Cc:        ports@freebsd.org, tom@hur.st
Subject:   Re: FreeBSD Port: optipng
Message-ID:  <4B7D8A1A.1080109@yandex.ru>
In-Reply-To: <23a27f811002180030n7b801a14t74bd0b963b43e784@mail.gmail.com>
References:  <23a27f811002180030n7b801a14t74bd0b963b43e784@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050308050903090108030406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


Hi.

On 18.02.2010 11:30, Stevie Hryciw wrote:
> Hello,
>
> Thank you for providing the FreeBSD port of OptiPNG! I noticed that
> the latest port available is 0.6.2, but the software's latest version
> is 0.6.3. According to the OptiPNG website, there is a security
> vulnerability with all prior 0.6.x versions. Do you have the time to
> update the port to the latest version? I would be o so grateful, as
> this is a package I rely on.

It looks trivial to me to update this port. Please test this patch and 
tell me if all is ok. I then make a PR.

cd /usr/ports
patch -p1 < /path/to/optipng063.diff
cd graphics/optipng
[options]
make install clean

>
> http://optipng.sourceforge.net/
>
> Please let me know if this is possible. Thanks again very much,
> -Stevie
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>


--------------050308050903090108030406
Content-Type: text/plain;
 name="optipng063.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="optipng063.diff"

diff -ruNa optipng.old/Makefile optipng/Makefile
--- optipng/Makefile	2009-08-22 04:23:01.000000000 +0400
+++ optipng/Makefile	2010-02-18 21:28:58.000000000 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	optipng
-PORTVERSION=	0.6.2
+PORTVERSION=	0.6.3
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/OptiPNG/${PORTNAME}-${PORTVERSION}
 
diff -ruNa optipng.old/distinfo optipng/distinfo
--- optipng/distinfo	2009-01-19 23:44:24.000000000 +0300
+++ optipng/distinfo	2010-02-18 21:28:51.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (optipng-0.6.2.tar.gz) = 08b6195bb5895a7fe167fab16dcdf6d5
-SHA256 (optipng-0.6.2.tar.gz) = 84312506ea0c683a4e7675b3c8278067222762520016cc61e53c2b0e679120ca
-SIZE (optipng-0.6.2.tar.gz) = 1052509
+MD5 (optipng-0.6.3.tar.gz) = 6cef405197a878acff4c6216cf38e871
+SHA256 (optipng-0.6.3.tar.gz) = d11630955e2e72f07dd0aa1270f9d20caaef41796fdbfbbc1caad5b931fdf721
+SIZE (optipng-0.6.3.tar.gz) = 1060571

--------------050308050903090108030406--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B7D8A1A.1080109>